/* ============================================
   STEARO — Viator / Airbnb / Google Maps style
   White, clean, photo-forward, green accents
   ============================================ */

:root {
  --green: #3AAA35;
  --green-hover: #2E9230;
  --green-light: #EDF7ED;
  --green-dark: #1E7A1A;
  --black: #1A1A1A;
  --gray-900: #2D2D2D;
  --gray-700: #555555;
  --gray-500: #717171;
  --gray-400: #999999;
  --gray-300: #CCCCCC;
  --gray-200: #E8E8E8;
  --gray-100: #F5F5F5;
  --gray-50: #FAFAFA;
  --white: #FFFFFF;
  --blue: #0066FF;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 48px rgba(0,0,0,0.16);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  overflow: hidden;
  height: 100dvh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   SCREENS
   ============================================ */

.app-screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  z-index: 1;
}

.app-screen.active {
  display: flex;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
  min-height: 52px;
  width: 100%;
  letter-spacing: 0;
}

.btn-primary:hover {
  background: var(--green-hover);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  text-decoration: none;
  min-height: 50px;
  width: 100%;
}

.btn-outline:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.btn-outline:active {
  transform: scale(0.97);
}

.btn-outline svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 12px 24px;
  transition: color var(--transition);
}

.btn-text:hover {
  color: var(--black);
}

/* ============================================
   CITY / CIRCUIT SELECTION
   ============================================ */

.selection-wrapper {
  min-height: 100dvh;
  width: 100%;
  padding: calc(30px + var(--safe-top)) 18px calc(34px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: linear-gradient(180deg, #fbfcfa 0%, #f4f6f1 48%, #ffffff 100%);
}

.selection-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.selection-header.compact {
  gap: 7px;
}

.selection-logo {
  height: 48px;
  width: fit-content;
  margin-bottom: 8px;
}

.selection-kicker,
.selection-card-kicker {
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--green);
}

.selection-title {
  font-size: 30px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--black);
  letter-spacing: 0;
}

.selection-desc {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.5;
  max-width: 36rem;
}

.selection-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.selection-back-btn,
.welcome-back-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.96);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.selection-back-btn svg,
.welcome-back-btn svg {
  width: 20px;
  height: 20px;
}

.selection-topbar-title {
  font-size: 14px;
  font-weight: 850;
  color: var(--gray-700);
}

.selection-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.selection-card {
  position: relative;
  min-height: 172px;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 12px 30px rgba(20,30,20,0.13);
  cursor: pointer;
  text-align: left;
  color: var(--white);
  isolation: isolate;
}

.selection-card:active {
  transform: scale(0.985);
}

.selection-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.01);
}

.selection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.24) 42%, rgba(0,0,0,0.82) 100%);
}

.selection-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.92);
  color: var(--black);
  font-size: 11px;
  font-weight: 900;
}

.selection-card-body {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.selection-card-body strong {
  font-size: 23px;
  line-height: 1.05;
  font-weight: 900;
  color: var(--white);
}

.selection-card-body span {
  color: rgba(255,255,255,0.84);
  font-size: 14px;
  line-height: 1.35;
}

.selection-card-body .selection-card-kicker {
  color: rgba(255,255,255,0.72);
  font-size: 11px;
}

.selection-card-meta {
  margin-top: 4px;
  font-weight: 850;
  color: rgba(255,255,255,0.94) !important;
}

.selection-card.is-disabled {
  cursor: default;
  filter: grayscale(0.65);
}

.selection-card.is-disabled .selection-card-img {
  opacity: 0.46;
}

.welcome-back-btn {
  position: absolute;
  top: calc(16px + var(--safe-top));
  right: 16px;
  z-index: 4;
}

/* ============================================
   INTRO VIDEO SCREEN
   ============================================ */

.intro-video-wrapper {
  position: relative;
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}

.intro-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.intro-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.28) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  padding: 20px;
  z-index: 10;
}

.btn-intro-audio {
  position: absolute;
  right: 16px;
  top: calc(16px + var(--safe-top));
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 20;
  backdrop-filter: blur(10px);
}

.intro-video-overlay .btn-intro-audio {
  display: none;
}

#screen-intro-video.is-playing .btn-intro-audio {
  display: block;
}

.btn-intro-audio.is-on {
  background: rgba(255, 255, 255, 0.18);
}

.intro-start-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(5, 12, 7, 0.2), rgba(5, 12, 7, 0.46));
  z-index: 16;
}

.intro-start-panel img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.btn-intro-start {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #2f9d44;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.btn-intro-start:active {
  transform: scale(0.98);
}

.intro-video-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-logo {
  width: 80px;
  height: 80px;
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

.intro-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0;
  line-height: 1.1;
}

.intro-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0;
}

.btn-intro-skip {
  position: absolute;
  bottom: calc(40px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 20;
  backdrop-filter: blur(10px);
}

.btn-intro-skip:active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateX(-50%) scale(0.98);
}

/* ============================================
   WELCOME SCREEN
   ============================================ */

.welcome-wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.welcome-hero {
  position: relative;
  width: 100%;
  height: 46dvh;
  overflow: hidden;
  flex-shrink: 0;
}

.welcome-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.welcome-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0) 40%,
    rgba(255,255,255,0.6) 80%,
    rgba(255,255,255,1) 100%
  );
}

.welcome-hero-badge {
  position: absolute;
  top: calc(16px + var(--safe-top));
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-900);
}

.welcome-content {
  padding: 0 22px 40px;
  padding-bottom: calc(40px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  margin-top: -32px;
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 100%;
  align-self: center;
}

.welcome-logo {
  margin-bottom: 20px;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
}

.welcome-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.12;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: 0;
}

.welcome-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.welcome-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.welcome-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

.welcome-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* ============================================
   CHECKLIST SCREEN
   ============================================ */

.checklist-wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  padding-top: calc(48px + var(--safe-top));
  padding-bottom: calc(48px + var(--safe-bottom));
}

.checklist-header {
  margin-bottom: 32px;
}

.checklist-logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.checklist-step {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.checklist-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--black);
  letter-spacing: 0;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  flex: 1;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition);
}

.checklist-item:active {
  transform: scale(0.99);
}

.checklist-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--gray-200);
}

.checklist-icon svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.checklist-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}

.checklist-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}

.checklist-text span {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ============================================
   NAVIGATION SCREEN — Stearo walking cockpit
   ============================================ */

#screen-navigation {
  overflow: hidden;
  background: #eef2ee;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #eef2ee;
}

.leaflet-container {
  background: #eef2ee;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.leaflet-tile-pane {
  filter: grayscale(0.34) saturate(0.72) contrast(1.06) brightness(1.03);
}

.leaflet-control-attribution {
  opacity: 0.55;
  font-size: 9px;
}

.route-halo-line {
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}

.route-line {
  filter: drop-shadow(0 4px 10px rgba(58,170,53,0.26));
  z-index: 100;
}

.leaflet-polyline {
  transition: opacity 0.3s ease;
}

.gps-status {
  position: absolute;
  left: 18px;
  top: calc(92px + var(--safe-top));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 150px);
  min-height: 32px;
  padding: 7px 10px;
  background: rgba(17, 17, 17, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.gps-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gray-400);
  box-shadow: 0 0 0 4px rgba(153,153,153,0.12);
  flex: 0 0 auto;
}

.gps-status.locked .gps-status-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(58,170,53,0.14);
}

.gps-status.searching .gps-status-dot,
.gps-status.weak .gps-status-dot {
  background: #f2a900;
  box-shadow: 0 0 0 4px rgba(242,169,0,0.14);
}

.gps-status.denied .gps-status-dot,
.gps-status.unavailable .gps-status-dot,
.gps-status.test .gps-status-dot {
  background: #d94b4b;
  box-shadow: 0 0 0 4px rgba(217,75,75,0.12);
}

.gps-accuracy {
  color: rgba(255,255,255,0.62);
  font-weight: 800;
  white-space: nowrap;
}

/* Direction card (top) — PEDESTRIAN OPTIMIZED */
.nav-direction-card {
  position: absolute;
  top: calc(14px + var(--safe-top));
  left: 14px;
  right: 14px;
  z-index: 1000;
  background: rgba(17,17,17,0.94);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 38px rgba(0,0,0,0.22);
  backdrop-filter: blur(16px);
  transition: all var(--transition);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-direction-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3AAA35;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(58,170,53,0.28);
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.nav-direction-icon svg {
  width: 27px;
  height: 27px;
  color: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.nav-direction-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-direction-text {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0;
  line-height: 1.2;
}

.nav-direction-street {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
  font-weight: 600;
}

.nav-direction-distance {
  flex: 0 0 auto;
  min-width: 62px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

/* Distance card - BIG & CLEAR for pedestrians (RIGHT SIDE) */
.nav-distance-card {
  position: absolute;
  right: 14px;
  top: calc(92px + var(--safe-top));
  z-index: 1000;
  width: 100px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 11px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(14px);
  animation: slideDown 0.35s ease-out;
}

.distance-label {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 900;
  letter-spacing: 0;
}

.distance-value-container {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.distance-distance {
  font-size: 34px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: 0;
  line-height: 1;
}

.distance-unit {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.distance-time {
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  background: var(--black);
  padding: 5px 8px;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  letter-spacing: 0;
}

/* Navigation action buttons */
.nav-action-stack {
  position: absolute;
  bottom: calc(172px + var(--safe-bottom));
  right: 14px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-action-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
  backdrop-filter: blur(14px);
  transition: all var(--transition);
}

.nav-action-btn-dark,
.nav-action-btn.is-active {
  background: rgba(17,17,17,0.92);
  border-color: rgba(255,255,255,0.1);
}

.nav-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.nav-action-btn:active {
  transform: scale(0.92);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav-action-btn svg {
  width: 22px;
  height: 22px;
  color: var(--black);
}

.nav-action-btn-dark svg,
.nav-action-btn.is-active svg {
  color: var(--white);
}

/* Bottom card - PEDESTRIAN FOCUSED */
.nav-bottom-card {
  position: absolute;
  bottom: calc(14px + var(--safe-bottom));
  left: 14px;
  right: 14px;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.18);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.05);
  animation: slideUp 0.35s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.bottom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.nav-stop-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0;
  background: rgba(0,0,0,0.06);
  padding: 5px 10px;
  border-radius: 8px;
}

.nav-live-label {
  font-size: 11px;
  font-weight: 900;
  color: var(--green);
  background: rgba(58,170,53,0.1);
  border-radius: 8px;
  padding: 5px 10px;
}

.nav-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(0,0,0,0.07);
  border-radius: 999px;
  margin-bottom: 13px;
  overflow: hidden;
  position: relative;
}

.nav-progress-fill {
  height: 100%;
  background: var(--black);
  border-radius: 999px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(58,170,53,0.4);
}

.nav-stop-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18px, 1fr));
  gap: 7px;
  margin: 0 0 12px;
}

