/* 
   MAMA MAPS - ERGONOMIC PEBBLE MINIMALISM v1.0 
   Targeting: AIRawDataSchema Rendering
*/

:root {
    /* --- PALETTE: RIVER & STONE --- */
    --river-deep: #1A2E35;
    /* Primary Text / Headlines */
    --river-mid: #2D4A53;
    /* Secondary Text / Icons */
    --river-light: #E8F1F2;
    /* Subtler Backgrounds */

    --pebble-stone: #F2F4F3;
    /* Card Backgrounds */
    --pebble-shadow: #DDE2E0;
    /* Borders / Dividers */
    --pebble-surface: #FFFFFF;
    /* High elevation surface */
    --pebble-border: #E0E4E3;

    --otter-fur: #8B735B;
    /* Primary Accent / Active States */
    --otter-belly: #D4C3A3;
    /* Secondary Accent / Warmth */

    /* --- PALETTE: SEMANTIC SIGNALS --- */
    --accent-safe: #4A7C59;
    /* Success / High Score (Green) */
    --accent-warning: #C77D58;
    /* Attention / Med Score (Orange) */
    --accent-alert: #D64545;
    /* Closed / Low Score (Red) */
    --accent-info: #5B8B73;
    /* Info / Logistics */
    --accent-rain: #6B9AC4;
    /* For Rainy Day theme */
    --accent-sun: #E59500;
    /* For Vacation theme */
    --accent-heart: #D64545;

    /* --- CATEGORY COLORS (MAP PINS) - PEBBLE THEME --- */
    /* Vibe: Muted, cool, sea glass & river stones */
    --category-play: #E0A96D;     /* Soft Sun / Sand */
    --category-eat: #E07A5F;      /* Muted Coral / Clay */
    --category-urgent: #5E9F9F;   /* River Glass Teal */
    --category-learn: #6B7F9E;    /* Slate Blue */
    --category-explore: #769C7B;  /* Sage / Moss Green */
    --category-shopping: #98838F; /* Soft Mauve */
    --category-default: #2D4A53;  /* River Mid (Matches theme default) */

    /* --- UI UTILS --- */
    --glass: rgba(255, 255, 255, 0.85);
    --glass-blur: blur(12px);

    /* --- SHAPE LANGUAGE --- */
    --radius-pebble: 32px;
    /* Large outer containers */
    --radius-lg: 32px;
    --radius-inner: 20px;
    /* Content cards */
    --radius-md: 20px;
    --radius-input: 16px;
    --radius-pill: 100px;
    /* Buttons / Badges */
    --radius-sm: 8px;

    --shadow-float: 0 12px 32px -8px rgba(26, 46, 53, 0.12);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.04);

    /* --- TYPOGRAPHY --- */
    --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* --- ANIMATION --- */
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --anim-slide: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --shadow-float: 0 10px 30px -10px rgba(26, 46, 53, 0.15);

    /* HTMX Page Transition Animations */
    --anim-page-exit: 0.3s cubic-bezier(0.4, 0, 1, 1);
    --anim-page-enter: 0.4s cubic-bezier(0.2, 0, 0, 1);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #E5E9E8;
    color: var(--river-deep);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.5;
    font-size: 16px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* --- TYPOGRAPHY SYSTEM --- */
h1,
h2,
h3,
h4,
h5 {
    margin: 0 0 0.5rem 0;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--river-deep);
}

h1 {
    font-size: 28px;
    line-height: 1.1;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--river-mid);
}

small {
    font-size: 0.875rem;
}

a {
    text-decoration: none;
}

.mono-label,
.category-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--river-mid);
}

.category-tag {
    margin-bottom: 8px;
    display: block;
}

/* --- LAYOUT CONTAINERS --- */
.viewport-container,
.viewport {
    width: 100%;
    background: #FAFAFA;
    min-height: 100vh;
    position: relative;
    padding-bottom: 120px;
    /* Space for sticky footer */
    margin: 0 auto;
}

.viewport-container {
    max-width: 480px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.05);
}

.viewport {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
    padding-bottom: 100px;
}

