* {margin: 0;padding: 0;box-sizing: border-box;}
body {font-family: "Microsoft YaHei", sans-serif;overflow-x: hidden;overflow-y: auto;}
#mapContainer {width: 100vw !important;height: calc(100vh - 60px) !important;position: relative;}

/* ========== 顶部页眉 蓝天草原动态背景 ========== */
.bg-container {
    width: 100%;
    height: 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #a1d8f3 0%, #7fc7f5 100%);
}
/* 导航栏透明，叠加在动态背景上 */
.navbar {
    background: transparent !important;
    height: 100%;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}
.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
}
.navbar-brand {color: #fff !important;font-weight: bold;}

/* 草原 */
.grassland {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 18px;
    background: linear-gradient(to top, #2d912d 0%, #7ccd7c 100%);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
/* 帐篷 - 始终居中 */
.tent {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.tent-pole {
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: #a65b26;
}
.tent-main {
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 28px solid #f7e8c8;
}
.tent-door {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 16px;
    background: #8b4513;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
/* 树林 */
.woods {
    position: absolute;
    bottom: 0;
    left: calc(50% + 28px);
    width: calc(50% - 28px);
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: end;
    gap: 5px;
    z-index: 1;
}
.tree {position: relative;}
.tree::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #8B4513;
}
.tree::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 16px solid #32CD32;
}
}
.tree-1 { transform: scale(1); }
.tree-2 { transform: scale(1.2); }
.tree-3 { transform: scale(1.1); }
.tree-4 { transform: scale(0.9); }
.tree-5 { transform: scale(1.15); }
/* 云朵样式 */
.cloud {
    position: absolute;
    background: #ffffff;
    border-radius: 100px;
    z-index: 0;
}
.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
}
.cloud-1 {
    width: 35px;
    height: 12px;
    top: 8px;
    left: -50px;
    animation: cloud-move 10s linear infinite;
}
.cloud-1::before { width: 18px; height: 18px; top: -9px; left: 6px; }
.cloud-1::after { width: 15px; height: 15px; top: -6px; right: 6px; }

.cloud-2 {
    width: 28px;
    height: 10px;
    top: 20px;
    left: -100px;
    animation: cloud-move 8s linear infinite;
    animation-delay: 1s;
}
.cloud-2::before { width: 14px; height: 14px; top: -7px; left: 5px; }
.cloud-2::after { width: 12px; height: 12px; top: -4px; right: 5px; }

.cloud-3 {
    width: 22px;
    height: 8px;
    top: 4px;
    left: -80px;
    animation: cloud-move 6s linear infinite;
    animation-delay: 2s;
}
.cloud-3::before { width: 11px; height: 11px; top: -5px; left: 4px; }
.cloud-3::after { width: 9px; height: 9px; top: -3px; right: 4px; }

.cloud-4 {
    width: 30px;
    height: 10px;
    top: 12px;
    left: -120px;
    animation: cloud-move 9s linear infinite;
    animation-delay: 0.5s;
}
.cloud-4::before { width: 16px; height: 16px; top: -8px; left: 5px; }
.cloud-4::after { width: 13px; height: 13px; top: -5px; right: 5px; }

.cloud-5 {
    width: 25px;
    height: 9px;
    top: 16px;
    left: -90px;
    animation: cloud-move 7s linear infinite;
    animation-delay: 1.5s;
}
.cloud-5::before { width: 12px; height: 12px; top: -6px; left: 4px; }
.cloud-5::after { width: 10px; height: 10px; top: -4px; right: 4px; }

.cloud-6 {
    width: 18px;
    height: 7px;
    top: 7px;
    left: -60px;
    animation: cloud-move 5s linear infinite;
    animation-delay: 2.5s;
}
.cloud-6::before { width: 8px; height: 8px; top: -4px; left: 3px; }
.cloud-6::after { width: 7px; height: 7px; top: -2px; right: 3px; }

/* 🔥 修复云朵动画：从左到右完整贯穿屏幕 */
@keyframes cloud-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

/* ========== 新增：地图左上角搜索框样式 ========== */
.map-search-wrap {
    position: absolute;
    top: 65px;
    left: 3px;
    z-index: 999;
    width: 200px;
    max-width: calc(100% - 30px);
}
.map-search-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 14px;
    outline: none;
}
.map-search-suggest {
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    margin-top: 2px;
    display: none;
}
.suggest-item {
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
}
.suggest-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}
.suggest-item:hover {
    background-color: #f0f7ff;
}
.suggest-name {
    font-weight: 500;
    color: #222;
}
.suggest-address {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* ========== 原有样式继续保留 ========== */
.camp-info {width: 280px;padding: 10px;position: relative;}
.carousel-box {position: relative;width: 100%;height: 160px;border-radius: 6px;overflow: hidden;margin-bottom: 8px;}
.carousel-item {width: 100%;height: 100%;object-fit: cover;display: none;}
.carousel-item.active {display: block;}
.carousel-arrow {position: absolute;top: 50%;transform: translateY(-50%);width: 28px;height: 28px;background: rgba(0,0,0,0.5);color: #fff;border: none;border-radius: 50%;cursor: pointer;z-index: 2;font-size: 14px;display: flex;align-items: center;justify-content: center;}
.prev-btn {left: 5px;}
.next-btn {right: 5px;}
.no-img {width: 100%;height: 160px;display: flex;align-items: center;justify-content center;background: #f5f5f5;color: #666;border-radius: 6px;margin-bottom: 8px;}
.photo-preview {display: flex;gap: 5px;flex-wrap: wrap;margin-top: 8px;}
.photo-item {width: 60px;height: 60px;position: relative;border-radius: 4px;overflow: hidden;}
.photo-item img {width: 100%;height: 100%;object-fit: cover;}
.del-photo-btn {position: absolute;top: 0;right: 0;background: #dc3545;color: #fff;border: none;width: 18px;height: 18px;font-size: 12px;line-height: 18px;text-align: center;cursor: pointer;}

.camp-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-btn {
    font-size: 12px;
    padding: 2px 6px;
    background-color: #00b42a;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    border: none;
    cursor: pointer;
}
.nav-btn:hover {
    background-color: #009c23;
    color: #fff;
    text-decoration: none;
}

.camp-time {font-size: 12px;color: #666;margin-bottom: 4px;}
.camp-visit {font-size: 12px;color: #0d6efd;margin-bottom: 4px;font-weight: bold;}
.camp-desc {font-size: 12px;margin-bottom: 8px;}
.btn-group {display: flex;gap: 5px;}
.edit-btn {flex:1;background: #0d6efd;color: white;border: none;padding: 5px;border-radius: 4px;font-size: 12px;cursor: pointer;}
.del-btn {flex:1;background: #dc3545;color: white;border: none;padding: 5;border-radius: 4px;font-size: 12px;cursor: pointer;}

/* 底部筛选按钮 */
.map-tip {position: absolute;bottom: 20px;left: 50%;transform: translateX(-50%);background: rgba(0,0,0,0.6);padding: 6px 12px;border-radius: 20px;z-index: 10;gap: 8px;}
.filter-btn {border: none;background: transparent;color: #fff;font-size: 14px;padding: 4px 10px;border-radius: 15px;cursor: pointer;transition: all 0.2s;}
.filter-btn.active {background: rgba(255,255,255,0.2);font-weight: bold;}
.filter-btn:hover {background: rgba(255,255,255,0.1);}

.visit-times-list {
    max-height: 120px;
    overflow-y: auto;
    padding: 5px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-top: 5px;
}
.visit-time-item {
    font-size: 12px;
    padding: 3px 0;
    border-bottom: 1px dashed #eee;
}
.amap-info-outer,
.amap-menu-outer {
  box-shadow:0 1px 2px rgba(0,0,0,.1);
  background:none repeat scroll 0 0 #fff;
  border-radius:22px;
  padding:1px;
  text-align:left
}
.amap-info-close {
  position:absolute;
  right:5px;
  top:5px;
  color:#c3c3c3;
  text-decoration:none;
  font:700 16px/14px Tahoma,Verdana,sans-serif;
  width:14px;
  height:14px;
  cursor:pointer;
  background-color: #000;
  border-radius: 50%;
}
.type-badge {
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-right: 5px;
}
.badge-camp {
    background-color: #dc3545;
    color: #fff;
}
.badge-play {
    background-color: #198754;
    color: #fff;
}
.amap-info-close {
  position:absolute;
  right:7px;
  top:5px;
  color:#c3c3c3;
  text-decoration:none;
  font:736 30px/22px Tahoma,Verdana,sans-serif;
  width:25px;
  height:25px;
  cursor:pointer;
  background-color: #000;
  border-radius: 50%;
}
/* 弹窗动效卡片 */
.card {
  position: relative;
  width: 100%;
  border-radius: 14px;
  z-index: 1;
  overflow: hidden;
  box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}
.bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  z-index: 2;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(24px);
  border-radius: 10px;
  overflow: hidden;
  outline: 2px solid white;
}
.blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #ff0000;
  opacity: 1;
  filter: blur(12px);
  animation: blob-bounce 5s infinite ease;
}
@keyframes blob-bounce {
  0% { transform: translate(-100%, -100%) translate3d(0, 0, 0); }
  25% { transform: translate(-100%, -100%) translate3d(100%, 0, 0); }
  50% { transform: translate(-100%, -100%) translate3d(100%, 100%, 0); }
  75% { transform: translate(-100%, -100%) translate3d(0, 100%, 0); }
  100% { transform: translate(-100%, -100%) translate3d(0, 0, 0); }
}
.login-content {
  position: relative;
  z-index: 15;
}
.bg-primary {  --bs-bg-opacity: 1;  background-color: rgba(13, 110, 253, 0) !important;}
.text-white {
    --bs-text-opacity: 1;
    color: rgb(0, 0, 0) !important;
}
/* 弹窗居中 */
.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 1rem);
    margin: 0.5rem auto;
}
.modal-content {
    max-width: 85%;
    margin: 0 auto;
    outline: 0;
    border: 0;
}
.amap-info-outer,
.amap-menu-outer {
  box-shadow:9px 12px 7px rgba(0, 0, 0, 0.53);
  background:none repeat scroll 0 0 #ffffffed;
  border-radius:23px;
  padding:1px;
  text-align:left
}
.amap-info-contentContainer:hover .amap-info-outer,
.amap-menu-outer:hover {
  box-shadow:9px 12px 7px rgba(0, 0, 0, 0.53);
}
.carousel-item.active { display: block;border-radius:23px;}
.nav-btn { background-color: #0084fd;}
.bg-success {
  --bs-bg-opacity: 1;
  background-color: rgba(25, 135, 84, 0) !important;
}
/* ========== 点赞心形图标样式 ========== */
.camp-info {
    width: 280px;
    padding: 10px;
    position: relative;
}

/* 点赞容器：固定在卡片左上角 */
.like-wrap {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
}

/* 把点赞爱心替换成图片 */
/*
.heart-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.heart-empty {
    background-image: url("heart_empty.png");
}
.heart-fill {
    background-image: url("heart_fill.png");
}*/

/* 空心爱心 & 实心爱心 通用样式 */
.heart-icon {
    font-size: 20px;
    line-height: 1;
    transition: all 0.2s ease;
}

/* 未点赞：空心爱心 */
.heart-empty {
    color: #999;
}
.heart-empty:hover {
    color: #ff4757;
    transform: scale(1.1);
}

/* 已点赞：实心爱心 */
.heart-fill {
    color: #ff4757;
    transform: scale(1.05);
}

/* 点赞数字 */
.like-num {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}