.nav-stop-dot {
  min-width: 0;
  height: 22px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.nav-stop-dot.is-done {
  background: rgba(58,170,53,0.14);
  color: var(--green);
}

.nav-stop-dot.is-current {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.nav-dest-info-pedestrian {
  min-width: 0;
}

.nav-dest-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
  line-height: 1.2;
}

.nav-dest-instruction {
  font-size: 13px;
  color: var(--gray-700);
  margin: 0;
  font-weight: 600;
}

.nav-route-warning {
  display: none;
  margin: 5px 0 0;
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.nav-route-warning.active {
  display: block;
}

/* Test controls */
.test-controls {
  position: absolute;
  top: calc(206px + var(--safe-top));
  right: 14px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 6px;
}

.test-btn {
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition);
}

.test-btn:active {
  transform: scale(0.92);
}

/* ============================================
   ARRIVAL SCREEN
   ============================================ */

.arrival-wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.arrival-image-wrap {
  position: relative;
  width: 100%;
  height: 38dvh;
  overflow: hidden;
  flex-shrink: 0;
}

.arrival-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.arrival-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0.9; }
  to { opacity: 1; }
}

.arrival-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: rgba(255,255,255,0.95);
  width: 24px;
  border-radius: 4px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  z-index: 5;
  transition: all 0.2s ease;
  padding: 0;
  min-width: 44px;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-btn-prev {
  left: 12px;
}

.carousel-btn-next {
  right: 12px;
}

.arrival-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 50%,
    rgba(255,255,255,0.6) 80%,
    rgba(255,255,255,1) 100%
  );
}

.arrival-content {
  padding: 0 24px 40px;
  padding-bottom: calc(40px + var(--safe-bottom));
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.arrival-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.arrival-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: 0;
}

.arrival-story-container {
  position: relative;
  margin-bottom: 20px;
}

.arrival-story {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  white-space: pre-line;
  max-height: 5.1em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: max-height 0.4s ease;
}

.arrival-story.expanded {
  max-height: none;
  -webkit-line-clamp: unset;
}

.btn-read-more {
  background: none;
  border: none;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.btn-read-more:hover {
  color: var(--green-hover);
}

.btn-read-more.hidden {
  display: none;
}

/* Audio player */
.audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--gray-200);
}

.audio-play-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition);
}

.audio-play-btn svg {
  width: 14px;
  height: 14px;
  color: var(--white);
  margin-left: 2px;
}

.audio-play-btn:active {
  transform: scale(0.9);
}

.audio-bar {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}

.audio-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s;
}

.audio-time {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  min-width: 32px;
  text-align: right;
}

/* Mission card */
.mission-card {
  background: var(--green-light);
  border: 1.5px solid rgba(58,170,53,0.2);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.mission-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mission-header svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.mission-header span {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.mission-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-900);
  margin: 0;
}

.btn-continue {
  width: 100%;
}

/* ============================================
   COMPLETION SCREEN
   ============================================ */

.complete-wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  padding-top: calc(48px + var(--safe-top));
  padding-bottom: calc(48px + var(--safe-bottom));
}

.complete-animation {
  margin-bottom: 20px;
}

.complete-check {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: 50%;
  animation: completePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.complete-check svg {
  width: 32px;
  height: 32px;
}

@keyframes completePop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.complete-logo {
  height: 56px;
  width: auto;
  margin-bottom: 24px;
}

.complete-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: 0;
}

.complete-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-500);
  max-width: 340px;
  margin-bottom: 8px;
}

.complete-thanks {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 32px;
}

.complete-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  margin-bottom: 16px;
}

/* ============================================
   LEAFLET OVERRIDES
   ============================================ */

.leaflet-control-zoom {
  display: none !important;
}

.leaflet-control-attribution {
  font-size: 9px !important;
  background: rgba(255,255,255,0.8) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.stop-tooltip {
  background: var(--white) !important;
  color: var(--black) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: var(--shadow) !important;
}

.stop-tooltip::before {
  border-top-color: var(--white) !important;
}

.stearo-marker {
  background: rgba(17,17,17,0.28);
  border: 3px solid var(--white);
  border-radius: 50%;
  width: 18px !important;
  height: 18px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.stearo-marker:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.stearo-marker-visited {
  background: var(--green);
  border: 3px solid var(--white);
  border-radius: 50%;
  width: 18px !important;
  height: 18px !important;
  box-shadow: 0 2px 6px rgba(58,170,53,0.3);
  animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.stearo-dest-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--white);
  width: 42px !important;
  height: 42px !important;
  font-size: 16px;
  font-weight: 900;
  animation: markerBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.22));
}

.stearo-dest-marker span {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  border: 4px solid var(--white);
  border-radius: 50% 50% 50% 12px;
  transform: rotate(-45deg);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.stearo-dest-marker b {
  display: block;
  transform: rotate(45deg);
}

@keyframes markerBounce {
  0% { transform: scale(0) translateY(15px) rotate(0deg); }
  100% { transform: scale(1) translateY(0) rotate(0deg); }
}

.user-location-dot {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s cubic-bezier(0.1, 0.9, 0.2, 1);
  z-index: 1000;
}

.user-location-dot.high-accuracy .user-location-pulse {
  box-shadow: 0 0 0 6px rgba(58,170,53,0.15), 0 0 0 12px rgba(58,170,53,0.08);
}

.user-location-dot.low-accuracy .user-location-pulse {
  box-shadow: 0 0 0 8px rgba(58,170,53,0.1), 0 0 0 14px rgba(58,170,53,0.05);
}

.user-location-dot.is-snapped .user-location-pulse {
  outline: 2px solid rgba(255,255,255,0.75);
  outline-offset: 3px;
}

.user-location-pulse {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--black);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  animation: locPulse 3s ease-out infinite;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-heading-arrow {
  position: absolute;
  width: 4px;
  height: 14px;
  background: var(--green);
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 16px;
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  border-radius: 2px;
  border-radius: 1px;
}

@keyframes locPulse {
  0% {
    box-shadow: 0 0 0 4px rgba(0,102,255,0.15), 0 0 0 8px rgba(0,102,255,0.08);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0,102,255,0.1), 0 0 0 12px rgba(0,102,255,0.04);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(0,102,255,0.04), 0 0 0 16px rgba(0,102,255,0);
    transform: scale(1);
  }
}

.bearing-arrow {
  transition: transform 0.08s linear, opacity 0.25s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.arrow-pointer {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 18px solid var(--black);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.28));
  opacity: 0.98;
  transform-origin: 50% 80%;
  transition: transform 0.12s linear, opacity 0.25s ease;
}

.next-step-marker {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-pulse {
  width: 12px;
  height: 12px;
  background: var(--black);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(58,170,53,0.2);
  animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
  0% { box-shadow: 0 0 0 3px rgba(58,170,53,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(58,170,53,0.1); }
  100% { box-shadow: 0 0 0 3px rgba(58,170,53,0.2); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 480px) {
  .welcome-title { font-size: 34px; }
  .arrival-title { font-size: 30px; }
}

@media (min-width: 768px) {
  .welcome-wrapper,
  .arrival-wrapper,
  .checklist-wrapper,
  .selection-wrapper,
  .complete-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  animation: fadeIn 0.35s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   APP DESIGN PASS — premium mobile experience
   ============================================ */

:root {
  --ink: #141614;
  --surface: #ffffff;
  --surface-soft: #f7f8f5;
  --line-soft: #e2e6df;
  --amber: #c58b2b;
  --map-blue: #2167d2;
  --shadow-panel: 0 18px 42px rgba(18, 24, 18, 0.14);
}

.app-screen {
  background: var(--surface);
}

.btn-primary,
.btn-outline {
  border-radius: 8px;
  font-weight: 850;
  letter-spacing: 0;
}

.btn-primary {
  min-height: 54px;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(20, 22, 20, 0.18);
}

.btn-primary:hover {
  background: #0b0d0b;
}

.btn-primary svg {
  stroke-width: 2.3;
}

.btn-outline {
  border-color: var(--line-soft);
  box-shadow: 0 8px 20px rgba(18, 24, 18, 0.06);
}

.selection-wrapper {
  padding: calc(28px + var(--safe-top)) 18px calc(28px + var(--safe-bottom));
  gap: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f7f3 44%, #edf2ed 100%);
}

.selection-logo {
  height: 42px;
  margin-bottom: 10px;
}

.selection-kicker,
.selection-card-kicker,
.checklist-step {
  color: var(--green-dark);
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 900;
}

.selection-title {
  max-width: 12em;
  font-size: 32px;
  line-height: 1.04;
}

.selection-desc {
  max-width: 32em;
  color: #596158;
}

.selection-back-btn,
.welcome-back-btn {
  border-radius: 8px;
  border: 1px solid rgba(20, 22, 20, 0.08);
  box-shadow: 0 10px 24px rgba(20, 22, 20, 0.12);
}

.selection-card {
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(20, 22, 20, 0.16);
  transition: transform var(--transition), box-shadow var(--transition);
}

.selection-card:active {
  transform: scale(0.985);
}

.selection-card-status {
  border-radius: 7px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.5);
}

.city-card {
  min-height: 210px;
}

.city-card .selection-card-body {
  gap: 7px;
}

.city-card .selection-card-body strong {
  font-size: 28px;
}

.circuit-card {
  min-height: 144px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 26px rgba(20, 22, 20, 0.08);
}

.circuit-card .selection-card-img {
  width: 118px;
  right: auto;
  opacity: 1;
  transform: none;
}

.circuit-card::after {
  background: linear-gradient(90deg, rgba(0,0,0,0.1) 0 118px, rgba(255,255,255,0) 118px);
}

.circuit-card .selection-card-status {
  top: 12px;
  left: 12px;
  right: auto;
  max-width: 94px;
  color: #fff;
  background: rgba(20, 22, 20, 0.72);
  border-color: rgba(255,255,255,0.18);
}

.circuit-card .selection-card-body {
  left: 134px;
  top: 15px;
  bottom: 15px;
  right: 14px;
  justify-content: center;
}

.circuit-card .selection-card-body strong {
  color: var(--ink);
  font-size: 21px;
}

.circuit-card .selection-card-body span {
  color: #5d655d;
  font-size: 13px;
}

.circuit-card .selection-card-body .selection-card-kicker {
  color: var(--green-dark);
}

.circuit-card .selection-card-meta {
  color: var(--ink) !important;
  font-size: 12px;
  padding-top: 6px;
  margin-top: auto;
}

.welcome-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8f5 100%);
}

.welcome-hero {
  height: 45dvh;
}

.welcome-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.05) 44%,
    rgba(247,248,245,0.72) 83%,
    rgba(247,248,245,1) 100%
  );
}

