/* 古滑 · 私信长图（抖音 / 微信私信发图）
   每页 2 张 panel，按虚线分别截图发送 */

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: #e8ecf0;
  color: #1a2433;
  min-height: 100vh;
  padding: 14px 12px 40px;
  -webkit-font-smoothing: antialiased;
}

.toolbar {
  max-width: 390px;
  margin: 0 auto 12px;
  font-size: 13px;
  line-height: 1.55;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  padding: 12px 14px;
  color: #333;
}
.toolbar strong { color: #0d2a54; }
.toolbar a { color: #1e5aa8; }
.toolbar .hint { font-size: 12px; color: #667; margin-top: 8px; }
.toolbar .actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar .actions a {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  background: #0d2a54;
  color: #fff;
  text-decoration: none;
}
.toolbar .actions a.ghost { background: #eef2f7; color: #0d2a54; }

.stack {
  max-width: 390px;
  margin: 0 auto;
}

.dm-cut {
  text-align: center;
  font-size: 11px;
  color: #8899aa;
  padding: 10px 0;
  letter-spacing: 0.04em;
}
.dm-cut::before,
.dm-cut::after {
  content: "— ";
}
.dm-cut::after {
  content: " —";
}

.dm-panel {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 6px 24px rgba(12, 28, 48, 0.12);
}

.dm-head {
  padding: 22px 20px 18px;
  color: #fff;
}
.dm-head .brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.88;
}
.dm-head h1 {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.12;
}
.dm-head .lead {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.92;
}
.dm-head .loc {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.12);
}

.dm-body {
  background: #fff;
  padding: 16px 18px 20px;
}
.dm-body h2 {
  font-size: 14px;
  font-weight: 800;
  color: var(--dm-accent, #1e5aa8);
  margin-bottom: 10px;
}
.dm-body h2 + p.lead {
  font-size: 12px;
  color: #5c6b7e;
  line-height: 1.45;
  margin: -6px 0 12px;
}

.dm-prices {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.dm-price {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f7f9fb;
  border: 1px solid #e8edf2;
}
.dm-price.is-hot {
  background: linear-gradient(135deg, #fff8eb, #fff);
  border-color: #f0d7a0;
}
.dm-price .name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}
.dm-price .meta {
  grid-column: 1;
  font-size: 11px;
  color: #667788;
  line-height: 1.35;
}
.dm-price .num {
  grid-row: 1 / span 2;
  font-size: 20px;
  font-weight: 900;
  color: #c0392b;
  white-space: nowrap;
}
.dm-price .num small {
  font-size: 0.5em;
  font-weight: 600;
  color: #8899aa;
}

.dm-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.dm-mini-price {
  padding: 10px;
  border-radius: 10px;
  background: #f7f9fb;
  border: 1px solid #e8edf2;
  text-align: center;
}
.dm-mini-price .name { font-size: 12px; font-weight: 800; }
.dm-mini-price .num {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 900;
  color: #c0392b;
}
.dm-mini-price .meta {
  font-size: 10px;
  color: #667788;
  margin-top: 2px;
}

.dm-row3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.dm-pill {
  text-align: center;
  padding: 10px 4px;
  border-radius: 10px;
  background: #f0f4f8;
  border: 1px solid #e4e9ef;
}
.dm-pill b { display: block; font-size: 13px; font-weight: 800; }
.dm-pill span { display: block; font-size: 10px; color: #667788; margin-top: 2px; }

.dm-list {
  list-style: none;
  margin-bottom: 12px;
}
.dm-list li {
  font-size: 12px;
  line-height: 1.45;
  color: #334455;
  padding: 6px 0 6px 14px;
  position: relative;
  border-bottom: 1px solid #f0f2f5;
}
.dm-list li:last-child { border-bottom: 0; }
.dm-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--dm-accent, #1e5aa8);
  font-weight: 900;
}

.dm-note {
  font-size: 11px;
  color: #667788;
  line-height: 1.45;
  padding: 9px 10px;
  background: #f4f7fa;
  border-radius: 8px;
  margin-bottom: 12px;
}

.dm-rules .rule {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e8edf2;
}
.dm-rules .rule:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.dm-rules strong {
  display: block;
  font-size: 12px;
  color: #1a2433;
  margin-bottom: 2px;
}
.dm-rules span {
  font-size: 11px;
  color: #5c6b7e;
  line-height: 1.4;
}

.dm-cta {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--dm-cta-bg, #0d2a54);
  color: #fff;
  text-align: center;
}
.dm-cta b {
  display: block;
  font-size: 16px;
  font-weight: 900;
}
.dm-cta i {
  display: block;
  font-style: normal;
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.88;
}

.dm-legal {
  margin-top: 12px;
  font-size: 10px;
  color: #8899aa;
  line-height: 1.4;
  text-align: center;
}

.dm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.dm-chips span {
  font-size: 10px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #445566;
}

/* 主题 */
.dm-theme-camp {
  --dm-accent: #c87f0a;
  --dm-cta-bg: #8a4f0c;
}
.dm-theme-camp .dm-head {
  background: linear-gradient(165deg, #4a2808, #c87f0a);
}
.dm-theme-venue {
  --dm-accent: #1e8449;
  --dm-cta-bg: #145a32;
}
.dm-theme-venue .dm-head {
  background: linear-gradient(165deg, #0f3d28, #2ecc71);
}
.dm-theme-elite {
  --dm-accent: #1e5aa8;
  --dm-cta-bg: #0d2a54;
}
.dm-theme-elite .dm-head {
  background: linear-gradient(165deg, #050a12, #1e5aa8);
}

@media print {
  body { background: #fff; padding: 0; }
  .toolbar, .dm-cut { display: none; }
  .stack { max-width: none; }
  .dm-panel { width: 1080px; box-shadow: none; page-break-inside: avoid; }
  .dm-head { padding: 56px 52px 44px; }
  .dm-head h1 { font-size: 72px; }
  .dm-head .lead { font-size: 32px; }
  .dm-body { padding: 44px 52px 52px; }
  .dm-body h2 { font-size: 36px; }
  .dm-price .name { font-size: 36px; }
  .dm-price .num { font-size: 56px; }
  .dm-list li { font-size: 28px; }
  .dm-cta b { font-size: 44px; }
}
