:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --brand: #3157d5;
  --brand-dark: #2443ad;
  --line: #dde3ef;
  --page: #f5f7fb;
  --card: #ffffff;
  --warm: #f7e8c8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 850px; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(221, 227, 239, .92); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); }
.header-inner { height: 68px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 17px; font-weight: 750; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #3157d5, #6b42cc); font-size: 13px; letter-spacing: -.02em; }
.main-nav { display: flex; gap: 24px; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.main-nav a:hover, .main-nav a.active { color: var(--brand); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 15px; }
.text-button { text-decoration: none; font-size: 14px; }
.primary-button, .secondary-button { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; text-decoration: none; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.primary-button { color: #fff; background: var(--brand); border: 1px solid var(--brand); box-shadow: 0 9px 22px rgba(49, 87, 213, .18); }
.primary-button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.secondary-button { color: var(--brand); background: #fff; border: 1px solid #bdc9ee; }
.secondary-button:hover { border-color: var(--brand); transform: translateY(-1px); }
.primary-button.small { min-height: 38px; padding: 0 15px; font-size: 14px; }
.full { width: 100%; }
.pricing-hero { padding: 84px 0 118px; color: #fff; text-align: center; background: radial-gradient(circle at 75% 15%, rgba(115, 94, 228, .65), transparent 33%), linear-gradient(135deg, #172c70, #3157d5 55%, #563cb4); }
.eyebrow { display: inline-block; margin-bottom: 15px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #c9d5ff; }
.pricing-hero h1 { max-width: 760px; margin: 0 auto 18px; font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -.035em; }
.pricing-hero p { max-width: 680px; margin: 0 auto; color: #dbe2ff; font-size: 18px; line-height: 1.75; }
.billing-note { margin: 27px auto 0; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; color: #eef1ff; background: rgba(255,255,255,.08); font-size: 13px; }
.billing-note span { width: 8px; height: 8px; border-radius: 50%; background: #7ce3aa; box-shadow: 0 0 0 4px rgba(124,227,170,.14); }
.pricing-section { position: relative; margin-top: -72px; padding-bottom: 72px; }
.plan-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 18px 55px rgba(23, 32, 51, .10); }
.plan-card.featured { border: 2px solid var(--brand); box-shadow: 0 22px 64px rgba(49, 87, 213, .18); }
.recommended { position: absolute; top: -15px; right: 24px; padding: 7px 13px; border-radius: 99px; color: #26324c; background: var(--warm); font-size: 12px; font-weight: 800; }
.plan-label { color: var(--brand); font-size: 14px; font-weight: 800; }
.plan-card h2 { margin: 14px 0 10px; }
.plan-card h2 b { font-size: 46px; letter-spacing: -.045em; }
.plan-card h2 small { color: var(--muted); font-size: 15px; font-weight: 600; }
.plan-card p { margin: 0; min-height: 52px; color: var(--muted); line-height: 1.7; }
.plan-card ul { flex: 1; display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.plan-card li { position: relative; padding-left: 27px; color: #374151; font-size: 14px; }
.plan-card li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #246b44; background: #dff6e9; font-size: 12px; font-weight: 900; }
.value-strip { max-width: 900px; margin: 28px auto 0; padding: 24px 30px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.value-strip div { display: grid; gap: 6px; text-align: center; }
.value-strip div + div { border-left: 1px solid var(--line); }
.value-strip strong { font-size: 25px; }
.value-strip span { color: var(--muted); font-size: 13px; }
.faq { max-width: 900px; margin: 70px auto 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; }
.faq .eyebrow { color: var(--brand); }
.faq h2 { margin: 0; font-size: 32px; line-height: 1.25; }
.faq details { padding: 18px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.footer-inner a { color: inherit; text-decoration: none; }
.site-compliance { padding: 0 20px 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; color: #667085; font-size: 12px; line-height: 1.7; text-align: center; }
.site-compliance a { color: inherit; text-decoration: none; }
.auth-main { min-height: calc(100vh - 143px); display: grid; place-items: center; padding: 56px 18px; background: radial-gradient(circle at 20% 10%, rgba(49,87,213,.12), transparent 34%), var(--page); }
.auth-card, .checkout-card, .result-card, .legal-card, .legal-accept-card { width: min(100%, 510px); padding: 38px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 55px rgba(23,32,51,.10); }
.auth-card .eyebrow, .checkout-card .eyebrow, .legal-card .eyebrow, .legal-accept-card .eyebrow { color: var(--brand); margin-bottom: 10px; }
.auth-card h1, .checkout-card h1, .result-card h1, .legal-card h1, .legal-accept-card h1 { margin: 0; font-size: 32px; letter-spacing: -.025em; }
.auth-intro { margin: 12px 0 24px; color: var(--muted); line-height: 1.65; }
.auth-methods { margin: 0 0 20px; padding: 5px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; border-radius: 11px; background: #f0f3f8; }
.auth-methods span { min-height: 36px; padding: 7px 5px; display: grid; place-items: center; border-radius: 8px; color: #8991a1; font-size: 11px; text-align: center; }
.auth-methods span.active { color: var(--brand); background: #fff; box-shadow: 0 2px 8px rgba(23,32,51,.08); font-weight: 800; }
.form-stack { display: grid; gap: 17px; }
.form-stack label { display: grid; gap: 7px; font-size: 13px; font-weight: 750; }
.form-stack input:not([type="checkbox"]):not([type="radio"]) { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #cbd3e2; border-radius: 10px; color: var(--ink); background: #fff; font: inherit; outline: none; }
.form-stack textarea { width: 100%; padding: 12px 13px; resize: vertical; border: 1px solid #cbd3e2; border-radius: 10px; color: var(--ink); background: #fff; font: inherit; line-height: 1.6; outline: none; }
.form-stack input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(49,87,213,.12); }
.form-stack textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(49,87,213,.12); }
.check-row { grid-template-columns: 18px 1fr !important; align-items: start; gap: 9px !important; color: var(--muted); font-weight: 500 !important; line-height: 1.55; }
.check-row input { margin: 3px 0 0; }
.check-row a { color: var(--brand); }
.legal-accept-card > p { color: var(--muted); line-height: 1.75; }
.agreement-link-list { margin: 22px 0; padding: 18px 20px 18px 38px; display: grid; gap: 10px; border-radius: 12px; background: #f6f8fc; }
.agreement-link-list a { color: var(--brand); font-weight: 700; }
.form-error, .dev-notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.55; }
.form-error { color: #8a2634; background: #fff0f2; border: 1px solid #f5c8cf; }
.dev-notice { color: #72500d; background: #fff7df; border: 1px solid #efd99a; }
.form-switch { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.form-switch a { color: var(--brand); font-weight: 700; }
.dashboard-section { min-height: calc(100vh - 143px); padding: 58px 0 76px; }
.dashboard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.dashboard-head .eyebrow { color: var(--brand); margin-bottom: 8px; }
.dashboard-head h1 { margin: 0; font-size: 36px; }
.dashboard-head p { margin: 8px 0 0; color: var(--muted); }
.text-button.danger { border: 0; background: none; color: #b42336; cursor: pointer; }
.admin-head-actions { display: flex; align-items: center; gap: 14px; }
.admin-head-actions form { margin: 0; }
.dashboard-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.dashboard-card { min-height: 235px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.dashboard-card h2 { margin: 12px 0 6px; font-size: 21px; }
.dashboard-card p { margin: 0 0 20px; color: var(--muted); line-height: 1.65; font-size: 14px; }
.dashboard-card .primary-button { margin-top: auto; }
.membership-card { color: #fff; border-color: transparent; background: linear-gradient(145deg, #203b94, #3157d5 64%, #5840b8); box-shadow: 0 18px 45px rgba(49,87,213,.18); }
.membership-card p { color: #dce4ff; }
.status, .card-label, .coming { display: inline-flex; padding: 6px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.status.active { color: #135f39; background: #c9f2db; }
.status.expired { color: #dce4ff; background: rgba(255,255,255,.15); }
.card-label { color: var(--brand); background: #eef2ff; }
.coming { margin-top: auto; color: var(--muted); background: #f1f3f7; }
.admin-entry { margin-top: 18px; text-align: right; }
.admin-entry a { color: var(--brand); font-weight: 750; text-decoration: none; }
.orders-panel { margin-top: 30px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.panel-head { padding: 20px 23px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 19px; }
.panel-head span { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 15px 18px; border-bottom: 1px solid #edf0f5; text-align: left; white-space: nowrap; }
.wrap-cell { min-width: 240px; max-width: 380px; white-space: normal; line-height: 1.6; }
th { color: var(--muted); background: #fafbfc; font-size: 11px; letter-spacing: .04em; }
.empty-cell { color: var(--muted); text-align: center; padding: 30px; }
.checkout-price { margin: 22px 0; color: var(--brand); font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.checkout-price small { color: var(--muted); font-size: 14px; letter-spacing: 0; }
.checkout-card dl { margin: 0 0 23px; }
.checkout-card dl div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.checkout-card dt { color: var(--muted); }
.checkout-card dd { margin: 0; text-align: right; word-break: break-all; }
.manual-checkout { width: min(100%, 820px); }
.manual-payment-notice { margin: 0 0 24px; padding: 15px 17px; display: grid; gap: 6px; border: 1px solid #efd99a; border-radius: 12px; color: #72500d; background: #fff9e9; }
.manual-payment-notice span { font-size: 13px; line-height: 1.65; }
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 30px; }
.qr-card { margin: 0; padding: 18px; display: grid; justify-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 15px; background: #fafbfe; }
.qr-card img { width: min(100%, 280px); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 9px; background: #fff; }
.qr-card small { color: var(--muted); }
.qr-brand { padding: 6px 11px; border-radius: 99px; font-size: 13px; font-weight: 800; }
.qr-brand.wechat { color: #087b43; background: #e5f8ed; }
.qr-brand.alipay { color: #0965be; background: #e5f2ff; }
.payment-proof-form { max-width: 590px; margin: 0 auto; padding-top: 27px; border-top: 1px solid var(--line); }
.payment-proof-form fieldset { margin: 0; padding: 0; border: 0; }
.payment-proof-form legend { margin-bottom: 10px; font-size: 15px; font-weight: 800; }
.channel-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.channel-options label { padding: 13px; display: flex; grid-template-columns: none; align-items: center; justify-content: center; gap: 8px; border: 1px solid #cbd3e2; border-radius: 10px; background: #fff; cursor: pointer; }
.channel-options input { margin: 0; }
.status-details { margin: 22px 0; text-align: left; }
.status-details div { padding: 10px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.status-details dt { color: var(--muted); }
.status-details dd { margin: 0; text-align: right; word-break: break-all; }
.pending-check { color: #72500d; background: #fff1c2; font-size: 24px; }
.order-state { display: inline-flex; padding: 5px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.order-state.paid { color: #14603a; background: #d9f5e6; }
.order-state.reviewing { color: #72500d; background: #fff1c2; }
.order-state.rejected { color: #9b2738; background: #ffe3e7; }
.order-state.pending, .order-state.closed { color: #596273; background: #edf0f5; }
.table-link { color: var(--brand); font-weight: 750; text-decoration: none; }
.result-card { text-align: center; }
.result-card .eyebrow { color: var(--brand); }
.result-check { width: 62px; height: 62px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; color: #19683f; background: #d9f5e6; font-size: 29px; font-weight: 900; }
.result-card p { margin: 14px 0 25px; color: var(--muted); line-height: 1.7; }
.error-result .result-check { color: #9b2738; background: #ffe3e7; }
.legal-card { width: min(100%, 760px); }
.legal-card h2 { margin-top: 30px; }
.legal-card p { color: var(--muted); line-height: 1.85; }
.legal-card a { color: var(--brand); }
.legal-version { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.legal-missing { color: #a12d3f; }
.operator-details { margin: 24px 0 0; }
.operator-details div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.operator-details dt { color: var(--muted); }
.operator-details dd { margin: 0; overflow-wrap: anywhere; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid div { padding: 23px; display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.stat-grid strong { font-size: 28px; }
.stat-grid span { color: var(--muted); font-size: 13px; }
.admin-nav { margin: 0 0 26px; padding: 6px; display: flex; gap: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.admin-nav a { flex: 0 0 auto; padding: 10px 16px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 750; }
.admin-nav a:hover, .admin-nav a.active { color: var(--brand); background: #eef2ff; }
.nav-badge { min-width: 19px; height: 19px; margin-left: 6px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 99px; color: #fff; background: #c5384d; font-size: 10px; }
.admin-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-edit-card { padding: 24px; display: grid; align-content: start; gap: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.admin-edit-card h2, .admin-edit-card p { margin: 0; }
.admin-edit-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.admin-edit-card label { display: grid; gap: 7px; color: #455067; font-size: 13px; font-weight: 700; }
.admin-edit-card input, .inline-admin-form input, .inline-admin-form select, .review-form input { height: 40px; padding: 0 10px; border: 1px solid #cbd3e2; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
.inline-admin-form { display: inline-flex; align-items: center; gap: 7px; margin: 2px 8px 2px 0; }
.inline-admin-form button { min-height: 36px; padding: 0 11px; border: 1px solid #bdc9ee; border-radius: 8px; color: var(--brand); background: #fff; cursor: pointer; font-weight: 700; }
.inline-admin-form button:hover { border-color: var(--brand); background: #f5f7ff; }
.payment-mode-card { padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 5px 24px; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.payment-mode-card div { grid-row: span 2; }
.payment-mode-card h2 { margin: 12px 0 6px; }
.payment-mode-card p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.7; }
.payment-mode-card > strong { color: var(--brand); font-size: 38px; text-align: center; }
.payment-mode-card > span { color: var(--muted); font-size: 12px; text-align: center; }
.review-form { display: flex; gap: 7px; margin: 4px 0; }
.review-form input { width: 160px; }
.review-form button { min-height: 38px; padding: 0 11px; border: 1px solid #c7cfdf; border-radius: 8px; color: #596273; background: #fff; cursor: pointer; font-weight: 750; }
.review-form .approve-button { width: 100%; color: #fff; border-color: #217346; background: #217346; }
.reject-form button { color: #a12d3f; border-color: #e5b5bd; }
.reject-reason { color: #a12d3f; }
.content-rule-form input[type="number"] { width: 92px; }
td small { color: var(--muted); }
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1160px); }
  .main-nav { display: none; }
  .header-inner { height: 62px; gap: 12px; }
  .brand { font-size: 15px; }
  .header-actions { gap: 10px; }
  .pricing-hero { padding: 60px 0 102px; }
  .pricing-hero p { font-size: 16px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 28px 24px; }
  .value-strip { padding: 20px 12px; }
  .value-strip strong { font-size: 20px; }
  .faq { grid-template-columns: 1fr; gap: 24px; margin-top: 52px; }
  .auth-card, .checkout-card, .result-card, .legal-card, .legal-accept-card { padding: 28px 22px; }
  .qr-grid, .channel-options { grid-template-columns: 1fr; }
  .qr-card { padding: 14px; }
  .dashboard-head { flex-direction: column; }
  .admin-head-actions { width: 100%; justify-content: space-between; }
  .dashboard-grid, .stat-grid, .admin-columns { grid-template-columns: 1fr; }
  .dashboard-card { min-height: 210px; }
  .admin-nav { margin-bottom: 20px; }
  .inline-admin-form { display: flex; width: max-content; }
  .payment-mode-card { grid-template-columns: 1fr; }
  .payment-mode-card div { grid-row: auto; }
  .payment-mode-card > strong, .payment-mode-card > span { text-align: left; }
  .panel-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .footer-inner { padding: 20px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-compliance { padding: 0 14px 18px; flex-direction: column; align-items: flex-start; text-align: left; }
  .operator-details div { grid-template-columns: 1fr; gap: 5px; }
}
:root { --online-qr-size: 280px; }
.online-qr { text-align: center; margin: 20px 0; }
.online-qr img { width: var(--online-qr-size); max-width: 100%; height: auto; aspect-ratio: 1; -webkit-touch-callout: default; user-select: auto; }
.online-qr p { margin: 8px auto 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.mobile-qr-tip { max-width: 390px; padding: 11px 13px; border-radius: 10px; color: #31506b !important; background: #eef7ff; text-align: left; }
.online-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.checkout-card dd { overflow-wrap: anywhere; }
