/*
 * 拟物化（Skeuomorphic）· 参考苹果 iOS 6 / OS X 时代
 * 光泽、金属凹槽、立体面板；正文排版保持可读
 */
:root {
  --text: #2c2c2e;
  --gray: #636366;
  --accent: #c41e12;
  --accent-dark: #8a150d;
  --chrome-top: #f9f9fb;
  --chrome-mid: #e4e4e8;
  --chrome-bottom: #c8c8ce;
  --panel-top: #fefefe;
  --panel-bottom: #ebebed;
  --panel-alt-top: #f2f2f5;
  --panel-alt-bottom: #dedee2;
  --inset-bg: rgba(0,0,0,0.04);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background-color: #8e8e93;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255,255,255,0.45), transparent 55%),
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(255,255,255,0.03) 1px, rgba(255,255,255,0.03) 2px),
    repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(0,0,0,0.02) 1px, rgba(0,0,0,0.02) 2px),
    linear-gradient(165deg, #a8a8ae 0%, #89888e 40%, #9b9ba0 100%);
  min-height: 100vh;
}

.container {
  max-width: 430px;
  margin: 0 auto;
  padding: 12px 12px 28px;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.cover {
  position: relative;
  height: 68vh;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.25rem;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 2px 4px rgba(0,0,0,0.12) inset,
    0 14px 28px rgba(0,0,0,0.35),
    0 4px 8px rgba(0,0,0,0.2);
}

.cover-bg {
  position: absolute;
  inset: 0;
  background: url('images/gugong.jpg') center/cover no-repeat;
  z-index: 0;
}

.cover-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.25);
}

.cover-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}

.cover-content h1 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.cover-content .subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1.15rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}

.cover-tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.cover-tag {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.1) 100%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 2px 6px rgba(0,0,0,0.25);
}

.section {
  padding: 18px 16px 22px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel-top) 0%, var(--panel-bottom) 100%);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 6px 16px rgba(0,0,0,0.14),
    0 1px 2px rgba(0,0,0,0.06);
}

.section-alt {
  background: linear-gradient(180deg, var(--panel-alt-top) 0%, var(--panel-alt-bottom) 100%);
}

.section-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: -6px -6px 16px;
  padding: 10px 14px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  color: #3a3a3c;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--chrome-top) 0%, var(--chrome-mid) 48%, var(--chrome-bottom) 100%);
  border: 1px solid #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 2px 5px rgba(0,0,0,0.1),
    0 1px 0 rgba(0,0,0,0.06);
  text-shadow: 0 1px 0 rgba(255,255,255,0.75);
}

.section-title::before {
  content: '';
  width: 5px;
  height: 1.15em;
  flex-shrink: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, #e85c4a 0%, var(--accent) 45%, var(--accent-dark) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 1px 2px rgba(0,0,0,0.25);
}

.overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--inset-bg);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,0.07),
    inset 0 1px 0 rgba(0,0,0,0.04);
}

.overview-table td {
  padding: 0.68rem 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: top;
}

.overview-table tr:last-child td { border-bottom: none; }

.overview-table td:first-child {
  width: 5rem;
  color: var(--gray);
  font-weight: 600;
  background: rgba(255,255,255,0.35);
}

