:root {
  color-scheme: light;
  --ink: #321f1d;
  --muted: #776462;
  --faint: #725f5d;
  --line: #f0dcd8;
  --surface: #ffffff;
  --canvas: #fff7f5;
  --brand: #e33b35;
  --brand-dark: #bd2828;
  --brand-pale: #fff0ed;
  --warn: #b66400;
  --warn-pale: #fff6e8;
  --danger: #b52e2e;
  --danger-pale: #fff0f0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 84% 0%, #ffe0d7 0, transparent 27rem), var(--canvas);
  color: var(--ink);
}

button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid #ff8a65;
  outline-offset: 3px;
}

.page-shell { flex: 1 0 auto; width: min(100% - 32px, 700px); margin: 0 auto; padding: 22px 0 28px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--brand), #ff653f); color: #fff; font-weight: 800; box-shadow: 0 6px 14px rgba(227,59,53,.18); }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .04em; font-size: 16px; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 11px; }
.header-badge { border: 1px solid #f0beb5; border-radius: 999px; padding: 5px 9px; color: var(--brand-dark); background: #fff7f3; font-size: 12px; }

.hero { padding: 48px 0 25px; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
h1 { max-width: 620px; margin: 0; font-size: clamp(31px, 8.6vw, 50px); line-height: 1.18; letter-spacing: -.045em; }
.no-wrap { white-space: nowrap; }
.intro { max-width: 560px; margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.benefit-journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.benefit-journey li { display: grid; min-width: 0; grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 11px 10px; border: 1px solid #f0d9d4; border-radius: 13px; background: rgba(255,255,255,.78); }
.benefit-journey span { display: grid; grid-row: 1 / span 2; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #fff; background: var(--brand); font-size: 10px; font-weight: 800; }
.benefit-journey strong, .benefit-journey small { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.benefit-journey strong { color: var(--text); font-size: 12px; }
.benefit-journey small { margin-top: 2px; color: var(--faint); font-size: 10px; }
.platform-status-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0 0; padding: 0; list-style: none; }
.platform-status-list li { border: 1px solid #efc1b9; border-radius: 999px; padding: 6px 10px; color: var(--brand-dark); background: #fff; font-size: 12px; font-weight: 700; }
.platform-status-list .is-enabled::before { content: "✓"; margin-right: 5px; color: var(--brand); }
.platform-status-list .is-reserved { border-style: dashed; color: var(--muted); background: rgba(255,255,255,.7); font-weight: 600; }
.platform-status-list small { margin-left: 3px; color: var(--faint); font-size: 10px; font-weight: 600; }

.query-panel, .support-section, .trust-card, .result-card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 12px 32px rgba(111, 43, 34, .07); }
.query-panel { padding: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.section-heading h2, .support-section h2, .trust-card h2 { margin: 0; font-size: 15px; }
.section-heading span { color: var(--faint); font-size: 12px; }
.mode-switch { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin: 0 0 14px; padding: 4px; border-radius: 11px; background: #fff0ed; }
.mode-button { min-height: 38px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; font-size: 14px; font-weight: 700; }
.mode-button-secondary { padding-inline: 14px; font-size: 12px; }
.mode-button:hover { color: var(--brand-dark); }
.mode-button.is-selected { border-color: #f1c4bd; color: var(--brand-dark); background: #fff; box-shadow: 0 2px 5px rgba(111, 43, 34, .08); }
.input-wrap { display: flex; align-items: center; min-height: 52px; border: 1px solid #e7c7c1; border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.input-wrap:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px #ffe0da; }
.link-icon { flex: 0 0 auto; width: 42px; color: var(--brand); font-size: 27px; text-align: center; transform: rotate(-35deg); }
input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
input::placeholder { color: #806f6c; opacity: 1; }
.inline-button, .text-button { border: 0; background: transparent; color: var(--brand); font-size: 14px; font-weight: 700; }
.inline-button { flex: 0 0 auto; margin: 5px; padding: 9px 10px; border-radius: 8px; }
.inline-button:hover, .text-button:hover { background: var(--brand-pale); }
.field-help { margin: 9px 0 0; color: var(--faint); font-size: 12px; line-height: 1.5; }
.action-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 19px; }
.text-button { padding: 10px 8px; border-radius: 8px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 128px; min-height: 44px; border: 1px solid var(--brand); border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--brand), #ff5b37); font-weight: 700; box-shadow: 0 6px 14px rgba(227,59,53,.2); }
.primary-button:hover { background: linear-gradient(135deg, var(--brand-dark), #e9462d); }
.primary-button:disabled { cursor: wait; opacity: .7; }
.button-spinner { display: none; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .button-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-message { min-height: 20px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-message.error { color: var(--danger); }
.query-history { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.query-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.query-history-heading h3 { margin: 0; font-size: 14px; }
.history-clear-button,.history-delete-button,.history-replay-button,.continue-query-button { border: 0; font: inherit; cursor: pointer; }
.history-clear-button { padding: 5px 7px; color: var(--muted); background: transparent; font-size: 12px; }
.history-clear-button:hover,.history-delete-button:hover { color: var(--brand-dark); }
.query-history-list { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.query-history-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; min-width: 0; }
.history-replay-button { overflow: hidden; min-width: 0; padding: 9px 10px; border: 1px solid #eed7d2; border-radius: 9px; color: #674a45; background: #fffaf8; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.history-replay-button:hover { border-color: #e1b7ae; background: var(--brand-pale); }
.history-delete-button { padding: 8px 5px; color: var(--faint); background: transparent; font-size: 11px; }

.result-region { margin-top: 16px; }
.home-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.home-benefit { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: 0 8px 20px rgba(111,43,34,.04); }
.home-benefit-mark { display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--brand), #ff653f); font-size: 13px; font-weight: 850; box-shadow: 0 5px 12px rgba(227,59,53,.15); }
.home-benefit strong,.home-benefit small { display: block; overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.home-benefit strong { color: #60403b; font-size: 13px; }
.home-benefit small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.result-card { overflow: hidden; }
.result-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); background: #fffaf9; }
.result-header p, .result-body p { margin: 0; }
.result-kicker { color: var(--muted); font-size: 12px; }
.status-pill { flex: 0 0 auto; border-radius: 99px; padding: 5px 9px; font-size: 12px; font-weight: 700; }
.status-pending { color: var(--warn); background: var(--warn-pale); }
.status-available { color: var(--brand-dark); background: var(--brand-pale); }
.result-body { padding: 18px; }
.result-title { margin: 0 0 8px; font-size: 18px; line-height: 1.45; }
.result-copy { color: var(--muted); font-size: 14px; line-height: 1.65; }
.result-link { display: inline-flex; align-items: center; margin-top: 15px; color: var(--brand); font-size: 14px; font-weight: 700; text-decoration: none; }
.result-link:hover { text-decoration: underline; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.result-actions .primary-button, .result-actions > .copy-command { flex: 1 1 180px; min-height: 44px; }
.claim-actions { margin-top: 18px; }
.claim-actions .claim-button { width: 100%; min-height: 50px; font-size: 15px; }
.claim-fallback { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.claim-command-fallback { overflow-wrap: anywhere; margin: 10px 0 0; padding: 10px; border-radius: 9px; color: #7b4e48; background: #fff5f2; font-size: 12px; line-height: 1.5; }
body.has-query-result .hero,
body.has-query-result .query-panel,
body.has-query-result .home-benefits,
body.has-query-result #activity-link,
body.has-query-result #life-services { display: none !important; }
.continue-query-actions { padding: 0 18px 18px; }
.continue-query-button { width: 100%; min-height: 44px; border: 1px solid #efc1b9; border-radius: 10px; color: var(--brand-dark); background: #fff; font-weight: 750; }
.continue-query-button:hover { background: var(--brand-pale); }
.copy-command { padding: 9px 13px; border: 1px solid #efc1b9; border-radius: 10px; color: var(--brand-dark); background: #fff; font-weight: 700; }
.copy-command:hover { background: var(--brand-pale); }
.command-preview { overflow-wrap: anywhere; margin-top: 13px !important; padding: 9px 10px; border-radius: 8px; color: #7b4e48 !important; background: #fff5f2; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px !important; }
.claim-instructions { margin-top: 18px; padding: 14px 15px; border-radius: 12px; background: #fff3ec; }
.claim-instructions h3 { margin: 0; font-size: 14px; }
.claim-instructions ol { margin: 9px 0 0; padding-left: 20px; color: #7b5147; font-size: 12px; line-height: 1.65; }
.claim-instructions li + li { margin-top: 5px; }
.claim-guide-open { overflow: hidden; }
.claim-guide-overlay { position: fixed; z-index: 50; inset: 0; display: grid; align-items: center; justify-items: center; padding: 20px; background: rgba(50, 31, 29, .52); backdrop-filter: blur(3px); }
.claim-guide-sheet { position: relative; width: min(100%, 470px); max-height: min(88dvh, 720px); padding: 24px; overflow-y: auto; border: 1px solid #efd7d2; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(70, 31, 26, .25); }
.claim-guide-close { position: absolute; top: 12px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; color: #715b57; background: #fff4f1; font-size: 23px; line-height: 1; }
.claim-guide-status { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; padding-right: 34px; }
.claim-guide-status-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--brand), #ff653f); font-size: 22px; font-weight: 900; box-shadow: 0 7px 16px rgba(227,59,53,.2); }
.claim-guide-status h2 { margin: 0; font-size: 21px; line-height: 1.35; }
.claim-guide-status p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.claim-guide-visual { display: grid; grid-template-columns: 62px 42px 62px; align-items: center; justify-content: center; margin-top: 20px; padding: 18px; border-radius: 16px; background: linear-gradient(145deg, #fff3ef, #fff9f7); }
.claim-guide-app-mark { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; color: #fff; background: linear-gradient(135deg, var(--brand), #ff653f); font-size: 25px; font-weight: 900; box-shadow: 0 8px 18px rgba(227,59,53,.2); }
.claim-guide-arrow { color: #dc6a5b; font-size: 26px; font-weight: 800; text-align: center; }
.claim-guide-phone { display: grid; width: 52px; height: 68px; place-items: center; justify-self: center; border: 3px solid #77534d; border-radius: 11px; color: #77534d; background: #fff; font-size: 11px; font-weight: 850; box-shadow: inset 0 -7px 0 #fff1ee; }
.claim-guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.claim-guide-step { display: grid; align-content: start; justify-items: center; gap: 8px; min-width: 0; padding: 11px 7px; border: 1px solid #f0ddd9; border-radius: 12px; background: #fffaf9; text-align: center; }
.claim-guide-step b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #fff; background: #86564f; font-size: 12px; }
.claim-guide-step span { color: #694c47; font-size: 11px; line-height: 1.45; }
.claim-guide-command { margin-top: 13px; padding: 10px 12px; border-radius: 11px; background: #fff5f2; }
.claim-guide-command summary { color: var(--brand-dark); font-size: 12px; font-weight: 750; cursor: pointer; }
.claim-guide-command p { overflow-wrap: anywhere; margin: 9px 0 0; color: #684843; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.55; user-select: all; }
.claim-guide-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
.claim-guide-actions > :only-child { grid-column: 1 / -1; }
.claim-guide-actions .primary-button, .claim-guide-actions .copy-command { width: 100%; min-width: 0; min-height: 44px; }
.claim-copy-helper { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }
.page-toast { position: fixed; z-index: 20; left: 50%; bottom: 24px; max-width: min(88vw, 440px); padding: 11px 16px; border-radius: 999px; color: #fff; background: rgba(57,31,28,.94); box-shadow: 0 10px 28px rgba(91,35,29,.24); font-size: 13px; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .16s, transform .16s; }
.page-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.page-toast.error { background: rgba(150,47,47,.95); }
.settlement-note { margin-top: 12px !important; color: var(--faint) !important; font-size: 12px !important; }
.wechat-rebate-card { margin-top: 18px; padding: 14px 15px; border-radius: 12px; border: 1px solid #d8e6d2; background: #f3faf0; }
.wechat-rebate-card h3 { margin: 0; color: #35682c; font-size: 14px; }
.wechat-rebate-copy { margin: 6px 0 0 !important; color: #5c7a55 !important; font-size: 12px !important; }
.wechat-rebate-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.wechat-account { flex: 1 1 auto; min-width: 0; padding: 8px 10px; border-radius: 8px; overflow-wrap: anywhere; color: #35682c; background: #e8f4e3; font-weight: 700; }
.wechat-copy-button { flex: 0 0 auto; border: 1px solid #bcd6b2; color: #35682c; background: #fff; }
.product-summary { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; }
.product-summary.without-image { grid-template-columns: 1fr; }
.product-image { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; background: #fff0ed; }
.product-image.is-hidden { display: none; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.price-stat { min-width: 0; padding: 10px; border-radius: 10px; background: #fff7f5; }
.price-stat strong, .price-stat span { display: block; }
.price-stat span { color: var(--muted); font-size: 11px; }
.price-stat strong { overflow: hidden; margin-top: 4px; color: var(--ink); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.price-stat.primary { background: var(--brand-pale); }
.price-stat.primary strong { color: var(--brand-dark); }
.history-section, .offers-section { margin-top: 20px; }
.history-title { margin: 0 0 10px; font-size: 14px; }
.mini-chart { display: flex; align-items: end; gap: 4px; height: 66px; padding: 8px 6px; border-radius: 10px; background: #fff5f2; }
.chart-bar { display: block; flex: 1 1 0; min-width: 3px; border-radius: 4px 4px 1px 1px; background: #f06a54; }
.history-list { margin: 9px 0 0; padding: 0; list-style: none; }
.history-list li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 1px; border-bottom: 1px dashed #f0dcd8; color: var(--muted); font-size: 12px; }
.history-list li:last-child { border-bottom: 0; }
.history-list strong { color: var(--ink); }
.offers-list { display: grid; gap: 8px; }
.offer-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px; border-radius: 10px; background: #fff7f5; }
.offer-item strong, .offer-item span { display: block; }
.offer-item strong { font-size: 13px; }
.offer-item span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.offer-link { flex: 0 0 auto; color: var(--brand); font-size: 13px; font-weight: 700; }
.offer-command { flex: 0 0 auto; border: 0; padding: 0; color: var(--brand); background: transparent; font-size: 13px; font-weight: 700; }
.search-results { margin-top: 16px; }
.search-item { align-items: flex-start; }
.search-item-action { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.binding-note { margin-top: 12px !important; color: var(--faint) !important; font-size: 12px !important; }
.binding-note.is-confirmed { color: var(--brand-dark) !important; font-weight: 700; }
.content-section { margin-top: 28px; }
.section-link-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 17px; color: inherit; background: rgba(255,255,255,.82); text-decoration: none; box-shadow: 0 8px 20px rgba(111,43,34,.04); }
.section-link-card:hover { border-color: #e8bcb4; background: #fff; }
.section-link-card strong, .section-link-card small { display: block; }
.section-link-card strong { color: #70443e; font-size: 15px; }
.section-link-card small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.section-link-card b { flex: 0 0 auto; color: var(--brand); font-size: 13px; }
.secondary-disclosure { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.76); }
.secondary-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; color: #70443e; font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; }
.secondary-disclosure > summary::-webkit-details-marker { display: none; }
.secondary-disclosure > summary:hover { background: #fff9f7; }
.secondary-disclosure > summary small { flex: 0 0 auto; color: var(--brand); font-size: 12px; font-weight: 700; }
.secondary-disclosure > summary small::before { content: "＋ "; }
.secondary-disclosure[open] > summary { border-bottom: 1px solid var(--line); background: #fff9f7; }
.secondary-disclosure[open] > summary small::before { content: "－ "; }
.secondary-disclosure[open] > summary small { font-size: 0; }
.secondary-disclosure[open] > summary small::after { content: "收起"; font-size: 12px; }
.secondary-disclosure .content-section { margin-top: 0; padding: 17px; }
.life-services-section { margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.86); box-shadow: 0 10px 26px rgba(111,43,34,.055); }
.life-services-intro { margin: -2px 0 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.scene-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.scene-card { display: flex; min-width: 0; min-height: 102px; align-items: center; flex-direction: column; justify-content: center; gap: 5px; padding: 10px 4px; border: 1px solid #f0dcd8; border-radius: 13px; background: #fff; text-align: center; transition: border-color .16s, background .16s, transform .16s; }
.scene-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #846b67; background: #fff3f0; font-size: 15px; font-weight: 800; }
.scene-card strong { overflow: hidden; width: 100%; color: #5d4542; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.scene-card small { color: var(--faint); font-size: 10px; }
.scene-card.is-pending { border-style: dashed; background: rgba(255,250,249,.68); }
.scene-card.is-pending .scene-mark { color: #927d79; background: #f7efed; }
.scene-card.is-available { border-color: #efb8ae; background: #fff8f6; }
.scene-card.is-available .scene-mark { color: #fff; background: linear-gradient(135deg, var(--brand), #ff653f); box-shadow: 0 5px 12px rgba(227,59,53,.16); }
.scene-card.is-available small { color: var(--brand-dark); font-weight: 700; }
.verified-services-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 10px; }
.verified-services-heading strong { font-size: 14px; }
.verified-services-heading small { color: var(--faint); font-size: 11px; }
.content-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.content-heading h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.section-eyebrow { margin: 0 0 4px; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.section-status { flex: 0 0 auto; color: var(--faint); font-size: 12px; }
.service-grid, .promotion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.service-card, .promotion-card, .section-empty { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 8px 20px rgba(111,43,34,.05); }
.service-card { padding: 15px; }
.service-card h3, .promotion-card h3 { margin: 0; font-size: 15px; line-height: 1.45; }
.service-card p, .promotion-card p, .section-empty p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.service-card .copy-command, .service-card .primary-button { width: 100%; margin-top: 12px; font-size: 13px; }
.service-card .copy-command:disabled { cursor: not-allowed; color: var(--faint); border-color: var(--line); background: #fff7f5; }
.service-card .command-preview { margin-top: 10px !important; }
.service-result-note { margin: 10px 0 0 !important; color: var(--faint) !important; font-size: 12px !important; line-height: 1.55; }
.section-empty { grid-column: 1 / -1; padding: 17px; }
.section-empty h3 { margin: 0; font-size: 15px; }
.promotion-grid { grid-template-columns: 1fr; }
.promotion-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px; }
.promotion-card.without-image { grid-template-columns: 1fr; }
.promotion-image { width: 76px; height: 76px; border-radius: 10px; background: #fff0ed; object-fit: cover; }
.promotion-image.is-hidden { display: none; }
.promotion-copy { min-width: 0; }
.promotion-copy h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.promotion-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.promotion-tag { border-radius: 99px; padding: 3px 7px; color: #8a4b43; background: #fff0ed; font-size: 11px; }
.promotion-price { margin-top: 9px !important; color: var(--brand-dark) !important; font-size: 15px !important; font-weight: 800; }
.promotion-discount { color: #8a4b43 !important; }
.promotion-link { margin-top: 8px; min-height: 0; color: var(--brand); font-size: 13px; font-weight: 700; }
.venue-button { width: 100%; margin-top: 12px; font-size: 13px; }
.promotion-card .result-actions { margin-top: 10px; }
.promotion-card .primary-button { width: 100%; min-height: 40px; font-size: 13px; }
.activity-hero { padding-bottom: 15px; }
.activity-hero h1 { font-size: clamp(29px, 7.8vw, 44px); }
.back-link { display: inline-flex; align-items: center; color: var(--brand-dark); font-size: 13px; font-weight: 700; text-decoration: none; }
.limited-section { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, #fff, #fff7f5); box-shadow: 0 12px 32px rgba(111,43,34,.06); }
.limited-intro { margin: -2px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.limited-list { display: grid; gap: 10px; }
.limited-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; min-width: 0; padding: 12px; border: 1px solid #f0dcd8; border-radius: 14px; background: #fff; box-shadow: 0 7px 18px rgba(111,43,34,.045); }
.limited-card.without-image { grid-template-columns: 1fr; }
.limited-image { width: 104px; height: 104px; border-radius: 11px; object-fit: cover; background: #fff0ed; }
.limited-copy { min-width: 0; }
.limited-copy h3 { display: -webkit-box; overflow: hidden; margin: 7px 0 0; font-size: 15px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.limited-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.limited-badge { border-radius: 999px; padding: 3px 7px; color: #7e5d58; background: #fff5f2; font-size: 10px; font-weight: 700; }
.limited-badge.emphasis { color: var(--brand-dark); background: var(--brand-pale); }
.limited-badge.state.active { color: #276b49; background: #eaf8f0; }
.limited-badge.state.upcoming { color: #7a5b2c; background: #fff5df; }
.limited-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 9px; }
.limited-price { color: var(--brand-dark); font-size: 18px; }
.limited-original-price { color: var(--faint); font-size: 11px; }
.limited-time { margin: 5px 0 0; color: var(--faint); font-size: 11px; }
.limited-action { width: 100%; min-height: 38px; margin-top: 10px; font-size: 13px; text-decoration: none; }
.limited-action.is-disabled { cursor: not-allowed; color: #8d817f; background: #e8e2e0; box-shadow: none; }
.limited-empty { padding: 17px; border: 1px dashed #e9c6bf; border-radius: 13px; background: rgba(255,255,255,.75); }
.limited-empty h3 { margin: 0; font-size: 14px; }
.limited-empty p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.venue-section { margin-top: 18px; }
.venue-section + .venue-section { margin-top: 24px; }
.venue-section .content-heading { align-items: center; }
.activity-note { margin: 18px 0 0; color: var(--faint); font-size: 12px; line-height: 1.6; }

.support-section { margin-top: 16px; padding: 19px; }
.platform-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; padding: 0; list-style: none; }
.platform-list li { border: 1px solid #edd2cc; border-radius: 999px; padding: 6px 10px; color: #7c4a43; background: #fffafa; font-size: 12px; }
.support-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.trust-card { display: flex; gap: 12px; margin-top: 16px; padding: 17px; background: linear-gradient(120deg, #fff7f4, #fff); box-shadow: none; }
.trust-icon { display: grid; flex: 0 0 auto; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: 14px; font-weight: 900; }
.trust-card p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.site-footer { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 8px; padding: 0 16px 28px; color: var(--faint); font-size: 12px; text-align: center; }
.public-security-filing { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); text-decoration: none; }
.public-security-filing:hover { color: var(--muted); text-decoration: underline; }
.public-security-filing img { display: block; width: 20px; height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 720px) {
  .page-shell { width: min(100% - 48px, 700px); padding-top: 34px; }
  .hero { padding-top: 58px; padding-bottom: 30px; }
  .query-panel { padding: 24px; }
  .product-summary { grid-template-columns: 92px 1fr; }
  .product-summary.without-image { grid-template-columns: 1fr; }
  .product-image { width: 92px; height: 92px; }
}

@media (max-width: 390px) {
  .page-shell { width: min(100% - 24px, 700px); }
  .hero { padding-top: 38px; }
  .benefit-journey { display: none; }
  .query-panel { padding: 16px; }
  .home-benefits { gap: 6px; }
  .home-benefit { display: grid; justify-items: center; gap: 6px; padding: 11px 4px; text-align: center; }
  .home-benefit-mark { width: 29px; height: 29px; border-radius: 9px; }
  .home-benefit strong { font-size: 12px; }
  .home-benefit small { font-size: 9px; }
  .section-heading { display: block; }
  .section-heading span { display: block; margin-top: 5px; }
  .section-link-card { align-items: flex-start; padding: 15px; }
  .section-link-card b { padding-top: 2px; }
  .mode-button-secondary { padding-inline: 10px; }
  .secondary-disclosure .content-section { padding: 14px; }
  .life-services-section { padding: 14px; }
  .scene-grid { gap: 6px; }
  .scene-card { min-height: 96px; padding-inline: 2px; }
  .scene-card strong { font-size: 11px; }
  .verified-services-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .limited-section { padding: 14px; }
  .limited-card { grid-template-columns: 88px minmax(0, 1fr); gap: 11px; padding: 10px; }
  .limited-card.without-image { grid-template-columns: 1fr; }
  .limited-image { width: 88px; height: 88px; }
  .limited-price { font-size: 16px; }
  .price-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .claim-guide-overlay { align-items: end; padding: 0; }
  .claim-guide-sheet { width: 100%; max-height: 91dvh; padding: 21px 16px calc(17px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
  .claim-guide-status { padding-right: 30px; }
  .claim-guide-visual { margin-top: 17px; padding: 14px; }
  .claim-guide-step { padding-inline: 5px; }
  .claim-guide-actions { position: sticky; bottom: 0; padding-top: 10px; background: linear-gradient(transparent, #fff 24%); }
}

/* Synchronized activity catalog */
.activity-page-shell { width: min(100% - 32px, 1080px); }
.activity-hero-redesign { display: grid; gap: 22px; padding-bottom: 26px; }
.activity-hero-redesign .intro { max-width: 650px; }
.activity-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.activity-summary span { display: grid; gap: 3px; min-width: 0; padding: 14px 10px; border: 1px solid #efd8d3; border-radius: 13px; background: rgba(255,255,255,.82); text-align: center; }
.activity-summary strong { color: var(--brand-dark); font-size: 18px; line-height: 1.2; }
.activity-summary small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.featured-section { margin-top: 8px; }
.featured-list { grid-template-columns: minmax(0, 1fr); }
.activity-catalog { margin-top: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(111,43,34,.055); }
.catalog-heading { margin-bottom: 14px; }
.activity-filters { display: flex; gap: 8px; margin: 0 -2px 18px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.activity-filters::-webkit-scrollbar { display: none; }
.activity-filter { flex: 0 0 auto; min-height: 38px; padding: 0 15px; border: 1px solid #ead7d3; border-radius: 999px; color: #72534e; background: #fff; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.activity-filter:hover { border-color: #d8aaa2; color: var(--brand-dark); }
.activity-filter.is-active { border-color: var(--brand); color: #fff; background: var(--brand); box-shadow: 0 6px 16px rgba(227,59,53,.18); }
.owned-activity-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.owned-activity-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-width: 0; overflow: hidden; border: 1px solid #eee0dd; border-radius: 16px; background: #fffdfc; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.owned-activity-card:hover { transform: translateY(-2px); border-color: #e4c1ba; box-shadow: 0 12px 26px rgba(111,43,34,.08); }
.owned-activity-card.without-image { grid-template-columns: 1fr; }
.owned-activity-image { width: 112px; height: 100%; min-height: 166px; object-fit: cover; background: #fff1ee; }
.owned-activity-body { display: flex; flex-direction: column; min-width: 0; padding: 15px; }
.owned-activity-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.platform-label,.category-label { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.platform-label.jd { color: #b42318; background: #fff0ed; }
.platform-label.taobao { color: #9b4b12; background: #fff3e8; }
.platform-label.life { color: #176744; background: #eaf8f0; }
.category-label { color: #6f625f; background: #f4efed; }
.owned-activity-body h3 { display: -webkit-box; overflow: hidden; margin: 9px 0 0; font-size: 16px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.owned-activity-description { display: -webkit-box; overflow: hidden; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.owned-activity-deadline { margin: 8px 0 0; color: var(--faint); font-size: 11px; }
.owned-activity-action { width: 100%; min-height: 40px; margin-top: auto; padding-top: 9px; padding-bottom: 9px; font-size: 13px; }
.activity-feedback-wrap { min-width: 0; }
.activity-feedback { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.activity-feedback.is-ok { color: #176744; }
.activity-feedback.is-error { color: #b42318; }
.activity-command { display: grid; gap: 8px; margin-top: 10px; padding: 10px; border: 1px dashed #e2b9b1; border-radius: 10px; background: #fff8f6; }
.activity-command span { overflow-wrap: anywhere; color: #513b37; font-size: 12px; line-height: 1.5; }
.activity-command .copy-command { min-height: 36px; }
.catalog-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed #e6cbc5; border-radius: 14px; background: #fff9f7; text-align: center; }
.catalog-empty h3 { margin: 0; font-size: 15px; }
.catalog-empty p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.activity-empty-overview { margin-top: 8px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(111,43,34,.055); text-align: center; }
.activity-empty-overview h2 { margin: 0; font-size: 20px; }
.activity-empty-overview p { max-width: 520px; margin: 10px auto 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.activity-empty-overview .primary-button { text-decoration: none; }

@media (max-width: 420px) {
  .site-header { gap: 8px; }
  .header-badge { padding-inline: 7px; }
}

@media (min-width: 720px) {
  .activity-page-shell { width: min(100% - 48px, 1080px); }
  .activity-hero-redesign { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: end; }
  .featured-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owned-activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .activity-page-shell { width: min(100% - 24px, 1080px); }
  .activity-hero-redesign { padding-top: 38px; }
  .activity-summary span { padding: 11px 6px; }
  .activity-summary strong { font-size: 15px; }
  .activity-catalog { padding: 14px; }
  .catalog-heading { align-items: flex-start; }
  .owned-activity-card { grid-template-columns: 92px minmax(0, 1fr); }
  .owned-activity-image { width: 92px; min-height: 154px; }
  .owned-activity-body { padding: 12px; }
  .owned-activity-body h3 { font-size: 14px; }
  .owned-activity-description { -webkit-line-clamp: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .owned-activity-card { transition: none; }
}

/* 2026-10 customer UI refresh */
:root {
  --brand: #e1251b;
  --brand-dark: #b8140d;
  --brand-pale: #fff0ed;
  --canvas: #fff8f6;
  --line: #f0d7d2;
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 205, 190, .6), transparent 25rem),
    radial-gradient(circle at 92% 18%, rgba(255, 233, 211, .8), transparent 28rem),
    var(--canvas);
}

.home-page-shell { width: min(100% - 32px, 820px); padding-top: 18px; }
.home-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 3px 3px 16px; }
.home-topbar .brand-mark { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(145deg, #f43b2e, #cf160e); box-shadow: 0 9px 22px rgba(205, 30, 21, .22); }
.home-topbar .brand strong { font-size: 17px; }
.home-topbar .brand small { margin-top: 3px; }
.home-platforms { flex: 0 0 auto; border: 1px solid rgba(225, 37, 27, .16); border-radius: 999px; padding: 7px 11px; color: #a62a23; background: rgba(255, 255, 255, .78); font-size: 11px; font-weight: 750; box-shadow: 0 5px 18px rgba(105, 36, 28, .05); }

.home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; min-height: 250px; padding: 42px 44px 52px; overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(125deg, #d81712 0%, #ef3126 54%, #ff6847 100%); box-shadow: 0 22px 55px rgba(185, 31, 21, .2); }
.home-hero::before { content: ""; position: absolute; width: 280px; height: 280px; top: -145px; right: -35px; border: 56px solid rgba(255,255,255,.08); border-radius: 50%; }
.home-hero::after { content: ""; position: absolute; inset: auto -4% -75px 34%; height: 150px; border-radius: 50%; background: rgba(255,255,255,.07); transform: rotate(-6deg); }
.home-hero-copy { position: relative; z-index: 1; }
.home-hero .eyebrow { display: inline-flex; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; padding: 6px 10px; color: #fff; background: rgba(255,255,255,.12); letter-spacing: .06em; }
.home-hero h1 { color: #fff; font-size: clamp(38px, 7vw, 56px); letter-spacing: -.055em; text-shadow: 0 2px 12px rgba(115, 12, 8, .18); }
.home-hero .intro { margin-top: 14px; color: rgba(255,255,255,.88); font-size: 16px; font-weight: 550; }
.hero-coupon-art { position: relative; z-index: 1; min-height: 130px; }
.hero-ticket { position: absolute; display: grid; align-content: center; width: 154px; height: 94px; border-radius: 18px; color: #c91b14; background: linear-gradient(145deg, #fffef9, #ffe8d8); box-shadow: 0 18px 36px rgba(121, 13, 8, .22); transform: rotate(-6deg); }
.hero-ticket::before, .hero-ticket::after { content: ""; position: absolute; top: 36px; width: 18px; height: 18px; border-radius: 50%; background: #ef3528; }
.hero-ticket::before { left: -9px; }
.hero-ticket::after { right: -9px; }
.hero-ticket b { padding-left: 25px; font-size: 35px; line-height: 1; }
.hero-ticket small { padding: 8px 25px 0; color: #a34b41; font-size: 11px; font-weight: 700; }
.hero-ticket-main { z-index: 2; top: 21px; right: 8px; }
.hero-ticket-back { top: 4px; right: -17px; color: #fff; background: linear-gradient(145deg, #ffcf61, #ff8a32); transform: rotate(8deg); opacity: .9; }

.home-page-shell .query-panel { position: relative; z-index: 3; margin: -26px 24px 0; padding: 27px 28px 24px; border-color: rgba(225, 37, 27, .12); border-radius: 24px; box-shadow: 0 20px 50px rgba(108, 35, 27, .12); }
.query-heading { align-items: end; margin-bottom: 17px; }
.query-heading > div { min-width: 0; }
.query-heading h2 { margin-top: 4px; color: #2f1e1b; font-size: 21px; letter-spacing: -.03em; }
.section-kicker { color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.query-path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0 0 18px; padding: 0; list-style: none; }
.query-path::before { content: ""; position: absolute; z-index: 0; top: 14px; left: 16%; right: 16%; height: 1px; background: #f0c3bc; }
.query-path li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; min-width: 0; color: #75514c; font-size: 11px; font-weight: 700; }
.query-path b { display: grid; width: 29px; height: 29px; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--brand); box-shadow: 0 4px 10px rgba(225,37,27,.2); font-size: 11px; }
.home-page-shell .input-wrap { min-height: 58px; border-width: 1.5px; border-color: #ecc1ba; border-radius: 15px; background: #fffdfc; }
.home-page-shell .link-icon { width: 46px; }
.home-page-shell .primary-button { min-height: 48px; min-width: 152px; border-radius: 13px; background: linear-gradient(135deg, #e1251b, #ff5b3f); box-shadow: 0 10px 24px rgba(225,37,27,.2); }
.home-page-shell .form-message { margin-top: 8px; }

.home-page-shell .home-benefits { margin-inline: 24px; }
.home-page-shell .home-benefit { border-color: rgba(225,37,27,.12); background: rgba(255,255,255,.9); box-shadow: 0 10px 24px rgba(91,36,29,.055); }
.home-page-shell .home-benefit-mark { background: linear-gradient(145deg, #ef3a2f, #d91e16); }
.home-page-shell .section-link-card, .home-page-shell .life-services-section { margin-inline: 24px; }
.activity-entry-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; padding: 18px; border-color: rgba(225,37,27,.17); background: linear-gradient(135deg, #fff, #fff2ee); }
.section-link-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #ef3a2f, #d71912); font-weight: 900; box-shadow: 0 8px 18px rgba(225,37,27,.18); }
.activity-entry-card b { border-radius: 999px; padding: 7px 11px; background: var(--brand-pale); }
.home-assurance { margin: 18px 24px 0; color: #8b7571; font-size: 11px; line-height: 1.6; text-align: center; }
.life-services-section { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 12px 30px rgba(91,36,29,.055); }

.home-page-shell .result-card { border-radius: 24px; box-shadow: 0 20px 55px rgba(95,32,24,.13); }
.home-page-shell .result-header { padding: 17px 21px; background: linear-gradient(135deg, #fff4f1, #fffaf8); }
.home-page-shell .result-body { padding: 22px; }
.home-page-shell .result-title { color: #c51b13; font-size: 22px; }
.result-product-title { margin: -1px 0 4px !important; color: #5f4945; font-size: 14px; line-height: 1.6; }
.home-page-shell .price-grid { gap: 10px; }
.home-page-shell .price-stat { border: 1px solid #f1ded9; border-radius: 13px; background: #fffaf8; }
.home-page-shell .price-stat.primary { border-color: #f0bcb4; background: linear-gradient(145deg, #fff0ec, #fff8f6); }
.home-page-shell .price-stat.primary strong { font-size: 18px; }
.home-page-shell .claim-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.home-page-shell .claim-actions .claim-button { width: 100%; min-height: 54px; border-radius: 14px; font-size: 15px; }

.activity-page-shell { width: min(100% - 32px, 1080px); padding-top: 18px; }
.activity-page-shell .site-header { padding: 3px 3px 16px; }
.activity-page-shell .back-link { border: 1px solid #efc7c0; border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.8); }
.activity-page-shell .activity-hero-redesign { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); align-items: end; gap: 28px; min-height: 250px; padding: 38px 42px; overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(125deg, #c9120c, #ea2920 52%, #ff6a47); box-shadow: 0 22px 55px rgba(185,31,21,.2); }
.activity-page-shell .activity-hero-redesign::after { content: "券"; position: absolute; right: -18px; top: -52px; color: rgba(255,255,255,.08); font-size: 260px; font-weight: 950; line-height: 1; transform: rotate(8deg); }
.activity-page-shell .activity-hero-redesign > * { position: relative; z-index: 1; }
.activity-page-shell .activity-hero .eyebrow { color: #fff0e6; }
.activity-page-shell .activity-hero h1 { max-width: 640px; color: #fff; font-size: clamp(34px, 5vw, 52px); }
.activity-page-shell .activity-hero .intro { color: rgba(255,255,255,.84); }
.activity-page-shell .activity-summary span { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.activity-page-shell .activity-summary strong { color: #fff; font-size: 23px; }
.activity-page-shell .activity-summary small { color: rgba(255,255,255,.8); }

.campaign-spotlight { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 24px; margin-top: 20px; padding: 30px 34px; overflow: hidden; border-radius: 24px; color: #fff; background: linear-gradient(120deg, #2c1714, #7a1712 52%, #d52a1f); box-shadow: 0 18px 42px rgba(75,24,18,.18); }
.campaign-spotlight-copy { position: relative; z-index: 1; min-width: 0; }
.campaign-platform { display: inline-flex; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 9px; color: #ffe1d6; font-size: 11px; font-weight: 800; }
.campaign-spotlight h2 { max-width: 650px; margin: 12px 0 0; font-size: clamp(25px, 4vw, 38px); line-height: 1.25; }
.campaign-spotlight p { max-width: 620px; margin: 10px 0 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.65; }
.campaign-action { margin-top: 20px; border-color: rgba(255,255,255,.2); background: #fff; color: #c91b13; box-shadow: 0 10px 26px rgba(0,0,0,.17); }
.campaign-action:hover { background: #fff1eb; }
.campaign-spotlight-art { position: relative; min-height: 128px; }
.campaign-spotlight-art span, .campaign-spotlight-art b { position: absolute; display: grid; place-items: center; border-radius: 20px; box-shadow: 0 18px 35px rgba(0,0,0,.2); }
.campaign-spotlight-art span { z-index: 2; right: 22px; top: 14px; width: 120px; height: 82px; color: #c91b13; background: linear-gradient(145deg, #fff, #ffe0cf); font-size: 38px; transform: rotate(-7deg); }
.campaign-spotlight-art b { right: 0; top: 0; width: 118px; height: 82px; color: #fff; background: linear-gradient(145deg, #ffb642, #ff6b2f); font-size: 30px; transform: rotate(8deg); }
.campaign-spotlight .activity-feedback { color: rgba(255,255,255,.84); }
.campaign-spotlight .activity-feedback.is-error { color: #ffd0c9; }
.coupon-search-preview { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 14px; margin-top: 20px; padding: 18px; border: 1px solid #efc6bf; border-radius: 18px; background: #fff; }
.coupon-search-mark, .empty-coupon-mark { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #ef3a2f, #d71912); font-weight: 900; box-shadow: 0 8px 20px rgba(225,37,27,.18); }
.coupon-search-mark { width: 48px; height: 48px; border-radius: 15px; }
.coupon-search-preview h2, .coupon-search-preview p { margin: 0; }
.coupon-search-preview h2 { font-size: 18px; }
.coupon-search-preview p:last-child { margin-top: 5px; color: var(--muted); font-size: 12px; }
.activity-empty-overview { padding: 34px 24px; }
.empty-coupon-mark { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 17px; font-size: 20px; }
.activity-page-shell .limited-section, .activity-page-shell .activity-catalog { border-radius: 22px; box-shadow: 0 16px 40px rgba(91,36,29,.07); }
.activity-page-note { margin: 18px 0 0; color: #8b7571; font-size: 11px; text-align: center; }
.activity-claim-panel { display: grid; gap: 9px; margin-top: 10px; }
.activity-open-link { width: 100%; min-height: 40px; text-decoration: none; }
.activity-command { background: #fff; }
.home-channel-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.home-channel-links a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 12px 16px; border: 1px solid #f0dcd8; border-radius: 13px; color: #a52119; background: #fff; font-size: 13px; font-weight: 750; text-decoration: none; }
.home-channel-links a:last-child { border-color: #f6d8c4; color: #c34d0b; background: #fff9f3; }
body.has-query-result .home-channel-links { display: none; }
.service-card-heading { display: flex; align-items: center; gap: 9px; }
.service-platform-mark { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: #e1251b; font-size: 17px; font-weight: 850; }
.service-meituan-waimai .service-platform-mark { color: #624914; background: #ffcf38; }
.service-eleme-waimai .service-platform-mark { background: #1685e6; }
.service-didi-taxi .service-platform-mark { background: #f58b1f; }
.service-availability { display: inline-flex; margin-top: 10px; padding: 4px 7px; border-radius: 7px; color: #8b7571; background: #f6f0ed; font-size: 10px; }
.service-availability.is-live { color: #176744; background: #eaf8f0; }
.life-channel-link { display: flex; justify-content: space-between; margin-top: 16px; color: var(--brand-dark); font-size: 12px; font-weight: 750; text-decoration: none; }
.activity-page-shell .life-services-section { margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.channel-navigation { margin: 18px 0 0; padding: 4px 2px 6px; }
.channel-navigation .activity-filter { display: inline-flex; align-items: center; min-height: 42px; text-decoration: none; }
body[data-channel="taobao"] { --brand: #ee5610; --brand-dark: #c44208; --brand-pale: #fff0e2; }
body[data-channel="taobao"] .activity-hero-redesign { background: linear-gradient(125deg, #e74608, #ff6416 55%, #ff943f); box-shadow: 0 22px 55px rgba(198,78,16,.18); }
body[data-channel="taobao"] .activity-hero-redesign::after { content: "淘"; }
body[data-channel="taobao"] .campaign-spotlight { background: linear-gradient(120deg, #57250b, #ae390e 52%, #ec6019); }
body[data-channel="taobao"] .campaign-action { color: #c44208; }
body[data-channel="taobao"] .campaign-spotlight-art span { color: #c44208; }
body[data-channel="taobao"] .empty-coupon-mark { background: linear-gradient(145deg, #ff7a26, #e8470b); }

@media (min-width: 720px) {
  .home-page-shell { width: min(100% - 48px, 820px); padding-top: 24px; }
  .home-page-shell .hero { padding-top: 42px; padding-bottom: 52px; }
  .home-page-shell .query-panel { padding: 29px 31px 25px; }
}

@media (max-width: 640px) {
  .home-page-shell { width: min(100% - 24px, 820px); padding-top: 12px; }
  .home-topbar { padding-bottom: 12px; }
  .home-platforms { display: none; }
  .home-hero { display: block; min-height: 220px; padding: 32px 24px 56px; border-radius: 22px; }
  .home-hero h1 { max-width: 300px; font-size: clamp(28px, 8.5vw, 34px); }
  .home-hero .intro { max-width: 235px; font-size: 14px; }
  .hero-coupon-art { position: absolute; right: -12px; bottom: 8px; width: 150px; min-height: 110px; opacity: .95; transform: scale(.78); transform-origin: right bottom; }
  .home-page-shell .query-panel { margin: -28px 10px 0; padding: 21px 16px 18px; border-radius: 20px; }
  .query-heading { display: block; }
  .query-heading > span { display: block; margin-top: 5px; }
  .query-heading h2 { font-size: 19px; }
  .query-path { margin-bottom: 15px; }
  .home-page-shell .input-wrap { min-height: 54px; }
  .home-page-shell .action-row { margin-top: 15px; }
  .home-page-shell .primary-button { flex: 1 1 auto; min-width: 0; }
  .home-page-shell .home-benefits { margin-inline: 10px; }
  .home-page-shell .section-link-card, .home-page-shell .life-services-section { margin-inline: 10px; }
  .activity-entry-card { grid-template-columns: auto minmax(0, 1fr); }
  .activity-entry-card b { grid-column: 2; justify-self: start; margin-top: 8px; }
  .home-assurance { margin-inline: 10px; }
  .home-channel-links { margin-inline: 10px; }
  .home-page-shell .result-body { padding: 18px; }
  .home-page-shell .price-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .activity-page-shell { width: min(100% - 24px, 1080px); padding-top: 12px; }
  .activity-page-shell .activity-hero-redesign { display: block; min-height: auto; padding: 30px 22px 24px; border-radius: 22px; }
  .activity-page-shell .activity-hero h1 { font-size: 33px; }
  .activity-page-shell .activity-summary { margin-top: 24px; }
  .activity-page-shell .activity-summary strong { font-size: 18px; }
  .campaign-spotlight { display: block; padding: 25px 21px; border-radius: 20px; }
  .campaign-spotlight-art { position: absolute; right: -26px; bottom: -22px; width: 125px; opacity: .35; transform: scale(.7); }
  .campaign-spotlight-copy { padding-right: 10px; }
  .campaign-action { width: 100%; }
}

/* Admin */
.admin-shell{width:min(100% - 32px,1080px);margin:0 auto;padding:24px 0 56px}.admin-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.admin-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px;padding:26px;border:1px solid #ead9d5;border-radius:22px;background:linear-gradient(145deg,#fff,#fff7f5);box-shadow:0 12px 32px rgba(111,43,34,.055)}.admin-hero h1{margin:4px 0 8px;font-size:clamp(25px,4vw,36px)}.admin-hero p{max-width:620px;margin:0;color:#806c68;font-size:13px;line-height:1.65}.admin-nav{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}.admin-nav::-webkit-scrollbar{display:none}.admin-nav a{flex:0 0 auto;padding:9px 13px;border:1px solid #ead9d5;border-radius:999px;color:#6f4b45;background:#fff;font-size:12px;font-weight:800;text-decoration:none}.admin-grid-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.admin-panel{padding:22px;border:1px solid #ead9d5;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(111,43,34,.05)}.admin-panel h1,.admin-panel h2{margin:0 0 8px}.admin-panel h1{font-size:26px}.admin-panel h2{font-size:19px}.admin-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.admin-note,.field-note{color:#806c68;font-size:13px;line-height:1.65}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.admin-field{display:grid;gap:6px}.admin-field span{font-size:13px;font-weight:750}.admin-field input{box-sizing:border-box;min-width:0;width:100%;padding:11px 12px;border:1px solid #dcc8c4;border-radius:10px;background:#fff;font:inherit}.admin-field input:focus{outline:3px solid rgba(227,59,53,.1);border-color:#d67568}.admin-field.wide{grid-column:1/-1}.admin-check{display:flex;align-items:center;gap:9px;margin-top:14px;font-weight:700}.admin-check input{width:18px;height:18px}.service-row,.featured-row,.activity-admin-row{margin-top:12px;padding:15px;border:1px solid #eee0dd;border-radius:13px;background:#fffdfc}.service-row h3,.featured-row h3,.activity-admin-row h3{margin:0 0 8px;font-size:15px}.featured-meta,.activity-admin-meta{display:flex;flex-wrap:wrap;gap:7px;color:#806c68;font-size:12px}.featured-meta span,.activity-admin-meta span{padding:4px 7px;border-radius:7px;background:#f7f1ef}.status-published{color:#176744!important;background:#eaf8f0!important}.status-draft{color:#7a5b2c!important;background:#fff5df!important}.status-offline,.status-expired{color:#7d6864!important;background:#f2ecea!important}.admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.admin-actions button{min-height:40px;padding:9px 14px}.admin-actions.compact{margin-top:10px}.admin-actions.compact button{min-height:36px;font-size:12px}.admin-message{min-height:20px;margin:10px 0 0;color:#806c68;font-size:13px}.admin-message.is-error{color:#b42318}.admin-message.is-ok{color:#137333}.admin-inline-actions{display:flex;align-items:end;gap:10px}.admin-inline-actions .admin-field{min-width:120px}.sync-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.sync-summary span{display:grid;gap:2px;padding:12px;border:1px solid #eee0dd;border-radius:11px;background:#fffaf8;text-align:center}.sync-summary strong{font-size:18px}.sync-summary small{color:#806c68;font-size:10px}details.admin-panel summary{cursor:pointer;font-weight:800}details.admin-panel[open] summary{margin-bottom:16px}.admin-hidden{display:none!important}.admin-savebar{position:sticky;bottom:12px;z-index:2;box-shadow:0 14px 36px rgba(71,37,31,.16)}
@media(min-width:900px){.admin-grid-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-panel.wide{grid-column:1/-1}.admin-panel.settings-narrow{align-self:start}}
@media(max-width:620px){.admin-shell{width:min(100% - 24px,1080px);padding-top:16px}.admin-header{align-items:flex-start;gap:12px}.admin-hero{display:block;padding:20px}.admin-hero .back-link{margin-top:14px}.admin-grid{grid-template-columns:1fr}.admin-field.wide{grid-column:auto}.admin-panel{padding:16px}.admin-panel-heading{display:block}.admin-inline-actions{display:grid;grid-template-columns:1fr}.sync-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-savebar{bottom:8px}}

/* 2026-10-09 homepage keeps the production recovery controls while using the red storefront layout. */
.home-page-shell .input-wrap-textarea { display: block; overflow: visible; min-height: 0; padding: 0; }
.home-page-shell .input-wrap-textarea textarea { display: block; width: 100%; min-width: 0; min-height: 132px; padding: 15px 16px 7px; border: 0; border-radius: 14px 14px 0 0; outline: none; color: var(--ink); background: transparent; font: inherit; font-size: 16px; line-height: 1.7; resize: vertical; }
.home-page-shell .input-wrap-textarea textarea::placeholder { color: #806f6c; opacity: 1; }
.home-page-shell .input-wrap-textarea textarea:disabled { opacity: .7; }
.home-page-shell .input-tools { display: flex; justify-content: flex-end; align-items: center; gap: 4px; padding: 0 6px 4px; }
.home-page-shell .input-tools button { min-width: 48px; min-height: 40px; padding: 8px 12px; }
.home-page-shell .query-tutorial { position: relative; flex: 0 0 auto; }
.home-page-shell .query-tutorial summary { display: flex; align-items: center; min-height: 40px; color: var(--brand-dark); font-size: 13px; cursor: pointer; list-style: none; }
.home-page-shell .query-tutorial summary::-webkit-details-marker, .home-page-shell .query-history > summary::-webkit-details-marker { display: none; }
.home-page-shell .query-tutorial ol { position: absolute; z-index: 5; top: 100%; right: 0; width: min(76vw, 310px); margin: 0; padding: 16px 16px 16px 34px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; box-shadow: 0 8px 26px rgba(91,36,29,.14); font-size: 14px; line-height: 1.8; }
.home-page-shell .query-tutorial li + li { margin-top: 8px; }
.home-page-shell .query-history { margin-top: 18px; padding: 0; border: 0; }
.home-page-shell .query-history > summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px; border: 1px solid #f0dcd8; border-radius: 10px; color: #795954; background: #fff7f5; font-size: 15px; cursor: pointer; list-style: none; }
.home-page-shell .query-history > summary::after { width: 7px; height: 7px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); content: ""; }
.home-page-shell .query-history[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.home-page-shell #history-count:not(:empty) { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; color: #87453d; background: #ffe2dc; font-size: 12px; }
.home-page-shell .query-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 6px; color: var(--muted); font-size: 11px; }
.home-page-shell .history-clear-button { min-height: 40px; }
.home-page-shell .query-history-item { grid-template-columns: minmax(0,1fr) auto auto; border-color: var(--line); }
.home-page-shell .history-replay-button { min-height: 44px; white-space: normal; }
.home-page-shell .history-delete-button { min-width: 44px; min-height: 44px; }
.history-item-name { display: block; max-height: 3.2em; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.history-item-meta { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.history-replay-button:disabled { cursor: wait; opacity: .55; }
.product-thumbnail { flex: 0 0 72px; width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 10px; object-fit: contain; background: #fff; }
.result-status { margin: 0 18px 16px; padding: 12px 14px; border: 1px solid #f1d3cd; border-radius: 10px; color: var(--brand-dark); background: #fff5f2; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.result-status.error { border-color: #f2d9d9; color: var(--danger); background: #fff6f6; }
.claim-manual-link { display: block; margin: 16px 0 0; padding: 12px; border: 1px solid #f1d3cd; border-radius: 10px; color: var(--brand-dark); background: #fff5f2; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.service-availability.is-paused { color: #966000; background: #fff3dd; }
@media (max-width: 380px) { .home-page-shell .query-heading { align-items: flex-start; } .home-page-shell .query-history-item { gap: 4px; } .home-page-shell .history-delete-button { min-width: 38px; padding-inline: 3px; } }

