/* Lily Pad Neighborhood — shared cruise scene (all dashboards + marketplace) */

.lp-neighborhood-scene { position: relative; }

.lp-soft-promo {
    min-height: 2em;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 8px;
    font-size: 0.82rem;
    color: #d4af37;
    opacity: 0;
    transition: opacity 0.35s ease;
    line-height: 1.4;
}
.lp-soft-promo.lp-promo-active { opacity: 1; }

.lp-lore-line {
    font-size: 0.72rem;
    color: rgba(244, 228, 193, 0.7);
    margin: -4px 0 10px;
    line-height: 1.35;
    font-style: italic;
}

.lp-rider-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}
.lp-dragonfly-glint {
    position: absolute;
    top: 2px;
    right: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(4, 191, 225, 0.9) 0%, transparent 70%);
    animation: lp-dragonfly-glint 1.1s ease-in-out infinite;
    pointer-events: none;
}
@keyframes lp-dragonfly-glint {
    0%, 100% { opacity: 0.35; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.15); }
}

.lp-map-stage {
    position: relative;
    height: 320px;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    /* Bayou night mood (broll-inspired). Interactive huts/travelers live ON TOP — not a wallpaper. */
    background:
        radial-gradient(ellipse 70% 55% at 50% 48%, rgba(0, 80, 70, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse 90% 80% at 50% 100%, rgba(0, 30, 28, 0.9) 0%, transparent 50%),
        linear-gradient(180deg, #031018 0%, #052028 40%, #061a18 70%, #020c10 100%);
    border: 1px solid rgba(0, 230, 200, 0.35);
    box-shadow:
        inset 0 0 50px rgba(0, 255, 200, 0.06),
        0 0 24px rgba(0, 180, 160, 0.2);
}

/* Real Google Map — kept alongside pond scene in dual mode */
.lp-geo-map-wrap {
    padding: 0 20px 14px;
}
.lp-geo-map-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
#lily-pad-geo-map,
.lp-geo-map-stage {
    position: relative;
    height: 280px;
    min-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(24, 176, 144, 0.45);
    background: #e8f4f0;
}
#lily-pad-geo-map.lp-geo-map-active,
.lp-geo-map-stage.lp-geo-map-active {
    background: #e8f4f0;
}
#lily-pad-geo-map .leaflet-container,
.lp-geo-map-stage .leaflet-container {
    height: 100%;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}
.lp-leaflet-marker-home,
.lp-leaflet-marker-property,
.lp-leaflet-marker-contractor {
    background: transparent !important;
    border: none !important;
}
.lp-map-stage.lp-marketplace-stage {
    height: 200px;
    min-height: 180px;
    border-radius: 0;
    border: none;
    background:
        linear-gradient(180deg, rgba(2, 12, 20, 0.45) 0%, transparent 50%, rgba(0, 8, 12, 0.5) 100%),
        linear-gradient(180deg, #031018 0%, #052028 100%);
}

/* —— Interactive bayou neighborhood (function + aesthetic, not wallpaper) —— */
.lp-bayou-network,
.lp-map-stage.lp-bayou-network {
    background:
        radial-gradient(ellipse 55% 45% at 50% 48%, rgba(0, 120, 100, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 100% 40% at 10% 0%, rgba(0, 40, 35, 0.5) 0%, transparent 45%),
        radial-gradient(ellipse 80% 50% at 90% 100%, rgba(0, 35, 40, 0.55) 0%, transparent 50%),
        linear-gradient(180deg, #020c12 0%, #041820 35%, #062420 65%, #020a0e 100%);
}
.lp-pond-scene.lp-bayou-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.lp-bayou-water {
    inset: 4% !important;
    border-radius: 48% !important;
    background:
        radial-gradient(ellipse at 50% 45%,
            rgba(0, 255, 210, 0.12) 0%,
            rgba(4, 80, 90, 0.35) 35%,
            rgba(2, 30, 40, 0.55) 70%,
            transparent 100%) !important;
    box-shadow:
        inset 0 0 40px rgba(0, 255, 200, 0.12),
        0 0 30px rgba(0, 180, 160, 0.15);
    animation: lp-pond-ripple 7s ease-in-out infinite;
}
.lp-bayou-circuits {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
    background-image:
        radial-gradient(circle at 50% 50%, transparent 18%, rgba(0, 255, 200, 0.06) 19%, transparent 22%),
        radial-gradient(circle at 50% 50%, transparent 32%, rgba(0, 255, 200, 0.05) 33%, transparent 36%),
        linear-gradient(90deg, transparent 49%, rgba(0, 255, 200, 0.12) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(0, 255, 200, 0.1) 50%, transparent 51%),
        linear-gradient(45deg, transparent 48%, rgba(0, 220, 190, 0.08) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 220, 190, 0.08) 50%, transparent 52%);
    mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, black 20%, transparent 75%);
}
.lp-bayou-ring {
    border: 1px solid rgba(0, 255, 200, 0.22) !important;
    border-style: solid !important;
    box-shadow:
        0 0 20px rgba(0, 255, 200, 0.12),
        inset 0 0 20px rgba(0, 255, 200, 0.06);
    inset: 10% !important;
}
.lp-bayou-fireflies {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.lp-bayou-fireflies span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffe566 0%, rgba(255, 200, 50, 0.4) 50%, transparent 70%);
    box-shadow: 0 0 8px rgba(255, 220, 80, 0.8);
    animation: lp-firefly 5s ease-in-out infinite;
}
.lp-bayou-fireflies span:nth-child(1) { left: 12%; top: 22%; animation-delay: 0s; }
.lp-bayou-fireflies span:nth-child(2) { left: 78%; top: 18%; animation-delay: 0.8s; }
.lp-bayou-fireflies span:nth-child(3) { left: 22%; top: 70%; animation-delay: 1.6s; }
.lp-bayou-fireflies span:nth-child(4) { left: 85%; top: 62%; animation-delay: 2.2s; }
.lp-bayou-fireflies span:nth-child(5) { left: 48%; top: 14%; animation-delay: 1.1s; }
.lp-bayou-fireflies span:nth-child(6) { left: 62%; top: 78%; animation-delay: 3s; }
@keyframes lp-firefly {
    0%, 100% { opacity: 0.25; transform: translate(0, 0) scale(0.8); }
    40% { opacity: 1; transform: translate(6px, -10px) scale(1.15); }
    70% { opacity: 0.5; transform: translate(-4px, 4px) scale(0.9); }
}

/* Center hut on glowing pad island */
.lp-bayou-center-hut {
    z-index: 6 !important;
}
.lp-pad-island {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 40% 35%, rgba(80, 255, 200, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 50% 60%, rgba(8, 70, 55, 0.95) 0%, rgba(2, 28, 26, 0.98) 72%);
    border: 2px solid rgba(0, 255, 210, 0.55);
    box-shadow:
        0 0 0 4px rgba(0, 255, 200, 0.12),
        0 0 22px rgba(0, 255, 200, 0.45),
        inset 0 0 16px rgba(0, 255, 180, 0.15);
    animation: lp-pad-pulse 3.4s ease-in-out infinite;
}
.lp-pad-island-center,
.lp-pad-island-hq {
    width: 88px;
    height: 88px;
}
.lp-pad-island img,
.lp-bayou-center-hut img {
    width: 52px !important;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    position: relative;
    z-index: 1;
}
.lp-pad-island-center img,
.lp-pad-island-hq img {
    width: 64px !important;
}
.lp-bayou-center-hut span,
.lp-pm-hq-label {
    color: #7fffd4 !important;
    text-shadow: 0 0 10px rgba(0, 255, 200, 0.65);
    font-weight: 700;
}
@keyframes lp-pad-pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(0, 255, 200, 0.1), 0 0 18px rgba(0, 255, 200, 0.35),
            inset 0 0 12px rgba(0, 255, 180, 0.1);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(0, 255, 200, 0.18), 0 0 32px rgba(0, 255, 200, 0.6),
            inset 0 0 18px rgba(0, 255, 180, 0.2);
    }
}