.people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.person {
  padding: 12px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
  background: linear-gradient(180deg, #fff 0%, #f0f0f2 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 3px 8px rgba(0,0,0,0.1),
    0 1px 1px rgba(0,0,0,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.person:active {
  transform: scale(0.98);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 1px 4px rgba(0,0,0,0.12);
}

.person .name { font-weight: 700; color: #1c1c1e; }
.person .from { color: var(--gray); font-size: 0.8rem; margin-top: 4px; }

.route-card {
  background: linear-gradient(180deg, #fafafa 0%, #ececee 100%);
  border-radius: 14px;
  padding: 14px 14px;
  margin-bottom: 12px;
  border: 1px solid #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 4px 10px rgba(0,0,0,0.1),
    0 1px 1px rgba(0,0,0,0.05);
}

.route-title {
  font-weight: 800;
  font-size: 0.94rem;
  margin-bottom: 6px;
  color: #1c1c1e;
}

.route-detail {
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.82;
}

.route-arrow {
  color: var(--accent);
  font-weight: 700;
}

.day-block {
  margin-bottom: 24px;
  position: relative;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.day-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.32rem 0.72rem;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(180deg, #ff5a4d 0%, #d42a1c 45%, var(--accent-dark) 100%);
  border: 1px solid #7a120a;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 3px 6px rgba(0,0,0,0.28);
  text-shadow: 0 -1px 0 rgba(0,0,0,0.35);
}

.day-label {
  font-weight: 800;
  font-size: 0.98rem;
  color: #1c1c1e;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

/* 时间轴：轨道与圆点共用几何，避免圆点相对竖条「跑偏」 */
.schedule-list {
  --track-left: 10px;
  --track-w: 7px;
  --track-center: calc(var(--track-left) + var(--track-w) / 2);
  --row-pad-left: 22px;
  --dot-size: 14px;
  --dot-r: calc(var(--dot-size) / 2);

  position: relative;
  margin-left: 4px;
  padding: 10px 0 6px var(--row-pad-left);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.055) 0%, rgba(0,0,0,0.02) 18px, transparent 18px);
  border: 1px solid rgba(0,0,0,0.05);
  border-left: none;
  box-shadow:
    inset 4px 0 10px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

.schedule-list::before {
  content: '';
  position: absolute;
  left: var(--track-left);
  top: 8px;
  bottom: 8px;
  width: var(--track-w);
  border-radius: 5px;
  background: linear-gradient(90deg, #b0b0b6, #e8e8ec 45%, #b8b8be);
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.25),
    0 1px 0 rgba(255,255,255,0.8);
}

.schedule-item {
  position: relative;
  padding: 10px 0 10px 6px;
  font-size: 0.9rem;
}

.schedule-item + .schedule-item {
  border-top: 1px solid rgba(0,0,0,0.05);
}

.schedule-item::before {
  content: '';
  position: absolute;
  /* 圆心对齐 .schedule-list 内轨道中心：center - 内容区左缩进 - 点半径 */
  left: calc(var(--track-center) - var(--row-pad-left) - var(--dot-r));
  top: 50%;
  transform: translateY(-50%);
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  box-sizing: border-box;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #e8e8ea 28%, #c5c5c9 100%);
  border: 1px solid #8e8e93;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 2px 4px rgba(0,0,0,0.2);
  z-index: 1;
}

.schedule-item.highlight::before {
  background: radial-gradient(circle at 35% 25%, #ffd4cf 0%, var(--accent) 55%, var(--accent-dark) 100%);
  border-color: #6a1008;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 2px 6px rgba(196,30,18,0.45);
  /* 继承与普通节点相同的 left / transform，保证仍压在轨道正中 */
}

.schedule-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.93rem;
  font-weight: 700;
}

.schedule-time {
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.schedule-detail {
  color: var(--gray);
  font-size: 0.84rem;
}

.spot-card {
  background: linear-gradient(180deg, #fff 0%, #f4f4f6 100%);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 10px 24px rgba(0,0,0,0.14),
    0 2px 4px rgba(0,0,0,0.06);
}

.section-alt .spot-card {
  background: linear-gradient(180deg, #fafafa 0%, #ececee 100%);
}

.spot-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #fff;
  box-shadow: 0 2px 0 rgba(0,0,0,0.06);
}

.spot-info {
  padding: 14px 14px 16px;
}

.spot-info h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  font-weight: 800;
}

.spot-info p {
  font-size: 0.87rem;
  color: var(--gray);
  margin-bottom: 10px;
  line-height: 1.72;
}

.spot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spot-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 8px;
  color: #3a3a3c;
  background: linear-gradient(180deg, #fff 0%, #e8e8ec 100%);
  border: 1px solid #c6c6cc;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 2px 3px rgba(0,0,0,0.06);
}

.bath-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}

.bath-step {
  padding: 10px 10px;
  border-radius: 11px;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow:
    inset 0 2px 5px rgba(0,0,0,0.06),
    0 1px 0 rgba(255,255,255,0.9);
}

.section-alt .bath-step {
  background: rgba(255,255,255,0.75);
}

.bath-step .num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(180deg, #ff7a6e 0%, var(--accent) 50%, var(--accent-dark) 100%);
  border: 1px solid #7a120a;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 2px 4px rgba(0,0,0,0.2);
  text-shadow: 0 -1px 0 rgba(0,0,0,0.35);
}

.food-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  align-items: flex-start;
}

.food-item:last-child { border-bottom: none; }

.food-item img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.08),
    0 4px 10px rgba(0,0,0,0.15);
}

.food-text { flex: 1; min-width: 0; }

.food-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-weight: 800;
}

.food-text p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.68;
}

.stay-info {
  font-size: 0.9rem;
  list-style: none;
}

.stay-info li {
  padding: 8px 0 8px 26px;
  position: relative;
}

.stay-info li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, var(--accent) 40%, var(--accent-dark) 100%);
  border: 1px solid #7a120a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.highlight-box {
  background: linear-gradient(180deg, #fffef5 0%, #f2e8c8 100%);
  border: 1px solid #c9b896;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
  font-size: 0.88rem;
  line-height: 1.65;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 4px 12px rgba(0,0,0,0.12),
    0 1px 2px rgba(0,0,0,0.06);
}

