/* ============================================================
   EXCITING BANTEN — Mobile-First Tourism Design System
   Rich Vibrant Palettes:
   - Light (Sunset Orange, Tropical Ocean Cyan, Emerald Moss, Royal Gold)
   - Dark (Selat Sunda Midnight, Slate Blue, Glowing Badak Gold)
   - Sunset (Rich Amber Dusk, Warm Terracotta, Coral Horizon)
   ============================================================ */

:root {
  --ink: #0B1E2D;
  --ink-2: #1E293B;
  --charcoal: #0F172A;
  --moss: #059669;
  --moss-light: #10B981;
  --moss-dim: #047857;
  --ivory: #F8FAFC;
  --ivory-card: #FFFFFF;
  --ivory-dim: #F1F5F9;
  --ember: #FF6B35;
  --ember-light: #FF8C5A;
  --ember-dim: #EA580C;
  --ember-glow: rgba(255, 107, 53, 0.28);
  --gold: #F59E0B;
  --gold-light: #FCD34D;
  --cyan: #0EA5E9;
  --cyan-light: #38BDF8;
  --purple: #8B5CF6;
  --pink: #EC4899;
  --slate: #64748B;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --line-light: rgba(255, 255, 255, 0.2);
  
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.5);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --bottom-nav-height: 62px;
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.25s var(--ease);
}

/* ============ THEMES ============ */
[data-theme="dark"] {
  --ink: #F8FAFC;
  --ink-2: #E2E8F0;
  --charcoal: #020617;
  --moss: #10B981;
  --moss-light: #34D399;
  --ivory: #090E17;
  --ivory-card: #0F172A;
  --ivory-dim: #1E293B;
  --ember: #FB923C;
  --ember-light: #FDBA74;
  --gold: #FBBF24;
  --slate: #94A3B8;
  --line: rgba(248, 250, 252, 0.08);
  --line-strong: rgba(248, 250, 252, 0.18);
  --glass-bg: rgba(15, 23, 42, 0.92);
  --glass-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="sunset"] {
  --ink: #2A1207;
  --ink-2: #431D0E;
  --charcoal: #1C0A03;
  --moss: #059669;
  --ivory: #FFF7ED;
  --ivory-card: #FFFFFF;
  --ivory-dim: #FFEDD5;
  --ember: #EA580C;
  --ember-light: #FB923C;
  --gold: #D97706;
  --slate: #7C2D12;
  --line: rgba(67, 29, 14, 0.09);
  --line-strong: rgba(67, 29, 14, 0.18);
  --glass-bg: rgba(255, 247, 237, 0.92);
  --card-shadow: 0 4px 20px rgba(124, 45, 18, 0.08);
}

/* ============ RESET & GLOBAL ============ */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-body);
  background-color: #060D17;
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============ DESKTOP AMBIENT BACKDROP ============ */
.desktop-ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 15% 20%, #0F283D 0%, #081420 50%, #04090F 100%);
  overflow: hidden;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: ambientFloat 14s ease-in-out infinite alternate;
}
.ambient-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #FF6B35, transparent 70%);
  top: -100px;
  right: -100px;
}
.ambient-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0EA5E9, transparent 70%);
  bottom: -100px;
  left: 10%;
  animation-delay: -5s;
}
.ambient-glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #10B981, transparent 70%);
  top: 40%;
  right: 25%;
  animation-delay: -9s;
}

@keyframes ambientFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

.ambient-scenic-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.3;
}

/* ============ DESKTOP FLOATING CONTROLS DOCK ============ */
.desktop-dock {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 210px;
}
@media (max-width: 1024px) {
  .desktop-dock {
    display: none;
  }

}

.dock-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dock-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.dock-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  display: block;
  line-height: 1.1;
  color: #F8FAFC;
}
.dock-sub {
  font-size: 0.68rem;
  color: #94A3B8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dock-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2px 0;
}

.dock-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dock-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  text-align: left;
  width: 100%;
}
.dock-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.dock-btn.is-active {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.4);
  color: #FF8C5A;
}

.dock-btn--highlight {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(245, 158, 11, 0.3));
  border-color: rgba(245, 158, 11, 0.5);
  color: #FEF08A;
}
.dock-btn--highlight:hover {
  background: linear-gradient(135deg, #FF6B35, #F59E0B);
  color: #fff;
}

.dock-theme-group, .dock-lang-group {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 12px;
}

.dock-mini-btn {
  flex: 1;
  padding: 6px 0;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
  color: #94A3B8;
  text-align: center;
}
.dock-mini-btn:hover {
  color: #fff;
}
.dock-mini-btn.is-active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ============ MAIN MOBILE APP CONTAINER ============ */
/* ============ APPLICATION LAYOUT & CONTAINER ============ */
.mobile-app-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background-color: #070F1A;
  padding: 0;
  box-sizing: border-box;
}