.welcome-hero-badge {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 10px 22px rgba(20, 22, 20, 0.12);
}

.welcome-content {
  margin-top: -40px;
  padding-left: 22px;
  padding-right: 22px;
}

.welcome-logo {
  display: none;
}

.welcome-title {
  max-width: 12em;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.03;
}

.welcome-desc {
  max-width: 34em;
  color: #525a52;
}

.welcome-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.welcome-meta-item {
  min-height: 44px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-weight: 760;
  color: var(--ink);
}

.checklist-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
}

.checklist-header {
  margin-bottom: 24px;
}

.checklist-logo {
  height: 42px;
}

.checklist-title,
.arrival-title,
.complete-title {
  font-weight: 900;
}

.checklist-item {
  border-radius: 8px;
  background: rgba(255,255,255,0.88);
  border-color: var(--line-soft);
  box-shadow: 0 8px 20px rgba(18, 24, 18, 0.05);
}

.checklist-icon {
  border-radius: 8px;
  color: var(--green);
  background: #edf7ed;
  border: 0;
}

#screen-navigation {
  background: #dfe7df;
}

#map,
.leaflet-container {
  background: #dfe7df;
}

.leaflet-tile-pane {
  filter: saturate(0.82) contrast(1.02) brightness(1.02);
}

.nav-direction-card {
  top: calc(12px + var(--safe-top));
  left: 12px;
  right: 12px;
  border-radius: 8px;
  background: rgba(15, 17, 15, 0.94);
  box-shadow: var(--shadow-panel);
}

.nav-direction-icon {
  border-radius: 8px;
  background: var(--green);
  box-shadow: none;
}

.gps-status {
  top: calc(88px + var(--safe-top));
  left: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  border: 1px solid rgba(20,22,20,0.08);
  box-shadow: 0 10px 24px rgba(20,22,20,0.11);
}

.gps-accuracy {
  color: #677067;
}

.nav-distance-card {
  top: calc(88px + var(--safe-top));
  right: 12px;
  border-radius: 8px;
  border-color: rgba(20,22,20,0.08);
  box-shadow: 0 12px 28px rgba(20,22,20,0.13);
}

.distance-label {
  color: #687068;
}

.distance-time {
  background: var(--green);
  border-radius: 7px;
}

.nav-action-stack {
  right: 12px;
  bottom: calc(170px + var(--safe-bottom));
}

.nav-action-btn {
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20,22,20,0.14);
}

.nav-bottom-card {
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-bottom));
  border-radius: 8px;
  box-shadow: var(--shadow-panel);
}

.nav-progress-fill {
  background: var(--green);
}

.nav-stop-label,
.nav-live-label,
.nav-stop-dot,
.distance-time {
  letter-spacing: 0;
}

.nav-stop-dot {
  border-radius: 7px;
}

.nav-stop-dot.is-current {
  background: var(--ink);
}

.arrival-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8f5 100%);
}

.arrival-image-wrap {
  height: 42dvh;
}

.arrival-image-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.04) 45%,
    rgba(247,248,245,0.72) 84%,
    rgba(247,248,245,1) 100%
  );
}

.arrival-content {
  max-width: 680px;
  width: 100%;
  align-self: center;
  padding-left: 22px;
  padding-right: 22px;
  margin-top: -32px;
}

.arrival-badge {
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line-soft);
  color: var(--green-dark);
  letter-spacing: 0;
}

.arrival-story {
  color: #4f574f;
}

.audio-player,
.mission-card {
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  border-color: var(--line-soft);
  box-shadow: 0 8px 20px rgba(18,24,18,0.05);
}

.audio-play-btn {
  border-radius: 8px;
  background: var(--ink);
}

.audio-bar-fill {
  background: var(--green);
}

.mission-card {
  background: #f0f7ee;
  border-color: rgba(58,170,53,0.2);
}

.mission-header span {
  letter-spacing: 0;
  color: var(--green-dark);
}

.carousel-btn {
  border-radius: 8px;
  background: rgba(15,17,15,0.58);
}

.complete-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, #f2f5f0 100%);
}

.complete-check {
  border-radius: 8px;
  background: var(--green-light);
}

.complete-desc {
  color: #525a52;
}

@media (min-width: 768px) {
  .selection-wrapper,
  .welcome-wrapper,
  .arrival-wrapper,
  .checklist-wrapper,
  .complete-wrapper {
    max-width: 520px;
  }

  .selection-title,
  .welcome-title {
    font-size: 36px;
  }
}

/* ============================================
   STEARO PRO DESIGN — sharper, editorial, mobile-native
   ============================================ */

:root {
  --pro-bg: #0f130f;
  --pro-ink: #111411;
  --pro-muted: #6b736b;
  --pro-paper: #fbfcf8;
  --pro-panel: #ffffff;
  --pro-line: rgba(20, 28, 20, 0.1);
  --pro-green: #3AAA35;
  --pro-lime: #b7e56a;
  --pro-blue: #2367d8;
  --pro-gold: #c79a42;
  --pro-shadow: 0 22px 55px rgba(8, 14, 8, 0.22);
}

.btn-primary {
  min-height: 58px;
  border-radius: 8px;
  background: var(--pro-bg);
  box-shadow: 0 16px 34px rgba(8, 14, 8, 0.22);
}

.btn-primary:active {
  transform: scale(0.985);
}

.selection-wrapper {
  position: relative;
  padding: calc(28px + var(--safe-top)) 18px calc(36px + var(--safe-bottom));
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0) 220px),
    linear-gradient(180deg, #10140f 0%, #151a14 100%);
  overflow: hidden;
}

.selection-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 46%);
}

.selection-header,
.selection-topbar,
.selection-list {
  position: relative;
  z-index: 1;
}

.selection-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
  padding: 4px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.selection-kicker,
.selection-card-kicker {
  color: var(--pro-lime);
}

.selection-title {
  color: #fff;
  max-width: 11em;
  font-size: 36px;
}

.selection-desc {
  color: rgba(255,255,255,0.68);
}

.selection-topbar-title {
  color: rgba(255,255,255,0.86);
}

.selection-back-btn {
  background: rgba(255,255,255,0.92);
}

.selection-list {
  gap: 14px;
  padding-top: 4px;
}

.selection-card {
  border-radius: 8px;
  box-shadow: var(--pro-shadow);
}

.city-card {
  min-height: 238px;
  border: 1px solid rgba(255,255,255,0.12);
}

.city-card .selection-card-img {
  opacity: 0.9;
  filter: saturate(1.05) contrast(1.04);
}

.city-card::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.14) 38%, rgba(0,0,0,0.84) 100%),
    linear-gradient(90deg, rgba(58,170,53,0.18), rgba(0,0,0,0));
}

.selection-card-index {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 950;
}

.city-card .selection-card-status {
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.96);
}

.city-card .selection-card-body {
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.city-card .selection-card-body strong {
  font-size: 34px;
  letter-spacing: 0;
}

.selection-card-foot {
  margin-top: 10px;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff !important;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 12px !important;
  font-weight: 900;
}

.circuit-card {
  min-height: 188px;
  border: 1px solid rgba(13,18,13,0.08);
  background: linear-gradient(180deg, #ffffff, #f7f9f5);
  box-shadow: 0 18px 42px rgba(8,14,8,0.14);
}

.circuit-card .selection-card-img {
  width: 132px;
  filter: saturate(0.98) contrast(1.04);
}

.circuit-card::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.08) 0 132px, rgba(255,255,255,0) 132px),
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.03));
}

.circuit-card .selection-card-status {
  left: 12px;
  top: 12px;
  max-width: 106px;
  padding: 7px 9px;
  color: #fff;
  background: rgba(15,19,15,0.78);
  backdrop-filter: blur(10px);
}

.circuit-card .selection-card-body {
  left: 150px;
  right: 50px;
  top: 16px;
  bottom: 16px;
  gap: 6px;
  overflow: hidden;
}

.circuit-card .selection-card-body strong {
  font-size: 22px;
  line-height: 1.05;
}

.circuit-card .selection-card-body > span:not(.selection-card-kicker):not(.selection-card-meta):not(.circuit-route-rail) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.circuit-route-rail {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 3px 0 0;
}

.circuit-route-rail i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d7ddd4;
}

.circuit-route-rail i.is-start {
  background: var(--pro-green);
}

.circuit-route-rail i.is-end {
  background: var(--pro-bg);
}

.circuit-route-rail i:not(:last-child)::after {
  content: '';
  display: block;
  width: 12px;
  height: 1px;
  margin-left: 7px;
  margin-top: 3px;
  background: #d7ddd4;
}

.circuit-card-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--pro-bg);
  color: #fff;
  font-weight: 900;
}

.circuit-card-arrow.is-locked {
  background: var(--ux-leaf);
  color: #fff;
  font-size: 14px;
}

.welcome-wrapper {
  background: #f5f7f1;
}

.welcome-hero {
  height: 52dvh;
}

.welcome-hero::after {
  display: none;
}

.welcome-hero-img {
  filter: saturate(1.03) contrast(1.02);
}

.welcome-hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.02) 34%, rgba(245,247,241,0.12) 62%, rgba(245,247,241,1) 100%),
    linear-gradient(90deg, rgba(20,40,20,0.2), rgba(0,0,0,0));
}

.welcome-hero-badge,
.welcome-back-btn {
  border-radius: 8px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.58);
  backdrop-filter: blur(14px);
}

.welcome-content {
  margin-top: -78px;
  padding: 0 18px calc(30px + var(--safe-bottom));
}

.welcome-title {
  color: var(--pro-ink);
  font-size: 38px;
  line-height: 0.98;
  text-wrap: balance;
}