.highlight-box strong {
  color: var(--accent-dark);
  font-weight: 800;
}

.notice-list {
  list-style: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.45);
}

.notice-list li {
  position: relative;
  padding: 12px 14px 12px 36px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
}

.notice-list li:last-child { border-bottom: none; }

.notice-list li::before {
  content: '⚠';
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 0.9rem;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.8));
}

.text-block {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 12px;
}

.text-block p { margin-bottom: 0.5rem; }

.footer {
  text-align: center;
  padding: 26px 18px 32px;
  margin-top: 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, #6d6d72 0%, #4a4a4f 35%, #3a3a3c 100%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 12px 28px rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 500;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.45);
}

.footer p + p { margin-top: 6px; }

.footer .update {
  margin-top: 18px;
  font-size: 0.74rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  text-shadow: none;
}

/* 扩展内容：纯文字卡片、短视频高频标签、行程备注 */
.info-card {
      background: linear-gradient(180deg, #fafafa 0%, #ececee 100%);
      border-radius: 14px;
      padding: 14px;
      margin-bottom: 14px;
      border: 1px solid #fff;
      box-shadow:
        0 1px 0 rgba(255,255,255,0.95) inset,
        0 4px 10px rgba(0,0,0,0.1),
        0 1px 1px rgba(0,0,0,0.05);
}

.info-card h4 {
      font-size: 0.98rem;
      font-weight: 800;
      color: #1c1c1e;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
}

.info-card p,
.info-card li {
      font-size: 0.85rem;
      color: var(--gray);
      line-height: 1.7;
}

.info-card ul {
      margin: 8px 0 0 1rem;
      padding: 0;
}

.info-card li { margin-bottom: 6px; }

.hot-tag {
      display: inline-block;
      font-size: 0.62rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      padding: 3px 7px;
      border-radius: 5px;
      background: linear-gradient(180deg, #ffe8a3 0%, #f5c542 100%);
      border: 1px solid #b8860b;
      color: #5c4300;
      box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
      flex-shrink: 0;
}

.subsection-title {
      font-size: 0.93rem;
      font-weight: 800;
      color: #1c1c1e;
      margin: 18px 0 10px;
      text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.schedule-note {
      margin-top: 8px;
      padding: 9px 11px;
      font-size: 0.8rem;
      color: var(--gray);
      line-height: 1.6;
      background: rgba(196,30,18,0.07);
      border-radius: 9px;
      border-left: 3px solid var(--accent);
}

.muted-note {
      font-size: 0.8rem;
      color: var(--gray);
      line-height: 1.65;
      margin-top: 10px;
      padding: 10px 12px;
      background: rgba(0,0,0,0.03);
      border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
}