/* App Main Screen Container (Mobile App Viewport) */
.phone-screen {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  background-color: var(--ivory);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

/* ============ DESKTOP NAVIGATION ELEMENTS (HIDDEN BY DEFAULT ON MOBILE < 1024px) ============ */
@media (max-width: 1023px) {
  .desktop-nav-links,
  .desk-dropdown,
  .desk-dropdown-menu,
  .desk-header-fav-btn,
  .desk-header-badak-btn,
  .desktop-badak-float,
  .desktop-badak-popover {
    display: none !important;
  }

}

/* ============ RESPONSIVE LAYOUT ENGINE (DESKTOP FULLSCREEN VS MOBILE FIRST) ============ */
@media (min-width: 1024px) {
  .mobile-app-wrapper {
    padding: 0;
    align-items: stretch;
    min-height: 100vh;
    background-color: var(--ivory);
    display: block;
    width: 100%;
  }

  .phone-screen {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 100vh;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
  }

  /* Desktop Header with prominent centered branding and dropdown navigation */
  .app-header {
    height: 80px;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 95;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    max-width: 100%;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 16px;
  }
  [data-theme="dark"] .app-header {
    background: rgba(11, 30, 45, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  [data-theme="sunset"] .app-header {
    background: rgba(26, 17, 16, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  /* Left: Desktop Dropdown Navigation */
  .desktop-nav-links {
    display: flex !important;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    margin: 0 !important;
    flex-wrap: nowrap;
    grid-column: 1 / 2;
  }

  .desk-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--slate);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
  }
  .desk-nav-item:hover {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
  }
  [data-theme="dark"] .desk-nav-item:hover,
  [data-theme="sunset"] .desk-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  .desk-nav-item.is-active {
    color: var(--ember);
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.25);
  }

  /* Dropdown container */
  .desk-dropdown {
    position: relative;
    display: inline-block;
  }
  .desk-caret {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 2px;
    transition: transform 0.2s ease;
  }
  .desk-dropdown:hover .desk-caret,
  .desk-dropdown:focus-within .desk-caret {
    transform: rotate(180deg);
  }

  .desk-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 290px;
    background: var(--ivory);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  [data-theme="dark"] .desk-dropdown-menu {
    background: #0B1E2D;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  }
  [data-theme="sunset"] .desk-dropdown-menu {
    background: #1A1110;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  }

  .desk-dropdown:hover .desk-dropdown-menu,
  .desk-dropdown:focus-within .desk-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .desk-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: var(--ink);
    transition: background-color 0.15s ease, transform 0.15s ease;
    text-decoration: none;
  }
  .desk-drop-item:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--ember);
    transform: translateX(3px);
  }
  .drop-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  .drop-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .drop-text strong {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
  }
  [data-theme="dark"] .drop-text strong,
  [data-theme="sunset"] .drop-text strong {
    color: #fff;
  }
  .drop-text small {
    font-size: 0.7rem;
    color: var(--slate);
    line-height: 1.2;
  }
  .desk-drop-divider {
    height: 1px;
    background: var(--line);
    margin: 4px 6px;
  }

  /* Center: Centered Logo and Website Title */
  .app-header-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto;
    grid-column: 2 / 3;
  }
  .app-logo-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .app-logo-img {
    width: 46px !important;
    height: 46px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
  }
  .app-title-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .app-title {
    font-size: 1.28rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.05em !important;
    color: var(--ink) !important;
    line-height: 1.15;
  }
  .app-subtitle {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: var(--ember) !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin-top: 2px;
  }

  /* Right: Quick actions */
  .app-header-right {
    display: flex !important;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    grid-column: 3 / 4;
  }
  .desk-header-fav-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #EF4444;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .desk-header-fav-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    transform: translateY(-1px);
  }
  .desk-fav-badge {
    background: #EF4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
  }

  .desk-header-badak-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0B1E2D 0%, #162C3D 100%);
    border: 1.5px solid #F59E0B;
    color: #F8FAFC;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
    transition: all 0.2s ease;
  }
  .desk-header-badak-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  }

  .header-icon-btn {
    width: 38px;
    height: 38px;
  }
  .weather-pill-btn {
    padding: 6px 12px;
    font-size: 0.76rem;
    border-radius: 20px;
  }

  /* Main Container on Desktop */
  .app-scroll-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    height: auto !important;
    overflow: visible !important;
    padding: 32px 48px 80px 48px;
  }

  /* Hide mobile bottom navigation bar on desktop */
  .app-bottom-nav {
    display: none !important;
  }

  .phone-home-indicator {
    display: none !important;
  }

  /* Stories reel on Desktop */
  .stories-reel-section {
    padding: 12px 0 24px 0;
    margin-bottom: 8px;
  }
  .stories-scroll {
    justify-content: center;
    gap: 24px !important;
    overflow-x: visible;
  }
  .story-thumb-wrap {
    width: 80px !important;
    height: 80px !important;
    border-width: 3px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .story-circle-item:hover .story-thumb-wrap {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
  }

  /* Hero Widescreen Banner on Desktop — Seamless Full Gradient */
  .mobile-hero-carousel {
    height: 500px !important;
    min-height: 500px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14) !important;
    margin: 0 0 32px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative !important;
  }
  .hero-slides-wrapper::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background: linear-gradient(90deg, rgba(8, 22, 34, 0.94) 0%, rgba(8, 22, 34, 0.8) 45%, rgba(8, 22, 34, 0.4) 80%, rgba(8, 22, 34, 0.2) 100%),
                linear-gradient(180deg, rgba(8, 22, 34, 0.3) 0%, rgba(8, 22, 34, 0.05) 50%, rgba(8, 22, 34, 0.85) 100%) !important;
    pointer-events: none !important;
  }
  .hero-overlay-content {
    background: transparent !important;
    padding: 48px 56px !important;
    max-width: 780px !important;
    z-index: 3 !important;
    gap: 14px !important;
  }
  .hero-main-title {
    font-size: 2.6rem !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    margin: 4px 0 !important;
  }
  .hero-subtext {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    max-width: 640px !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }
  .hero-btn-row {
    margin-top: 16px !important;
    gap: 14px !important;
  }
  .hero-btn-row .btn {
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
  }

  /* Desktop Quick Category Shortcuts */
  .cat-shortcuts-grid {
    display: grid !important;
    grid-template-columns: repeat(8, 1fr) !important;
    gap: 16px !important;
    margin: 32px 0 40px 0 !important;
  }
  .cat-shortcut-item {
    padding: 18px 10px !important;
    border-radius: 18px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }
  .cat-shortcut-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  }

  /* Desktop Section Grids: Destinasi Unggulan -> 2 Kotak (2 Columns) */
  .dest-rail, #destRail, .dest-mobile-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
    overflow: visible !important;
    padding-bottom: 12px !important;
  }
  .dest-card {
    min-width: 0 !important;
    width: 100% !important;
    border-radius: 20px !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  }
  .dest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  }
  .dest-img-wrap, .dest-card-media {
    height: 250px !important;
  }

  .mini-grid-2 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }
  .dest-card-mini {
    border-radius: 18px !important;
  }
  .dest-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  }

  /* Desktop Pengalaman Autentik: 2 Kotak (2 Columns per Page) */
  .exp-tab-panels {
    max-width: 100% !important;
  }
  .exp-panel-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  .exp-box-card {
    display: flex !important;
    flex-direction: column !important;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  [data-theme="dark"] .exp-box-card {
    background: #0B1E2D;
    border-color: rgba(255, 255, 255, 0.1);
  }
  [data-theme="sunset"] .exp-box-card {
    background: #1A1110;
    border-color: rgba(255, 255, 255, 0.1);
  }
  .exp-box-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  }
  .exp-box-media {
    height: 240px !important;
    position: relative;
    overflow: hidden;
  }
  .exp-box-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .exp-box-card:hover .exp-box-img {
    transform: scale(1.05);
  }
  .exp-box-body {
    padding: 22px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 14px;
  }
  .exp-box-title {
    font-size: 1.15rem !important;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
  }
  [data-theme="dark"] .exp-box-title,
  [data-theme="sunset"] .exp-box-title {
    color: #fff;
  }
  .exp-box-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--slate);
    margin: 0;
  }
  .exp-panel-card {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 32px !important;
    align-items: center;
    padding: 32px !important;
    border-radius: 24px !important;
  }
  .exp-feature-media {
    height: 380px !important;
    border-radius: 18px !important;
  }

  /* Budget Calculator Desktop 2-Column Split */
  .budget-calc-wrapper {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 32px !important;
    align-items: stretch !important;
    padding: 36px !important;
    border-radius: 24px !important;
  }
  .budget-summary-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border-radius: 20px !important;
  }

  /* 2-Column Desktop Grid for Practical Info */
  .info-mobile-accordion {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  .info-accordion-item {
    border-radius: 18px !important;
    border: 1px solid var(--line) !important;
  }
  .info-accordion-btn {
    padding: 16px 20px !important;
    font-size: 0.95rem !important;
  }
  .info-accordion-body {
    padding: 0 20px 18px 20px !important;
  }

  /* Desktop Planner Split View */
  .planner-split-container {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 32px !important;
    align-items: start !important;
  }
  .planner-box-full {
    padding: 32px 36px !important;
    border-radius: 24px !important;
  }
  .plan-spots-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
  .plan-checklist-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  /* Explore Page Responsive Grid on Desktop */
  .explore-responsive-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
  }
  .explore-card {
    border-radius: 20px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
  }

  /* Si Badak AI Full Tab on Desktop */
  .badak-tab-wrapper {
    max-width: 960px !important;
    margin: 0 auto !important;
    min-height: 640px !important;
    border-radius: 24px !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
  }
  .badak-messages-container {
    height: 400px !important;
    max-height: 480px !important;
  }

  /* Desktop Portal Footer */
  .app-footer {
    margin-top: 48px !important;
    padding: 48px 40px 32px 40px !important;
    border-radius: 24px !important;
    text-align: center;
  }
  .app-footer-logo {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 12px;
  }
  .app-footer-title {
    font-size: 1.25rem !important;
  }
  .app-footer-tagline {
    font-size: 0.95rem !important;
    max-width: 600px;
    margin: 8px auto 20px auto !important;
  }
  .app-footer-links {
    font-size: 0.92rem !important;
    gap: 16px;
    margin: 18px 0;
  }

}

