/* Customer activity theme; functional visibility remains controlled by app.js. */
:root { --text-main:#242424; --text-sub:#747474; --glass:#fff; --shadow:none; --red:#e2231a; }
body { background:#f5f5f5; padding:0; align-items:flex-start; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
.bg-fill { display:none; }
.app { width:100%; max-width:640px; min-height:100vh; gap:0; background:#f5f5f5; }
.glass { background:#fff; backdrop-filter:none; border:1px solid #eee; box-shadow:none; }
.app-header { margin:0; padding:18px 20px; border:0; border-radius:0; gap:10px; }
.logo-wrap { width:42px; height:42px; border-radius:10px; box-shadow:none; flex-shrink:0; }
.title-main { font-size:17px; font-weight:750; }
.title-sub { font-size:11px; margin-top:3px; color:#888; }
.brand-label { color:#b9231b; background:#fff1ef; border:1px solid #ffded9; font-size:10px; padding:5px 7px; border-radius:4px; white-space:nowrap; }
.content { padding:0 14px 16px; overflow:visible; }
.campaign-banner { margin:0 -14px; padding:24px 22px 26px; color:#fff; background:linear-gradient(115deg,#d91d18,#ef4034); position:relative; overflow:hidden; }
.campaign-banner::after { content:""; position:absolute; width:180px; height:180px; border:30px solid #ffffff0b; border-radius:50%; right:-90px; top:-70px; pointer-events:none; }
.campaign-eyebrow { font-size:11px; letter-spacing:2px; opacity:.85; }
.campaign-banner h2 { font-size:24px; margin:9px 0 7px; letter-spacing:.5px; }
.campaign-banner p { font-size:12px; color:#ffe2dd; }
.campaign-steps { display:flex; justify-content:space-between; gap:8px; margin-top:22px; padding-top:15px; border-top:1px solid #ffffff35; font-size:11px; }
.campaign-steps b { font-size:12px; margin-right:3px; color:#ffd4c6; }
.tab-switcher { margin:14px 0 0; padding:0; gap:0; border-radius:12px 12px 0 0; border-bottom:1px solid #eee; }
.tab-btn { border:0; background:transparent; border-radius:0; padding:19px 4px; font-size:14px; box-shadow:none; color:#777; }
.tab-btn.active[data-tab] { background:transparent; box-shadow:none; color:var(--red); transform:none; }
.tab-btn.active::after { content:""; position:absolute; bottom:0; left:32%; right:32%; height:3px; border-radius:3px; background:var(--red); }
.tab-btn .tab-icon, .tab-btn.active[data-tab] .tab-icon { color:inherit; border:1px solid currentColor; font-size:10px; line-height:16px; width:18px; height:18px; border-radius:3px; opacity:1; transform:none; }
.hero,.order-area { margin:0 0 14px; border-top:0; border-radius:0 0 12px 12px; padding:22px 18px 18px; gap:16px; }
.hero-title,.order-header .order-title { font-size:20px; line-height:1.5; font-weight:700; }
.hero-desc,.order-sub { font-size:12px; line-height:1.8; color:#777; }
.input-row,.order-input-row { padding:5px; gap:4px; border:1px solid #e4e4e4; background:#fafafa; border-radius:8px; box-shadow:none; }
.input,.order-input { min-width:0; width:100%; padding:12px 8px; font-size:14px; }
.input::placeholder,.order-input::placeholder { color:#999; font-size:12px; }
.input-row:focus-within,.order-input-row:focus-within { border-color:var(--red); }
.pill-btn { background:var(--red); border-radius:6px; box-shadow:none; max-width:82px; flex-shrink:0; min-height:44px; padding:10px; }
.pill-btn:hover { background:#c91b14; box-shadow:none; transform:none; }
.pill-btn:disabled { opacity:.6; cursor:wait; }
.pill-btn.full { max-width:none; }
.ghost-btn { background:#fff; border:0; box-shadow:none; color:#777; font-size:12px; padding:3px; backdrop-filter:none; text-align:left; font-weight:400; }
.ghost-btn:hover { color:var(--red); box-shadow:none; transform:none; }
.order-result-list { max-height:none; overflow:visible; padding:0; gap:14px; }
.order-card { border:1px solid #ebebeb; box-shadow:none; border-radius:10px; padding:14px; }
.order-card .order-meta { justify-content:space-between; gap:8px; padding-bottom:12px; margin-bottom:14px; border-bottom:1px solid #f0f0f0; font-size:11px; }
.order-no { overflow-wrap:anywhere; }
.order-badge { font-size:11px; padding:4px 7px; border-radius:4px; }
.order-body { grid-template-columns:76px minmax(0,1fr); gap:12px; margin-bottom:14px; }
.order-thumb { width:76px; height:76px; border:1px solid #eee; border-radius:6px; }
.order-body .order-title { font-size:14px; font-weight:600; line-height:1.6; }
.order-shop { font-size:11px; line-height:1.6; }
.order-grid { background:#f8f8f8; border-radius:6px; padding:12px; gap:12px; font-size:12px; }
.order-grid .label { margin-bottom:5px; color:#888; }
.order-grid .value { font-weight:500; overflow-wrap:anywhere; }
.order-tips { background:#fff9f4; border:1px solid #f3e8df; border-radius:8px; box-shadow:none; padding:14px; color:#846b57; font-size:12px; line-height:1.8; }
.order-tip-title { color:#5c493b; }
.order-tip-title::before { background:#d68c50; top:5px; }
.order-status { font-size:12px; padding:22px 12px; box-shadow:none; }
.order-status--empty { background:#fafafa; color:#888; }
.order-status--empty .order-status-icon,.order-status--loading .order-status-icon { background:#fff0ed; color:var(--red); }
.order-status--loading { color:var(--red); }
.result-area { padding:18px; border-radius:12px; }
.result-header { margin-bottom:18px; flex-wrap:wrap; }
.tag { background:#fff0ed; color:var(--red); border-radius:4px; }
.product-img-wrap { flex-shrink:0; border-radius:8px; box-shadow:none; }
.product-info { min-width:0; }
.product-name { font-size:14px; overflow-wrap:anywhere; }
.price-now { color:var(--red); font-size:24px; }
.meta-line { flex-wrap:wrap; gap:4px 10px; }
.coupon-btn { border-radius:6px; box-shadow:none; font-size:13px; }
.coupon-btn.orange { background:var(--red); }
.coupon-btn.teal { background:#fff2f0; color:var(--red); border:1px solid #ffd6d0; }
.coupon-btn:hover { box-shadow:none; }
.rule-tip-box { box-shadow:none; font-size:12px; border-radius:8px; }
.rule-tip-item { font-weight:400; }
.multi-discount-notice { box-shadow:none; border-width:1px; }
.site-footer { text-align:center; color:#999; padding:10px 16px calc(24px + env(safe-area-inset-bottom)); font-size:10px; line-height:1.9; }
.site-footer strong { display:block; font-weight:500; color:#777; font-size:12px; margin-bottom:5px; }
.modal { background:#fff; border-radius:12px; }
.modal-header { border-bottom:1px solid #eee; }
.close-btn { box-shadow:none; background:#f5f5f5; }
button:focus-visible,a:focus-visible { outline:2px solid #a71912; outline-offset:3px; }
.cashback-guide { border:1px solid #eee; border-radius:10px; padding:16px 14px; background:#fff; }
.cashback-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:16px; }
.cashback-heading h2 { font-size:16px; font-weight:700; }
.cashback-important { margin-bottom:20px; padding:14px; border:1px solid #ffc9c2; border-left:4px solid var(--red); border-radius:6px; background:#fff3f1; color:#87372e; font-size:12px; line-height:1.85; }
.cashback-important > strong { display:block; color:#b9231b; font-size:14px; margin-bottom:6px; }
.cashback-important p + p { margin-top:8px; }
.cashback-important p strong { color:#b9231b; font-weight:700; }
.cashback-heading span { font-size:10px; color:var(--red); background:#fff0ed; padding:4px 7px; border-radius:4px; }
.cashback-steps { list-style:none; counter-reset:cashback; display:grid; gap:16px; }
.cashback-steps li { counter-increment:cashback; position:relative; padding-left:29px; }
.cashback-steps li::before { content:counter(cashback); position:absolute; left:0; top:1px; width:20px; height:20px; line-height:20px; text-align:center; border-radius:50%; background:#fff0ed; color:var(--red); font-size:11px; font-weight:700; }
.cashback-steps strong { font-size:13px; line-height:22px; }
.cashback-steps p { margin-top:4px; color:#747474; font-size:12px; line-height:1.85; }
.cashback-steps b { color:#b9231b; font-weight:600; }
.cashback-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:20px; }
.cashback-link { display:flex; justify-content:center; align-items:center; text-align:center; min-height:44px; border-radius:6px; text-decoration:none; font-size:13px; font-weight:600; padding:10px 4px; }
.cashback-link.primary { background:var(--red); color:#fff; border:1px solid var(--red); }
.cashback-link.secondary { background:#fff2f0; color:var(--red); border:1px solid #ffd6d0; }
.cashback-link:hover { filter:brightness(.95); }
.cashback-note { font-size:11px; line-height:1.8; color:#888; margin-top:12px; }
@media(max-width:360px) { .app-header { padding:14px 12px; gap:8px; } .title-main { font-size:15px; } .brand-label { font-size:9px; padding:4px; } .content { padding-left:10px; padding-right:10px; } .campaign-banner { margin-left:-10px; margin-right:-10px; padding-left:18px; padding-right:18px; } .campaign-banner h2 { font-size:22px; } .hero,.order-area { padding:18px 12px; } .campaign-steps { gap:4px; font-size:10px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } .order-card { opacity:1; transform:none; } }