/* --- COMPONENT: HERO IMAGE --- */
.hero-wrapper,
.hero {
    position: relative;
    height: 280px;
    background-color: var(--pebble-shadow);
    overflow: hidden;
    border-bottom-left-radius: var(--radius-pebble);
    border-bottom-right-radius: var(--radius-pebble);
}

.hero-wrapper {
    margin-bottom: 24px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 40%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.hero-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
    background: transparent;
    transition: background 0.25s ease, backdrop-filter 0.25s ease;
    box-sizing: border-box;
}

/* --- COMPONENT: PEBBLE CARDS --- */
.pebble-card,
.section-card {
    background: var(--pebble-surface);
    border-radius: var(--radius-inner);
    padding: 20px;
    margin: 0 16px 16px 16px;
    border: 1px solid var(--pebble-shadow);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.pebble-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-float);
}

.place-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* EDITORIAL "GOOD TO KNOW" LIST */
.editorial-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.editorial-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.editorial-list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: var(--river-deep);
    stroke-width: 2; /* Clean, standard stroke */
    margin-top: 2px;
}

.editorial-list strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--river-deep);
    margin-bottom: 2px;
}

.editorial-list span {
    font-size: 14px;
    color: var(--river-mid);
    line-height: 1.5;
    display: block;
}

/* EDITORIAL SEASONS TAGS */
.season-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.season-pill {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--pebble-surface);
    color: var(--river-mid);
    border: 1px solid var(--pebble-shadow);
    transition: var(--transition-smooth);
}

.season-pill.active {
    background: var(--river-deep);
    color: white;
    border-color: var(--river-deep);
}

/* INVERTED SENTIMENT QUOTE CARD */
.sentiment-quote-card {
    background: var(--river-deep);
    color: white;
    border-radius: var(--radius-inner);
    position: relative;
    padding: 24px;
    margin: 0 16px 16px 16px;
    box-shadow: 0 4px 12px rgba(26, 46, 53, 0.15); /* Minimalist deep shadow */
}

.sentiment-quote-card .quote-icon {
    width: 40px;
    height: 40px;
    fill: var(--otter-belly);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.sentiment-quote-card blockquote {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 20px 0;
    z-index: 2;
    padding-top: 12px;
}

.sentiment-quote-card .recommended-for {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.sentiment-quote-card .recommended-for strong {
    color: var(--otter-belly);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

/* --- COMPONENT: BADGES & CHIPS --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-sentiment,
.sentiment-badge {
    background: var(--river-deep);
    color: white;
    gap: 6px;
}

.sentiment-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-success {
    background: #E8F5E9;
    color: var(--accent-safe);
}

.badge-warning {
    background: #FFF3E0;
    color: #E65100;
}

.chip,
.context-chip {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--river-light);
    color: var(--river-mid);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.context-chip {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    background: #F0F4F8;
    border: 1px solid #E1E8ED;
}

.chip.active,
.context-chip.highlight {
    background: #FFF8E1;
    /* Warm highlight */
    color: #B7791F;
    border-color: #FBD38D;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* --- COMPONENT: ACTION BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--river-deep);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 46, 53, 0.25);
}

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

/* Full width primary btn for footers */
.sticky-footer .btn-primary {
    flex: 1;
    padding: 16px;
    font-size: 16px;
    box-shadow: 0 10px 20px -5px rgba(26, 46, 53, 0.4);
}

.sticky-footer .btn-navigate-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--pebble-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 46, 53, 0.25);
    color: var(--river-deep);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sticky-footer .btn-navigate-icon:active {
    transform: scale(0.94);
}

.sticky-footer .footer-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-icon-circle,
.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--river-deep);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-btn:active {
    transform: scale(0.95);
}

.action-bar {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.action-bar::-webkit-scrollbar {
    display: none;
}

.action-btn {
    flex: 1;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--pebble-shadow);
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--river-deep);
    min-width: 80px;
    text-decoration: none;
}