.welcome-desc {
  max-width: 28em;
  font-size: 15px;
  color: #495149;
}

.welcome-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.welcome-meta-item {
  min-height: 78px;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 12px 26px rgba(8,14,8,0.08);
}

.welcome-meta-item span {
  min-width: 0;
  font-size: 13px;
  line-height: 1.18;
}

.welcome-itinerary {
  margin: 0 0 18px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(17,20,17,0.96);
  color: #fff;
  box-shadow: 0 16px 38px rgba(8,14,8,0.18);
}

.welcome-itinerary-label {
  display: block;
  margin-bottom: 12px;
  color: var(--pro-lime);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.welcome-itinerary-list {
  display: grid;
  gap: 9px;
}

.welcome-itinerary-stop {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  font-weight: 750;
}

.welcome-itinerary-stop b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 11px;
}

.checklist-wrapper {
  position: relative;
  background:
    linear-gradient(180deg, #10140f 0 212px, #f4f7f1 212px 100%);
  padding-top: calc(46px + var(--safe-top));
}

.checklist-logo {
  padding: 4px;
  border-radius: 8px;
  background: #fff;
}

.checklist-step {
  color: var(--pro-lime);
}

.checklist-title {
  color: #fff;
  font-size: 34px;
}

.checklist-items {
  gap: 10px;
}

.checklist-item {
  min-height: 86px;
  align-items: center;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 15px 34px rgba(8,14,8,0.08);
}

.checklist-icon {
  width: 46px;
  height: 46px;
  background: #eaf7e6;
}

.nav-direction-card {
  min-height: 78px;
  padding: 12px;
  background: rgba(10,13,10,0.95);
}

.nav-direction-icon {
  width: 54px;
  height: 54px;
}

.nav-direction-text {
  font-size: 20px;
}

.nav-direction-distance {
  background: rgba(255,255,255,0.12);
}

.gps-status,
.nav-distance-card,
.nav-bottom-card,
.nav-action-btn {
  backdrop-filter: blur(18px);
}

.nav-distance-card {
  width: 108px;
}

.distance-distance {
  color: var(--pro-ink);
}

.nav-bottom-card {
  padding: 15px;
}

.nav-dest-title {
  font-size: 20px;
}

.nav-action-btn.is-active {
  background: var(--pro-green);
}

.arrival-wrapper {
  background: #f5f7f1;
}

.arrival-image-wrap {
  height: 48dvh;
}

.arrival-image {
  filter: saturate(1.04) contrast(1.02);
}

.arrival-content {
  margin-top: -62px;
}

.arrival-badge {
  box-shadow: 0 10px 24px rgba(8,14,8,0.08);
}

.arrival-title {
  font-size: 34px;
  line-height: 1.02;
  text-wrap: balance;
}

.arrival-story {
  font-size: 15px;
  color: #3f473f;
}

.audio-player {
  min-height: 68px;
}

.mission-card {
  position: relative;
  overflow: hidden;
  background: #10140f;
  color: #fff;
  border-color: rgba(255,255,255,0.08);
}

.mission-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--pro-green);
}

.mission-header svg,
.mission-header span,
.mission-text {
  color: #fff;
}

.mission-header span {
  color: var(--pro-lime);
}

.complete-wrapper {
  background:
    linear-gradient(180deg, #10140f 0%, #161d15 52%, #f5f7f1 52%, #f5f7f1 100%);
}

.complete-check {
  width: 74px;
  height: 74px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(0,0,0,0.22);
}

.complete-logo {
  padding: 6px;
  border-radius: 8px;
  background: #fff;
}

.complete-title {
  color: #fff;
  font-size: 34px;
}

.complete-desc,
.complete-thanks,
.complete-actions,
.complete-wrapper .btn-text {
  position: relative;
  top: 34px;
}

/* ============================================
   STEARO LIGHT PRO — premium, bright, travel-led
   ============================================ */

.selection-wrapper {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9f4 42%, #eef4ed 100%);
}

.selection-wrapper::before {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(20,28,20,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,28,20,0.06) 1px, transparent 1px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 56%);
}

.selection-logo {
  background: #fff;
  border-color: rgba(20,28,20,0.08);
  box-shadow: 0 12px 28px rgba(20,28,20,0.08);
}

.selection-kicker,
.selection-card-kicker {
  color: var(--green-dark);
}

.selection-title {
  color: var(--pro-ink);
}

.selection-desc,
.selection-topbar-title {
  color: #5d665d;
}

.selection-back-btn {
  border: 1px solid rgba(20,28,20,0.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20,28,20,0.08);
}

.city-card {
  min-height: 228px;
  border: 1px solid rgba(20,28,20,0.08);
  box-shadow: 0 18px 42px rgba(20,28,20,0.12);
}

.city-card::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.1) 34%, rgba(0,0,0,0.78) 100%),
    linear-gradient(90deg, rgba(58,170,53,0.14), rgba(0,0,0,0));
}

.city-card .selection-card-img {
  opacity: 0.94;
}

.selection-card-foot {
  background: rgba(255,255,255,0.18);
}

.circuit-card {
  box-shadow: 0 14px 34px rgba(20,28,20,0.1);
}

.welcome-itinerary {
  background: #ffffff;
  color: var(--pro-ink);
  border: 1px solid rgba(20,28,20,0.08);
  box-shadow: 0 14px 34px rgba(20,28,20,0.1);
}

.welcome-itinerary-label {
  color: var(--green-dark);
}

.welcome-itinerary-stop {
  color: #3f473f;
}

.welcome-itinerary-stop b {
  background: #eef7ec;
  color: var(--green-dark);
}

.checklist-wrapper {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9f4 44%, #eef4ed 100%);
}

.checklist-step {
  color: var(--green-dark);
}

.checklist-title {
  color: var(--pro-ink);
}

.checklist-logo {
  border: 1px solid rgba(20,28,20,0.08);
  box-shadow: 0 10px 24px rgba(20,28,20,0.08);
}

.mission-card {
  background: #ffffff;
  color: var(--pro-ink);
  border-color: rgba(58,170,53,0.22);
}

.mission-card::before {
  background: var(--pro-green);
}

.mission-header svg,
.mission-text {
  color: var(--pro-ink);
}

.mission-header span {
  color: var(--green-dark);
}

.complete-wrapper {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9f4 48%, #eef4ed 100%);
}

.complete-title {
  color: var(--pro-ink);
}

.complete-check {
  background: #eef7ec;
  box-shadow: 0 16px 34px rgba(20,28,20,0.1);
}

.complete-desc,
.complete-thanks,
.complete-actions,
.complete-wrapper .btn-text {
  top: 0;
}

/* ============================================
   STEARO TOURISM LIGHT — open, sunny, welcoming
   ============================================ */

:root {
  --tour-sky: #eaf6ff;
  --tour-mint: #edf8ed;
  --tour-leaf: #2f9d44;
  --tour-gold: #d8a63a;
  --tour-ink: #182018;
  --tour-soft: #f8fbf6;
}

body {
  background: #ffffff;
}

.btn-primary {
  background: linear-gradient(180deg, #43b84d 0%, #2f9d44 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47,157,68,0.22);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #48c354 0%, #2f9d44 100%);
}

.selection-wrapper,
.checklist-wrapper,
.welcome-wrapper,
.arrival-wrapper,
.complete-wrapper {
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcff 38%, #f1f8f1 100%);
}

.selection-wrapper::before {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(47,157,68,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,157,68,0.08) 1px, transparent 1px);
}

.selection-title,
.welcome-title,
.checklist-title,
.arrival-title,
.complete-title {
  color: var(--tour-ink);
}

.selection-desc,
.welcome-desc,
.nav-dest-instruction,
.arrival-story,
.complete-desc {
  color: #566256;
}

.selection-kicker,
.selection-card-kicker,
.checklist-step,
.welcome-itinerary-label,
.mission-header span {
  color: var(--tour-leaf);
}

.selection-logo,
.checklist-logo,
.welcome-hero-badge,
.welcome-back-btn,
.selection-back-btn {
  background: rgba(255,255,255,0.94);
  border-color: rgba(47,157,68,0.12);
  box-shadow: 0 10px 24px rgba(47,157,68,0.08);
}

.city-card {
  min-height: 220px;
  box-shadow: 0 16px 34px rgba(44,72,54,0.1);
}

.city-card .selection-card-img {
  opacity: 1;
  filter: saturate(1.12) contrast(1.01) brightness(1.05);
}

.city-card::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.06) 42%, rgba(0,0,0,0.48) 100%),
    linear-gradient(90deg, rgba(47,157,68,0.16), rgba(0,0,0,0));
}

.city-card .selection-card-body strong {
  text-shadow: 0 2px 10px rgba(0,0,0,0.14);
}

.selection-card.is-disabled {
  filter: none;
}

.selection-card.is-disabled .selection-card-img {
  opacity: 0.72;
  filter: saturate(0.72) contrast(0.98) brightness(1.08);
}

.city-card.is-disabled::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.06) 42%, rgba(0,0,0,0.46) 100%),
    linear-gradient(90deg, rgba(47,157,68,0.1), rgba(255,255,255,0));
}

.selection-card-status {
  color: var(--tour-ink);
}

.selection-card-foot {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.24);
}

.circuit-card {
  background: #ffffff;
  border-color: rgba(47,157,68,0.12);
  box-shadow: 0 12px 28px rgba(44,72,54,0.08);
}

.circuit-card .selection-card-status,
.circuit-card-arrow {
  background: var(--tour-leaf);
  color: #fff;
}

.circuit-card .selection-card-img {
  filter: saturate(1.08) contrast(1.02) brightness(1.06);
}

.circuit-route-rail i.is-end {
  background: var(--tour-gold);
}

.welcome-hero {
  height: 50dvh;
}

.welcome-hero-img,
.arrival-image {
  filter: saturate(1.1) contrast(1.01) brightness(1.06);
}

.welcome-hero-overlay,
.arrival-image-overlay {
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 48%, rgba(255,255,255,0.82) 86%, #ffffff 100%);
}

.welcome-content,
.arrival-content {
  margin-top: -54px;
}

.welcome-meta-item,
.checklist-item,
.audio-player,
.welcome-itinerary,
.mission-card {
  background: rgba(255,255,255,0.96);
  border-color: rgba(47,157,68,0.12);
  box-shadow: 0 12px 28px rgba(44,72,54,0.07);
}

.welcome-meta-item svg,
.checklist-icon svg,
.mission-header svg {
  color: var(--tour-leaf);
}