/* ============ DESKTOP FLOATING SI BADAK AI WIDGET ============ */
.desktop-badak-float {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 995;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: auto;
}

/* Floating Speech Bubble */
.badak-float-bubble {
  position: relative;
  background: linear-gradient(135deg, #0B1E2D 0%, #1E3A52 100%);
  color: #F8FAFC;
  border: 1.5px solid #F59E0B;
  border-radius: 18px;
  padding: 12px 16px;
  max-width: 280px;
  box-shadow: 0 12px 32px rgba(11, 30, 45, 0.4), 0 0 16px rgba(245, 158, 11, 0.2);
  animation: bubbleFloatAnim 3s ease-in-out infinite alternate;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.badak-float-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 28px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #0B1E2D;
}
@keyframes bubbleFloatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}
.badak-float-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.badak-float-bubble-close:hover {
  background: rgba(239, 68, 68, 0.8);
}
.badak-float-bubble-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #F59E0B;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badak-float-bubble-msg {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #E2E8F0;
  margin: 0;
}

/* Floating Trigger Button */
.badak-float-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  background: linear-gradient(135deg, #0B1E2D 0%, #162C3D 100%);
  border: 2px solid #F59E0B;
  border-radius: 40px;
  box-shadow: 0 12px 32px rgba(11, 30, 45, 0.45), 0 0 18px rgba(245, 158, 11, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}
.badak-float-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(11, 30, 45, 0.55), 0 0 26px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #0F2A3F 0%, #1E3B50 100%);
}
.badak-float-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0B1E2D;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1.5px solid #F59E0B;
  flex-shrink: 0;
}
.badak-float-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #F59E0B;
  opacity: 0.7;
  animation: badakFloatPulseAnim 2.2s infinite;
  pointer-events: none;
}
@keyframes badakFloatPulseAnim {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}
.badak-float-online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0B1E2D;
  box-shadow: 0 0 8px #10B981;
}
.badak-float-label-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.badak-float-label-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}
.badak-float-label-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: #F59E0B;
  letter-spacing: 0.03em;
}

/* Floating AI Chat Popover Window */
.desktop-badak-popover {
  position: fixed;
  right: 32px;
  bottom: 96px;
  width: 400px;
  max-width: calc(100vw - 64px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--ivory);
  border: 1.5px solid var(--line-strong);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 20px rgba(245, 158, 11, 0.15);
  z-index: 998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popoverFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
[data-theme="dark"] .desktop-badak-popover {
  background: #0B1E2D;
  border-color: rgba(245, 158, 11, 0.3);
}
[data-theme="sunset"] .desktop-badak-popover {
  background: #1A1110;
  border-color: rgba(245, 158, 11, 0.3);
}
.desktop-badak-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--ivory-dim);
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .desktop-badak-popover-head {
  background: rgba(11, 30, 45, 0.95);
}
[data-theme="sunset"] .desktop-badak-popover-head {
  background: rgba(26, 17, 16, 0.95);
}

/* Strictly hide Desktop Floating widget on Mobile (<1024px) */
@media (max-width: 1023px) {
  .desktop-badak-float {
    display: none !important;
  }
  .desktop-badak-popover {
    display: none !important;
  }

}

/* Tablet & Mobile layout preserves phone dimensions */
@media (min-width: 640px) and (max-width: 1023px) {
  .mobile-app-wrapper {
    padding: 16px 0;
    align-items: center;
    min-height: 100vh;
  }
  .phone-screen {
    width: 100%;
    max-width: 480px;
    height: 94vh;
    max-height: 920px;
    min-height: auto;
    border-radius: 28px;
  }

}


/* ============ IN-APP HEADER ============ */
.app-header {
  height: 56px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background-color: var(--ivory);
  border-bottom: 1px solid var(--line);
  z-index: 25;
  flex-shrink: 0;
}

.app-header-left,
.app-header-brand {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.app-logo-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
}
.app-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
.app-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  text-align: left;
}
.app-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.app-subtitle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ember);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 1.1;
  margin-top: 1px;
}

.app-header-right {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.weather-pill-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 4px 7px;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  white-space: nowrap;
  cursor: pointer;
}
.weather-pill-btn:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(16, 185, 129, 0.22));
}

.header-icon-btn {
  position: relative;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.header-icon-btn:hover {
  background: var(--line-strong);
}
@media (max-width: 380px) {
  .app-header {
    padding: 0 10px;
    gap: 6px;
  }
  .app-logo-img {
    width: 30px;
    height: 30px;
  }
  .app-title {
    font-size: 0.86rem;
  }
  .app-subtitle {
    font-size: 0.62rem;
  }
  .weather-pill-btn {
    padding: 3px 6px;
    font-size: 0.68rem;
  }
  .header-icon-btn {
    width: 30px;
    height: 30px;
  }

}
.notif-badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--ember);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ivory);
}

/* ============ SCROLLABLE APP CONTENT ============ */
.app-scroll-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 28px);
  scroll-behavior: smooth;
}

/* Custom Scrollbar for Phone Container */
.app-scroll-content::-webkit-scrollbar {
  width: 4px;
}
.app-scroll-content::-webkit-scrollbar-track {
  background: transparent;
}
.app-scroll-content::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 4px;
}

/* ============ 1. STORIES REEL ============ */
.stories-reel-section {
  padding: 12px 0 6px 0;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.stories-scroll {
  display: flex;
  gap: 12px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.stories-scroll::-webkit-scrollbar {
  display: none;
}

.story-item-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  width: 68px;
  cursor: pointer;
}

.story-ring-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(45deg, #FF6B35, #F59E0B, #10B981, #0EA5E9, #8B5CF6);
  background-size: 200% 200%;
  animation: storyRingGrad 4s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes storyRingGrad {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.story-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ivory);
}

.story-bubble-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  color: var(--ink);
}

/* ============ 2. HERO FEATURED CAROUSEL ============ */
.mobile-hero-carousel {
  position: relative;
  margin: 12px 14px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-slides-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 6s ease-out;
  transform: scale(1.08);
}
.hero-slide-item.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay-content {
  position: relative;
  z-index: 3;
  padding: 24px 18px 18px 18px;
  background: linear-gradient(180deg, rgba(8, 17, 26, 0) 0%, rgba(8, 17, 26, 0.7) 40%, rgba(8, 17, 26, 0.95) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FEF08A;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: pulseBeacon 2s infinite;
}
@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}