/* --- SCHEMA SPECIFIC: SUITABILITY GRAPH --- */
.suitability-track,
.bar-track {
    display: flex;
    flex-grow: 1;
    height: 8px;
    background: var(--pebble-stone);
    border-radius: 4px;
    overflow: hidden;
}

.suitability-track {
    margin-top: 8px;
    background: var(--pebble-shadow);
}

.suitability-fill,
.bar-fill {
    height: 100%;
    background: var(--otter-fur);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.age-graph {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.age-label {
    width: 60px;
    font-size: 12px;
    font-weight: 600;
    color: var(--river-mid);
}

/* --- SCHEMA SPECIFIC: SURVIVAL KIT GRID --- */
.survival-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.survival-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--pebble-stone);
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--river-deep);
}

.check-circle,
.check-icon {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-safe);
    font-size: 12px;
    flex-shrink: 0;
}

.cross-icon {
    color: var(--pebble-shadow);
    background: #e0e0e0;
}

.survival-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

/* --- SCHEMA SPECIFIC: ATMOSPHERE METER --- */
.meter-wrapper,
.meter-container {
    margin-bottom: 12px;
}

.meter-container {
    margin-bottom: 16px;
}

.meter-bar,
.meter-track {
    height: 6px;
    background: var(--pebble-stone);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.meter-bar {
    background: var(--pebble-shadow);
}

.meter-fill-gradient,
.meter-track-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #A8C6B1, #E8C547, #C77D58);
    opacity: 0.3;
}

.meter-pip,
.meter-indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--river-deep);
    border-radius: 2px;
    z-index: 2;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.meter-label {
    font-size: 12px;
    color: var(--river-mid);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

/* --- SCHEMA SPECIFIC: HOURS LIST --- */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--river-mid);
}

.hours-day {
    font-weight: 600;
    color: var(--river-deep);
}

.hours-time {
    font-family: var(--font-mono);
    font-size: 13px;
}

/* --- UTILITY: SCROLL CONTAINERS --- */
.scroll-x {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.scroll-x::-webkit-scrollbar {
    display: none;
}

/* --- UTILITY: STATUS DOTS --- */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.dot-open {
    background: var(--accent-safe);
}

.dot-closed {
    background: var(--accent-alert);
}

/* --- HTMX GLOBAL UX & LOADING STATES --- */

/* Prevent double-clicks during any HTMX request */
.htmx-request {
    pointer-events: none !important;
}

/* Content area loading feedback */
.htmx-request .results-container,
.htmx-request .saved-list {
    opacity: 0.4;
    filter: grayscale(0.5);
    transition: all 0.2s ease;
}

@keyframes mm-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- UTILITY: MISC --- */
.hidden {
    display: none !important;
}

.content-header {
    padding: 24px 0 12px 0;
}

.content-header>* {
    padding: 0 24px;
}

.address-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--river-mid);
    margin-bottom: 16px;
    overflow: hidden;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--river-light);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--river-deep);
    white-space: nowrap;
}