.welcome-itinerary-stop b,
.checklist-icon,
.complete-check {
  background: var(--tour-mint);
  color: var(--tour-leaf);
}

.mission-card::before {
  width: 5px;
  background: linear-gradient(180deg, var(--tour-leaf), var(--tour-gold));
}

.audio-play-btn {
  background: var(--tour-leaf);
}

.audio-bar-fill {
  background: var(--tour-leaf);
}

.nav-direction-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(47,157,68,0.14);
  box-shadow: 0 16px 34px rgba(44,72,54,0.12);
}

.nav-direction-text,
.nav-direction-distance,
.nav-direction-street {
  color: var(--tour-ink);
}

.nav-direction-street {
  color: #687568;
}

.nav-direction-icon,
.distance-time,
.nav-action-btn.is-active,
.nav-progress-fill {
  background: var(--tour-leaf);
}

.nav-direction-distance {
  background: var(--tour-mint);
}

.nav-bottom-card,
.gps-status,
.nav-distance-card,
.nav-action-btn {
  background: rgba(255,255,255,0.96);
  border-color: rgba(47,157,68,0.12);
  box-shadow: 0 12px 28px rgba(44,72,54,0.1);
}

.nav-live-label,
.nav-stop-dot.is-done {
  color: var(--tour-leaf);
  background: var(--tour-mint);
}

.nav-stop-dot.is-current {
  background: var(--tour-leaf);
}

.complete-wrapper {
  justify-content: center;
}

.complete-logo {
  box-shadow: 0 10px 24px rgba(47,157,68,0.08);
}

/* ============================================
   STEARO HYPER COMPLETE V1
   ============================================ */

.circuit-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 4px 12px;
  margin-top: -4px;
  scrollbar-width: none;
}

.circuit-filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(47,157,68,0.14);
  background: rgba(255,255,255,0.94);
  color: #405044;
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(44,72,54,0.06);
}

.filter-chip.is-active {
  background: var(--tour-leaf);
  color: #fff;
  border-color: var(--tour-leaf);
}

.selection-empty {
  color: #687568;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 12px;
  padding: 18px;
  font-weight: 750;
}

.circuit-card-tags,
.circuit-detail-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.circuit-card-tags em,
.circuit-detail-strip span {
  font-style: normal;
  color: #2f6f35;
  background: #eef8ee;
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 999px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 850;
}

.circuit-detail-strip {
  margin: 2px 0 4px;
}

.welcome-insight-block {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(47,157,68,0.1);
}

.welcome-insight-block strong,
.enrichment-card span,
.journal-header span {
  color: var(--tour-leaf);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.welcome-insight-block span {
  color: #526253;
  font-size: 13px;
  line-height: 1.45;
}

.stop-enrichment {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.stop-enrichment.hidden {
  display: none;
}

.enrichment-card {
  display: grid;
  gap: 7px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 12px;
  padding: 13px 14px;
  box-shadow: 0 10px 24px rgba(44,72,54,0.06);
}

.enrichment-card p {
  color: #455346;
  font-size: 14px;
  line-height: 1.5;
}

.enrichment-quiz summary {
  color: #233028;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.enrichment-quiz summary::-webkit-details-marker {
  display: none;
}

.travel-journal {
  width: 100%;
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 16px;
  padding: 16px;
  margin: 10px 0 6px;
  box-shadow: 0 14px 30px rgba(44,72,54,0.08);
}

.journal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.journal-header strong {
  color: var(--tour-ink);
  font-size: 18px;
}

.journal-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.journal-stats span {
  background: #f4faf4;
  border: 1px solid rgba(47,157,68,0.1);
  border-radius: 10px;
  padding: 10px 8px;
  color: #5a685b;
  font-size: 12px;
  text-align: center;
}

.journal-stats b {
  display: block;
  color: var(--tour-ink);
  font-size: 14px;
}

.journal-highlights {
  color: #526253;
  font-size: 13px;
  line-height: 1.45;
}

.journal-stops {
  display: grid;
  gap: 8px;
}

.journal-stops span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #38463a;
  font-size: 13px;
  font-weight: 750;
}

.journal-stops b {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--tour-mint);
  color: var(--tour-leaf);
  border-radius: 999px;
  font-size: 11px;
}

/* ============================================
   STEARO HYPER COMPLETE V2
   ============================================ */

.circuit-tools,
.welcome-actions,
.stop-action-row {
  display: flex;
  gap: 9px;
  align-items: stretch;
}

.circuit-tools {
  margin: 0 0 12px;
}

.circuit-search {
  flex: 1;
  display: grid;
  gap: 5px;
  color: #607060;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.circuit-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(47,157,68,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  color: var(--tour-ink);
  padding: 0 13px;
  font-size: 14px;
  font-weight: 750;
  outline: none;
  box-shadow: 0 8px 18px rgba(44,72,54,0.06);
}

.circuit-search input:focus {
  border-color: rgba(47,157,68,0.42);
  box-shadow: 0 0 0 4px rgba(47,157,68,0.1);
}

.favorite-filter {
  align-self: end;
  min-height: 44px;
}

.soft-action-btn {
  border: 1px solid rgba(47,157,68,0.14);
  background: rgba(255,255,255,0.96);
  color: #2d5d33;
  border-radius: 12px;
  min-height: 42px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(44,72,54,0.06);
}

.soft-action-btn.is-active {
  background: var(--tour-mint);
  border-color: rgba(47,157,68,0.24);
  color: var(--tour-leaf);
}

.soft-action-btn.hidden,
.hidden {
  display: none !important;
}

.welcome-actions {
  flex-wrap: wrap;
}

.language-switcher {
  display: block;
  width: fit-content;
  max-width: 100%;
  position: relative;
}

.app-language-dropdown {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.app-language-dropdown summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 12px;
  border: 1px solid rgba(47,157,68,0.16);
  background: rgba(255,255,255,0.96);
  color: #466146;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 18px rgba(44,72,54,0.05);
}

.app-language-dropdown summary::-webkit-details-marker {
  display: none;
}

.app-language-dropdown summary span {
  color: #667466;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-language-dropdown summary strong {
  min-width: 32px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--tour-leaf);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.app-language-menu {
  position: absolute;
  z-index: 35;
  top: calc(100% + 8px);
  left: 0;
  width: min(260px, calc(100vw - 36px));
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(47,157,68,0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(28,48,31,0.14);
}

.language-choice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(47,157,68,0.12);
  background: #fff;
  color: #263528;
  border-radius: 12px;
  padding: 9px;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  box-shadow: none;
}

.language-choice b {
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef8ee;
  color: var(--tour-leaf);
}

.language-choice span {
  min-width: 0;
  color: #4a594b;
}

.language-choice.is-active {
  background: #eef8ee;
  border-color: var(--tour-leaf);
}

.route-preview-card {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 16px 34px rgba(44,72,54,0.08);
}

.route-preview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.route-preview-head strong {
  color: #304232;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.route-preview-map {
  width: 100%;
  min-height: 220px;
  height: clamp(220px, 42vh, 340px);
  border: 1px solid rgba(47,157,68,0.14);
  border-radius: 16px;
  overflow: hidden;
  background: #eef6ee;
}

.route-preview-map .leaflet-container {
  border-radius: inherit;
}

.route-preview-marker {
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px;
  display: grid !important;
  place-items: center;
  background: #2f9d44;
  color: #fff;
  border: 4px solid #fff;
  box-shadow: 0 9px 22px rgba(28,48,31,0.28);
  font-size: 13px;
  font-weight: 950;
}

.route-preview-marker.is-start {
  background: #173f25;
}

.route-preview-marker.is-end {
  background: #f1a51d;
  color: #172618;
}

.route-preview-marker span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.route-preview-arrow {
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px;
  display: grid !important;
  place-items: center;
  background: #fff;
  color: #2f9d44;
  border: 2px solid rgba(47,157,68,0.24);
  box-shadow: 0 7px 18px rgba(28,48,31,0.16);
  font-size: 17px;
  font-weight: 950;
}

.route-preview-arrow span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.practical-grid.is-compact {
  display: block;
}

.welcome-disclosure {
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 22px rgba(44,72,54,0.06);
  overflow: hidden;
}

.welcome-disclosure summary {
  min-height: 58px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.welcome-disclosure summary::-webkit-details-marker {
  display: none;
}

.welcome-disclosure summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef8ee;
  color: var(--tour-leaf);
  font-size: 18px;
  font-weight: 950;
}

.welcome-disclosure[open] summary::after {
  content: "−";
}