.gradient-text-gold {
  color: #FEF08A;
}
.gradient-text-sunset {
  background: linear-gradient(90deg, #FF8C5A, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Quick Search in Hero */
.mobile-quick-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  padding: 5px 6px 5px 14px;
  margin-top: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: #0F172A;
}
.mobile-quick-search input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 0.8rem;
  font-weight: 500;
  outline: none;
  color: #0F172A;
}
.mobile-quick-search input::placeholder {
  color: #94A3B8;
}
.quick-search-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #F59E0B);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.hero-btn-primary {
  flex: 1;
  background: linear-gradient(135deg, #FF6B35, #EA580C);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}
.hero-btn-ai {
  flex: 1;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FEF08A;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hero-btn-ai:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-carousel-dots {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  gap: 5px;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}
.hero-dot.is-active {
  width: 18px;
  border-radius: 10px;
  background: #FF8C5A;
}

/* ============ 3. QUICK CATEGORIES (8 UNIQUE MENUS) ============ */
.quick-categories-section {
  padding: 16px 14px;
}

.section-badge-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-mobile-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.section-mobile-subtitle {
  font-size: 0.72rem;
  color: var(--slate);
  display: block;
}
.section-count-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--ivory-dim);
  color: var(--slate);
}

.quick-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.category-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.cat-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 2px;
}
.cat-tag {
  font-size: 0.6rem;
  color: var(--slate);
  line-height: 1;
}