/* Pill color variants */
.status-pill--success { background: #E6F4ED; color: #1A6B3A; }
.status-pill--warning { background: #FEF3E2; color: #9A4E00; }
.status-pill--info    { background: #E5F0FA; color: #1A4E7A; }
.status-pill--neutral { background: var(--river-light); color: var(--river-mid); }

.status-pill--vibe-relaxed,
.status-pill--vibe-calm { background: #EAF4F0; color: #1A5C44; }
.status-pill--vibe-lively,
.status-pill--vibe-energetic,
.status-pill--vibe-party { background: #FDE8EF; color: #8B1A3A; }
.status-pill--vibe-educational { background: #E8EBF8; color: #2A3580; }
.status-pill--vibe-adventurous { background: #FEF0E0; color: #8B4000; }
.status-pill--vibe-family_friendly { background: #E6F4ED; color: #1A6B3A; }
.status-pill--vibe-romantic { background: #FCE8F5; color: #7A1A60; }

.pills-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.pills-row::-webkit-scrollbar { display: none; }

.dot-open,
.dot-closed {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* --- NAVIGATION / STICKY FOOTER --- */
.float-nav-container,
.sticky-footer {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 440px;
    z-index: 100;
}

.sticky-footer {
    width: calc(100% - 40px);
    max-width: 400px;
}

/* Icons global utility */
svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- COMPONENT: DISCOVERY PAGE --- */
.discovery-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(12px);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pebble-shadow);
}

.location-bar {
    padding: 12px 20px 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--river-mid);
    cursor: pointer;
}

.location-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--pebble-stone);
    color: var(--river-deep);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.filter-pill.active {
    background: var(--river-deep);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 46, 53, 0.2);
}

.duration-chip {
    flex: 0 0 auto;
    padding: 6px 14px;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--pebble-shadow);
    color: var(--river-mid);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.duration-chip.active {
    background: #FFF8E1;
    color: #B7791F;
    border-color: #FBD38D;
}

.results-container {
    padding: 16px 0;
    min-height: 80vh;
}

/* Card Specific Styles */
.result-card {
    background: var(--pebble-surface);
    border-radius: var(--radius-inner);
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--pebble-shadow);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-float);
}

.result-card:active {
    transform: scale(0.98);
}

/* VISUALS & BADGES */
.card-visual {
    position: relative;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: var(--pebble-stone);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--river-deep);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Badge Layouts */
.badge-duration {
    top: 8px;
    left: 8px;
}

.badge-env {
    bottom: 8px;
    left: 8px;
}

/* Badge for Rating (Bottom Right) */
.badge-rating,
.card-badge-bottom-right {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--river-deep);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.btn-heart {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.btn-heart svg {
    width: 18px;
    height: 18px;
    stroke: var(--river-deep);
    fill: none;
    stroke-width: 2;
}

.btn-heart.active svg {
    fill: var(--accent-alert);
    stroke: var(--accent-alert);
}

/* CONTENT */
.card-header-row {
    margin-bottom: 2px;
    padding: 0 4px;
}

.card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--river-deep);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta-row {
    padding: 0 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--river-mid);
}

.highlight-tag {
    color: var(--river-deep);
    font-weight: 600;
}

/* SURVIVAL ICONS ROW */
.survival-icon-row {
    display: flex;
    gap: 12px;
    padding: 8px 4px 4px 4px;
    margin-top: 8px;
    border-top: 1px solid var(--pebble-shadow);
}

.survival-icon {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--river-mid);
    font-weight: 500;
}

.survival-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
}

.survival-icon.confirmed {
    color: var(--accent-safe);
}

/* FOOTER */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 4px 4px 0 4px;
    margin-top: 4px;
}

.vibe-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--river-deep);
}

/* Suitability Dots Logic */
.suitability-dots {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.suitability-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--pebble-shadow);
}

.suitability-dot.high {
    background-color: var(--accent-safe);
}

.suitability-dot.med {
    background-color: var(--accent-safe);
    opacity: 0.5;
}

/* --- ONBOARDING & SETTINGS SHARED --- */
.onboarding-screen,
.settings-screen {
    background-color: #FAFAFA;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.settings-screen {
    padding: 20px 24px 140px 24px;
}

.header-nav {
    padding: 24px 24px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-indicator {
    display: flex;
    gap: 8px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pebble-shadow);
    transition: all 0.3s;
}

.step-dot.active {
    background: var(--river-deep);
    width: 24px;
    border-radius: 10px;
}

.content-scroll {
    flex: 1;
    padding: 20px 24px 120px 24px;
    overflow-y: auto;
}

.subtitle {
    color: var(--river-mid);
    margin: 0 0 32px 0;
    font-size: 15px;
    line-height: 1.5;
}

.settings-section {
    background: white;
    border: 1px solid var(--pebble-shadow);
    border-radius: var(--radius-inner);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.settings-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--river-deep);
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-group {
    margin-bottom: 24px;
}

.input-group:last-child {
    margin-bottom: 0;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--river-deep);
}

.input-pebble {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-input);
    border: 2px solid var(--pebble-stone);
    background: var(--pebble-stone);
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--river-deep);
    transition: all 0.2s ease;
}

