:root {
  --bg: #f5f7f1;
  --paper: #ffffff;
  --ink: #17231d;
  --muted: #667268;
  --line: #dfe5dc;
  --green: #1f513a;
  --green-2: #2f6b4a;
  --gold: #efe2b6;
  --gold-2: #f7f0d8;
  --shadow: 0 16px 45px rgba(31, 57, 43, .11);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

button, input { font: inherit; }

.app {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 22px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 4px 0 0;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.admin-link, .action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  white-space: nowrap;
}

.filters {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gold-2);
}

#searchInput {
  width: 100%;
  height: 44px;
  border: 1px solid #d9d2b6;
  border-radius: 8px;
  padding: 0 14px;
  outline: none;
  background: #fff;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  border: 1px solid #d7c994;
  background: #fffaf0;
  color: #344237;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
}

.tab.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

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

.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.content {
  display: grid;
  grid-template-columns: minmax(340px, 460px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.list-panel, .detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  font-size: 18px;
}

.club-list {
  max-height: calc(100vh - 280px);
  overflow: auto;
}

.club-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.club-card.active {
  background: #f3f8f0;
}

.thumb {
  width: 116px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
  background: #e7ece5;
}

.club-title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.28;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.badge {
  border-radius: 999px;
  background: #eef3ea;
  color: #405246;
  padding: 3px 8px;
  font-size: 12px;
}

.detail-panel {
  min-height: 560px;
  overflow: hidden;
}

.empty-state {
  padding: 34px;
  color: var(--muted);
}

.detail-hero {
  position: relative;
  min-height: 260px;
  background: #1e2a22;
  color: #fff;
}

.detail-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  opacity: .78;
}

.hero-text {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
}

.hero-text h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0;
}

.detail-body {
  padding: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.info {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.info label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.section-title {
  margin: 22px 0 10px;
  font-size: 18px;
}

.map-frame {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 8px;
  background: #e8ece6;
}

.hotel-grid {
  display: grid;
  gap: 10px;
}

.price-grid {
  display: grid;
  gap: 10px;
}

.price-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf5;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.price-side {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex-shrink: 0;
}

.price-side strong {
  color: var(--green);
  font-size: 17px;
}

.price-side span,
.price-side a {
  color: var(--muted);
  font-size: 12px;
}

.price-side a {
  color: var(--green);
}

.hotel-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.hotel-card img {
  width: 96px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
  background: #e7ece5;
}

.hotel-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.action-link.secondary {
  background: #fff;
  color: var(--green);
  border: 1px solid var(--green);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.beian-link {
  color: var(--muted);
  text-decoration: none;
}

.beian-link:hover {
  color: var(--green);
}

.footer-divider {
  color: #b7c1b8;
}

@media (max-width: 900px) {
  .app { padding: 14px; }
  .topbar { align-items: flex-start; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content { grid-template-columns: 1fr; }
  .club-list { max-height: none; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .topbar { display: grid; }
  .summary { grid-template-columns: 1fr 1fr; }
  .club-card { grid-template-columns: 96px 1fr; }
  .thumb { width: 96px; height: 74px; }
  .hotel-card { grid-template-columns: 84px 1fr; }
  .hotel-card img { width: 84px; height: 70px; }
  .price-card { display: grid; }
  .price-side { justify-items: start; }
}