/* Category Colorful Card Variations */
.cat--ocean .cat-icon-wrap { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); color: #0284C7; }
.cat--jungle .cat-icon-wrap { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: #059669; }
.cat--culture .cat-icon-wrap { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #D97706; }
.cat--religi .cat-icon-wrap { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); color: #7C3AED; }
.cat--food .cat-icon-wrap { background: linear-gradient(135deg, #FFEDD5, #FED7AA); color: #EA580C; }
.cat--stay .cat-icon-wrap { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); color: #DB2777; }
.cat--event .cat-icon-wrap { background: linear-gradient(135deg, #CCFBF1, #99F6E4); color: #0D9488; }
.cat--planner .cat-icon-wrap { background: linear-gradient(135deg, #FEF9C3, #FEF08A); color: #CA8A04; }

/* ============ 4. MOOD & VIBE FILTER BAR ============ */
.vibe-filter-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.vibe-filter-scroll {
  display: flex;
  gap: 8px;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.vibe-filter-scroll::-webkit-scrollbar {
  display: none;
}

.vibe-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--ivory-card);
  border: 1px solid var(--line);
  color: var(--slate);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.vibe-chip.is-active {
  background: linear-gradient(135deg, #FF6B35, #F59E0B);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

/* ============ 5. 8 WILAYAH BANTEN EXPLORER ============ */
.banten-regions-section {
  padding: 14px;
  background: linear-gradient(180deg, var(--ivory-dim) 0%, var(--ivory) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 8px;
}

.micro-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 4px;
}
.micro--gold { background: #FEF3C7; color: #92400E; }
.micro--emerald { background: #D1FAE5; color: #065F46; }
.micro--sunset { background: #FFEDD5; color: #9A3412; }
.micro--cyan { background: #E0F2FE; color: #075985; }
.micro--purple { background: #EDE9FE; color: #5B21B6; }

.regions-pill-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 10px 0;
}
.regions-pill-scroll::-webkit-scrollbar {
  display: none;
}

.region-pill {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--ivory-card);
  border: 1px solid var(--line);
  color: var(--slate);
}
.region-pill.is-active {
  background: #0F172A;
  color: #fff;
  border-color: #0F172A;
}

.region-highlight-card {
  background: var(--ivory-card);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 12px;
  align-items: center;
}
.rh-icon {
  font-size: 2rem;
  background: var(--ivory-dim);
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rh-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 2px 0;
}
.rh-desc {
  font-size: 0.75rem;
  color: var(--slate);
  margin: 0 0 6px 0;
  line-height: 1.35;
}
.rh-spot-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--moss);
}

/* ============ SECTION BLOCKS & CARDS ============ */
.section-app-block {
  padding: 20px 14px;
  border-bottom: 1px solid var(--line);
}

.section-mobile-desc {
  font-size: 0.78rem;
  color: var(--slate);
  margin: 0 0 14px 0;
  line-height: 1.4;
}

/* DESTINASI CARDS */
.dest-mobile-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dest-card {
  background: var(--ivory-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.dest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.dest-card-media {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.dest-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.dest-card:hover .dest-card-img {
  transform: scale(1.05);
}

.dest-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  color: #FEF08A;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dest-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.dest-fav-btn.is-favorited {
  background: #EF4444;
  color: #fff;
}

.dest-card-body {
  padding: 14px;
}
.dest-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--ink);
}
.dest-card-coord {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--slate);
  display: block;
  margin-bottom: 6px;
}
.dest-card-desc {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.dest-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.dest-ask-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--ember-dim);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.dest-ask-ai-btn:hover {
  background: linear-gradient(135deg, #FF6B35, #F59E0B);
  color: #fff;
}

/* RELIGI, AKOMODASI, PAKET GRIDS */
.religi-mobile-grid,
.akomodasi-mobile-grid,
.paket-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-spot-card {
  background: var(--ivory-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}
.mini-spot-media {
  position: relative;
  height: 110px;
}
.mini-spot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-spot-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}
.mini-spot-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mini-spot-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.25;
}
.mini-spot-desc {
  font-size: 0.7rem;
  color: var(--slate);
  line-height: 1.35;
  margin: 0 0 8px 0;
  flex: 1;
}
.mini-spot-price {
  font-weight: 800;
  color: var(--ember);
  font-size: 0.8rem;
}

/* ============ 10. EXPERIENCE TABS (2 BOXES PER PAGE) ============ */
.experience-tab-pills {
  display: flex;
  gap: 6px;
  background: var(--ivory-dim);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 14px;
}
.exp-pill {
  flex: 1;
  padding: 8px 0;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--slate);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
}
.exp-pill.is-active {
  background: var(--ivory-card);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.exp-panel-container {
  width: 100%;
}
.exp-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) {
  .exp-panel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

}

.exp-box-card {
  background: var(--ivory-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.exp-box-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.exp-box-media {
  height: 150px;
  position: relative;
  overflow: hidden;
}
.exp-box-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.exp-box-card:hover .exp-box-img {
  transform: scale(1.03);
}
.exp-box-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #F59E0B;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 16px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.exp-box-body {
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.exp-box-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.35;
  color: var(--ink);
}
.exp-box-desc {
  font-size: 0.74rem;
  color: var(--slate);
  line-height: 1.45;
  margin: 0 0 10px 0;
  flex: 1;
}
.exp-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--ivory-dim);
  padding: 6px 8px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.exp-meta-item {
  text-align: center;
}
.exp-meta-lbl {
  font-size: 0.58rem;
  color: var(--slate);
  display: block;
}
.exp-meta-val {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.exp-box-actions {
  display: flex;
  gap: 6px;
}
.exp-ai-btn, .exp-share-btn {
  flex: 1;
  font-size: 0.7rem;
  padding: 5px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

/* ============ 11. KALENDER EVENT LIST ============ */
.kalender-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-row-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--card-shadow);
}
.event-date-box {
  background: linear-gradient(135deg, #FF6B35, #EA580C);
  color: #fff;
  border-radius: 12px;
  padding: 8px 6px;
  min-width: 58px;
  text-align: center;
  flex-shrink: 0;
}
.event-date-box strong {
  font-size: 0.76rem;
  display: block;
  line-height: 1.1;
}
.event-info-col {
  flex: 1;
}
.event-info-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 2px 0;
}
.event-info-loc {
  font-size: 0.68rem;
  color: var(--slate);
  display: block;
  margin-bottom: 4px;
}
.event-info-desc {
  font-size: 0.72rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.35;
}

/* ============ 12. BUDGET CALCULATOR ============ */
.budget-card-box {
  background: linear-gradient(135deg, #0F283D, #081420);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--card-shadow);
}
.budget-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.budget-icon-badge {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.budget-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 2px 0;
  color: #FEF08A;
}
.budget-card-sub {
  font-size: 0.72rem;
  color: #94A3B8;
  margin: 0;
}

.budget-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.budget-field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #CBD5E1;
  display: block;
  margin-bottom: 6px;
}
.budget-style-chips {
  display: flex;
  gap: 6px;
}
.style-chip {
  flex: 1;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.style-chip.is-active {
  background: linear-gradient(135deg, #FF6B35, #F59E0B);
  border-color: transparent;
  color: #fff;
}

.budget-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mobile-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.78rem;
  outline: none;
}
.mobile-select option {
  background: #0F172A;
  color: #fff;
}

.btn-calculate-budget {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  width: 100%;
  margin-top: 4px;
}

.budget-result-display {
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.budget-total-banner {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.total-label {
  font-size: 0.68rem;
  color: #94A3B8;
  display: block;
}
.total-amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #FEF08A;
  display: block;
}
.per-person-text {
  font-size: 0.7rem;
  color: #CBD5E1;
}

.budget-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.74rem;
  color: #E2E8F0;
}
.budget-item-row {
  display: flex;
  justify-content: space-between;
}

.btn-discuss-budget-ai {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FEF08A;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  width: 100%;
}
.btn-discuss-budget-ai:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============ 13. EKRAF GRID ============ */
.ekraf-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ekraf-card-item {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--card-shadow);
}
.ekraf-card-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.ekraf-card-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 2px 0;
}
.ekraf-card-cat {
  font-size: 0.65rem;
  color: var(--moss);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.ekraf-card-desc {
  font-size: 0.7rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.35;
}

.audio-listen-btn {
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 10px;
  color: var(--ink);
}

/* ============ 14. INFORMASI ACCORDION ============ */
.info-mobile-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-acc-item {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.info-acc-head {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
}
.info-acc-icon {
  font-size: 1.1rem;
}
.info-acc-title {
  flex: 1;
}
.info-acc-toggle {
  font-size: 0.7rem;
  color: var(--slate);
  transition: transform 0.2s ease;
}
.info-acc-item.is-open .info-acc-toggle {
  transform: rotate(180deg);
}
.info-acc-body {
  padding: 0 14px 12px 14px;
  font-size: 0.75rem;
  color: var(--slate);
  line-height: 1.45;
  display: none;
}
.info-acc-item.is-open .info-acc-body {
  display: block;
}

/* ============ 15. MOBILE APP FOOTER ============ */
.app-footer {
  background: var(--ivory-dim);
  padding: 24px 16px 16px 16px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.app-footer-logo {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px auto;
}
.app-footer-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 4px 0;
}
.app-footer-tagline {
  font-size: 0.72rem;
  color: var(--slate);
  margin: 0 0 12px 0;
  line-height: 1.4;
}
.app-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--ivory-card);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 8px;
}
.app-footer-links {
  font-size: 0.72rem;
  color: var(--slate);
  margin-bottom: 10px;
}
.app-footer-copy {
  font-size: 0.68rem;
  color: var(--slate);
  margin: 0;
}
.coord-mono {
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

/* ============ NATIVE BOTTOM NAVIGATION BAR ============ */
.app-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  min-height: calc(58px + env(safe-area-inset-bottom, 0px));
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 4px;
  padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
  padding-left: max(4px, env(safe-area-inset-left, 0px));
  padding-right: max(4px, env(safe-area-inset-right, 0px));
  z-index: 40;
  box-sizing: border-box;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.bottom-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  min-height: 44px;
  color: var(--slate);
  position: relative;
  transition: transform 0.15s ease, color 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}
.bottom-tab-btn:active {
  transform: scale(0.92);
}
.bottom-tab-btn.is-active {
  color: var(--ember);
}

.tab-icon {
  font-size: 1.25rem;
  line-height: 1;
  display: block;
}
.tab-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}

.tab-badge-dot {
  position: absolute;
  top: 4px;
  right: 20%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  border: 1.5px solid var(--ivory);
}

/* Centered Floating Badak AI Tab - Precision Circular Halo & Mascot */
.bottom-tab-btn--ai {
  position: relative;
  top: -12px;
  flex: 0 0 68px !important;
  width: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding-bottom: 2px !important;
  z-index: 10;
}
.badak-nav-halo {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, #0B1E2D 0%, #1E3A52 50%, #081420 100%);
  border: 3.5px solid var(--ivory);
  box-shadow: 0 4px 14px rgba(11, 30, 45, 0.35), 0 0 0 2px #F59E0B;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s var(--ease);
  overflow: visible;
  margin-bottom: 2px;
}
.badak-nav-halo svg {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  aspect-ratio: 1 / 1 !important;
  flex-shrink: 0 !important;
  display: block;
  pointer-events: none;
}
.bottom-tab-btn--ai:hover .badak-nav-halo {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45), 0 0 0 2.5px #F59E0B;
}
.bottom-tab-btn--ai:active .badak-nav-halo {
  transform: scale(0.95);
}
.bottom-tab-btn--ai.is-active .badak-nav-halo {
  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.5), 0 0 0 3px #FF6B35;
  transform: scale(1.04);
}

/* Responsive adjustment for small / narrow phone displays */
@media (max-width: 360px) {
  .app-bottom-nav {
    padding-left: 2px;
    padding-right: 2px;
  }
  .tab-icon {
    font-size: 1.1rem;
  }
  .tab-label {
    font-size: 0.58rem;
  }
  .bottom-tab-btn--ai {
    flex: 0 0 58px !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    top: -10px;
  }
  .badak-nav-halo {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    border-width: 3px;
  }
  .badak-nav-halo svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
  }

}

/* Home Indicator Pill (desktop preview only) */
.phone-home-indicator {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--ink);
  opacity: 0.25;
  border-radius: 4px;
  z-index: 45;
  pointer-events: none;
  display: none;
}
@media (min-width: 640px) {
  .phone-home-indicator {
    display: block;
  }

}

/* ============ TAB VIEW SCREENS ============ */
.app-tab-view {
  min-height: 100%;
}

.tab-page-header {
  padding: 18px 16px 12px 16px;
  background: var(--ivory-dim);
  border-bottom: 1px solid var(--line);
}
.tab-page-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 2px 0;
}
.tab-page-subtitle {
  font-size: 0.75rem;
  color: var(--slate);
  margin: 0;
}

/* ============ JELAJAH PESONA BANTEN (RESPONSIVE EXPLORE TAB) ============ */
.explore-search-container {
  padding: 14px 16px 10px 16px;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.explore-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ivory-card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}
.explore-search-box:focus-within {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-glow);
}
.search-icon-svg {
  color: var(--ember);
  flex-shrink: 0;
}
.explore-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
}
.explore-search-clear-btn {
  color: var(--slate);
  font-size: 0.9rem;
  padding: 2px 6px;
  border-radius: 50%;
}
.explore-filters-bar {
  display: flex;
  gap: 8px;
}
.explore-filter-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.filter-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate);
}
.explore-select-pill {
  width: 100%;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--ivory-card);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.explore-category-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.explore-category-pills::-webkit-scrollbar {
  display: none;
}
.cat-pill {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--ivory-card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.cat-pill:hover, .cat-pill.is-active {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
  box-shadow: 0 3px 10px var(--ember-glow);
}
.explore-quick-tags {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 0.7rem;
}
.explore-quick-tags::-webkit-scrollbar {
  display: none;
}
.quick-tag-label {
  font-weight: 700;
  color: var(--slate);
  flex-shrink: 0;
}
.chip-sm {
  padding: 3px 8px;
  font-size: 0.68rem;
  border-radius: 12px;
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.explore-status-bar {
  padding: 10px 16px 4px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.explore-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
}
.explore-responsive-grid {
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 440px) {
  .explore-responsive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

}
.explore-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.explore-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}
.explore-card-img-wrap {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.explore-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.explore-card:hover .explore-card-img {
  transform: scale(1.05);
}
.explore-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(11, 30, 45, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}
.explore-card-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}
.explore-card-fav-btn:hover {
  transform: scale(1.15);
}
.explore-card-fav-btn.is-active {
  background: #FFE4E6;
}
.explore-card-body {
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.explore-card-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.25;
}
.explore-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--slate);
  margin-bottom: 6px;
}
.explore-card-desc {
  font-size: 0.72rem;
  color: var(--slate);
  line-height: 1.35;
  margin: 0 0 10px 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.explore-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: auto;
}
.explore-card-price {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ember);
}
.explore-card-ask-btn {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: var(--transition);
}
.explore-card-ask-btn:hover {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
}
.explore-empty-state {
  text-align: center;
  padding: 40px 20px;
}
.explore-empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 8px 0 4px 0;
}
.explore-empty-state p {
  font-size: 0.78rem;
  color: var(--slate);
  margin: 0 0 16px 0;
}