.input-pebble:focus {
    outline: none;
    border-color: var(--otter-fur);
    background: white;
}

.input-pebble.is-valid {
    border-color: var(--accent-safe) !important;
    background: white !important;
}

.location-feedback {
    margin-top: 12px;
    background: #E8F5E9;
    border: 1px solid #C8E6C9;
    padding: 12px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--accent-safe);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-box {
    display: flex;
    gap: 12px;
    background: white;
    border: 1px solid var(--pebble-shadow);
    padding: 12px 16px;
    border-radius: 16px;
    margin-top: 8px;
    align-items: center;
}

.privacy-icon {
    color: var(--river-mid);
    flex-shrink: 0;
}

.privacy-text {
    font-size: 12px;
    color: var(--river-mid);
    line-height: 1.4;
    margin: 0;
}

.privacy-text strong {
    color: var(--river-deep);
}

.child-card {
    background: white;
    border: 1px solid var(--pebble-shadow);
    border-radius: var(--radius-inner);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
}

.settings-screen .child-card {
    background: var(--pebble-stone);
    border: none;
    padding: 16px;
    margin-bottom: 16px;
}

.remove-child {
    font-size: 12px;
    font-weight: 600;
    color: var(--river-mid);
    cursor: pointer;
}

.toggle-container {
    display: flex;
    background: var(--pebble-stone);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.settings-screen .toggle-container {
    background: white;
    border-radius: 10px;
}

.toggle-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--river-mid);
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: white;
    color: var(--river-deep);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.settings-screen .toggle-btn.active {
    background: var(--pebble-stone);
}

/* Toggle switch (on/off) */
.toggle-switch {
    position: relative;
    width: 36px;
    height: 20px;
    background: var(--pebble-shadow);
    border-radius: 10px;
    transition: background 0.2s;
    flex-shrink: 0;
    pointer-events: none;
}
.toggle-switch.on { background: var(--river-deep); }
.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.toggle-switch.on .toggle-knob { transform: translateX(16px); }

/* Indoor filter button (compact pill with embedded toggle switch) */
.indoor-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: var(--pebble-stone);
    border: 1.5px solid var(--pebble-shadow);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--river-mid);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s, border-color 0.2s;
    white-space: nowrap;
}
.indoor-btn.active {
    color: var(--river-deep);
}
.indoor-btn:active { opacity: 0.7; }

.email-display-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--pebble-stone);
    padding: 14px 18px;
    border-radius: var(--radius-input);
    margin-bottom: 20px;
}

.zip-status-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.sticky-footer-onboarding {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, #FAFAFA 80%, rgba(250, 250, 250, 0));
    z-index: 100;
    max-width: 480px;
    margin: 0 auto;
}

.btn-onboarding-primary {
    width: 100%;
    background: var(--river-deep);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

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

.btn-onboarding-secondary {
    width: 100%;
    background: transparent;
    color: var(--river-mid);
    border: 2px solid var(--pebble-shadow);
    padding: 14px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
    margin-top: 8px;
}

/* --- LIBRARY / BOOKMARKS --- */

.library-header {
    padding: 32px 24px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.library-screen h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pebble-stone);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--river-deep);
    border: 1px solid var(--pebble-border);
    cursor: pointer;
    transition: all 0.2s;
}

.add-btn:hover {
    background: var(--river-deep);
    color: white;
}

.section-title {
    padding: 0 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--river-mid);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 24px 24px 24px;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.stack-card {
    flex: 0 0 160px;
    height: 200px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    cursor: pointer;
    transition: transform 0.2s;
}

.stack-card:hover {
    transform: translateY(-4px);
}

.htmx-request .stack-card {
    opacity: 0.6;
    filter: grayscale(0.4);
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.stack-effect {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 2;
    overflow: hidden;
}

.stack-card::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    right: 6px;
    bottom: -4px;
    background: #E8EBEA;
    border-radius: var(--radius-lg);
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stack-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.stack-card:hover .stack-bg-img {
    transform: scale(1.05);
}

.stack-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(26, 46, 53, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}

.stack-title {
    color: white;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stack-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 500;
    font-family: var(--font-mono);
}

.smart-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--river-deep);
    font-size: 14px;
}

