:root {
  --c-primary: #2d7f98;
  --c-bg: #fffdf8;
  --c-bg-soft: #f4f8f8;
  --c-text: #1f2a28;
  --c-subtext: #60727a;
  --c-accent: #e1a34f;
  --c-line: #dce8e8;
  --c-white: #ffffff;
  --shadow: 0 10px 28px rgba(45, 127, 152, 0.16);
  --radius: 8px;
  --container: 1200px;
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--c-text);
  background:
    radial-gradient(circle at 90% 10%, rgba(225, 163, 79, 0.15), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(45, 127, 152, 0.1), transparent 45%),
    var(--c-bg);
  font-family: "Noto Sans SC", sans-serif;
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  margin-top: 10px;
  background: linear-gradient(90deg, #d2a055, #7cb19f);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 12px;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section .container > p,
.section .container > h2,
.section .container > h1 {
  max-width: 860px;
}

.tone {
  background:
    linear-gradient(180deg, transparent, rgba(210, 160, 85, 0.09) 15%, transparent),
    repeating-linear-gradient(90deg, transparent, transparent 36px, rgba(231, 221, 200, 0.16) 36px, rgba(231, 221, 200, 0.16) 37px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(231, 221, 200, 0.9);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-primary);
  min-width: 200px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

.logo-cn {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.03em;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
}

.main-nav a {
  text-decoration: none;
  color: var(--c-text);
  font-size: 0.96rem;
  transition: color 0.25s ease, background 0.25s ease;
  padding: 6px 10px;
  border-radius: 999px;
}

.main-nav a:hover {
  color: var(--c-primary);
  background: rgba(47, 107, 95, 0.08);
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: var(--radius);
  padding: 0 22px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #2d7f98, #4cae9c);
  color: var(--c-white);
}

.btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 8px 18px rgba(47, 107, 95, 0.24);
}

.btn-secondary {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover {
  background: rgba(47, 107, 95, 0.12);
}

.nav-book {
  margin-left: 10px;
}

.booking-disabled {
  border-color: rgba(96, 114, 122, 0.45);
  background: rgba(96, 114, 122, 0.12);
  color: #60727a;
  cursor: not-allowed;
  box-shadow: none;
}

.booking-disabled:hover {
  filter: none;
  box-shadow: none;
  background: rgba(96, 114, 122, 0.12);
}

.hero {
  position: relative;
  min-height: 760px;
  padding-top: 30px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(45, 127, 152, 0.45), rgba(45, 127, 152, 0.22)),
    linear-gradient(120deg, #bde4e2, #88c8bc 50%, #65b3a6);
  z-index: -1;
}

.hero-home .hero-bg {
  background:
    linear-gradient(to bottom, rgba(16, 42, 71, 0.46), rgba(16, 42, 71, 0.26)),
    url("./assets/exterior/hotel-exterior.jpg") center/cover no-repeat;
}

.hero-rooms .hero-bg {
  background:
    linear-gradient(to bottom, rgba(62, 141, 162, 0.46), rgba(62, 141, 162, 0.24)),
    linear-gradient(120deg, #d0ebe7, #9fd4cb 48%, #7cbcb1);
}

.hero-itinerary .hero-bg {
  background:
    linear-gradient(to bottom, rgba(73, 136, 151, 0.45), rgba(73, 136, 151, 0.22)),
    linear-gradient(120deg, #c8e4dd, #8ec3b8 50%, #6ca79c);
}

.hero-jianmenguan .hero-bg {
  background:
    linear-gradient(to bottom, rgba(58, 108, 91, 0.48), rgba(58, 108, 91, 0.22)),
    linear-gradient(120deg, #d4e5d4, #8eb89a 50%, #5e9e6e);
}

.hero-cuiyunlang .hero-bg {
  background:
    linear-gradient(to bottom, rgba(77, 120, 83, 0.46), rgba(77, 120, 83, 0.2)),
    linear-gradient(120deg, #c8ddc1, #8fb88a 50%, #689e5a);
}

.hero-zhaohua .hero-bg {
  background:
    linear-gradient(to bottom, rgba(108, 85, 55, 0.45), rgba(108, 85, 55, 0.2)),
    linear-gradient(120deg, #e8dbc5, #c4a97d 50%, #a0855a);
}

.hero-hiking .hero-bg {
  background:
    linear-gradient(to bottom, rgba(62, 95, 108, 0.46), rgba(62, 95, 108, 0.2)),
    linear-gradient(120deg, #c8dae0, #8aafba 50%, #5d8a97);
}

.hero-news .hero-bg {
  background:
    linear-gradient(to bottom, rgba(62, 122, 165, 0.44), rgba(62, 122, 165, 0.2)),
    linear-gradient(120deg, #cde4f0, #9fc6de 50%, #79accf);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 38%),
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.16), transparent 34%);
}

.hero-inner {
  color: var(--c-white);
  padding-top: 100px;
  max-width: 760px;
  text-shadow: 0 2px 14px rgba(16, 66, 80, 0.25);
}

.hero-kicker {
  margin-bottom: 14px;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-rooms .hero-kicker {
  color: rgba(255, 247, 228, 0.95);
}

.hero-itinerary .hero-kicker {
  color: rgba(234, 255, 247, 0.95);
}

.hero-news .hero-kicker {
  color: rgba(234, 246, 255, 0.95);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.93);
  max-width: 680px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.booking-bar {
  margin-top: 64px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(3px);
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.booking-bar button {
  grid-column: 1 / -1;
}

.booking-bar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--c-subtext);
  font-size: 0.82rem;
}

.booking-bar select,
.booking-bar input {
  height: 38px;
  font-size: 0.85rem;
}

input {
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 0 12px;
  font-family: inherit;
  background: #fff;
}

select {
  height: 36px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 0 10px;
  font-family: inherit;
  background: #fff;
  font-size: 0.85rem;
  color: var(--c-text);
  max-width: 100%;
}

.toolbar select,
.news-filter-controls select,
.admin-search-row select {
  max-width: 160px;
  min-width: 0;
  width: auto;
}

.toolbar select {
  max-width: 140px;
}

textarea {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-family: inherit;
  background: #fff;
  resize: vertical;
}

textarea:focus {
  outline: none;
  border-color: var(--c-primary);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--c-primary);
}

.eyebrow {
  margin-bottom: 8px;
  color: #c89244;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.section-lead {
  color: var(--c-subtext);
}

.split {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.split.reverse .content {
  order: 1;
}

.split.reverse .media {
  order: 2;
}

.media {
  min-height: 340px;
  border-radius: 10px;
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
}

.media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.hiking-media {
  background:
    linear-gradient(rgba(45, 127, 152, 0.2), rgba(45, 127, 152, 0.1)),
    linear-gradient(145deg, #cde5de, #9ccfc3);
}

.tea-media {
  background:
    linear-gradient(rgba(225, 163, 79, 0.18), rgba(45, 127, 152, 0.15)),
    linear-gradient(145deg, #f0d9ae, #a9d1c9);
}

.map-media {
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(
      45deg,
      rgba(210, 160, 85, 0.2),
      rgba(210, 160, 85, 0.2) 8px,
      rgba(47, 107, 95, 0.14) 8px,
      rgba(47, 107, 95, 0.14) 16px
    );
  position: relative;
  overflow: hidden;
}

.map-media::after {
  content: "紫金大酒店 · 剑门关目的地";
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #305b51;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(136, 184, 168, 0.55);
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--c-subtext);
  font-size: 0.85rem;
}

.text-link {
  color: var(--c-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 58, 54, 0.4);
}

.card-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stats-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.room-gallery-scroll {
  margin-top: 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 42vw);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.room-shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
  background: #fff;
  scroll-snap-align: start;
}

.room-shot img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  cursor: zoom-in;
}

.stat-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 16px;
  text-align: center;
}

.stat-card h3 {
  font-size: 2rem;
  margin-bottom: 6px;
  color: var(--c-primary);
}

.stat-card p {
  margin: 0;
  color: var(--c-subtext);
}

.timeline {
  margin-top: 24px;
  border-left: 2px solid var(--c-line);
  padding-left: 18px;
  display: grid;
  gap: 14px;
}

.time-item {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
  position: relative;
}

.time-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-accent);
  position: absolute;
  left: -24px;
  top: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(231, 221, 200, 1);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(47, 107, 95, 0.18);
}

.room-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
}

.room-main ul {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.room-main li {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  color: var(--c-subtext);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.service-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(45, 127, 152, 0.08);
}

.badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(225, 163, 79, 0.16);
  color: #9e6f2f;
  font-size: 0.78rem;
}

.quote-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.gallery-item {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.g1 {
  grid-row: 1 / 3;
  background: linear-gradient(rgba(47, 107, 95, 0.25), rgba(47, 107, 95, 0.12)), linear-gradient(145deg, #b7d2c8, #83b2a3);
}

.g2 {
  background: linear-gradient(rgba(210, 160, 85, 0.22), rgba(47, 107, 95, 0.14)), linear-gradient(135deg, #dbc79f, #88ad9f);
}

.g3 {
  background: linear-gradient(rgba(47, 107, 95, 0.14), rgba(47, 107, 95, 0.14)), linear-gradient(135deg, #e0d0b4, #9fc3b5);
}

.g4 {
  grid-column: 2 / 4;
  background: linear-gradient(rgba(47, 107, 95, 0.14), rgba(47, 107, 95, 0.2)), linear-gradient(115deg, #c3d8ba, #81ae9a);
}

blockquote {
  margin: 0;
  border-left: 3px solid rgba(176, 138, 87, 0.7);
  padding: 14px 14px 14px 16px;
  color: #3f3f3f;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.traffic-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.traffic-list li {
  margin-bottom: 10px;
  color: #333;
}

.traffic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.arrival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.arrival-card {
  border: 1px solid rgba(127, 187, 170, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 249, 245, 0.95));
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(45, 127, 152, 0.08);
}

.arrival-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #25463f;
}

.arrival-card p {
  margin: 0;
  color: #466a63;
  font-size: 0.93rem;
}

.qr-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qr-card {
  border: 1px solid rgba(127, 187, 170, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 249, 245, 0.95));
  border-radius: 10px;
  padding: 12px;
}

.qr-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #25463f;
}

.qr-card img {
  width: 160px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(127, 187, 170, 0.35);
  display: block;
}

.qr-card p {
  margin: 8px 0 0;
  color: #466a63;
  font-size: 0.9rem;
}

.traffic-table-wrap {
  margin-top: 18px;
  border: 1px solid rgba(127, 187, 170, 0.35);
  border-radius: 10px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 251, 247, 0.94));
}

.traffic-table-title {
  margin: 0 0 10px;
  color: #25463f;
  font-size: 1rem;
}

.traffic-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.92);
}