/* Community hut markers on Leaflet (match pond huts) */
.lp-leaflet-hut-marker {
    position: relative;
    width: 64px;
    text-align: center;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
.lp-leaflet-hut-marker img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.lp-leaflet-hut-marker .lp-hut-badge {
    position: absolute;
    top: -2px;
    right: 8px;
    font-size: 12px;
    line-height: 1;
}
.lp-leaflet-hut-marker .lp-hut-name {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    color: #f4e4c1;
    text-shadow: 0 1px 3px #000, 0 0 6px rgba(0, 0, 0, 0.9);
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 auto;
}
.lp-leaflet-hut-marker.hut-pm .lp-hut-name { color: #7ec8ff; }
.lp-leaflet-hut-marker.hut-contractor .lp-hut-name { color: #ffd27a; }
.lp-leaflet-hut-marker.hut-family .lp-hut-name { color: #c4f0a8; }
.lp-leaflet-hut-marker.hut-friends .lp-hut-name { color: #f0c4e8; }
.lp-leaflet-hut-marker.hut-referral .lp-hut-name { color: #a8e0f0; }
.lp-leaflet-hut-marker.founding-glow img {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.75));
}

/* Community pad islands (not outer-space empty pond) */
.lp-pad-island-node {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    width: 70px;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 0 8px rgba(0, 255, 200, 0.3));
}
.lp-pad-island-node .lp-hut-badge {
    position: absolute;
    top: -4px;
    right: 4px;
    font-size: 11px;
    z-index: 2;
}
.lp-pad-island-node.hut-pm .lp-pad-label { color: #7ec8ff; }
.lp-pad-island-node.hut-contractor .lp-pad-label { color: #ffd27a; }
.lp-pad-island-node.hut-family .lp-pad-label { color: #c4f0a8; }
.lp-pad-island-node.hut-friends .lp-pad-label { color: #f0c4e8; }
.lp-pad-island-node.hut-referral .lp-pad-label { color: #a8e0f0; }
.lp-community-active.lp-bayou-network {
    /* Less nebula, more neighborhood water — still bayou mood */
    background:
        radial-gradient(ellipse 50% 42% at 50% 50%, rgba(0, 100, 85, 0.28) 0%, transparent 62%),
        radial-gradient(ellipse 90% 50% at 50% 100%, rgba(8, 40, 36, 0.55) 0%, transparent 55%),
        linear-gradient(180deg, #04161c 0%, #062820 45%, #041a16 100%);
}
.lp-pad-island-node:hover {
    transform: translate(-50%, -50%) scale(1.08);
    z-index: 7;
    filter: drop-shadow(0 0 14px rgba(0, 255, 200, 0.55));
}
.lp-pad-island-node .lp-pad-island {
    width: 56px;
    height: 56px;
    animation: none;
}
.lp-pad-island-node .lp-pad-island img {
    width: 36px !important;
}
.lp-pad-label {
    display: block;
    margin-top: 3px;
    font-size: 0.58rem;
    font-weight: 600;
    color: #b8fff0;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
    max-width: 76px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-pad-island-node.premium .lp-pad-island {
    border-color: rgba(255, 215, 0, 0.65);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
}

/* Traveling contractors — above water, clickable */
.lp-bayou-cruiser {
    z-index: 8 !important;
    filter: drop-shadow(0 0 6px rgba(0, 255, 200, 0.25));
}
.lp-bayou-cruiser .lp-cruise-chip {
    background: rgba(4, 28, 32, 0.9);
    border-color: rgba(0, 255, 200, 0.35);
    color: #c8fff0;
}
.lp-bayou-cruiser.premium .lp-cruise-img {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.65));
}
.lp-bayou-empty {
    position: absolute;
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    max-width: 80%;
    pointer-events: none;
}
.lp-bayou-empty p {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(184, 255, 240, 0.75);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Section chrome (card) — bayou panel, not image shell */
.lp-broll-section,
#lily-pad-contractor-section.lp-broll-section,
#lily-pad-pm-section {
    background:
        linear-gradient(165deg, rgba(4, 24, 28, 0.97) 0%, rgba(6, 40, 36, 0.98) 45%, rgba(2, 16, 20, 0.99) 100%) !important;
    color: #c8fff0 !important;
    border: 1px solid rgba(0, 230, 200, 0.22);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 0 60px rgba(0, 255, 200, 0.04);
}
.lp-broll-section .lp-lore-line,
#lily-pad-pm-section .lp-lore-line {
    color: rgba(160, 255, 230, 0.7);
}


.lp-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    text-align: center;
    opacity: 0.85;
}
.lp-map-placeholder img {
    height: 56px;
    margin-bottom: 10px;
    opacity: 0.75;
    animation: lp-float 4s ease-in-out infinite;
}
.lp-map-placeholder p { margin: 0; font-size: 0.88rem; max-width: 280px; }
@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.lp-map-cruiser, .lp-pond-cruiser {
    position: absolute;
    z-index: 3;
    pointer-events: auto;
    transition: filter 0.2s;
    animation: lp-snail-route 9s ease-in-out infinite;
}
.lp-map-cruiser { width: 56px; text-align: center; }

.lp-cruise-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: inherit;
    font-family: inherit;
}
.lp-cruise-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
    animation: lp-dragonfly-precision 1.15s ease-in-out infinite;
}
@keyframes lp-dragonfly-precision {
    0%, 100% { transform: translateY(0) translateX(0) rotate(-1deg); }
    35% { transform: translateY(-5px) translateX(2px) rotate(2deg); }
    70% { transform: translateY(-2px) translateX(-1px) rotate(0deg); }
}
@keyframes lp-snail-route {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.06); }
}

.lp-map-cruiser.premium .lp-cruise-img { filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)); }
.lp-map-cruiser.on-call .lp-cruise-chip { border-color: #18b090; }

.lp-cruise-chip {
    display: block;
    font-size: 0.62rem;
    line-height: 1.2;
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(10, 30, 24, 0.85);
    color: #f4e4c1;
    border: 1px solid rgba(212, 175, 55, 0.35);
    max-width: 72px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lp-cruise-premium { color: #ffd700; }
.lp-cruise-oncall { font-size: 0.58rem; color: #18b090; }

.lp-map-hut {
    position: absolute;
    z-index: 4;
    text-align: center;
    width: 64px;
}
.lp-map-hut img { width: 48px; height: 48px; object-fit: contain; }
.lp-map-hut span { display: block; font-size: 0.65rem; color: #d4af37; font-weight: 600; }
.lp-map-hut.founding-glow img,
.lp-pond-hut.founding-glow img {
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.85))
            drop-shadow(0 0 16px rgba(255, 215, 0, 0.45));
    animation: lp-founder-hut-pulse 3.2s ease-in-out infinite;
}
.lp-map-hut.founding-glow span,
.lp-pond-hut.founding-glow span {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.55);
}
@keyframes lp-founder-hut-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.75))
                drop-shadow(0 0 12px rgba(255, 215, 0, 0.35));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.95))
                drop-shadow(0 0 22px rgba(212, 175, 55, 0.65));
    }
}
.lp-founder-community-banner {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(24, 176, 144, 0.12));
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #f4e4c1;
    font-size: 0.85rem;
    line-height: 1.45;
}
.lp-founder-community-banner strong { color: #ffd700; }
.lp-founder-neighborhood .lp-map-stage,
.lp-founder-neighborhood.lp-map-stage {
    box-shadow: inset 0 0 24px rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}
.lp-contractor-row.founding-glow {
    border-left: 3px solid #d4af37;
    background: rgba(212, 175, 55, 0.06);
}

/* PM portfolio — Sagareus HQ hut + neighborhood property huts */
.lp-pm-neighborhood-scene .lp-pm-hq-hut {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    pointer-events: none;
}
.lp-pm-neighborhood-scene .lp-pm-hq-hut img {
    width: 88px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
    animation: lp-float 5s ease-in-out infinite;
}
.lp-pm-hq-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #d4af37;
    margin-top: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.lp-pm-hq-sub {
    display: block;
    font-size: 0.68rem;
    color: rgba(244, 228, 193, 0.85);
}
.lp-property-mini-hut {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    cursor: pointer;
    width: 52px;
}
.lp-property-mini-hut img {
    width: 28px;
    height: auto;
    opacity: 0.92;
}
.lp-property-mini-hut span {
    display: block;
    font-size: 0.55rem;
    color: rgba(244, 228, 193, 0.9);
    line-height: 1.15;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-district.lp-district-active {
    opacity: 1 !important;
    transform: scale(1.04);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.55);
}
.lp-district-count {
    font-size: 0.65rem;
    opacity: 0.85;
}
#pm-tenant-huts-section.lp-hidden-empty {
    display: none;
}
#pm-lily-pad-contractors {
    display: none;
}