/* DEDICATED SI BADAK AI TAB */
.badak-tab-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 56px - var(--bottom-nav-height) - env(safe-area-inset-bottom, 0px));
  height: calc(100dvh - 56px - var(--bottom-nav-height) - env(safe-area-inset-bottom, 0px));
  min-height: 380px;
  background: var(--ivory);
  box-sizing: border-box;
}

.badak-tab-head {
  padding: 10px 14px;
  background: var(--ivory-card);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badak-head-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.badak-avatar-circle {
  position: relative;
}
.avatar-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid var(--ivory-card);
}
.badak-tab-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0;
}
.badak-tab-status {
  font-size: 0.65rem;
  color: #10B981;
  font-weight: 700;
  display: block;
}

.badak-tab-actions {
  display: flex;
  gap: 6px;
}
.badak-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ivory-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.badak-messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.8rem;
  line-height: 1.45;
  animation: fadeInMsg 0.25s ease-out;
}
@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #FF6B35, #EA580C);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg--badak {
  align-self: flex-start;
  background: var(--ivory-card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.msg--badak p {
  margin: 0 0 6px 0;
}
.msg--badak p:last-child {
  margin-bottom: 0;
}

.badak-tab-chips {
  padding: 6px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.badak-tab-chips::-webkit-scrollbar {
  display: none;
}
.badak-tab-chips .chip {
  flex-shrink: 0;
  padding: 5px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}

.badak-tab-input-form {
  padding: 8px 12px;
  padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  background: var(--ivory-card);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.badak-tab-input-form input {
  flex: 1;
  border: 1px solid var(--line-strong);
  background: var(--ivory-dim);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.8rem;
  outline: none;
}
.badak-voice-btn {
  font-size: 1.1rem;
}
.badak-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #F59E0B);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ FAVORITES VIEW ============ */
.favorites-empty-state {
  text-align: center;
  padding: 48px 24px;
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.favorites-empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 6px 0;
}
.favorites-empty-state p {
  font-size: 0.78rem;
  color: var(--slate);
  margin: 0 0 16px 0;
}

.favorites-list-container {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fav-item-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.fav-item-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.fav-item-info {
  flex: 1;
}
.fav-item-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 2px 0;
}
.fav-item-tag {
  font-size: 0.65rem;
  color: var(--ember);
  font-weight: 700;
}

.favorites-actions-bar {
  padding: 14px;
  display: flex;
  gap: 8px;
}

/* ============ STORY VIEWER FULLSCREEN MODAL ============ */
.story-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.story-viewer-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.story-viewer-inner {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 100%;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #0B141E;
}

.story-progress-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  z-index: 10;
  overflow: hidden;
}
.story-progress-fill {
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.1s linear;
}

.story-top-bar {
  position: absolute;
  top: 24px;
  left: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.story-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-title {
  font-size: 0.85rem;
  display: block;
}
.story-loc {
  font-size: 0.68rem;
  color: #CBD5E1;
}
.story-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.story-tap-zone {
  position: absolute;
  top: 60px;
  bottom: 120px;
  z-index: 5;
  width: 40%;
}
.story-tap-prev { left: 0; }
.story-tap-next { right: 0; width: 60%; }

.story-bottom-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 24px 16px 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.98) 100%);
  color: #fff;
}
.story-tag-pill {
  font-size: 0.65rem;
  font-weight: 700;
  background: #FF6B35;
  padding: 3px 8px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 6px;
}
.story-desc-text {
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0 0 12px 0;
}
.story-actions-row {
  display: flex;
  gap: 8px;
}

/* ============ GENERIC MODALS & BOTTOM SHEETS ============ */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.app-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.app-modal-dialog {
  background: var(--ivory-card);
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  max-height: calc(88dvh - env(safe-area-inset-top, 0px));
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
}
.app-modal-overlay.is-open .app-modal-dialog {
  transform: translateY(0);
}

.app-modal-head {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.app-modal-head h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.modal-close-btn {
  font-size: 1rem;
  color: var(--slate);
}

.weather-modal-list, .notif-modal-list {
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.weather-report-card {
  background: var(--ivory-dim);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--line);
}
.wrc-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.wrc-head strong {
  font-size: 0.85rem;
}
.wrc-temp {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ember);
}
.wrc-body {
  font-size: 0.72rem;
  color: var(--slate);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.status-safe {
  color: #059669;
  font-weight: 700;
  margin-top: 4px;
}

.notif-item {
  background: var(--ivory-dim);
  border-radius: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--ember);
}
.notif-item-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 2px 0;
}
.notif-item-body {
  font-size: 0.72rem;
  color: var(--slate);
  margin: 0 0 4px 0;
}
.notif-item-time {
  font-size: 0.62rem;
  color: var(--slate);
}

