:root {
  --ink: #17191b;
  --ink-soft: #596461;
  --paper: #f5f6f2;
  --line: #d8ded9;
  --coral: #e25d50;
  --coral-dark: #bf4238;
  --sun: #f0cf62;
  --mint: #dceee7;
  --blue: #d8e7ee;
  --wechat-green: #07C160;
  --peach: #f6e8dd;
  --white: #ffffff;
  --header-bg: #0b0c0e;
  --header-text: #fff5dc;
  --tab-area: #ffffff;
  --content-width: 1180px;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { min-width: 320px; margin: 0; padding-bottom: 86px; overflow-x: hidden; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; letter-spacing: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
img, video { display: block; max-width: 100%; }
h1, h2, p { overflow-wrap: anywhere; }

.site-message { position: fixed; z-index: 100; top: 12px; right: 12px; max-width: min(360px, calc(100% - 24px)); padding: 10px 12px; color: #75342e; border: 1px solid #e9b2ad; border-radius: 4px; background: #fff4f2; font-size: 13px; }
body.preview-editor-mode [data-edit] { cursor: text; outline: 1px dashed transparent; outline-offset: 3px; transition: outline-color 120ms ease, background-color 120ms ease; }
body.preview-editor-mode [data-edit]:hover, body.preview-editor-mode [data-edit]:focus { outline-color: var(--sun); background-color: rgba(255, 241, 120, .16); }
body.preview-editor-mode [data-edit][data-edit-type="image"] { cursor: pointer; }
body.preview-editor-mode [contenteditable="true"] { min-width: 1.5em; }

.site-header { position: sticky; z-index: 30; top: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 5vw, 64px); color: var(--header-text); border-bottom: 1px solid #6f5122; background: var(--header-bg); box-shadow: 0 8px 24px rgba(0, 0, 0, .3), inset 0 -1px 0 rgba(225, 180, 85, .12); }
.site-header::before, .site-header::after { content: ""; position: absolute; bottom: -1px; width: clamp(34px, 12vw, 170px); height: 2px; background: #a22d25; }
.site-header::before { left: 0; }
.site-header::after { right: 0; }
.brand { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; color: inherit; text-decoration: none; white-space: nowrap; }
.brand-logo { width: 48px; height: 48px; padding: 2px; border: 1px solid #9a6d2f; border-radius: 4px; background: #050506; box-shadow: 0 0 0 1px rgba(235, 194, 104, .14) inset, 0 0 18px rgba(169, 39, 31, .32); object-fit: contain; }
.brand-copy { min-width: 0; display: grid; grid-template-rows: 12px 24px 13px; align-content: center; }
.brand-kicker, .brand-subtitle, .brand-copy strong { overflow: hidden; letter-spacing: 0; text-overflow: ellipsis; }
.brand-kicker { align-self: center; color: #c69a4b; font-size: 8px; font-weight: 800; line-height: 1.25; }
.brand-copy strong { align-self: center; color: #fff5dc; font-size: 20px; font-weight: 900; line-height: 1; text-shadow: 0 1px 0 #000, 0 0 12px rgba(214, 169, 72, .2); }
.brand-subtitle { align-self: center; color: #c3b8a6; font-size: 9px; font-weight: 700; line-height: 1.35; }
.header-cta { flex: 0 0 auto; min-height: 38px; margin-left: 14px; padding: 0 14px; color: #fff1d0; border: 1px solid #9b6b30; border-radius: 4px; background: #7e211c; box-shadow: 0 0 0 1px rgba(255, 219, 145, .08) inset, 0 5px 16px rgba(0, 0, 0, .28); font-size: 13px; font-weight: 800; }
.header-cta:hover { border-color: #d0a652; background: #9f2922; }

.story-nav { position: sticky; z-index: 25; top: 72px; display: flex; gap: 8px; overflow-x: auto; padding: 9px max(16px, calc((100% - var(--content-width)) / 2)); border-bottom: 1px solid var(--line); background: var(--tab-area); scrollbar-width: none; }
.story-nav::-webkit-scrollbar { display: none; }
.story-nav button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; color: var(--tab-text, #39413f); border: 1px solid var(--tab-border, #d4ddd8); border-radius: 4px; background: var(--tab-bg, #fff); font-size: 13px; font-weight: 800; }
.story-nav button:hover { border-color: var(--coral); }
.story-nav button.is-active { color: var(--tab-active-text, #fff); border-color: var(--tab-active-bg, var(--coral)); background: var(--tab-active-bg, var(--coral)); box-shadow: inset 0 -3px 0 var(--tab-active-shadow, var(--coral-dark)); }
.story-nav span { color: #bd483e; font-size: 11px; }
.story-nav b { font-weight: 800; }
.story-nav button.is-active span { color: #fff0cb; }
.story-nav button.is-featured:not(.is-active) { border-color: #9b7134; box-shadow: inset 0 0 0 1px rgba(240, 207, 98, .08); }
.nav-live-tag { display: inline-grid; min-height: 19px; place-items: center; padding: 0 5px; color: #2c1d08; border-radius: 3px; background: var(--sun); font-size: 9px; font-style: normal; font-weight: 900; line-height: 1; }
.story-nav button.is-active .nav-live-tag { color: #9a3129; background: #fff3c8; }

.hero { position: relative; min-height: min(560px, 62svh); overflow: hidden; color: #fff; background: var(--ink); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 13, .88) 0%, rgba(10, 12, 13, .57) 54%, rgba(10, 12, 13, .1) 100%); }
.hero-content { position: relative; width: min(calc(100% - 40px), var(--content-width)); margin: 0 auto; padding: clamp(76px, 13vh, 128px) 0 46px; }
.eyebrow, .deck-index { margin: 0 0 12px; color: var(--sun); font-size: 13px; font-weight: 800; }
.hero h1 { max-width: 720px; margin: 0 0 14px; font-size: clamp(39px, 6.1vw, 68px); line-height: 1.08; }
.hero-copy { max-width: 470px; margin: 0 0 25px; color: #e2e7e4; font-size: 16px; }
.hero-button, .join-button { display: inline-grid; min-height: 48px; place-items: center; padding: 0 21px; color: #fff; border: 0; border-radius: 4px; background: var(--coral); font-weight: 800; }
.hero-button:hover, .join-button:hover { background: var(--coral-dark); }

.content-deck { min-height: 630px; scroll-margin-top: 118px; padding: clamp(46px, 6vw, 76px) max(20px, calc((100% - var(--content-width)) / 2)) clamp(54px, 7vw, 88px); background: #fff; }
.content-deck[hidden] { display: none !important; }
.content-deck.deck-proof { background: var(--mint); }
.content-deck.deck-feedback { background: var(--peach); }
.content-deck.deck-activity { background: #fff4cf; }
.content-deck.deck-profiles { background: var(--blue); }
.deck-heading { display: grid; grid-template-columns: 182px minmax(0, 1fr); gap: 8px 26px; align-items: start; width: min(100%, var(--content-width)); margin: 0 auto 28px; }
.deck-index { margin: 9px 0 0; color: var(--coral-dark); }
.deck-title-row { min-width: 0; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.deck-title-row > div { min-width: 0; }
.deck-heading h2 { margin: 0 0 7px; font-size: clamp(29px, 3.8vw, 48px); line-height: 1.17; }
.deck-heading .deck-title-row p { max-width: 650px; margin: 0; color: var(--ink-soft); }
.expand-button { flex: 0 0 auto; min-height: 40px; padding: 0 15px; color: #fff; border: 1px solid var(--coral); border-radius: 4px; background: var(--coral); font-size: 13px; font-weight: 800; }
.expand-button:hover { background: var(--coral-dark); }

.carousel-shell { width: min(100%, var(--content-width)); margin: 0 auto; }
.asset-carousel { position: relative; padding: 0 48px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 12px; overflow-x: auto; padding: 2px 0 14px; scroll-snap-type: x mandatory; scroll-padding-left: 1px; scrollbar-width: thin; scrollbar-color: #8d9a95 transparent; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { height: 7px; }
.carousel-track::-webkit-scrollbar-thumb { border-radius: 5px; background: #8d9a95; }
.carousel-card { position: relative; flex: 0 0 clamp(212px, 23vw, 302px); height: 440px; overflow: hidden; padding: 0; border: 1px solid rgba(29, 40, 35, .2); border-radius: 5px; background: #e7ece9; scroll-snap-align: start; }
.carousel-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; background: linear-gradient(135deg, #dfe6e2, #f4f6f4); transition: transform 180ms ease, opacity 180ms ease; }
.carousel-card:hover img { transform: scale(1.018); }
.play-badge { position: absolute; z-index: 2; top: 50%; left: 50%; width: 68px; height: 68px; display: grid; place-items: center; color: #fff; border: 2px solid rgba(255, 255, 255, .92); border-radius: 50%; background: rgba(7, 9, 10, .78); box-shadow: 0 8px 28px rgba(0, 0, 0, .38), 0 0 0 6px rgba(255, 255, 255, .13); transform: translate(-50%, -50%); transition: background-color 160ms ease, transform 160ms ease; }
.play-badge-icon { display: block; margin-left: 5px; font-size: 29px; line-height: 1; }
.carousel-card:hover .play-badge, .carousel-card:active .play-badge { background: var(--coral); transform: translate(-50%, -50%) scale(1.06); }
.representative-badge { position: absolute; z-index: 3; top: 12px; left: 12px; min-height: 28px; display: inline-grid; place-items: center; padding: 0 10px; color: #2c1d08; border: 1px solid #f7dea0; border-radius: 4px; background: var(--sun); box-shadow: 0 5px 16px rgba(0, 0, 0, .28); font-size: 11px; font-weight: 900; }
.carousel-side-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 42px; height: 80px; place-items: center; padding: 0; color: #fff; border: 1px solid rgba(255, 255, 255, .7); border-radius: 4px; background: rgba(23, 25, 27, .8); box-shadow: 0 6px 22px rgba(0, 0, 0, .18); font-size: 36px; line-height: 1; transform: translateY(-50%); }
.carousel-side-arrow:hover, .carousel-side-arrow:active { background: var(--coral); }
.carousel-side-arrow:disabled { cursor: default; opacity: .45; }
.carousel-side-arrow.is-previous { left: 0; }
.carousel-side-arrow.is-next { right: 0; }
.carousel-toolbar { display: flex; align-items: center; justify-content: center; margin-top: 11px; }
.carousel-progress { color: #4f5c57; font-size: 13px; font-weight: 800; }
.carousel-arrow { display: none; }
.asset-carousel.is-expanded { padding: 0; }
.asset-carousel.is-expanded .carousel-viewport { overflow: visible; }
.asset-carousel.is-expanded .carousel-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; scroll-snap-type: none; }
.asset-carousel.is-expanded .carousel-card { width: 100%; height: auto; min-height: 430px; aspect-ratio: 9 / 16; }
.asset-carousel.is-expanded .carousel-side-arrow, .asset-carousel.is-expanded .carousel-toolbar { display: none; }

.join { padding: 68px 20px 82px; color: #fff; background: var(--ink); text-align: center; }
.join p { margin: 0 0 11px; color: var(--sun); font-size: 13px; font-weight: 800; }
.join h2 { margin: 0 0 24px; font-size: clamp(28px, 4vw, 46px); line-height: 1.2; }

.purchase-bar { position: fixed; z-index: 28; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 230px); align-items: center; gap: 18px; min-height: 74px; padding: 10px max(18px, calc((100% - var(--content-width)) / 2)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); box-shadow: 0 -8px 30px rgba(17, 25, 22, .12); transition: opacity 180ms ease, transform 180ms ease; }
.purchase-bar.is-hidden { pointer-events: none; opacity: 0; transform: translateY(100%); }
.purchase-bar.is-visible { opacity: 1; transform: translateY(0); }
.purchase-bar div { display: flex; align-items: baseline; gap: 10px; }
.purchase-bar span { color: var(--ink-soft); font-size: 13px; }
.purchase-bar strong { color: var(--ink); font-size: 17px; }
.purchase-button { width: 100%; min-height: 48px; color: #fff; border: 0; border-radius: 4px; background: var(--coral); font-weight: 800; }
.purchase-button:hover { background: var(--coral-dark); }

dialog { border: 0; }
.join-dialog { width: min(100% - 32px, 760px); padding: 0; border-radius: 6px; color: var(--ink); background: #fff; box-shadow: 0 18px 60px rgba(0, 0, 0, .25); }
.join-dialog::backdrop, .media-dialog::backdrop, .video-dialog::backdrop { background: rgba(15, 18, 19, .76); }
.join-dialog[open] { display: block; animation: dialog-in 180ms ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.join-dialog > * { margin-right: 24px; margin-left: 24px; }
.dialog-topline { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; margin-bottom: 4px; }
.dialog-eyebrow { margin: 0; color: var(--coral-dark); font-size: 13px; font-weight: 800; }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; }
.icon-button:hover { background: #f0f2ef; }
.join-dialog-content { display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 14px; margin-bottom: 24px; min-width: 0; }
.join-qr-wrap { display: grid; min-width: 0; min-height: 310px; place-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 5px; background: #f7f8f5; }
.join-qr { width: min(100%, 282px); height: auto; border-radius: 3px; }
.join-instructions { min-width: 0; }
.join-instructions h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.24; }
.join-group-label { display: inline-flex; align-items: center; min-height: 42px; margin: 0 0 10px; padding: 4px 13px; color: #fff; border-left: 5px solid var(--sun); border-radius: 4px; background: var(--coral); font-size: 25px; font-weight: 900; line-height: 1; }
.join-steps { margin: 0 0 22px; padding-left: 20px; color: #30383a; font-size: 14px; }
.join-steps li + li { margin-top: 6px; }
.join-actions { display: flex; gap: 10px; }
.save-qr-button, .open-wechat-button { display: inline-grid; min-height: 46px; place-items: center; padding: 0 15px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 800; }
.save-qr-button { color: #fff; background: var(--coral); }
.save-qr-button:hover { background: var(--coral-dark); }
.open-wechat-button { color: #173f2a; border: 1px solid #74b78d; background: #e4f4e9; }
.open-wechat-button:hover { background: #cdebd6; }

.media-dialog { width: min(100% - 24px, 760px); height: min(calc(100svh - 28px), 900px); padding: 46px 12px 12px; overflow: hidden; border-radius: 6px; background: #111315; }
.media-dialog .icon-button, .video-dialog .icon-button { position: absolute; z-index: 1; top: 8px; right: 8px; color: #fff; border-color: #53595a; background: #1d2223; }
.media-dialog img { width: 100%; height: 100%; margin: 0 auto; object-fit: contain; background: #080a0b; }
.video-dialog { width: min(100% - 24px, 520px); max-width: 520px; padding: 46px 12px 12px; overflow: hidden; border-radius: 6px; background: #111315; }
.video-dialog-body { position: relative; display: grid; min-height: min(74svh, 740px); place-items: center; }
.video-dialog-body video { width: 100%; height: min(74svh, 740px); object-fit: contain; background: #050607; }
.video-status { position: absolute; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; font-size: 14px; font-weight: 800; text-align: center; text-shadow: 0 1px 3px #000; }
.video-status[hidden] { display: none; }
.video-retry { min-height: 40px; padding: 0 18px; color: #fff; border: 1px solid rgba(255, 255, 255, .55); border-radius: 4px; background: var(--coral); font-weight: 800; }

@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .site-header { width: 100vw; height: 68px; padding: 0 12px; }
  .brand { grid-template-columns: 40px minmax(0, 1fr); gap: 8px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-copy { grid-template-rows: 10px 21px 11px; }
  .brand-kicker { font-size: 7px; }
  .brand-copy strong { font-size: 17px; }
  .brand-subtitle { font-size: 8px; }
  .header-cta { min-height: 34px; margin-left: 8px; padding: 0 10px; font-size: 11px; }
  .story-nav { top: 68px; padding-right: 12px; padding-left: 12px; }
  .story-nav button { min-height: 36px; padding: 0 11px; }
  .scan-impulse-page .story-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; overflow: hidden; padding: 7px 10px; }
  .scan-impulse-page .story-nav button { width: 100%; min-width: 0; height: 38px; min-height: 38px; justify-content: center; gap: 5px; padding: 0 6px; }
  .scan-impulse-page .story-nav button:nth-child(-n + 3) { grid-column: span 2; }
  .scan-impulse-page .story-nav button:nth-child(n + 4) { grid-column: span 3; }
  .scan-impulse-page .story-nav b { min-width: 0; overflow: hidden; font-size: 12px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
  .scan-impulse-page .nav-live-tag { min-height: 17px; padding: 0 4px; font-size: 8px; }
  .hero { min-height: 510px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(10, 12, 13, .9), rgba(10, 12, 13, .23) 76%); }
  .hero-content { width: calc(100% - 32px); padding-top: 260px; }
  .hero-copy { font-size: 15px; }
  .content-deck { min-height: 610px; scroll-margin-top: 114px; padding: 44px 12px 55px; }
  .scan-impulse-page .content-deck { scroll-margin-top: 164px; }
  .deck-heading { display: block; margin: 0 4px 21px; }
  .deck-index { margin: 0 0 9px; }
  .deck-title-row { display: block; }
  .deck-heading h2 { margin-bottom: 10px; }
  .expand-button { width: 100%; min-height: 44px; margin-top: 16px; }
  .asset-carousel { padding: 0 38px; }
  .carousel-track { gap: 9px; padding-bottom: 12px; }
  .carousel-card { flex-basis: min(72vw, 270px); height: 410px; }
  .carousel-side-arrow { width: 34px; height: 72px; font-size: 31px; }
  .carousel-toolbar { margin-top: 9px; }
  .asset-carousel.is-expanded .carousel-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .asset-carousel.is-expanded .carousel-card { min-height: 0; }
  .join { padding: 60px 18px 74px; }
  .purchase-bar { grid-template-columns: minmax(0, 1fr) 116px; min-height: 62px; gap: 8px; padding: 7px 12px; }
  .purchase-bar div { min-width: 0; gap: 6px; white-space: nowrap; }
  .purchase-bar span { font-size: 12px; }
  .purchase-bar strong { font-size: 14px; }
  .purchase-button { width: 116px; min-height: 48px; padding: 0 10px; }
  .join-dialog { width: min(calc(100vw - 28px), 460px); min-width: 0; max-width: calc(100vw - 28px); max-height: calc(100svh - 18px); overflow: hidden; }
  .join-dialog > * { margin-right: 12px; margin-left: 12px; }
  .dialog-topline { margin-top: 11px; margin-bottom: 3px; }
  .dialog-topline .icon-button { width: 31px; height: 31px; font-size: 21px; }
  .join-dialog-content { grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 4px; margin-bottom: 12px; }
  .join-qr-wrap { min-height: 0; padding: 4px; }
  .join-qr { width: 100%; max-width: 132px; }
  .join-instructions h2 { margin-bottom: 7px; font-size: 20px; line-height: 1.2; }
  .join-group-label { min-height: 31px; margin-bottom: 6px; padding: 3px 8px; border-left-width: 4px; font-size: 20px; }
  .join-steps { margin: 0 0 10px; padding-left: 15px; font-size: 11px; line-height: 1.45; }
  .join-steps li + li { margin-top: 3px; }
  .join-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .save-qr-button, .open-wechat-button { min-width: 0; min-height: 40px; padding: 0 5px; white-space: nowrap; font-size: 12px; }
}

/* Scan-impulse v2: isolated so the legacy v1 template remains visually intact. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.scan-impulse-page { padding-bottom: 88px; background: var(--ink); }
.scan-impulse-page .story-nav { background: #111315; border-color: #352d21; }
.scan-impulse-page .story-nav button { color: #fff5dc; border-color: #4f432e; background: #17191b; }
.scan-impulse-page .story-nav button.is-active { border-color: var(--coral); background: var(--coral); }
.scan-impulse-page .story-nav span { color: var(--sun); }
.scan-impulse-page .story-nav button.is-active span { color: #fff5dc; }
.scan-impulse-page .hero { min-height: min(650px, 74svh); border-bottom: 1px solid #60451e; isolation: isolate; }
.scan-impulse-page .hero::before { position: absolute; z-index: 0; inset: -28px; content: ""; background-color: #0b0c0e; background-image: var(--hero-image-url, url("assets/scan-impulse-hero.webp")); background-position: 50% 44%; background-size: cover; filter: blur(20px) brightness(.35) saturate(.76); transform: scale(1.06); }
.scan-impulse-page .hero-image { z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; transform: none; }
.scan-impulse-page .hero-overlay { z-index: 2; background: linear-gradient(90deg, rgba(4, 5, 6, .95) 0%, rgba(4, 5, 6, .73) 48%, rgba(4, 5, 6, .16) 100%); }
.scan-impulse-page .hero-content { z-index: 3; padding-top: clamp(88px, 15vh, 142px); padding-bottom: 60px; }
.scan-impulse-page .hero h1 { max-width: 680px; font-size: clamp(42px, 6.2vw, 70px); }
.scan-impulse-page .hero-copy { max-width: 460px; margin-bottom: 18px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; max-width: 560px; margin: 0 0 26px; color: #f5eedc; font-size: 13px; font-weight: 800; }
.hero-stats::first-letter { color: var(--sun); }
.hero-stats { color: var(--sun); text-shadow: 0 1px 16px rgba(240, 207, 98, .32); }
.hero-stats::after { content: ""; display: block; flex-basis: 100%; height: 0; }
.feedback-strip { position: relative; overflow: hidden; min-height: 226px; padding: 16px 0; border-top: 1px solid #4b3920; border-bottom: 1px solid #4b3920; background: #0e1011; content-visibility: auto; }
.feedback-strip::before, .feedback-strip::after { position: absolute; z-index: 2; top: 0; bottom: 0; width: min(12vw, 120px); content: ""; pointer-events: none; }
.feedback-strip::before { left: 0; background: linear-gradient(90deg, #0e1011, transparent); }
.feedback-strip::after { right: 0; background: linear-gradient(270deg, #0e1011, transparent); }
.feedback-strip-track { display: flex; width: max-content; gap: 12px; animation: feedback-marquee 36s linear infinite; }
.feedback-strip:hover .feedback-strip-track { animation-play-state: paused; }
.feedback-strip-card { width: 150px; height: 194px; flex: 0 0 auto; object-fit: cover; border: 1px solid rgba(240, 207, 98, .68); border-radius: 5px; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
@keyframes feedback-marquee { to { transform: translateX(calc(-50% - 6px)); } }
.scan-impulse-page .content-deck { background: #f7f5ef; }
.scan-impulse-page .deck-feedback { background: #efe5d7; }
.scan-impulse-page .deck-proof { background: #dfeee8; }
.scan-impulse-page .deck-intro { background: #edf0ec; }
.scan-impulse-page .deck-activity { background: #f3ead3; }
.deck-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(100%, var(--content-width)); min-height: 76px; margin: 30px auto 0; padding: 14px 18px 14px 22px; color: #fff5dc; border: 1px solid #5e4926; border-radius: 5px; background: #121416; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.deck-cta p { margin: 0; font-size: 16px; font-weight: 800; }
.deck-cta-button { flex: 0 0 auto; min-height: 46px; padding: 0 19px; color: #fff; border: 0; border-radius: 4px; background: var(--coral); font-size: 14px; font-weight: 800; }
.carousel-card.is-locked { cursor: pointer; background: #101112; }
.carousel-card.is-locked img { filter: blur(18px) saturate(1.3); transform: scale(1.07); }
.carousel-card.is-locked:hover img, .carousel-card.is-locked:active img { filter: blur(10px) saturate(1.2); transform: scale(1.055); }
.lock-badge { position: absolute; z-index: 3; top: 50%; left: 50%; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; color: #fff; border: 1px solid var(--sun); border-radius: 4px; background: rgba(8, 10, 10, .88); box-shadow: 0 8px 24px rgba(0, 0, 0, .32); font-size: 13px; font-weight: 800; transform: translate(-50%, -50%); white-space: nowrap; }
.lock-icon { display: grid; width: 17px; height: 17px; place-items: center; color: var(--sun); border: 1px solid currentColor; border-radius: 3px; font-size: 0; }
.lock-icon::before { content: ""; width: 7px; height: 6px; border: 2px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; transform: translateY(-2px); }
.join-risk { margin: 0 0 18px; color: #8c9d94; font-size: 13px; font-weight: 700; }
.scan-impulse-page .purchase-bar { min-height: 76px; border-color: #493620; background: rgba(10, 12, 13, .97); }
.scan-impulse-page .purchase-bar span { color: #dbd4c5; }
.scan-impulse-page .purchase-bar strong { color: var(--sun); }
.scan-impulse-page .purchase-button, .scan-impulse-page .hero-button, .scan-impulse-page .join-button, .scan-impulse-page .deck-cta-button { animation: cta-pulse 2s ease-in-out infinite; }
@keyframes cta-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 93, 80, .16); } 50% { box-shadow: 0 0 0 8px rgba(226, 93, 80, 0), 0 7px 18px rgba(226, 93, 80, .3); } }
.toast-rail { position: fixed; z-index: 27; right: 24px; bottom: 96px; display: grid; gap: 8px; pointer-events: none; }
.toast-item { display: flex; align-items: center; min-height: 42px; margin: 0; padding: 0 14px; color: #fff; border: 1px solid rgba(240, 207, 98, .65); border-radius: 5px; background: rgba(12, 15, 15, .95); box-shadow: 0 8px 24px rgba(0, 0, 0, .28); font-size: 13px; font-weight: 700; animation: toast-in 240ms ease-out; }
.toast-item::before { width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--wechat-green); box-shadow: 0 0 10px rgba(7, 193, 96, .76); content: ""; }
.toast-item.is-leaving { animation: toast-out 450ms ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

.scan-impulse-page .join-dialog { border: 1px solid color-mix(in srgb, var(--wechat-green) 56%, #fff); }
.scan-impulse-page .join-dialog > * { margin-right: 24px; margin-left: 24px; }
.scan-impulse-page .dialog-topline { min-height: 56px; margin: 0; padding: 0 18px; color: #fff; background: var(--wechat-green); }
.scan-impulse-page .dialog-eyebrow { color: #fff; }
.scan-impulse-page .dialog-topline .icon-button { color: #fff; border-color: rgba(255, 255, 255, .42); background: rgba(0, 0, 0, .13); }
.scan-impulse-page .join-dialog-content { grid-template-areas: "head head" "qr text"; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 18px 28px; margin-top: 20px; }
.join-invite-head { grid-area: head; display: flex; align-items: center; gap: 12px; min-width: 0; }
.join-group-avatar { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 7px; object-fit: contain; background: #0b0c0e; }
.scan-impulse-page .join-group-label { min-height: auto; margin: 0; padding: 0; color: #1e3027; border: 0; background: transparent; font-size: 16px; font-weight: 800; }
.scan-impulse-page .join-qr-wrap { grid-area: qr; min-height: 270px; border-color: #b7dcc4; background: #f3fbf5; }
.scan-impulse-page .join-instructions { grid-area: text; }
.scan-impulse-page .join-instructions h2 { font-size: 24px; }
.scan-impulse-page .join-steps { color: #33443a; }
.scan-impulse-page .save-qr-button { color: #fff; background: var(--wechat-green); }
.scan-impulse-page .save-qr-button:hover { background: #059c4e; }
.scan-impulse-page .open-wechat-button { color: var(--wechat-green); border-color: var(--wechat-green); background: #fff; }
.scan-impulse-page .open-wechat-button:hover { background: #eefaf2; }

@media (max-width: 760px) {
  .scan-impulse-page { padding-bottom: 76px; }
  .scan-impulse-page .hero { min-height: 574px; }
  .scan-impulse-page .hero-image { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 48%; transform: none; }
  .scan-impulse-page .hero-overlay { background: linear-gradient(0deg, rgba(4, 5, 6, .94), rgba(4, 5, 6, .28) 78%); }
  .scan-impulse-page .hero-content { padding-top: 276px; padding-bottom: 40px; }
  .scan-impulse-page .hero h1 { font-size: 39px; }
  .hero-stats { margin-bottom: 18px; font-size: 12px; line-height: 1.7; }
  .feedback-strip { min-height: 186px; padding: 12px 0; }
  .feedback-strip-track { gap: 9px; animation-duration: 30s; }
  .feedback-strip-card { width: 126px; height: 162px; }
  .deck-cta { min-height: 66px; margin-top: 23px; padding: 10px 11px 10px 14px; }
  .deck-cta p { font-size: 14px; }
  .deck-cta-button { min-height: 42px; padding: 0 12px; font-size: 13px; }
  .scan-impulse-page .content-deck { padding-bottom: 48px; }
  .scan-impulse-page .purchase-bar { grid-template-columns: minmax(0, 1fr) 118px; min-height: 68px; }
  .scan-impulse-page .purchase-bar strong { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
  .toast-rail { right: auto; bottom: 82px; left: 12px; }
  .toast-item { max-width: calc(100vw - 24px); min-height: 38px; font-size: 12px; }
  .scan-impulse-page .join-dialog { max-height: calc(100svh - 20px); overflow: auto; }
  .scan-impulse-page .dialog-topline { margin: 0; padding: 0 12px; }
  .scan-impulse-page .join-dialog > * { margin-right: 12px; margin-left: 12px; }
  .scan-impulse-page .join-dialog-content { grid-template-areas: "head" "qr" "text"; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; margin-bottom: 16px; }
  .scan-impulse-page .join-qr-wrap { min-height: 0; max-width: 210px; margin: 0 auto; padding: 6px; }
  .scan-impulse-page .join-qr { max-width: 194px; }
  .scan-impulse-page .join-instructions { text-align: center; }
  .scan-impulse-page .join-instructions h2 { margin-bottom: 6px; font-size: 21px; }
  .scan-impulse-page .join-steps { display: inline-block; margin-bottom: 12px; text-align: left; }
  .scan-impulse-page .join-actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .scan-impulse-page .purchase-button, .scan-impulse-page .hero-button, .scan-impulse-page .join-button, .scan-impulse-page .deck-cta-button, .feedback-strip-track, .toast-item { animation: none !important; }
}