.lp-pond-scene {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
}
.lp-pond-water {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(4, 191, 225, 0.25) 0%, rgba(24, 176, 144, 0.12) 70%, transparent 100%);
    animation: lp-pond-ripple 6s ease-in-out infinite;
}
@keyframes lp-pond-ripple {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.03); opacity: 1; }
}
.lp-pond-ring {
    position: absolute;
    inset: 12%;
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: 50%;
    pointer-events: none;
}
.lp-pond-hut {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
}
.lp-pond-hut img { width: 52px; }
.lp-pond-hut span { display: block; font-size: 0.7rem; color: #d4af37; }
.lp-pond-hut.founding-glow { animation: lp-founder-hut-pulse 3.2s ease-in-out infinite; }
.lp-pond-cruiser {
    left: var(--lp-x, 50%);
    top: var(--lp-y, 50%);
    animation: lp-pond-drift 14s ease-in-out infinite;
    animation-delay: var(--lp-delay, 0s);
}
@keyframes lp-pond-drift {
    0%, 100% { transform: translate(calc(-50% + 0px), calc(-50% + 0px)); }
    25% { transform: translate(calc(-50% + var(--lp-orbit, 12px)), calc(-50% - 8px)); }
    50% { transform: translate(calc(-50% - 6px), calc(-50% + var(--lp-orbit, 12px))); }
    75% { transform: translate(calc(-50% + 8px), calc(-50% + 4px)); }
}

.lp-contractor-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
}