.filter-bar {
    padding: 0 24px 16px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-pill {
    padding: 8px 16px;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--pebble-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--river-mid);
    white-space: nowrap;
    cursor: pointer;
}

.filter-pill.active {
    background: var(--river-deep);
    color: white;
    border-color: var(--river-deep);
}

.saved-item {
    display: flex;
    gap: 16px;
    padding: 16px 24px;
    background: white;
    border-bottom: 1px solid var(--pebble-stone);
    position: relative;
    transition: background 0.2s;
    cursor: pointer;
}

.saved-item:hover {
    background: #FAFAFA;
}

.htmx-request .saved-item {
    opacity: 0.5;
    filter: grayscale(0.4);
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.item-thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: var(--pebble-stone);
    flex-shrink: 0;
    overflow: hidden;
}

.item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.item-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--river-deep);
}

.item-context {
    font-size: 12px;
    color: var(--river-mid);
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--river-mid);
    background: var(--pebble-stone);
    padding: 2px 6px;
    border-radius: 4px;
}

.item-action {
    color: var(--accent-heart);
    padding: 8px;
    margin: -8px;
}

.empty-state {
    padding: 60px 24px;
    text-align: center;
    color: var(--river-mid);
}

/* --- GLOBAL BOOKMARK BUTTON (Glass Pebble) --- */

.bookmark-btn {
    /* Position & Size */
    width: 40px;
    height: 40px;
    z-index: 10;

    /* The "Glass Pebble" Look */
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent */
    backdrop-filter: blur(8px);
    /* Frosted effect */
    -webkit-backdrop-filter: blur(8px);
    /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Subtle edge */
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    /* Layout & Interaction */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    padding: 0;
    appearance: none;
    outline: none;
}

/* Hover State */
.bookmark-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Click/Active Press State */
.bookmark-btn:active {
    transform: scale(0.9);
}

/* --- SVG ICON STYLES --- */
.bookmark-icon {
    width: 20px;
    height: 20px;
    stroke: white;
    /* Default stroke */
    stroke-width: 2px;
    fill: transparent;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    /* Shadow for contrast on white images */
}

/* --- SAVED STATE (Class applied via JS/HTMX) --- */
.bookmark-btn.active {
    background: white;
    /* Solid white background when saved */
    border-color: white;
}

.bookmark-btn.active .bookmark-icon {
    fill: var(--river-deep);
    /* Heart Red Fill */
    stroke: var(--river-deep);
    /* Heart Red Stroke */
    filter: none;
    animation: heartPop 0.4s ease-out;
    /* Pop animation */
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}
/* --- NEARBY VIEW STYLES (Migrated from mockup) --- */

/* --- LAYER 1: THE MAP (Background) --- */
.map-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #EAECEB;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

/* Map Pin Styles */
.map-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: saturate(.5)
}

.map-pin:hover {
    transform: scale(1.1);
    z-index: 20 !important;
}

.pin-bubble {
    width: 36px;
    height: 36px;
    background: var(--pin-color, var(--pebble-surface));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
    color: white;
}

.pin-bubble i {
    font-size: 16px;
    line-height: 1;
}

/* Selected Pin Style */
.map-pin.selected {
    z-index: 30 !important;
    display: flex;
    pointer-events: none !important;
}

.map-pin.selected .pin-bubble {
    background: var(--pin-color, var(--river-deep));
    color: white;
    width: 44px;
    height: 44px;
    border: 3px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(0.85);
}

/* Pulse Animation for Selected Pin */
.map-pin.selected::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: var(--river-deep);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
    animation: sonar 2s infinite;
}

@keyframes sonar {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* User Location Dot */
.user-location-marker {
    width: 16px;
    height: 16px;
    background: #2F80ED;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.user-location-marker::before {
    content: '';
    position: absolute;
    inset: -12px;
    background: rgba(47, 128, 237, 0.2);
    border-radius: 50%;
}

/* --- LAYER 2: TOP UI (Search & Filters) --- */
.top-ui {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 0 16px;
    z-index: 50;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.search-bar {
    pointer-events: auto;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--glass-border);
}

.search-input {
    border: none;
    background: transparent;
    flex: 1;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--river-deep);
}