/* ============ SEARCH OVERLAY ============ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(11, 30, 45, 0.95);
  backdrop-filter: blur(14px);
  color: #fff;
  padding: 24px 16px;
  display: none;
  flex-direction: column;
  align-items: center;
}
.search-overlay.is-open {
  display: flex;
}
.search-overlay-inner {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  margin-bottom: 14px;
}
.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}
.search-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.72rem;
  margin-bottom: 14px;
}
.search-suggest .chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
}
.search-results {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============ FLOATING SI BADAK FAB ============ */
.badak-fab {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 12px);
  right: calc(14px + env(safe-area-inset-right, 0px));
  z-index: 45;
  background: linear-gradient(135deg, #0B1E2D 0%, #1E3A52 60%, #0F2436 100%);
  border: 2px solid #F59E0B;
  color: #fff;
  padding: 8px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.badak-fab-text {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
}
.badak-fab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

/* SI BADAK MODAL DRAWER */
.badak-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 80;
  display: none;
}
.badak-panel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 440px;
  height: 84vh;
  height: calc(88dvh - env(safe-area-inset-top, 0px));
  background: var(--ivory);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  z-index: 85;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
}
.badak-panel.is-open {
  transform: translateX(-50%) translateY(0);
}
.badak-overlay.is-open {
  display: block;
}

.badak-head {
  padding: 12px 16px;
  background: var(--ivory-card);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badak-head-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.badak-head-text strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  display: block;
}
.beacon-status {
  font-size: 0.65rem;
  color: #10B981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.badak-head-actions {
  display: flex;
  gap: 6px;
}
.badak-head-btn {
  font-size: 0.9rem;
  padding: 4px;
}

.badak-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badak-suggest {
  padding: 6px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.badak-suggest::-webkit-scrollbar {
  display: none;
}
.badak-suggest .chip {
  flex-shrink: 0;
  padding: 4px 8px;
  font-size: 0.68rem;
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.badak-input {
  padding: 8px 12px;
  background: var(--ivory-card);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
}
.badak-input input {
  flex: 1;
  border: 1px solid var(--line-strong);
  background: var(--ivory-dim);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font-size: 0.78rem;
  outline: none;
}
.badak-input button[type="submit"] {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ember);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.badak-history-drawer {
  position: absolute;
  inset: 54px 0 0 0;
  background: var(--ivory);
  z-index: 20;
  padding: 14px;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.badak-history-drawer.is-open {
  display: flex;
}
.badak-history-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.history-item-btn {
  text-align: left;
  padding: 8px 10px;
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.75rem;
}

.code-pill {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}



/* BUTTON UTILITIES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.78rem;
}
.btn-primary {
  background: linear-gradient(135deg, #FF6B35, #EA580C);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #FF8C5A, #FF6B35);
}
.btn-outline-dark {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--ivory-card);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.btn-block {
  width: 100%;
}

/* ============ POST DETAIL & COMMENTS VIEW ============ */
.post-detail-overlay {
  z-index: 85;
}
.post-detail-dialog {
  max-width: 680px;
  width: 100%;
  max-height: 94vh;
  max-height: calc(96dvh - env(safe-area-inset-top, 0px));
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .post-detail-dialog {
    border-radius: var(--radius-xl);
    max-height: 90vh;
  }

}

.post-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.post-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.post-detail-back-btn:hover {
  background: var(--line-strong);
}

.post-detail-cat-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(234, 88, 12, 0.12);
  color: var(--ember);
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.post-detail-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-detail-action-btn {
  padding: 6px 10px;
  border-radius: 16px;
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.post-detail-action-btn:hover {
  background: var(--line-strong);
}

.post-detail-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
}

.post-detail-media {
  position: relative;
  width: 100%;
  height: 260px;
  background: #0F172A;
  overflow: hidden;
}
.post-detail-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-detail-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
  pointer-events: none;
}
.post-detail-loc-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FEF08A;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(254, 240, 138, 0.3);
}

.post-detail-content-wrap {
  padding: 18px 18px 24px;
}

.post-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.post-detail-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
.post-detail-rating-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #FEF08A;
  color: #78350F;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.post-detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.post-spec-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  text-align: center;
}
.post-spec-card .spec-label {
  display: block;
  font-size: 0.65rem;
  color: var(--ink-dim);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.post-spec-card .spec-value {
  display: block;
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-detail-desc-block {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.post-section-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px 0;
}
.post-detail-desc-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.post-detail-cta-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

/* Social Share Pills */
.post-share-box {
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 24px;
}
.share-box-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.share-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.social-share-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.social-share-pill:hover {
  opacity: 0.9;
}
.pill-wa { background: #25D366; color: #fff; }
.pill-fb { background: #1877F2; color: #fff; }
.pill-tw { background: #0F1419; color: #fff; }
.pill-tg { background: #229ED9; color: #fff; }
.pill-copy { background: #D97706; color: #fff; }

/* Comments Section */
.post-comments-section {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.comments-head {
  margin-bottom: 14px;
}
.comment-badge-count {
  display: inline-block;
  background: var(--ember);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 12px;
  vertical-align: middle;
}
.comments-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-dim);
  margin-top: 2px;
}

.comment-write-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
}
.comment-form-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px 0;
}
.comment-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.flex-1 {
  flex: 1;
  min-width: 160px;
}
.comment-write-card .form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-dim);
  margin-bottom: 4px;
}
.comment-write-card input, .comment-write-card textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  color: var(--ink);
  font-family: inherit;
}
.star-rating-picker {
  display: flex;
  gap: 4px;
}
.star-pick-btn {
  font-size: 1.25rem;
  background: none;
  border: none;
  color: #CBD5E1;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}
.star-pick-btn.is-active {
  color: #F59E0B;
}
.comment-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 8px;
}
.comment-note {
  font-size: 0.7rem;
  color: #10B981;
  font-weight: 600;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-card {
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.comment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.comment-user-info {
  display: flex;
  align-items: center;
  gap: 6px;
}
.comment-avatar {
  font-size: 1.1rem;
}
.comment-author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.comment-verified-badge {
  font-size: 0.62rem;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
}
.comment-date {
  font-size: 0.68rem;
  color: var(--ink-dim);
}
.comment-stars {
  color: #F59E0B;
  font-size: 0.78rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.comment-body-text {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

/* ============ SOCIAL SHARE MODAL ============ */
.share-modal-dialog {
  max-width: 440px;
  width: 90%;
  border-radius: var(--radius-xl);
  background: var(--ivory);
}
.share-modal-body {
  padding: 16px;
}
.share-preview-card {
  display: flex;
  gap: 10px;
  background: var(--ivory-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 14px;
  align-items: center;
}
.share-preview-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.share-preview-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ember);
  display: block;
}
.share-preview-title {
  font-size: 0.85rem;
  color: var(--ink);
  display: block;
  line-height: 1.2;
}
.share-preview-desc {
  font-size: 0.7rem;
  color: var(--ink-dim);
  display: block;
  margin-top: 2px;
}
.share-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.share-channel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.share-wa { background: #25D366; }
.share-fb { background: #1877F2; }
.share-tw { background: #0F1419; }
.share-tg { background: #229ED9; }

.share-copy-box {
  display: flex;
  gap: 6px;
}
.share-copy-box input {
  flex: 1;
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: var(--ink);
}
.share-copy-status {
  display: block;
  font-size: 0.72rem;
  color: #059669;
  font-weight: 700;
  margin-top: 6px;
  text-align: center;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.edit-img-presets {
  margin-bottom: 12px;
}
.preset-thumbs-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0;
}
.preset-thumb {
  width: 44px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: transform 0.2s, border-color 0.2s;
}
.preset-thumb:hover {
  transform: scale(1.08);
  border-color: var(--ember);
}

/* Quick Card Share Button */
.card-quick-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--ivory-dim);
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}
.card-quick-share-btn:hover {
  background: var(--line-strong);
  color: var(--ember);
}

/* ============ 17. INTERACTIVE VISITOR TRIP PLANNER STYLES ============ */
.planner-box-full {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl, 20px);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-top: 14px;
}
[data-theme="dark"] .planner-box-full {
  background: #112233;
}
[data-theme="sunset"] .planner-box-full {
  background: #251614;
}

.planner-form-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.planner-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.planner-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.planner-input-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate);
}
.planner-text-input,
.planner-select-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--ivory-dim, #F1F5F9);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.2s, background-color 0.2s;
  box-sizing: border-box;
}
[data-theme="dark"] .planner-text-input,
[data-theme="dark"] .planner-select-input {
  background: #0B1E2D;
  border-color: rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
}
.planner-text-input:focus,
.planner-select-input:focus {
  outline: none;
  border-color: var(--ember);
  background: var(--surface, #FFFFFF);
}

.planner-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .planner-row-2 {
    grid-template-columns: 1fr;
  }

}

/* Destination Spots Selector Grid */
.plan-spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}
.plan-spot-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--ivory-dim, #F1F5F9);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
  text-align: left;
}
[data-theme="dark"] .plan-spot-pill {
  background: #0B1E2D;
  border-color: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
}
.plan-spot-pill:hover {
  border-color: var(--gold);
}
.plan-spot-pill.is-selected {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold);
  color: #B45309;
}
[data-theme="dark"] .plan-spot-pill.is-selected {
  background: rgba(245, 158, 11, 0.25);
  color: #FEF08A;
}
.plan-spot-pill input {
  display: none;
}