.footer-lily-pond .marketplace-lily-cruise-stage {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}
.footer-lily-pond .marketplace-lily-cruise-stage .lp-map-cruiser,
.footer-lily-pond .marketplace-lily-cruise-stage .lp-pond-cruiser {
    pointer-events: auto;
}

/* Canonical lily pond scene — same layout as marketplace footer-lily-pond */
.footer-lily-pond.lp-pond-scene-wrap::after {
    display: none;
}
.footer-lily-pond.lp-pond-scene-wrap {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    padding-bottom: 100px;
    margin: 0 20px 14px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(4, 191, 225, 0.1) 0%, rgba(13, 76, 101, 0.28) 45%, rgba(26, 77, 62, 0.52) 100%),
        url('/static/images/bazaar/bazaar_pier_water_mist_background.png') center bottom / cover no-repeat;
    border: 1px solid rgba(212, 175, 55, 0.32);
    box-shadow: inset 0 0 48px rgba(4, 191, 225, 0.1);
}
.footer-lily-pond.lp-pond-scene-wrap .marketplace-lily-cruise-stage,
.footer-lily-pond.lp-pond-scene-wrap #lily-pad-map {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    min-height: 120px !important;
    max-height: 120px;
    z-index: 1;
    pointer-events: none;
    border: none;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, rgba(4, 191, 225, 0.12) 0%, rgba(24, 176, 144, 0.18) 60%, rgba(26, 77, 62, 0.35) 100%);
}
.footer-lily-pond.lp-pond-scene-wrap .lp-pond-scene {
    min-height: 120px;
    height: 100%;
}
.footer-lily-pond.lp-pond-scene-wrap .lp-map-cruiser,
.footer-lily-pond.lp-pond-scene-wrap .lp-pond-cruiser {
    pointer-events: auto;
}
.lp-scene-deco { pointer-events: none; }
.lp-scene-lamps {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 100px;
    height: auto;
    opacity: 0.8;
    z-index: 3;
}
.lp-scene-hut-left {
    position: absolute;
    left: 15%;
    bottom: 10px;
    width: 120px;
    height: auto;
    opacity: 0.9;
    z-index: 3;
}
.lp-scene-hut-right {
    position: absolute;
    right: 15%;
    bottom: 10px;
    width: 100px;
    height: auto;
    opacity: 0.9;
    z-index: 3;
}
.lp-scene-sign {
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 180px;
    height: auto;
    opacity: 0.95;
    z-index: 3;
}
.lp-scene-bunch {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: auto;
    opacity: 0.5;
    z-index: 2;
}
.lp-pond-scene-lore {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 58px;
    z-index: 4;
    text-align: center;
    margin: 0;
    pointer-events: none;
}
.lp-pond-scene-promo {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 80px;
    z-index: 4;
    margin: 0;
}
#lily-pad-pm-section {
    background:
        linear-gradient(135deg, rgba(26, 77, 62, 0.92) 0%, rgba(45, 106, 79, 0.9) 50%, rgba(26, 77, 62, 0.92) 100%),
        url('/static/images/bazaar/bazaar_pier_water_mist_background.png') center / cover no-repeat !important;
}