.search-input:focus {
    outline: none;
}

/* Filter Scroll */
.filter-row {
    pointer-events: auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--pebble-surface);
    border: 1px solid var(--pebble-border);
    color: var(--river-mid);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none; /* Ensure no underline */
}

.filter-pill.active {
    background: var(--river-deep);
    color: white;
    border-color: var(--river-deep);
}

.filter-pill i {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

/* --- LAYER 3: BOTTOM SHEET (Detail) --- */
.bottom-sheet {
    position: absolute;
    bottom: 100px;
    left: 16px;
    right: 16px;
    background: var(--pebble-surface);
    border-radius: var(--radius-pebble);
    padding: 20px;
    box-shadow: var(--shadow-float);
    z-index: 60;
    animation: slideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: none; /* Hidden by default */
}

.bottom-sheet.open {
    display: block;
}

.htmx-request .bottom-sheet {
    opacity: 0.5;
    filter: grayscale(0.4);
    transition: opacity 0.15s ease, filter 0.15s ease;
}

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

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.place-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.place-meta {
    font-size: 13px;
    color: var(--river-mid);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-check {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-safe);
}

.navigate-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--river-deep);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 46, 53, 0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

/* Sheet Amenities */
.sheet-amenities {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-top: 12px;
    border-top: 1px solid var(--pebble-border);
    scrollbar-width: none;
}

.amenity-tag {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--river-deep);
    background: var(--pebble-stone);
    padding: 6px 12px;
    border-radius: 8px;
}

/* --- NEW: Rainy Day Badge (Card, bottom-left) --- */
.badge-rainy {
    bottom: 8px;
    left: 8px;
    background: rgba(100, 130, 160, 0.85);
    color: white;
    border: 1px solid rgba(100, 130, 160, 0.3);
}

.rainy-ok {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* --- NEW: Reservation Warning (Card) --- */
.survival-icon.reservation-warn {
    color: var(--accent-warning);
}

/* --- NEW: Reservation Banner (Detail) --- */
.reservation-banner {
    background: rgba(255, 152, 0, 0.08);
    border: 1px solid rgba(255, 152, 0, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 16px 16px 16px;
    font-size: 13px;
    color: var(--river-deep);
    line-height: 1.5;
}

.reservation-banner svg {
    flex-shrink: 0;
    color: var(--accent-warning);
}

/* --- NEW: Season Icons (Detail) --- */
.season-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.season-icon {
    font-size: 1.2rem;
    opacity: 0.2;
    transition: opacity 0.2s;
}

.season-icon.active {
    opacity: 1;
}

/* --- NEW: Pro Tip Card (Detail) --- */
.pro-tip-card {
    background: rgba(255, 193, 7, 0.06) !important;
    border: 1px solid rgba(255, 193, 7, 0.2) !important;
}

.pro-tip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--river-deep);
}

.pro-tip-header svg {
    color: #f59e0b;
    flex-shrink: 0;
}

/* --- NEW: Amenity Tags (Nearby Bottom Sheet) --- */
.amenity-rainy {
    background: rgba(100, 130, 160, 0.12) !important;
    color: #4a7c9e !important;
}

.amenity-reservation {
    background: rgba(255, 152, 0, 0.1) !important;
    color: #e67e00 !important;
}

/* --- LAYER 4: NAVBAR (Pebble Raft) --- */
.pebble-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 280px;
    height: 68px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-float);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 100;
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 56px;
    border-radius: 28px;
    text-decoration: none;
    color: var(--river-mid);
}

.nav-tab.active {
    color: var(--river-deep);
}

/* The Active Utility Button Style */
.nav-utility-btn {
    width: 56px;
    height: 56px;
    background: var(--river-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(26, 46, 53, 0.3);
    transform: translateY(-15%);
    /* Floating */
    border: 3px solid white;
}
