:root {
  --ink: #1a1a1a;
  --muted: #7a7a7a;
  --line: #ececec;
  --paper: #f3f3f3;
  --white: #ffffff;
  --green: #07c160;
  --green-deep: #05964b;
}
* { box-sizing: border-box; }
html { height: 100%; background: #111; }
body {
  max-width: 430px;
  min-height: 100%;
  margin: 0 auto;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 8px; }
.mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 10px; background: #e8f8ef; color: var(--green-deep);
  font-family: serif; font-size: 18px; font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .12em; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .14em; }
.top nav { display: flex; gap: 14px; margin-left: auto; color: #666; font-size: 13px; }
.top nav a.on { color: var(--ink); font-weight: 700; }
.top .ghost { display: none; }

.hero { padding: 28px 16px 8px; }
.hero.compact { padding-bottom: 0; }
.kicker { margin: 0 0 8px; color: var(--green-deep); font-size: 12px; font-weight: 700; }
.hero h1 { margin: 0; font-size: 28px; line-height: 1.25; }
.hero p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.section { padding: 18px 16px 8px; }
.section h2 { margin: 0; font-size: 16px; }
.section .sub { margin: 6px 0 12px; color: var(--muted); font-size: 13px; }

.shop-list { display: grid; gap: 10px; }
.shop-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch;
  padding: 8px; border-radius: 16px; background: #fff;
}
.shop-main {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center;
  min-width: 0; padding: 2px;
}
.shop-cover { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.shop-copy strong, .shop-copy small { display: block; }
.shop-copy small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.shop-enter {
  padding: 8px 10px; border-radius: 10px;
  background: var(--green); color: #fff; font-size: 13px; font-weight: 700;
}
.shop-scan {
  display: grid; place-items: center; padding: 0 12px;
  border-left: 1px solid var(--line); color: var(--green-deep);
  font-size: 12px; font-weight: 700;
}

.mp-name, .mp-card em { display: block; }
.mp-name { font-size: 20px; }
.mp-card em { margin-top: 4px; color: var(--green); font-style: normal; font-size: 12px; font-weight: 700; }
.scan-hint {
  margin: 12px 0 14px !important; padding: 10px 12px; border-radius: 10px;
  color: #8a5a16 !important; background: #fff7e8; text-align: left;
}
.scan-qr {
  width: 240px; margin: 0 auto; padding: 12px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line);
}
.scan-qr img { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.scan-url {
  margin: 12px 0 8px !important;
  word-break: break-all; color: #333 !important; font-size: 12px !important;
}
.copy-link {
  width: 100%; height: 42px; border: 1px solid #cdebd8;
  border-radius: 8px; background: #f3fbf6; color: var(--green-deep); font-weight: 700;
}

.case-cover { position: relative; height: 180px; overflow: hidden; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-cover-copy {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 16px;
  color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72));
}
.case-cover-copy h1 { margin: 4px 0; font-size: 24px; }
.case-cover-copy p, .case-cover-copy small { margin: 0; opacity: .9; font-size: 12px; }

.mp-card {
  margin: -28px 16px 0; padding: 28px 16px 18px;
  position: relative; z-index: 1;
  border-radius: 20px; background: #fff; text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.enter {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 46px; margin-top: 16px;
  border-radius: 8px; background: var(--green); color: #fff; font-weight: 700;
}
.mp-card > p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.article { padding: 8px 16px 24px; }
.article p { color: #555; font-size: 14px; line-height: 1.8; }
.case-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.case-nav a { color: var(--green-deep); font-size: 13px; }

.plan-list { display: grid; gap: 8px; }
.plan {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px; border-radius: 14px; background: #fff;
}
.plan.hot { outline: 1px solid #b6ebc9; }
.plan small { display: block; color: var(--green-deep); font-size: 12px; }
.plan b { font-size: 22px; }
.plan span { color: var(--muted); font-size: 12px; max-width: 46%; text-align: right; }

.filters { display: flex; gap: 8px; overflow: auto; margin-bottom: 12px; padding-bottom: 2px; }
.filters button {
  flex: none; padding: 7px 12px; border: 0; border-radius: 16px;
  background: #fff; color: #666; white-space: nowrap;
}
.filters button.on { background: var(--green); color: #fff; font-weight: 700; }

.lan-note {
  margin: 8px 16px 0; padding: 10px 12px; border-radius: 12px;
  background: #fff7e8; color: #8a5a16; font-size: 12px; line-height: 1.5;
}

.site-footer {
  padding: 24px 16px 40px; color: #999; font-size: 12px;
}
.site-footer p { margin: 8px 0 12px; line-height: 1.6; }
.site-footer a { margin-right: 14px; }

.pricing-sheet { padding: 20px 14px 80px; }
.sheet-kicker, .sheet-lead, .sheet-end { color: var(--muted); font-size: 13px; line-height: 1.7; }
.pricing-sheet h1 { margin: 8px 0 12px; font-size: 22px; }
.price-row { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); margin: 16px 0 12px; }
.price-row div { padding: 10px 6px; text-align: center; border: 1px solid var(--line); background: white; font-size: 12px; }
.price-row div:first-child { text-align: left; background: #f7fbfc; font-weight: 700; }
.price-row b { display: block; font-size: 16px; }
.feature-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; background: white; font-size: 12px; }
.feature-table caption {
  padding: 8px 10px; text-align: left; background: #1a1a1a; color: white; font-weight: 700;
}
.feature-table th, .feature-table td { padding: 8px 6px; border: 1px solid var(--line); }
.feature-table td.center { text-align: center; }
.yes { color: var(--green-deep); font-weight: 800; }
.no { color: #ddd; }
#printBtn { display: none; }

@media print {
  html, body { max-width: none; background: white; }
  .top, .no-print, .site-footer { display: none !important; }
  .pricing-sheet { max-width: none; padding: 0; }
  .feature-table { break-inside: avoid; }
}
