/* ===== 场景页面样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

.scene-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #fceef2;
  color: #333;
  min-height: 100vh;
  padding-bottom: 80px;
}

.scene-container {
  max-width: 520px;
  margin: 0 auto;
}

.scene-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #e87ba0, #d45f88);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;


}
.scene-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.scene-list {
  padding: 14px;
}
.loading {
  text-align: center;
  padding: 40px;
  color: #999;
}

.scene-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.scene-img-wrap {
  position: relative;
  width: 100%;
  background: #eee;
  cursor: pointer;
  overflow: hidden;
}
/* 横版图片完整展示：宽度铺满、高度按原图比例自适应，不裁切、不变形 */
.scene-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}
.scene-img-wrap:hover img { transform: scale(1.03); }
.scene-noimg {
  width: 100%;
  height: 190px;               /* 无图时给一个横版占位高度 */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 14px;
}
.scene-info {
  padding: 12px 16px;
}
.scene-name {
  font-size: 17px;
  font-weight: 700;
  color: #222;
}

/* 放大弹窗 */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 1001;
}
.lightbox-img {
  max-width: 92%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-caption {
  color: #fff;
  font-size: 16px;
  margin-top: 16px;
  text-align: center;
}

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(212,95,136,0.12);
  z-index: 9999;
  border-top: 1px solid #fce4ec;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #999;
  font-size: 11px;
  padding: 4px 12px;
}
.nav-item.active { color: #d45f88; }
.nav-icon { font-size: 20px; margin-bottom: 2px; }
.nav-label { font-size: 11px; }