.traffic-table th,
.traffic-table td {
  border: 1px solid rgba(127, 187, 170, 0.28);
  padding: 10px 12px;
  text-align: left;
  color: #355e55;
  font-size: 0.92rem;
}

.traffic-table th {
  background: rgba(152, 212, 194, 0.22);
  color: #284c43;
}

.traffic-note {
  margin: 10px 0 0;
  color: #5b7d74;
  font-size: 0.84rem;
}

.faq-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(45, 127, 152, 0.08);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: #22352f;
}

.faq-list p {
  margin-top: 10px;
  color: var(--c-subtext);
}

.news-pager {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.news-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}

.news-filter-panel {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(127, 187, 170, 0.35);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 249, 246, 0.92));
  box-shadow: 0 8px 24px rgba(45, 127, 152, 0.08);
}

.news-filter-row {
  display: grid;
  grid-template-columns: clamp(92px, 11vw, 120px) 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.news-filter-row:last-child {
  margin-bottom: 0;
}

.news-filter-label {
  color: #355e55;
  font-weight: 600;
  font-size: 0.9rem;
}

.news-filter-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.news-filter-controls .btn {
  height: 40px;
  padding: 0 16px;
  white-space: nowrap;
}

.news-filters .btn.active {
  background: linear-gradient(135deg, #2d7f98, #4cae9c);
  color: #fff;
  border-color: transparent;
}

.news-filter-controls select,
.news-filter-controls input[type="text"],
.news-filter-controls input[type="date"] {
  min-width: 140px;
}

#newsKeywordInput {
  flex: 1 1 320px;
}

#newsDateFrom,
#newsDateTo {
  min-width: 165px;
}