.welcome-disclosure summary span {
  color: var(--tour-leaf);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.welcome-disclosure summary strong {
  color: #344535;
  font-size: 13px;
  line-height: 1.25;
  text-align: right;
}

.welcome-disclosure-grid,
.toolkit-disclosure .toolkit-grid,
.toolkit-disclosure .toolkit-route {
  margin: 0 12px 12px;
}

.welcome-disclosure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.practical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.practical-grid article {
  display: grid;
  gap: 4px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 22px rgba(44,72,54,0.06);
}

.practical-grid span,
.stop-practical b {
  color: var(--tour-leaf);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.practical-grid strong {
  color: #39483b;
  font-size: 13px;
  line-height: 1.35;
}

.nav-context {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.nav-context span {
  color: #4f604f;
  background: #f0f8f0;
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 999px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 850;
}

.stop-practical {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 12px;
}

.stop-practical.hidden {
  display: none;
}

.stop-practical span {
  display: grid;
  gap: 3px;
  color: #415043;
  background: #f8fcf8;
  border: 1px solid rgba(47,157,68,0.1);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.35;
}

.achievement-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.achievement-strip span {
  background: linear-gradient(135deg, #eaf8e9, #fff7df);
  border: 1px solid rgba(47,157,68,0.12);
  color: #2f6f35;
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 420px) {
  .circuit-tools {
    display: grid;
  }

  .favorite-filter {
    align-self: auto;
  }

  .practical-grid,
  .stop-practical {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   STEARO FRONT UX PASS — bright tourism flow
   ============================================ */

:root {
  --ux-ink: #243126;
  --ux-muted: #647367;
  --ux-soft: #f6faf5;
  --ux-card: rgba(255,255,255,0.97);
  --ux-line: rgba(47,157,68,0.13);
  --ux-leaf: #2f9d44;
  --ux-gold: #c99535;
  --ux-shadow: 0 14px 34px rgba(42, 72, 49, 0.1);
  --ux-shadow-strong: 0 20px 48px rgba(42, 72, 49, 0.15);
}

html,
body {
  background: #f8fbf6;
}

.app-screen {
  background: #f8fbf6;
  color: var(--ux-ink);
}

button,
a,
input {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(47,157,68,0.24);
  outline-offset: 3px;
}

.selection-wrapper,
.checklist-wrapper,
.welcome-wrapper,
.arrival-wrapper,
.complete-wrapper {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdf9 42%, #eef8ee 100%);
}

.selection-wrapper {
  padding-inline: clamp(18px, 5vw, 28px);
  gap: 16px;
}

.selection-header {
  gap: 9px;
}

.selection-logo {
  width: 46px;
  height: 46px;
  padding: 5px;
}

.selection-kicker,
.selection-card-kicker,
.checklist-step,
.welcome-itinerary-label,
.welcome-insight-block strong,
.enrichment-card span,
.journal-header span,
.practical-grid span,
.stop-practical b {
  letter-spacing: 0;
}

.selection-title {
  max-width: 11.5em;
  font-size: clamp(31px, 9vw, 42px);
  line-height: 0.98;
  text-wrap: balance;
}

.selection-desc {
  max-width: 34em;
  font-size: 15px;
}

.selection-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  padding: 4px 0 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0));
}

.selection-back-btn,
.welcome-back-btn,
.carousel-btn,
.nav-action-btn,
.circuit-card-arrow,
.complete-check {
  border-radius: 10px;
}

.selection-list {
  gap: 13px;
}

.selection-card {
  border-radius: 14px;
  box-shadow: var(--ux-shadow-strong);
}

.selection-card-body strong,
.welcome-title,
.arrival-title,
.complete-title,
.checklist-title {
  text-wrap: balance;
}

.city-card {
  min-height: 214px;
}

.city-card .selection-card-body {
  gap: 8px;
}

.city-card .selection-card-body strong {
  font-size: clamp(28px, 8vw, 36px);
}

.selection-card-foot {
  border-radius: 999px;
  padding: 8px 11px;
}

.circuit-tools {
  position: static;
  top: auto;
  z-index: auto;
  margin: 0 -2px 8px;
  padding: 8px 2px 10px;
  background: linear-gradient(180deg, #fbfdf9 0%, rgba(251,253,249,0.94) 74%, rgba(251,253,249,0));
}

.circuit-search {
  min-width: 0;
}

.circuit-search input,
.filter-chip,
.soft-action-btn,
.language-choice {
  min-height: 44px;
}

.filter-chip,
.soft-action-btn,
.language-choice {
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.filter-chip:active,
.soft-action-btn:active,
.language-choice:active {
  transform: scale(0.98);
}

.circuit-filters {
  margin-inline: 0;
  padding: 0 0 8px;
  position: relative;
  z-index: 14;
  margin-bottom: 12px;
  flex-wrap: wrap;
  overflow: visible;
  min-height: 52px;
}

#circuit-list {
  padding-top: 4px;
}

.circuit-card {
  min-height: 206px;
  border-radius: 14px;
  box-shadow: var(--ux-shadow);
}

.circuit-card .selection-card-img {
  width: 136px;
}

.circuit-card::after {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.05) 0 136px, rgba(255,255,255,0) 136px),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(47,157,68,0.03));
}

.circuit-card .selection-card-body {
  left: 152px;
  right: 52px;
  top: 18px;
  bottom: 18px;
  gap: 8px;
  justify-content: flex-start;
}

.circuit-card .selection-card-body strong {
  font-size: 21px;
}

.circuit-card .selection-card-body > span:not(.selection-card-kicker):not(.selection-card-meta):not(.circuit-route-rail):not(.circuit-card-tags) {
  line-height: 1.42;
}

.circuit-card-tags {
  max-height: none;
  overflow: hidden;
}

.circuit-card-tags em,
.circuit-detail-strip span,
.nav-context span,
.achievement-strip span {
  border-radius: 999px;
}

.welcome-hero {
  height: min(48dvh, 430px);
}

.welcome-content,
.arrival-content {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: -48px;
  padding-inline: clamp(18px, 5vw, 24px);
}

.welcome-title {
  margin-bottom: 0;
  font-size: clamp(31px, 8vw, 42px);
  line-height: 1;
}

.welcome-desc {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.55;
}

.welcome-actions,
.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--ux-line);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(42,72,49,0.06);
  backdrop-filter: blur(14px);
}

.welcome-actions .soft-action-btn,
.language-switcher .language-choice {
  flex: 1 1 auto;
  box-shadow: none;
}

.welcome-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0;
}

.welcome-meta-item {
  min-width: 0;
  min-height: 76px;
  border-radius: 14px;
  box-shadow: var(--ux-shadow);
}

.welcome-meta-item span,
.nav-dest-title,
.nav-direction-text,
.nav-direction-street,
.selection-card-body span,
.selection-card-body strong {
  min-width: 0;
}

.practical-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.practical-grid article,
.welcome-itinerary,
.checklist-item,
.audio-player,
.mission-card,
.enrichment-card,
.travel-journal {
  border-radius: 14px;
  box-shadow: var(--ux-shadow);
}

.welcome-itinerary {
  display: grid;
  gap: 11px;
}

.welcome-itinerary-list {
  gap: 8px;
}

.welcome-itinerary-stop {
  min-height: 39px;
}

.btn-primary {
  min-height: 56px;
  border-radius: 14px;
  background: var(--ux-leaf);
  box-shadow: 0 16px 34px rgba(47,157,68,0.2);
}

.btn-primary:hover {
  background: #278a3b;
}

.checklist-wrapper > .btn-primary {
  position: sticky;
  bottom: calc(12px + var(--safe-bottom));
  z-index: 20;
}

.welcome-content > .btn-primary,
.arrival-content > .btn-continue {
  position: static;
}

.checklist-wrapper,
.welcome-content,
.arrival-content {
  padding-bottom: calc(26px + var(--safe-bottom));
}

.checklist-items {
  gap: 12px;
}

.checklist-item {
  padding: 16px;
}

#screen-navigation {
  background: #e8f0e7;
}

#map,
.leaflet-container {
  background: #e8f0e7;
}

.leaflet-tile-pane {
  filter: saturate(0.92) contrast(1.01) brightness(1.04);
}

.nav-direction-card {
  top: calc(12px + var(--safe-top));
  left: 12px;
  right: 12px;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 18px 38px rgba(42,72,49,0.14);
}

.nav-direction-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.nav-direction-distance {
  border-radius: 12px;
}

.gps-status {
  top: calc(90px + var(--safe-top));
  left: 12px;
  max-width: calc(100vw - 144px);
  border-radius: 999px;
}

.nav-distance-card {
  top: calc(90px + var(--safe-top));
  right: 12px;
  border-radius: 16px;
}

.nav-action-stack {
  right: 12px;
  bottom: calc(184px + var(--safe-bottom));
}

.nav-action-btn {
  width: 50px;
  height: 50px;
}

.nav-exit-btn {
  background: rgba(20, 35, 22, 0.94);
  border-color: rgba(255,255,255,0.18);
}

.nav-exit-btn svg {
  color: #fff;
}

.nav-bottom-card {
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-bottom));
  border-radius: 18px;
  padding: 14px;
}

.nav-stop-timeline {
  gap: 6px;
}

.nav-stop-dot {
  min-height: 24px;
}

.nav-context {
  gap: 7px;
}

.arrival-image-wrap {
  height: min(44dvh, 410px);
}

#screen-arrival {
  isolation: isolate;
  background: #f5fbf4 !important;
}

body:has(#screen-arrival.active),
.app-screen.active#screen-arrival {
  background: #f5fbf4 !important;
}

/* ============================================
   STEARO PRODUCT PASS — assistant, checklist, progress
   ============================================ */

.tour-toolkit,
.checklist-progress,
.arrival-progress-card {
  background: rgba(255,255,255,0.97);
  border: 1px solid var(--ux-line);
  border-radius: 14px;
  box-shadow: var(--ux-shadow);
}

.tour-toolkit {
  display: grid;
  gap: 12px;
  padding: 15px;
}

.toolkit-header,
.arrival-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toolkit-header span,
.arrival-progress-top span,
.checklist-progress span {
  color: var(--ux-leaf);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.toolkit-header strong,
.arrival-progress-top strong,
.checklist-progress strong {
  color: var(--ux-ink);
  font-size: 15px;
  font-weight: 900;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.toolkit-grid article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  background: #f5fbf4;
  border: 1px solid rgba(47,157,68,0.1);
  border-radius: 12px;
}

.toolkit-grid span,
.toolkit-route span {
  color: #5f715f;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.toolkit-grid strong,
.toolkit-route strong {
  color: #283629;
  font-size: 13px;
  line-height: 1.3;
}

.toolkit-route {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(47,157,68,0.1);
}

.tour-toolkit p {
  color: #5a685b;
  font-size: 13px;
  line-height: 1.45;
}

.checklist-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  margin-bottom: 14px;
}

.checklist-item {
  cursor: pointer;
  user-select: none;
}

.checklist-item::after {
  content: '';
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 2px solid rgba(47,157,68,0.22);
  background: #fff;
  margin-left: auto;
}

.checklist-item.is-checked {
  border-color: rgba(47,157,68,0.28);
  background: #f3fbf2;
}

.checklist-item.is-checked::after {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ux-leaf);
  border-color: var(--ux-leaf);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.arrival-progress-card {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
}

.arrival-progress-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(47,157,68,0.11);
}

.arrival-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ux-leaf);
}

.arrival-progress-dots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26px, 1fr));
  gap: 7px;
}

.arrival-progress-dots span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1f6ef;
  color: #6b796b;
  font-size: 12px;
  font-weight: 900;
}

.arrival-progress-dots span.is-done {
  background: #e3f5e1;
  color: var(--ux-leaf);
}

.arrival-progress-dots span.is-current {
  background: var(--ux-leaf);
  color: #fff;
}

.arrival-progress-copy {
  display: grid;
  gap: 3px;
  color: #607060;
  font-size: 13px;
  line-height: 1.4;
}

.arrival-progress-copy strong {
  color: #283629;
}

.btn-primary,
.filter-chip.is-active,
.language-choice.is-active,
.nav-direction-icon,
.distance-time,
.nav-action-btn.is-active,
.nav-progress-fill,
.circuit-card .selection-card-status,
.circuit-card-arrow,
.audio-play-btn {
  background: var(--ux-leaf);
}