/* Day by Day Schedule Timeline Builder */
.plan-days-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.plan-day-card {
  background: var(--ivory-dim, #F8FAFC);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  transition: all 0.2s;
}
[data-theme="dark"] .plan-day-card {
  background: #162B3D;
  border-color: rgba(255, 255, 255, 0.08);
}
.plan-day-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}
.plan-day-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ember);
}
.plan-act-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-act-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
}
[data-theme="dark"] .plan-act-item {
  background: #0B1E2D;
  border-color: rgba(255, 255, 255, 0.1);
}
.plan-act-time {
  font-weight: 700;
  color: var(--moss);
  font-size: 0.72rem;
  white-space: nowrap;
}
.plan-act-text {
  flex: 1;
  color: var(--ink);
}
.plan-act-del {
  background: transparent;
  border: none;
  color: #EF4444;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
}
.plan-act-del:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Add Activity Mini Form */
.plan-add-act-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.plan-add-act-time {
  width: 70px;
  padding: 6px 8px;
  font-size: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface, #FFF);
}
.plan-add-act-desc {
  flex: 1;
  padding: 6px 8px;
  font-size: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface, #FFF);
}
[data-theme="dark"] .plan-add-act-time,
[data-theme="dark"] .plan-add-act-desc {
  background: #0B1E2D;
  color: #FFF;
}
.plan-btn-mini {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
  background: var(--moss);
  color: #FFF;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Packing Checklist */
.plan-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.plan-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.plan-check-item input[type="checkbox"] {
  accent-color: var(--moss);
  width: 16px;
  height: 16px;
}

/* Quick Route Template Buttons */
.plan-templates-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.plan-template-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--ivory-dim, #F1F5F9);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
[data-theme="dark"] .plan-template-btn {
  background: #0B1E2D;
  color: #F8FAFC;
}
.plan-template-btn:hover {
  border-color: var(--ember);
  background: rgba(255, 107, 53, 0.1);
  color: var(--ember);
}

/* Actions Toolbar */
.planner-actions-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 480px) {
  .planner-actions-bar {
    grid-template-columns: 1fr;
  }

}

/* Saved Plans Cards */
.saved-plans-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.saved-plan-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ivory-dim, #F8FAFC);
  border: 1px solid var(--line);
  transition: all 0.2s;
}
[data-theme="dark"] .saved-plan-card {
  background: #162B3D;
  border-color: rgba(255, 255, 255, 0.08);
}
.saved-plan-info h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 2px 0;
}
.saved-plan-info span {
  font-size: 0.72rem;
  color: var(--slate);
}
.saved-plan-actions {
  display: flex;
  gap: 6px;
}

/* ============ 18. EDITABLE INFORMASI PRAKTIS ACCORDION ============ */
.info-acc-item {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
[data-theme="dark"] .info-acc-item {
  background: #112233;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="sunset"] .info-acc-item {
  background: #221412;
}

.info-acc-head {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  user-select: none;
}
.info-acc-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 107, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-acc-title {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}
.info-acc-toggle {
  font-size: 0.75rem;
  color: var(--slate);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.info-acc-item.is-open .info-acc-toggle {
  transform: rotate(180deg);
  color: var(--ember);
}

.info-acc-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.info-acc-item.is-open .info-acc-body {
  max-height: 600px;
  padding: 0 16px 16px 16px;
}
.info-acc-body p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}

/* Accordion Edit Mode Styles */
.info-acc-edit-form {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-acc-edit-input {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--ivory-dim, #F1F5F9);
  color: var(--ink);
  box-sizing: border-box;
}
.info-acc-edit-textarea {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--ivory-dim, #F1F5F9);
  color: var(--ink);
  box-sizing: border-box;
  resize: vertical;
  min-height: 70px;
}
[data-theme="dark"] .info-acc-edit-input,
[data-theme="dark"] .info-acc-edit-textarea {
  background: #0B1E2D;
  color: #FFF;
}

.info-section-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
  flex-wrap: wrap;
}
.info-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--ivory-dim, #F1F5F9);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}
[data-theme="dark"] .info-tool-btn {
  background: #112233;
  color: #F8FAFC;
}
.info-tool-btn:hover {
  border-color: var(--ember);
  color: var(--ember);
}
.info-tool-btn.is-active {
  background: rgba(255, 107, 53, 0.15);
  border-color: var(--ember);
  color: var(--ember);
}

/* Printable itinerary stylesheet */
@media print {
  body {
    background: #FFF !important;
    color: #000 !important;
  }
  .app-header, .app-bottom-nav, .search-overlay, .planner-shortcut-grid, .planner-actions-bar, .info-section-toolbar {
    display: none !important;
  }
  .phone-screen, .mobile-app-wrapper {
    box-shadow: none !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  .planner-box-full {
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }

}



a.bottom-tab-btn, a.desk-nav-item { text-decoration: none; }