@media (max-width: 768px) {
    .lp-contractor-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .lp-contractor-row button {
        max-width: none !important;
        width: 100% !important;
    }
    .lp-cta-row button { flex: 1 1 100% !important; }
    #lily-pad-contractors,
    #pm-lily-pad-contractors,
    #contractor-lily-pad-network {
        max-height: none !important;
    }
    .lp-map-stage {
        min-height: 200px !important;
        height: 52vw !important;
        max-height: 280px !important;
    }
    .lp-map-stage.lp-marketplace-stage {
        height: 100px !important;
        min-height: 90px !important;
    }
    .lp-map-cruiser, .lp-pond-cruiser { transform: scale(0.92); }
    .footer-lily-pond.lp-pond-scene-wrap {
        min-height: 180px;
        padding-bottom: 80px;
        margin: 0 12px 12px;
    }
    .footer-lily-pond.lp-pond-scene-wrap .marketplace-lily-cruise-stage,
    .footer-lily-pond.lp-pond-scene-wrap #lily-pad-map {
        height: 100px !important;
        min-height: 90px !important;
        max-height: 100px;
    }
    .lp-scene-sign { width: 140px; }
    .lp-scene-hut-left { width: 88px; left: 8%; }
    .lp-scene-hut-right { width: 76px; right: 8%; }
    .lp-scene-lamps { width: 72px; }
    .lp-scene-bunch { width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-cruise-img, .lp-pond-cruiser, .lp-map-cruiser, .lp-dragonfly-glint,
    .lp-map-placeholder img, .lp-pond-water, .lp-bayou-water, .lp-bayou-fireflies span,
    .lp-pad-island { animation: none !important; }
}