@media (max-width: 430px) {
  .toolkit-grid {
    grid-template-columns: 1fr;
  }

  .checklist-progress {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* ============================================
   STEARO ACCOUNT + ACCESS PASS
   ============================================ */

.account-fab {
  position: fixed;
  top: calc(14px + var(--safe-top));
  right: 14px;
  z-index: 45;
  min-height: 42px;
  border: 1px solid rgba(47,157,68,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: #27412b;
  padding: 5px 14px 5px 6px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(42,72,49,0.1);
  backdrop-filter: blur(14px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.account-fab img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: #fff;
  border-radius: 999px;
}

.account-fab span {
  line-height: 1;
}

body:not(.is-authenticated) .account-fab {
  display: none;
}

body:has(#screen-intro-video.active) .account-fab,
body:has(#screen-auth.active) .account-fab,
body:has(#screen-navigation.active) .account-fab {
  display: none;
}

.app-bottom-nav {
  position: fixed;
  left: max(10px, env(safe-area-inset-left, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  bottom: calc(8px + var(--safe-bottom));
  z-index: 70;
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(39,65,43,0.1);
  border-radius: 26px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 16px 42px rgba(28,48,31,0.16);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.bottom-nav-item {
  min-width: 0;
  border: 0;
  border-radius: 19px;
  background: transparent;
  color: #5f6f63;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 4px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.bottom-nav-item svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.bottom-nav-item span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-nav-item.is-active {
  color: #153f20;
  background: #edf7ed;
}

.bottom-nav-main svg {
  width: 31px;
  height: 31px;
  padding: 6px;
  border-radius: 999px;
  color: #ffffff;
  background: #2fae3c;
  box-shadow: 0 8px 18px rgba(47,174,60,0.28);
}

.bottom-nav-main.is-active {
  background: #e7f5e8;
}

.bottom-nav-main.is-active svg {
  background: #1f8f32;
}

.bottom-nav-item:active {
  transform: translateY(1px) scale(0.98);
}

body:not(.is-authenticated) .app-bottom-nav,
body[data-screen="boot"] .app-bottom-nav,
body[data-screen="auth"] .app-bottom-nav,
body[data-screen="navigation"] .app-bottom-nav,
body:has(#screen-boot.active) .app-bottom-nav,
body:has(#screen-auth.active) .app-bottom-nav,
body:has(#screen-navigation.active) .app-bottom-nav {
  display: none;
}

.catalog-load-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  margin-top: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(47,157,68,0.16);
  border-radius: 999px;
  background: #f1f9f0;
  color: #23662d;
  font-size: 12px;
  font-weight: 900;
}

.catalog-load-status.is-warning {
  border-color: rgba(207,152,34,0.22);
  background: #fff8e5;
  color: #8a6416;
}

.chat-wrapper {
  width: min(560px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: calc(22px + var(--safe-top)) 18px calc(112px + var(--safe-bottom));
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf1 100%);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--ux-line);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--ux-shadow);
}

.chat-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.chat-header h1 {
  margin: 2px 0 4px;
  color: var(--ux-ink);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.chat-header p {
  color: var(--ux-muted);
  font-size: 14px;
  line-height: 1.35;
}

.chat-quick-prompts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.chat-quick-prompts::-webkit-scrollbar {
  display: none;
}

.chat-quick-prompts button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(47,157,68,0.14);
  border-radius: 999px;
  background: #fff;
  color: #275d31;
  padding: 0 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(31,75,38,0.08);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 320px;
  overflow-y: auto;
  padding: 4px 2px 10px;
}

.chat-bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(31,75,38,0.08);
}

.chat-bubble p {
  margin: 0;
  white-space: pre-line;
  color: inherit;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
}

.chat-bubble.is-assistant {
  align-self: flex-start;
  border: 1px solid var(--ux-line);
  background: #fff;
  color: #2d3a30;
}

.chat-bubble.is-pending {
  opacity: 0.72;
}

.chat-bubble.is-user {
  align-self: flex-end;
  background: var(--ux-leaf);
  color: #fff;
}

.chat-form {
  position: sticky;
  bottom: calc(92px + var(--safe-bottom));
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(47,157,68,0.14);
  border-radius: 22px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 16px 42px rgba(28,48,31,0.16);
}

.chat-form input {
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  border-radius: 16px;
  background: #f5faf3;
  color: var(--ux-ink);
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.chat-form button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--ux-leaf);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(47,157,68,0.22);
}

.chat-form button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body.is-authenticated .app-screen:not(#screen-boot):not(#screen-auth):not(#screen-navigation).active {
  padding-bottom: calc(92px + var(--safe-bottom));
}

.boot-wrapper {
  width: min(430px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf4 100%);
  color: var(--ux-ink);
}

.boot-wrapper img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(33,57,37,0.16);
}

.boot-wrapper strong {
  font-size: 28px;
  line-height: 1;
}

.boot-wrapper span {
  color: var(--ux-muted);
  font-weight: 700;
}

.auth-wrapper {
  width: min(430px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: calc(20px + var(--safe-top)) 18px calc(22px + var(--safe-bottom));
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf4 100%);
}

.auth-card {
  width: 100%;
  display: grid;
  gap: 11px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--ux-line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(33,57,37,0.12);
}

.auth-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-brand-row strong {
  display: block;
  color: var(--ux-ink);
  font-size: 19px;
  line-height: 1;
}

.auth-brand-row span {
  color: var(--ux-muted);
  font-size: 12px;
  font-weight: 850;
}

.auth-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.auth-card h1 {
  color: var(--ux-ink);
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: 0;
}

.auth-card p {
  color: var(--ux-muted);
  font-size: 14px;
  line-height: 1.45;
}

.google-btn {
  gap: 10px;
}

.google-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.google-signin-slot {
  width: 100%;
  min-height: 44px;
  display: grid;
  place-items: center;
}

.google-signin-slot > div {
  max-width: 100%;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  background: #eef6ec;
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 12px;
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ux-muted);
  font-weight: 900;
}

.auth-tabs button.is-active {
  background: var(--ux-leaf);
  color: #fff;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-field {
  display: grid;
  gap: 6px;
  color: var(--ux-muted);
  font-size: 12px;
  font-weight: 900;
}

.auth-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--ux-line);
  border-radius: 12px;
  padding: 0 13px;
  background: #fff;
  color: var(--ux-ink);
  font-size: 15px;
  outline: none;
}

.auth-field input:focus {
  border-color: rgba(47,157,68,0.5);
  box-shadow: 0 0 0 4px rgba(47,157,68,0.11);
}

.auth-error {
  display: none;
  padding: 9px 11px;
  background: #fff4f1;
  border: 1px solid rgba(217,74,45,0.16);
  border-radius: 10px;
  color: #9d3a25 !important;
  font-size: 13px !important;
  font-weight: 800;
}

.auth-error.is-visible {
  display: block;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ux-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  background: var(--ux-line);
}

.account-wrapper {
  width: min(560px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: calc(22px + var(--safe-top)) 18px calc(28px + var(--safe-bottom));
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf4 100%);
}

.account-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ux-muted);
  font-size: 14px;
  font-weight: 900;
}

.account-hero,
.account-auth-card,
.account-section {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--ux-line);
  border-radius: 14px;
  box-shadow: var(--ux-shadow);
}

.account-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.account-hero img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.account-hero h1,
.account-auth-card h2,
.account-section h2,
.paywall-card h2 {
  color: var(--ux-ink);
  line-height: 1.05;
  letter-spacing: 0;
}

.account-hero p,
.account-auth-card p,
.account-section p,
.paywall-card p {
  color: var(--ux-muted);
  font-size: 14px;
  line-height: 1.5;
}

.account-auth-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
}

.account-auth-card .btn-primary,
.account-auth-card .soft-action-btn {
  width: auto;
  min-width: 170px;
}

.account-auth-actions {
  display: grid;
  gap: 8px;
}

.account-auth-actions .btn-primary,
.account-auth-actions .soft-action-btn {
  width: 100%;
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.account-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--ux-leaf);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(47,157,68,0.18);
}

.account-profile h2,
.account-profile p {
  overflow-wrap: anywhere;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-stats article {
  display: grid;
  gap: 2px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--ux-line);
  border-radius: 14px;
  box-shadow: var(--ux-shadow);
}

.account-stats strong {
  color: var(--ux-leaf);
  font-size: 26px;
  line-height: 1;
}

.account-stats span,
.account-row span {
  color: var(--ux-muted);
  font-size: 12px;
  font-weight: 800;
}

.account-section {
  display: grid;
  gap: 10px;
  padding: 15px;
}

.account-menu-grid {
  display: grid;
  gap: 9px;
}

.account-menu-btn {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 13px;
  background: #fbfdf9;
  padding: 12px;
  text-align: left;
}

.account-menu-btn strong {
  color: var(--ux-ink);
  font-size: 14px;
}

.account-menu-btn span {
  color: var(--ux-muted);
  font-size: 12px;
  font-weight: 800;
}

.account-menu-btn:active {
  transform: scale(0.99);
}

.account-menu-btn.is-primary {
  background: var(--ux-leaf);
  border-color: var(--ux-leaf);
}

.account-menu-btn.is-primary strong,
.account-menu-btn.is-primary span {
  color: #fff;
}

.account-access-group {
  display: grid;
  gap: 8px;
}

.account-row {
  display: grid;
  gap: 4px;
  padding: 11px 0;
  border-top: 1px solid rgba(47,157,68,0.1);
}

.account-access-row {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.account-access-row em {
  display: block;
  margin-top: 3px;
  color: var(--ux-muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}

.account-access-row .soft-action-btn {
  width: auto;
  min-height: 38px;
  padding: 0 14px;
  white-space: nowrap;
}

.account-row strong {
  color: #283629;
}

.paywall-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20,28,20,0.42);
  backdrop-filter: blur(12px);
}

.paywall-modal.hidden {
  display: none;
}

.paywall-card {
  position: relative;
  width: min(430px, 100%);
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--ux-line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(20,28,20,0.22);
}

.paywall-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f6ef;
  color: var(--ux-ink);
  font-size: 24px;
  line-height: 1;
}

#paywall-content {
  display: grid;
  gap: 13px;
}

.paywall-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #f5fbf4;
  border: 1px solid rgba(47,157,68,0.14);
  border-radius: 14px;
}