#newsSortSelect {
  min-width: 140px;
}

@media (max-width: 1060px) {
  .news-filter-panel {
    padding: 14px;
  }

  .news-filter-row {
    grid-template-columns: 100px 1fr;
    gap: 10px;
  }

  #newsKeywordInput {
    flex-basis: 240px;
  }
}

.news-page-info {
  color: var(--c-subtext);
  font-size: 0.92rem;
}

.news-pager button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.news-meta {
  color: #6f7d84;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.news-detail-cover {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  margin: 8px 0 14px;
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--c-subtext);
  font-size: 0.9rem;
}

.tag-helpers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag-helpers .tag-btn {
  height: 34px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.cta {
  text-align: center;
  background:
    linear-gradient(180deg, transparent, rgba(125, 177, 159, 0.2), transparent);
}

.site-footer {
  background: linear-gradient(135deg, #3f8ea7, #60b8a8);
  color: rgba(255, 255, 255, 0.9);
  padding: 44px 0;
}

.site-footer h3 {
  font-family: "Noto Serif SC", serif;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mobile-book {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--c-primary);
  color: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 60;
}

.mobile-book.booking-disabled {
  background: rgba(96, 114, 122, 0.92);
  color: #fff;
  cursor: not-allowed;
  box-shadow: 0 8px 22px rgba(31, 42, 40, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

body.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(10, 20, 26, 0.82);
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: min(1200px, 96vw);
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.84rem;
}

/* ---------- itinerary page ---------- */
.attraction-detail {
  display: grid;
  gap: 28px;
}

.attraction-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.attraction-overview .media {
  min-height: 300px;
  border-radius: 10px;
  background: linear-gradient(145deg, #cde5de, #9ccfc3);
}

.attraction-overview .media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.attraction-meta {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.attraction-meta-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
}

.attraction-meta-item .meta-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 4px;
}

.attraction-meta-item .meta-label {
  font-size: 0.78rem;
  color: var(--c-subtext);
}

.spot-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spot-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(45, 127, 152, 0.06);
}

.spot-card h4 {
  margin: 0 0 4px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
  color: #25463f;
}

.spot-card .spot-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(225, 163, 79, 0.18);
  color: #9e6f2f;
}

.spot-card p {
  margin: 6px 0 0;
  color: var(--c-subtext);
  font-size: 0.9rem;
}

.route-compare {
  margin-top: 20px;
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(45, 127, 152, 0.08);
}

.route-compare th,
.route-compare td {
  border: 1px solid rgba(127, 187, 170, 0.22);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.9rem;
}

.route-compare th {
  background: rgba(152, 212, 194, 0.25);
  color: #25463f;
  font-weight: 600;
}

.route-compare td {
  color: #355e55;
}

.route-compare .diff-easy { color: #2d8f5e; }
.route-compare .diff-medium { color: #c89244; }
.route-compare .diff-hard { color: #c04e3c; }

.itinerary-plan {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.itinerary-plan > .plan-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.plan-card-header {
  background: linear-gradient(135deg, #2d7f98, #4cae9c);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-card-header .plan-day {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.plan-card-header .plan-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.plan-card-header .plan-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
}

.plan-card-body {
  padding: 18px 20px;
}

.plan-card-body .plan-step {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.plan-step .step-time {
  min-width: 68px;
  font-weight: 600;
  color: var(--c-primary);
  font-size: 0.88rem;
  padding-top: 2px;
}

.plan-step .step-desc {
  color: #355e55;
  font-size: 0.93rem;
  line-height: 1.65;
}

.plan-step .step-desc strong {
  color: #25463f;
}

.tip-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tip-card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(127, 187, 170, 0.35);
  border-radius: 10px;
  padding: 16px 18px;
}

.tip-card h4 {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 1rem;
  color: #25463f;
}

.tip-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--c-subtext);
  font-size: 0.9rem;
}

.tip-card li {
  margin-bottom: 5px;
}

.section-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.section-nav a {
  font-size: 0.85rem;
  color: var(--c-subtext);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  transition: all 0.2s;
}

.section-nav a:hover {
  background: rgba(45, 127, 152, 0.08);
  color: var(--c-primary);
}

/* ---------- ADMIN: toast notifications ---------- */
.admin-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.admin-toast {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  font-size: 0.9rem;
  color: #23433b;
  min-width: 260px;
  max-width: 400px;
  pointer-events: auto;
  animation: toastIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-toast.toast-success { border-left: 3px solid #4cae9c; }
.admin-toast.toast-error { border-left: 3px solid #c04e3c; }
.admin-toast.toast-info { border-left: 3px solid #5d8a97; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

/* ---------- ADMIN: sidebar layout (workbench) ---------- */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 80px);
}
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid rgba(220,232,232,0.6);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}
.admin-sidebar-user {
  padding: 0 16px 16px;
  border-bottom: 1px solid #dce8e8;
  margin-bottom: 12px;
}
.admin-sidebar-user .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d7f98, #4cae9c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.admin-sidebar-user .name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2a28;
}
.admin-sidebar-user .meta {
  font-size: 0.78rem;
  color: #60727a;
}
.admin-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0 8px;
}
.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #1f2a28;
  font-size: 0.9rem;
  transition: all 0.2s;
  margin-bottom: 2px;
}
.admin-sidebar-nav a:hover {
  background: rgba(45,127,152,0.08);
  color: #2d7f98;
}
.admin-sidebar-nav a.active {
  background: rgba(45,127,152,0.12);
  color: #2d7f98;
  font-weight: 600;
}
.admin-sidebar-nav a .icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}
.admin-main {
  flex: 1;
  overflow-y: auto;
}
.admin-main-content {
  padding: 32px 28px;
}

/* ---------- ADMIN: confirm modal ---------- */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(11,23,28,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-modal {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 18px 48px rgba(0,0,0,0.25);
  text-align: center;
}

.admin-modal h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.admin-modal p {
  color: var(--c-subtext);
  margin: 0 0 20px;
  font-size: 0.92rem;
}

.admin-modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.admin-modal .btn-danger {
  background: #c04e3c;
  color: #fff;
  border-color: #c04e3c;
}

.admin-modal .btn-danger:hover {
  background: #a33d2c;
}

/* ---------- alert bar ---------- */
.alert-bar {
  position: sticky;
  top: 80px;
  z-index: 40;
  display: none;
}

.alert-bar.show {
  display: block;
}

.alert-item {
  padding: 10px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  position: relative;
}

.alert-item.alert-info {
  background: linear-gradient(135deg, #e3f2f9, #d4eaf7);
  color: #1a5c7a;
  border-bottom: 1px solid rgba(93,138,151,0.25);
}

.alert-item.alert-warning {
  background: linear-gradient(135deg, #fff8e6, #fef0cc);
  color: #7a5e1a;
  border-bottom: 1px solid rgba(225,163,79,0.35);
}

.alert-item.alert-danger {
  background: linear-gradient(135deg, #fde8e5, #fcd5d0);
  color: #8b2c20;
  border-bottom: 1px solid rgba(192,78,60,0.3);
}

.alert-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: inherit;
  opacity: 0.5;
  padding: 4px;
  line-height: 1;
}

.alert-close:hover { opacity: 1; }

.alert-bar .container {
  position: relative;
}

/* ---------- weather card ---------- */
.weather-card {
  background: linear-gradient(135deg, #e8f4f8, #dceef3);
  border: 1px solid rgba(93,138,151,0.3);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 16px;
}

.weather-now {
  display: flex;
  align-items: center;
  gap: 14px;
}

.weather-now .weather-temp {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a5c7a;
  line-height: 1;
}

.weather-now .weather-desc {
  color: #3d6b7a;
  font-size: 0.88rem;
}

.weather-forecast {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: space-between;
}

.weather-day {
  text-align: center;
  font-size: 0.82rem;
  color: #3d6b7a;
  flex: 1;
}

.weather-day .day-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.weather-day .day-icon {
  font-size: 1.3rem;
  margin: 4px 0;
}

.weather-loading {
  color: var(--c-subtext);
  font-size: 0.88rem;
}

/* ---------- ADMIN: news collection ---------- */
.collect-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.collect-preview {
  background: rgba(255,248,235,0.5);
  border: 1px dashed rgba(225,163,79,0.35);
  border-radius: 8px;
  padding: 14px 18px;
}

.collect-preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- ADMIN: editor enhancements ---------- */
.admin-editor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.admin-editor-row .card { margin: 0; }

.cover-preview {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--c-line);
  margin-top: 8px;
  display: none;
}

/* ---------- ADMIN: news card actions ---------- */
.admin-news-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(45,127,152,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-news-card .news-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-news-card .news-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.admin-news-card .news-status-dot.published { background: #4cae9c; }
.admin-news-card .news-status-dot.draft { background: #c0a04c; }

.admin-news-card .news-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-news-card .news-actions button {
  font-size: 0.78rem;
  height: 30px;
  padding: 0 10px;
}

.admin-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.admin-toolbar .toolbar-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.admin-toolbar .toolbar-sep {
  width: 1px;
  height: 24px;
  background: var(--c-line);
  margin: 0 4px;
}

.token-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  padding: 2px 10px;
  border-radius: 999px;
}

.token-status.valid {
  background: rgba(76,174,156,0.12);
  color: #2d7f6e;
}

.token-status.invalid {
  background: rgba(192,78,60,0.1);
  color: #a03a2a;
}

/* ---------- guide hub cards ---------- */
.guide-hub-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.guide-hub-card {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
}

.guide-hub-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.guide-hub-card.card-jianmen::before { background: linear-gradient(180deg, #5e9e6e, #3a6c5b); }
.guide-hub-card.card-cuiyun::before { background: linear-gradient(180deg, #7cb88a, #4e8a5e); }
.guide-hub-card.card-zhaohua::before { background: linear-gradient(180deg, #c4a97d, #8a7048); }
.guide-hub-card.card-hiking::before { background: linear-gradient(180deg, #5d8a97, #3a5f6b); }

.guide-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(45, 127, 152, 0.18);
}

.guide-hub-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.guide-hub-icon.icon-jianmen { background: rgba(94,158,110,0.12); }
.guide-hub-icon.icon-cuiyun { background: rgba(104,158,90,0.12); }
.guide-hub-icon.icon-zhaohua { background: rgba(196,169,125,0.15); }
.guide-hub-icon.icon-hiking { background: rgba(93,138,151,0.12); }

.guide-hub-body h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.guide-hub-body .hub-meta {
  font-size: 0.82rem;
  color: var(--c-subtext);
  margin-bottom: 8px;
}

.guide-hub-body p {
  color: #466a63;
  font-size: 0.92rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ---------- quick compare table ---------- */
.quick-compare {
  margin-top: 24px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(45, 127, 152, 0.08);
  border: 1px solid var(--c-line);
}

.quick-compare th,
.quick-compare td {
  padding: 13px 14px;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(127, 187, 170, 0.16);
}

.quick-compare th {
  background: linear-gradient(180deg, rgba(152,212,194,0.2), rgba(152,212,194,0.1));
  color: #1f3a35;
  font-weight: 600;
  font-family: "Noto Serif SC", serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.quick-compare td:first-child {
  font-weight: 600;
  color: #1f3a35;
}

.quick-compare tr:last-child td {
  border-bottom: none;
}

.quick-compare .qc-link {
  color: var(--c-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.84rem;
  white-space: nowrap;
}

.quick-compare .qc-link:hover {
  text-decoration: underline;
}

/* ---------- info panel ---------- */
.info-panel {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.info-panel-item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(127, 187, 170, 0.28);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-panel-item .info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.info-panel-item .info-label {
  font-size: 0.78rem;
  color: var(--c-subtext);
}

.info-panel-item .info-value {
  font-weight: 600;
  color: #25463f;
  font-size: 0.95rem;
}

/* ---------- scenic photo gallery ---------- */
.scenic-gallery {
  margin-top: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 38vw);
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.scenic-shot {
  margin: 0;
  position: relative;
  scroll-snap-align: start;
}

/* ---------- image fallback ---------- */
img[onerror], .room-shot img, .scenic-shot img, .spot-img {
  position: relative;
}

img[onerror]::after, img:not([src]), img[src=""] {
  content: "";
  display: block;
  background: linear-gradient(145deg, #e8ece9, #d4dbd6);
  min-height: 200px;
}

/* ---------- scenery ---------- */
.scenic-shot img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.scenic-shot figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(11, 23, 28, 0.72);
  color: rgba(255,255,255,0.92);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  backdrop-filter: blur(4px);
}

.spot-card-enhanced {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(45, 127, 152, 0.06);
  display: flex;
  flex-direction: column;
}

.spot-card-enhanced .spot-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: linear-gradient(145deg, #cde5de, #9ccfc3);
}

.spot-card-enhanced .spot-body {
  padding: 14px 16px;
  flex: 1;
}

.spot-card-enhanced h4 {
  margin: 0 0 4px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
  color: #25463f;
}

.spot-card-enhanced .spot-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(225, 163, 79, 0.18);
  color: #9e6f2f;
}

.spot-card-enhanced p {
  margin: 6px 0 0;
  color: var(--c-subtext);
  font-size: 0.9rem;
  line-height: 1.6;
}

.scenic-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--c-subtext);
  font-size: 0.88rem;
  gap: 8px;
}

.scenic-empty span {
  font-size: 2.5rem;
  opacity: 0.5;
}

/* ---------- ADMIN: page style (login-style polish) ---------- */
body.admin-page {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(45, 127, 152, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(76, 174, 156, 0.06), transparent 50%),
    var(--c-bg);
}
body.admin-page .section {
  padding: 48px 0 72px;
}
body.admin-page .section .container > h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 20px;
}
body.admin-page .section .container > h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  margin-top: 8px;
  background: linear-gradient(90deg, #d2a055, #7cb19f);
}
body.admin-page .card {
  background: #fff;
  border: 1px solid rgba(220, 232, 232, 0.8);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(45, 127, 152, 0.1);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
body.admin-page .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45, 127, 152, 0.16);
}
body.admin-page .stat-card {
  background: #fff;
  border: 1px solid rgba(220, 232, 232, 0.8);
  border-radius: 10px;
  padding: 20px 16px;
  box-shadow: 0 4px 16px rgba(45, 127, 152, 0.06);
}
body.admin-page button.stat-card {
  cursor: pointer;
  color: inherit;
  font: inherit;
  width: 100%;
}
body.admin-page button.stat-card:hover,
body.admin-page button.stat-card.active {
  border-color: rgba(31, 111, 139, 0.45);
  box-shadow: 0 8px 22px rgba(45, 127, 152, 0.14);
}
body.admin-page button.stat-card.active {
  background: #f2fbfd;
}
body.admin-page .booking-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
body.admin-page .booking-summary-card {
  border-radius: 8px;
  padding: 10px 8px;
  min-height: 58px;
}
body.admin-page .stat-card strong {
  display: block;
  color: var(--c-primary);
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 6px;
}
body.admin-page .stat-card span {
  display: block;
  color: var(--c-subtext);
  font-size: 0.86rem;
}
body.admin-page .stat-card h3 {
  font-size: 1.7rem;
}
body.admin-page .booking-summary-card strong {
  font-size: 1.18rem;
  margin-bottom: 2px;
}
body.admin-page .booking-summary-card span {
  font-size: 0.76rem;
}
body.admin-page .booking-type-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}
body.admin-page .booking-type-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 6px;
  border: 1px solid rgba(220, 232, 232, 0.8);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}
body.admin-page .booking-type-card strong {
  color: var(--c-primary);
  font-size: 1.05rem;
  line-height: 1;
}
body.admin-page .booking-type-card span {
  color: var(--c-text);
  font-size: 0.78rem;
}
body.admin-page .booking-type-card em {
  color: var(--c-subtext);
  font-size: 0.72rem;
  font-style: normal;
}
body.admin-page .btn-secondary {
  background: #fff;
}
body.admin-page .site-header {
  background: rgba(255, 255, 255, 0.96);
}
body.admin-page input,
body.admin-page select,
body.admin-page textarea {
  border-radius: 8px;
  border-color: rgba(220, 232, 232, 0.85);
}
body.admin-page label {
  color: var(--c-subtext);
  font-size: 0.88rem;
  margin-bottom: 4px;
}

/* ---------- ADMIN: skeleton loading ---------- */
.admin-skeleton {
  background: linear-gradient(90deg, #f0f5f5 25%, #e6eeed 50%, #f0f5f5 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease infinite;
  border-radius: 6px;
}
.admin-skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  width: 60%;
}
.admin-skeleton-title {
  height: 20px;
  margin-bottom: 12px;
  width: 40%;
}
.admin-skeleton-block {
  height: 80px;
  margin-bottom: 10px;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- ADMIN: action grid ---------- */
.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.admin-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  background: #fff;
  border: 1px solid rgba(220,232,232,0.8);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(45,127,152,0.06);
  cursor: pointer;
  text-decoration: none;
  color: #1f2a28;
  transition: all 0.2s;
  font-size: 0.85rem;
}
.admin-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45,127,152,0.14);
  border-color: rgba(45,127,152,0.3);
}
.admin-action-card .action-icon {
  font-size: 1.6rem;
}

/* ---------- ADMIN: timeline / activity log ---------- */
.admin-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.admin-timeline li {
  position: relative;
  padding-left: 20px;
  padding-bottom: 14px;
  border-left: 2px solid rgba(220,232,232,0.6);
}
.admin-timeline li:last-child {
  border-left-color: transparent;
}
.admin-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d7f98;
}
.admin-timeline .tl-time {
  font-size: 0.76rem;
  color: #60727a;
}
.admin-timeline .tl-action {
  font-size: 0.85rem;
  color: #1f2a28;
}
.admin-timeline .tl-detail {
  font-size: 0.82rem;
  color: #60727a;
}

/* ---------- ADMIN: pagination bar ---------- */
.admin-pager {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  justify-content: center;
}
.admin-pager button {
  height: 32px;
  min-width: 32px;
  padding: 0 8px;
  border: 1px solid rgba(220,232,232,0.8);
  border-radius: 6px;
  background: #fff;
  color: #1f2a28;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s;
}
.admin-pager button:hover {
  border-color: #2d7f98;
  color: #2d7f98;
}
.admin-pager button.active {
  background: linear-gradient(135deg, #2d7f98, #4cae9c);
  color: #fff;
  border-color: transparent;
}
.admin-pager button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.admin-pager .pager-info {
  font-size: 0.82rem;
  color: #60727a;
  margin: 0 8px;
}

/* ---------- ADMIN: health indicator ---------- */
.admin-health {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.admin-health.healthy {
  background: rgba(76,174,156,0.1);
  color: #2d7f6e;
}
.admin-health.unhealthy {
  background: rgba(192,78,60,0.1);
  color: #a03a2a;
}
.admin-health .health-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.admin-health.healthy .health-dot { background: #4cae9c; }
.admin-health.unhealthy .health-dot { background: #c04e3c; }

/* ---------- ADMIN: search row ---------- */
.admin-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.admin-search-row input {
  height: 36px;
  padding: 0 12px;
  flex: 1;
  min-width: 160px;
  border-radius: 8px;
  border: 1px solid rgba(220,232,232,0.85);
}
.admin-search-row select {
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(220,232,232,0.85);
}

/* ---------- ADMIN: section header with actions ---------- */
.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.admin-section-header h3 {
  margin: 0;
}
.admin-section-header .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.admin-page .admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

body.admin-page .admin-toolbar input,
body.admin-page .admin-toolbar select {
  height: 34px;
  padding: 0 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.88rem;
  box-sizing: border-box;
}

body.admin-page .admin-toolbar .news-meta {
  font-size: 0.82rem;
}

body.admin-page .admin-stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

body.admin-page .admin-stat-card {
  flex: 0 1 112px;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(220,232,232,0.85);
  border-radius: 8px;
  padding: 9px 10px;
  box-shadow: 0 4px 16px rgba(45,127,152,0.06);
}

body.admin-page button.admin-stat-card {
  cursor: pointer;
  color: inherit;
  font: inherit;
  width: 100%;
}

body.admin-page button.admin-stat-card:hover,
body.admin-page button.admin-stat-card.active {
  border-color: rgba(31,111,139,0.45);
  box-shadow: 0 8px 22px rgba(45,127,152,0.14);
}

body.admin-page button.admin-stat-card.active {
  background: #f2fbfd;
}

body.admin-page .admin-stat-card .num,
body.admin-page .admin-stat-card strong {
  display: block;
  color: var(--c-primary);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 3px;
}

body.admin-page .admin-stat-card .lbl,
body.admin-page .admin-stat-card span {
  display: block;
  color: var(--c-subtext);
  font-size: 0.78rem;
}

body.admin-page .admin-table-wrap {
  overflow-x: auto;
  width: 100%;
}

body.admin-page .admin-panel {
  background: #fff;
  border: 1px solid rgba(220,232,232,0.85);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(45,127,152,0.06);
}

body.admin-page .admin-panel + .admin-panel {
  margin-top: 10px;
}

@media (max-width: 640px) {
  body.admin-page .admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-page .admin-stat-card {
    flex-basis: auto;
  }
}

/* ---------- ADMIN: utility spacing classes ---------- */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-6 { margin-top: 6px !important; }
.mt-8 { margin-top: 8px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-14 { margin-top: 14px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-6 { margin-bottom: 6px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-10 { margin-bottom: 10px !important; }
.p-0 { padding: 0 !important; }

/* ---------- ADMIN: page heading ---------- */
.admin-h1 {
  font-size: 1.4rem;
}

/* ---------- ADMIN: common grid layouts ---------- */
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.admin-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.admin-grid-2-gap10 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.admin-flex-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-divider {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(220,232,232,0.8);
}

/* ---------- ADMIN: small button variant ---------- */
.btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 0.82rem;
}

/* ---------- photo tip ---------- */
.photo-tip {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(225,163,79,0.1), rgba(45,127,152,0.06));
  border: 1px solid rgba(225,163,79,0.25);
  border-radius: 10px;
  padding: 16px 20px;
}

.photo-tip h4 {
  margin: 0 0 6px;
  font-family: "Noto Serif SC", serif;
  color: #8a5e2a;
}

.photo-tip p {
  margin: 0;
  color: var(--c-subtext);
  font-size: 0.9rem;
}

@media (max-width: 1060px) {
  .main-nav {
    gap: 18px;
  }

  .booking-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-layout,
  .service-grid,
  .quote-grid,
  .card-grid,
  .gallery-grid,
  .stats-grid,
  .arrival-grid,
  .qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav-wrap {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid var(--c-line);
    background: #fff;
    border-radius: 8px;
    height: 38px;
    width: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--c-text);
    transition: all 0.2s;
  }

  .main-nav {
    display: none;
    width: 100%;
    margin: 6px 0 4px;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--c-line);
    flex-direction: column;
    gap: 8px;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-book {
    display: none;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .content,
  .split.reverse .media {
    order: initial;
  }

  .hero {
    min-height: 640px;
  }

  .hero-inner {
    padding-top: 56px;
  }

  .hero-sub {
    color: rgba(255, 255, 255, 0.97);
  }

  .section {
    padding: 62px 0;
  }

  .room-layout,
  .service-grid,
  .quote-grid,
  .card-grid,
  .footer-grid,
  .gallery-grid,
  .stats-grid,
  .arrival-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-rows: repeat(4, 180px);
  }

  .room-gallery-scroll {
    grid-auto-columns: 88vw;
  }

  .room-shot img {
    height: 220px;
  }

  .g1,
  .g4 {
    grid-row: auto;
    grid-column: auto;
  }

  .mobile-book {
    display: flex;
  }

  .traffic-table-wrap {
    overflow-x: auto;
  }

  body {
    padding-bottom: 66px;
  }

  .attraction-overview {
    grid-template-columns: 1fr;
  }

  .attraction-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spot-grid {
    grid-template-columns: 1fr;
  }

  .tip-grid {
    grid-template-columns: 1fr;
  }

  .route-compare {
    min-width: 680px;
  }

  .guide-hub-grid {
    grid-template-columns: 1fr;
  }

  .info-panel {
    grid-template-columns: 1fr;
  }

  .quick-compare {
    min-width: 620px;
  }

  .news-filter-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 10px;
  }

  .news-filter-controls select,
  .news-filter-controls input[type="text"],
  .news-filter-controls input[type="date"] {
    width: 100%;
    min-width: 0;
  }

  .news-filter-controls .btn {
    width: 100%;
  }

  .scenic-shot img {
    height: 280px;
  }

  .spot-card-enhanced .spot-img {
    height: 160px;
  }
}

/* ========== 日程管理 ========== */
.schedule-day:hover {
  background: rgba(45,127,152,0.06);
}
.schedule-day.today div:first-child {
  color: #2d7f98;
  font-weight: 700;
}

/* 通知面板 */
#notifPanel {
  font-size: 0.85rem;
}
#notifPanel .notif-item:hover {
  background: rgba(45,127,152,0.05);
}

/* 日历导航 */
#navMonth {
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
}
#navMonth:hover {
  color: #2d7f98;
}

/* 事件类型色标 - 列表圆点 */
.ev-type-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

/* 弹窗内表单 */
.admin-modal .admin-form input[type="checkbox"] {
  width: auto;
  height: auto;
}

/* 参与人列表 */
#userList label:hover {
  background: rgba(45,127,152,0.04);
  border-radius: 4px;
}

/* 周期性预览 */
#recurPreview {
  background: rgba(45,127,152,0.06);
  border-radius: 4px;
  padding: 4px 8px;
}