/* ============================================================
   MARKETPLACE-MATCH NEIGHBORHOOD (PM + contractor dashboards)
   Pier mist + lily pad bunch + room for huts — NOT outer-space bayou
   ============================================================ */
.footer-lily-pond.lp-pond-scene-wrap.lp-neighborhood-tall {
    min-height: 380px;
    padding-bottom: 28px;
    margin: 0 16px 12px;
    background:
        linear-gradient(180deg, rgba(4, 40, 48, 0.25) 0%, rgba(13, 76, 101, 0.35) 40%, rgba(20, 90, 70, 0.45) 100%),
        url('/static/images/bazaar/bazaar_pier_water_mist_background.png') center bottom / cover no-repeat !important;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow:
        inset 0 0 60px rgba(4, 191, 225, 0.12),
        0 0 20px rgba(0, 0, 0, 0.25);
}
.footer-lily-pond.lp-pond-scene-wrap.lp-neighborhood-tall #lily-pad-map,
.footer-lily-pond.lp-pond-scene-wrap.lp-neighborhood-tall .marketplace-lily-cruise-stage {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    pointer-events: auto !important;
    border: none !important;
    border-radius: 12px !important;
    /* transparent so pier mist + deco huts/lamps/sign show through */
    background: transparent !important;
}
.footer-lily-pond.lp-pond-scene-wrap.lp-neighborhood-tall .lp-pond-scene {
    min-height: 100%;
    height: 100%;
}
/* Interactive neighborhood: glowing lily-pad islands (broll / marketplace spirit) */
.lp-neighborhood-stage .lp-pad-island,
.lp-marketplace-neighborhood .lp-pad-island {
    width: 64px;
    height: 52px;
    border-radius: 50% 50% 45% 45%;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(60, 180, 120, 0.55) 0%, rgba(10, 80, 60, 0.75) 55%, rgba(0, 40, 35, 0.5) 100%);
    box-shadow:
        0 0 0 3px rgba(0, 255, 200, 0.2),
        0 0 18px rgba(0, 255, 200, 0.35),
        inset 0 0 12px rgba(0, 255, 180, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.lp-neighborhood-stage .lp-pad-island img,
.lp-marketplace-neighborhood .lp-pad-island img {
    width: 42px !important;
    height: auto !important;
    margin-top: -18px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}
.lp-neighborhood-stage .lp-bayou-center-hut .lp-pad-island,
.lp-marketplace-neighborhood .lp-bayou-center-hut .lp-pad-island,
.lp-neighborhood-stage .lp-pm-hq-hut .lp-pad-island {
    width: 88px;
    height: 72px;
    box-shadow:
        0 0 0 4px rgba(255, 215, 0, 0.25),
        0 0 28px rgba(0, 255, 200, 0.45),
        inset 0 0 16px rgba(0, 255, 180, 0.2);
}
.lp-neighborhood-stage .lp-bayou-center-hut .lp-pad-island img,
.lp-marketplace-neighborhood .lp-pm-hq-hut .lp-pad-island img {
    width: 56px !important;
    margin-top: -22px;
}
/* Soft circuit network under pads (broll cue) — not full nebula */
.lp-neighborhood-stage .lp-pond-water,
.lp-marketplace-neighborhood .lp-pond-water {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 210, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, transparent 20%, rgba(0, 255, 200, 0.04) 21%, transparent 24%),
        radial-gradient(circle at 50% 50%, transparent 35%, rgba(0, 255, 200, 0.035) 36%, transparent 39%) !important;
    border-radius: 42% !important;
    box-shadow: inset 0 0 50px rgba(0, 200, 180, 0.1) !important;
}
.lp-neighborhood-stage.lp-bayou-network,
.lp-marketplace-neighborhood.lp-bayou-network,
#lily-pad-map.lp-marketplace-neighborhood {
    background: transparent !important;
}
.lp-neighborhood-stage .lp-bayou-circuits {
    opacity: 0.35;
}
.lp-neighborhood-stage .lp-pad-label {
    color: #f4e4c1;
    text-shadow: 0 1px 4px #000, 0 0 8px rgba(0, 255, 200, 0.4);
    font-size: 0.62rem;
    max-width: 90px;
}