.paywall-price span {
  color: var(--ux-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.paywall-price strong {
  color: var(--ux-leaf);
  font-size: 24px;
}

.paywall-benefits {
  display: grid;
  gap: 7px;
}

.paywall-benefits span {
  padding: 10px 11px;
  background: #fbfdf9;
  border: 1px solid rgba(47,157,68,0.1);
  border-radius: 12px;
  color: #354536;
  font-size: 13px;
  font-weight: 800;
}

.small-note {
  color: #7a877a;
  font-size: 12px !important;
}

@media (max-width: 430px) {
  .auth-card h1 {
    font-size: 30px;
  }

  .account-auth-card {
    grid-template-columns: 1fr;
  }

  .account-auth-card .btn-primary,
  .account-auth-card .soft-action-btn {
    width: 100%;
  }

  .account-access-row {
    grid-template-columns: 1fr;
  }

  .account-access-row .soft-action-btn {
    width: 100%;
  }
}

#screen-arrival .arrival-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100%;
  background: transparent !important;
}

#screen-arrival .arrival-content {
  background: transparent !important;
}

.arrival-title {
  margin-bottom: 0;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.02;
}

.arrival-badge {
  width: fit-content;
  margin-bottom: 0;
}

.stop-practical {
  margin: 0;
}

.arrival-story-container {
  margin-bottom: 0;
}

.arrival-story {
  font-size: 15px;
  line-height: 1.65;
}

.stop-enrichment {
  margin: 0;
}

.audio-player {
  min-height: 58px;
  margin-bottom: 0;
}

.mission-card {
  margin-bottom: 0;
}

.stop-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.btn-continue {
  margin-top: 2px;
}

.complete-wrapper {
  justify-content: flex-start;
  gap: 13px;
  padding-inline: clamp(20px, 6vw, 28px);
}

.complete-animation,
.complete-logo,
.complete-title,
.complete-desc,
.complete-thanks {
  margin-bottom: 0;
}

.complete-actions {
  width: 100%;
  display: grid;
}

.travel-journal {
  margin: 0;
}

.journal-stats {
  gap: 7px;
}

@media (min-width: 760px) {
  .selection-wrapper,
  .welcome-wrapper,
  .arrival-wrapper,
  .checklist-wrapper,
  .complete-wrapper {
    max-width: 560px;
  }

  .selection-title,
  .welcome-title {
    font-size: 42px;
  }
}

@media (max-width: 430px) {
  .welcome-meta,
  .practical-grid,
  .stop-practical {
    grid-template-columns: 1fr;
  }

  .welcome-meta-item {
    min-height: 52px;
    flex-direction: row;
    align-items: center;
  }

  .circuit-tools {
    top: auto;
  }

  .circuit-card {
    min-height: 182px;
  }

  .circuit-card .selection-card-img {
    width: 116px;
  }

  .circuit-card::after {
    background:
      linear-gradient(90deg, rgba(0,0,0,0.05) 0 116px, rgba(255,255,255,0) 116px),
      linear-gradient(180deg, rgba(255,255,255,0), rgba(47,157,68,0.03));
  }

  .circuit-card .selection-card-body {
    left: 130px;
    right: 46px;
    top: 16px;
    bottom: 16px;
  }

  .circuit-card .selection-card-body strong {
    font-size: 19px;
  }

  .circuit-card-tags {
    display: none;
  }
}

@media (max-width: 370px) {
  .selection-title,
  .welcome-title,
  .arrival-title {
    font-size: 28px;
  }

  .stop-action-row {
    grid-template-columns: 1fr;
  }

  .nav-direction-card {
    gap: 9px;
  }

  .nav-direction-icon {
    width: 42px;
    height: 42px;
  }

  .nav-direction-distance {
    min-width: 54px;
    padding-inline: 8px;
  }
}

/* Scroll model: keep normal pages scrollable, lock only the GPS cockpit. */
html {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  position: static;
  width: 100%;
  min-height: 100dvh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.app-screen {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 100dvh;
  height: auto;
  overflow: visible;
}

.app-screen:not(.active) {
  display: none !important;
}

#screen-navigation.active {
  position: fixed;
  inset: 0;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

#screen-navigation.active #map {
  position: absolute;
  inset: 0;
}

/* Compact language selector: one discreet control instead of a row of buttons. */
.welcome-content .language-switcher {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.welcome-content .language-switcher .language-choice {
  flex: initial;
  min-height: 42px;
  box-shadow: none;
}

.welcome-content .language-switcher .language-choice.is-active {
  background: #eef8ee;
  color: #263528;
  border-color: var(--tour-leaf);
}

/* Circuit page premium pass */
body[data-screen="welcome"] {
  background: #f4f8f1;
}

#screen-welcome .welcome-wrapper {
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0 290px, #f4f8f1 290px 100%),
    radial-gradient(circle at 12% 8%, rgba(47,157,68,0.12), transparent 34%),
    #f8fbf5;
}

#screen-welcome .welcome-hero {
  height: min(38dvh, 360px);
  min-height: 270px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  overflow: hidden;
}

#screen-welcome .welcome-hero-img {
  filter: saturate(1.04) contrast(1.04);
}

#screen-welcome .welcome-hero-overlay {
  background:
    linear-gradient(180deg, rgba(6,18,8,0.02) 0%, rgba(6,18,8,0.03) 40%, rgba(244,248,241,0.76) 84%, #f4f8f1 100%),
    linear-gradient(90deg, rgba(10,34,13,0.2), rgba(10,34,13,0));
}

#screen-welcome .welcome-hero-badge {
  top: calc(18px + var(--safe-top));
  left: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 12px 30px rgba(18,34,20,0.12);
}

#screen-welcome .welcome-back-btn {
  top: calc(18px + var(--safe-top));
  right: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 12px 30px rgba(18,34,20,0.12);
}

#screen-welcome .welcome-content {
  width: min(760px, 100%);
  margin: -42px auto 0;
  padding: 0 clamp(18px, 5vw, 26px) calc(118px + var(--safe-bottom));
  display: grid;
  gap: 13px;
}

#screen-welcome .welcome-logo,
#screen-welcome .language-switcher:empty {
  display: none !important;
}

#screen-welcome .welcome-title {
  max-width: 10.5em;
  color: #142016;
  font-size: clamp(36px, 10vw, 56px);
  line-height: .93;
}

#screen-welcome .welcome-desc {
  max-width: 38em;
  color: #526353;
  font-size: 16px;
  line-height: 1.55;
}

#screen-welcome .welcome-actions {
  display: flex;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

#screen-welcome .welcome-actions .soft-action-btn {
  min-height: 42px;
  flex: 0 1 auto;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  border-color: rgba(47,157,68,0.15);
  box-shadow: 0 10px 22px rgba(31,55,35,0.06);
}

#screen-welcome .welcome-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

#screen-welcome .welcome-meta-item {
  min-width: 0;
  min-height: 96px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(47,157,68,0.12);
  border-radius: 20px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 14px 34px rgba(31,55,35,0.08);
}

#screen-welcome .welcome-meta-item svg {
  width: 19px;
  height: 19px;
  color: #2f9d44;
}

#screen-welcome .welcome-meta-item small {
  color: #6b7b6d;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

#screen-welcome .welcome-meta-item strong {
  min-width: 0;
  color: #1f2d20;
  font-size: 13px;
  line-height: 1.22;
}

#screen-welcome .route-preview-card,
#screen-welcome .welcome-itinerary,
#screen-welcome .welcome-disclosure {
  border: 1px solid rgba(47,157,68,0.13);
  border-radius: 24px;
  background: rgba(255,255,255,0.99);
  box-shadow: 0 20px 46px rgba(31,55,35,0.1);
}

#screen-welcome .route-preview-card {
  padding: 13px;
  gap: 12px;
}

#screen-welcome .route-preview-head {
  padding: 3px 3px 0;
}

#screen-welcome .route-preview-head .selection-kicker,
#screen-welcome .welcome-itinerary-label {
  color: #2f9d44;
  font-size: 11px;
  font-weight: 950;
}

#screen-welcome .route-preview-head strong,
#screen-welcome .welcome-section-head strong {
  color: #526353;
  font-size: 12px;
}

#screen-welcome .route-preview-map {
  min-height: 280px;
  height: clamp(280px, 44vh, 410px);
  border-radius: 20px;
  border-color: rgba(47,157,68,0.16);
}

#screen-welcome .route-preview-marker {
  width: 38px !important;
  height: 38px !important;
  border-width: 4px;
  box-shadow: 0 12px 26px rgba(28,48,31,0.26);
}

#screen-welcome .welcome-itinerary {
  margin: 0;
  padding: 16px;
  color: #19251a;
  display: grid;
  gap: 12px;
}

#screen-welcome .welcome-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#screen-welcome .circuit-detail-strip {
  margin: 0;
  gap: 7px;
}

#screen-welcome .circuit-detail-strip span {
  background: #eef8ee;
  border-color: rgba(47,157,68,0.12);
  color: #2f6f35;
}

#screen-welcome .welcome-itinerary-list {
  position: relative;
  display: grid;
  gap: 0;
}

#screen-welcome .welcome-itinerary-list::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 16px;
  width: 2px;
  background: linear-gradient(180deg, #2f9d44, rgba(47,157,68,0.12));
}

#screen-welcome .welcome-itinerary-stop {
  min-height: 50px;
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  color: #2f3d31;
  font-size: 15px;
  font-weight: 850;
}

#screen-welcome .welcome-itinerary-stop b {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 1;
  border-radius: 999px;
  background: #2f9d44;
  color: #fff;
  border: 4px solid #fff;
  box-shadow: 0 10px 22px rgba(47,157,68,0.22);
}

#screen-welcome .welcome-disclosure {
  box-shadow: 0 14px 32px rgba(31,55,35,0.08);
}

#screen-welcome .welcome-disclosure summary {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto;
  min-height: 60px;
}

#screen-welcome .tour-toolkit {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#screen-welcome .circuit-start-btn {
  position: sticky;
  bottom: calc(92px + var(--safe-bottom));
  z-index: 35;
  min-height: 58px;
  border-radius: 999px;
  box-shadow: 0 20px 46px rgba(34,96,45,0.28);
}

@media (max-width: 430px) {
  #screen-welcome .welcome-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #screen-welcome .welcome-meta-item {
    min-height: 88px;
    padding: 10px;
  }

  #screen-welcome .welcome-meta-item strong {
    font-size: 12px;
  }
}
