* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: #f4f6f9 url("images/bg.jpg") center/cover fixed no-repeat;
  color: #1f2a44;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  z-index: -1;
}

.topbar {
  background: #e8533f;
  color: #fff;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar .title { font-size: 20px; font-weight: 700; }
.topbar .summary { font-size: 14px; opacity: .9; }

.tab-bar {
  padding: 10px 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.tab-row {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #e3e8f0;
}
.tab-row.sub {
  padding-left: 8px;
  border-bottom: none;
  margin-top: 2px;
}
.tab {
  appearance: none;
  border: 1px solid #e3e8f0;
  border-bottom: none;
  background: #eef2f7;
  color: #4a5468;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  position: relative;
  top: 1px;
  transition: background .15s, color .15s;
}
.tab:hover { background: #e2e9f3; }
.tab.active {
  background: #fff;
  color: #1f6feb;
  font-weight: 700;
  border-color: #e3e8f0;
}
/* 第二级 Tab 更小 */
.tab-row.sub .tab {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 6px 6px 0 0;
  border: 1px solid transparent;
  background: transparent;
  color: #6b7890;
}
.tab-row.sub .tab:hover { background: #eef2f7; color: #4a5468; }
.tab-row.sub .tab.active {
  background: #fdeeeb;
  color: #1f6feb;
  font-weight: 600;
}

.layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.map-panel { display: flex; flex-direction: column; gap: 14px; }

.map-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  background: #ddd;
}
.map-base {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #cfd8e8;
}

.route-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hotspots { position: absolute; inset: 0; }
.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8533f;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: transform .15s, background .15s;
  z-index: 2;
}
.hotspot:hover { transform: translate(-50%, -50%) scale(1.15); }
.hotspot.active { background: #e8533f; }
.hotspot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(232,83,63,.5);
  animation: pulse 1.6s ease-out infinite;
}
.hotspot.active::after { border-color: rgba(232,83,63,.6); }
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.stepper { display: flex; gap: 8px; flex-wrap: wrap; }
.step {
  flex: 1;
  min-width: 140px;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 13px;
  transition: border-color .15s, background .15s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-head {
  display: flex;
  align-items: baseline;
  font-weight: 600;
}
.step .num { color: #1f6feb; font-weight: 700; margin-right: 4px; }
.step-time { font-size: 12px; color: #6b7890; }
.step.active { border-color: #e8533f; background: #fdeeeb; }
.step.active .step-time { color: #1f6feb; font-weight: 500; }

.detail-panel {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 20px;
  align-self: start;
}
.node-badge {
  align-self: flex-start;
  background: #eef4ff;
  color: #1f6feb;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.node-photo {
  width: 100%;
  border-radius: 8px;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #eee;
}
.node-title { font-size: 18px; }
.node-desc { font-size: 15px; color: #4a5468; }

.nav-buttons { display: flex; gap: 10px; margin-top: 6px; }
.nav-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #e8533f;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.nav-buttons button:hover { background: #d13d28; }
.nav-buttons button:disabled { background: #c5cdda; cursor: not-allowed; }

@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
}

/* ========== 景点推荐 ========== */
.attractions {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 20px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.attractions-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}
.attractions-scroll::-webkit-scrollbar {
  height: 6px;
}
.attractions-scroll::-webkit-scrollbar-thumb {
  background: #c5cdda;
  border-radius: 3px;
}
.attraction-card {
  flex: 0 0 auto;
  width: 240px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  scroll-snap-align: start;
}
.attraction-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.attraction-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #dfe6f0;
}
.attraction-info { padding: 12px 14px 14px; }
.attraction-name {
  font-size: 15px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 4px;
}
.attraction-summary {
  font-size: 13px;
  color: #6b7890;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 景点详情弹窗 */
.attraction-detail {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.attraction-detail[hidden] { display: none; }
.detail-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .15s;
}
.detail-close:hover { background: #fff; }
.detail-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 0;
  animation: detailIn .2s ease-out;
}
@keyframes detailIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.detail-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
  background: #dfe6f0;
}
.detail-name {
  font-size: 20px;
  font-weight: 700;
  padding: 18px 24px 8px;
  color: #1f2a44;
}
.detail-desc {
  padding: 0 24px;
  font-size: 14px;
  color: #4a5468;
  line-height: 1.7;
  white-space: pre-line;
}
.detail-plans {
  padding: 16px 24px 24px;
}
.detail-plans h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1f6feb;
}
.plan-item {
  background: #f4f6f9;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #4a5468;
  line-height: 1.6;
}
.plan-item strong { color: #1f2a44; }

.detail-address {
  padding: 0 24px 4px;
  font-size: 13px;
  color: #6b7890;
  line-height: 1.6;
}

.detail-nav {
  display: flex;
  gap: 10px;
  padding: 12px 24px 24px;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: opacity .15s, transform .1s;
}
.nav-btn:hover { opacity: .88; transform: translateY(-1px); }
.nav-btn.baidu { background: #2319dc; }
.nav-btn.amap { background: #00b7eb; }

/* 美食区域 */
.foods {
  max-width: 1200px;
  margin: 28px auto 40px;
  padding: 0 20px;
}

.food-card {
  border-top: 3px solid #e8533f;
}
.food-card:hover {
  border-top-color: #d13d28;
}

.food-meta {
  display: flex;
  gap: 12px;
  padding: 10px 24px;
  flex-wrap: wrap;
}
.meta-item {
  background: #f4f6f9;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 13px;
  color: #4a5468;
}

/* 右下角水印 */
.watermark {
  position: fixed;
  right: 16px;
  bottom: 12px;
  z-index: 999;
  font-size: 18px;
  font-weight: 600;
  color: rgba(31, 42, 68, .6);
  letter-spacing: .5px;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 1px 2px rgba(255, 255, 255, .7);
}

/* ========== 活动场地图 ========== */
.venue {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 20px;
  animation: fadeUp .5s ease-out both;
}
.venue-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(31, 42, 68, .12);
  background: #ddd;
  transition: box-shadow .3s ease;
}
.venue-wrap:hover {
  box-shadow: 0 12px 36px rgba(31, 42, 68, .18);
}
.venue-base {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #cfd8e8;
  transition: transform .6s ease, filter .3s ease;
}
.venue-wrap:hover .venue-base {
  transform: scale(1.03);
  filter: brightness(.96);
}
.venue-zones { position: absolute; inset: 0; }
.venue-zone {
  position: absolute;
  transform: translate(-50%, -50%) scale(0);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8533f;
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(232, 83, 63, .4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background .2s, box-shadow .2s;
  z-index: 2;
  animation: popIn .4s ease-out both;
}
.venue-zone:hover {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 6px 18px rgba(232, 83, 63, .55);
}
.venue-zone.active {
  background: #e8533f;
  box-shadow: 0 6px 18px rgba(232, 83, 63, .55);
}
.venue-zone::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(232, 83, 63, .55);
  animation: pulse 1.8s ease-out infinite;
}
.venue-zone.active::after { border-color: rgba(232, 83, 63, .6); }
/* hover 时显示区域名 tooltip */
.venue-zone::before {
  content: attr(data-label);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(31, 42, 68, .92);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.venue-zone:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.venue-hint {
  font-size: 13px;
  color: #6b7890;
  margin-top: 12px;
  padding-left: 4px;
}
.venue-detail {
  margin-top: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fff 0%, #fff8f6 100%);
  border-left: 4px solid #e8533f;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: slideDown .3s ease-out both;
}
.venue-detail[hidden] { display: none; }
.venue-detail strong {
  color: #1f2a44;
  font-size: 15px;
  font-weight: 700;
}
.venue-detail span {
  color: #4a5468;
  font-size: 14px;
  line-height: 1.6;
}

/* ========== 活动时间表 ========== */
.schedule {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 20px;
  animation: fadeUp .5s ease-out .05s both;
}
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
/* 垂直时间轴线 */
.schedule-list::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, #e8533f 0%, #d13d28 100%);
  opacity: .25;
}
.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  border-left: 4px solid transparent;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: fadeInLeft .4s ease-out both;
}
.schedule-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #e8533f;
  transition: background .25s, transform .25s, border-color .25s;
}
.schedule-item:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 22px rgba(232, 83, 63, .12);
  border-left-color: #e8533f;
}
.schedule-item:hover::before {
  background: #e8533f;
  transform: scale(1.25);
}
.sch-time {
  flex: 0 0 130px;
  font-size: 14px;
  font-weight: 700;
  color: #1f6feb;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: .3px;
  padding-top: 2px;
}
.sch-body { flex: 1; min-width: 0; }
.sch-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 5px;
  transition: color .2s;
}
.schedule-item:hover .sch-title { color: #1f6feb; }
.sch-meta {
  font-size: 13px;
  color: #6b7890;
  margin-bottom: 5px;
}
.sch-desc {
  font-size: 14px;
  color: #4a5468;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .schedule-list::before { left: 6px; }
  .schedule-item { flex-direction: column; gap: 6px; padding-left: 24px; }
  .schedule-item::before { left: 0; }
  .sch-time { flex: none; }
}

/* ========== 舞台节目表 ========== */
.performances {
  max-width: 1200px;
  margin: 28px auto 40px;
  padding: 0 20px;
  animation: fadeUp .5s ease-out .1s both;
}
.perf-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(31, 42, 68, .08);
}
.perf-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.perf-table th,
.perf-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #eef1f6;
  font-size: 14px;
}
.perf-table thead th {
  background: linear-gradient(135deg, #e8533f 0%, #f06d56 100%);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}
.perf-table tbody tr {
  animation: fadeInRow .4s ease-out both;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.perf-table tbody tr:last-child td { border-bottom: none; }
.perf-table tbody tr:hover {
  background: linear-gradient(90deg, #fdeeeb 0%, #fef7f5 100%);
  transform: translateX(4px);
  box-shadow: -3px 0 0 0 #e8533f inset;
}
.perf-table td:first-child {
  text-align: center;
  width: 60px;
}
/* 序号圆形 badge */
.perf-table td:first-child::before {
  content: counter(perf, decimal-leading-zero);
  counter-increment: perf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fdeeeb;
  color: #1f6feb;
  font-size: 12px;
  font-weight: 700;
  transition: background .25s, color .25s, transform .25s;
}
.perf-table tbody tr:hover td:first-child::before {
  background: #e8533f;
  color: #fff;
  transform: scale(1.1);
}
.perf-table td:nth-child(2) {
  white-space: nowrap;
  color: #4a5468;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.perf-table td:nth-child(3) {
  color: #1f2a44;
  font-weight: 600;
}
.perf-table td:nth-child(5) {
  white-space: nowrap;
  color: #6b7890;
  font-size: 13px;
}
.perf-table tbody { counter-reset: perf; }

/* ========== 通用动画 ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRow {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0%   { transform: translate(-50%, -50%) scale(0); }
  60%  { transform: translate(-50%, -50%) scale(1.2); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
