:root {
      --bg: #f6f7fb;
      --card: #ffffff;
      --ink: #1f2937;
      --muted: #6b7280;
      --line: #e7eaf0;
      --brand: #16a085;
      --brand-dark: #0f766e;
      --accent: #ff7a45;
      --blue: #2878ff;
      --shadow: 0 12px 30px rgba(31, 41, 55, .08);
    }
    * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
    html, body { margin: 0; min-height: 100%; background: #e8ecf3; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
    body { overflow-x: hidden; }
    button, input, textarea { font: inherit; }
    button { border: 0; cursor: pointer; }
    img { display: block; max-width: 100%; }
    .app-shell { width: min(480px, 100%); min-height: 100vh; margin: 0 auto; background: var(--bg); position: relative; overflow-x: hidden; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .page { min-height: 100vh; }
    .topbar { position: sticky; top: 0; z-index: 30; height: 54px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: 0 10px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(231,234,240,.9); backdrop-filter: blur(14px); }
    .topbar h1 { margin: 0; text-align: center; font-size: 18px; letter-spacing: 0; }
    .icon-btn { width: 38px; height: 38px; border-radius: 50%; background: #f1f5f9; color: #334155; display: grid; place-items: center; }
    .icon-btn:disabled { opacity: 0; }
    .tabbar { position: fixed; left: 50%; bottom: 0; z-index: 50; width: min(480px, 100%); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(14px); }
    .tabbar button { height: 58px; background: transparent; color: #7b8190; font-size: 12px; }
    .tabbar i { display: block; margin: 0 auto 4px; font-size: 19px; }
    .tabbar .active { color: var(--brand-dark); font-weight: 800; }
    .tabbar button { position: relative; }
    .cart-badge { position: absolute; top: 7px; left: calc(50% + 8px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px; display: inline-grid; place-items: center; background: #ef5b2a; color: #fff; font-size: 10px; line-height: 17px; }
    .section { padding: 12px; }
    .card { background: var(--card); border: 1px solid rgba(231,234,240,.85); border-radius: 12px; box-shadow: 0 4px 16px rgba(31,41,55,.04); }
    .panel { background: var(--card); border-top: 1px solid var(--line); }
    .btn { min-height: 44px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; padding: 0 18px; box-shadow: 0 8px 18px rgba(22,160,133,.24); }
    .btn:disabled { background: #cbd5e1; color: #fff; box-shadow: none; }
    .btn-secondary { min-height: 42px; border-radius: 999px; background: #e8f7f3; color: var(--brand-dark); font-weight: 800; padding: 0 16px; }
    .btn-ghost { min-height: 38px; border-radius: 999px; background: #f3f6fb; color: #334155; font-weight: 700; padding: 0 14px; }
    .input, .textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #fff; color: var(--ink); }
    .input { height: 46px; padding: 0 13px; }
    .textarea { min-height: 74px; padding: 11px 13px; resize: none; line-height: 1.5; }
    .input:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22,160,133,.12); }
    .muted { color: var(--muted); }
    .price { color: #ef5b2a; font-weight: 900; }
    .old-price { color: #9ca3af; text-decoration: line-through; font-size: 12px; }
    .tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: #eefbf7; color: var(--brand-dark); font-size: 11px; font-weight: 800; }
    .tag.orange { background: #fff3ed; color: #d65a25; }
    .tag.blue { background: #eef4ff; color: #2563eb; }
    .toast { position: fixed; left: 50%; top: 45%; z-index: 100; transform: translate(-50%, -50%); max-width: 82%; padding: 12px 16px; border-radius: 12px; color: #fff; background: rgba(17,24,39,.86); font-size: 14px; text-align: center; opacity: 0; pointer-events: none; transition: .2s; }
    .toast.show { opacity: 1; }

    .login { min-height: 100vh; padding: 42px 18px 28px; background: linear-gradient(165deg, #e9fbf7 0%, #f8fafc 46%, #fff4ee 100%); }
    .login-hero { padding: 28px 4px 22px; }
    .brand-row { display: flex; align-items: center; gap: 12px; }
    .brand-mark { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--blue)); box-shadow: 0 14px 26px rgba(22,160,133,.28); font-size: 24px; }
    .login h1 { margin: 18px 0 8px; font-size: 32px; line-height: 1.08; letter-spacing: 0; }
    .login p { margin: 0; color: #5d6675; line-height: 1.7; }
    .login-card { padding: 18px; }
    .field { margin-bottom: 14px; }
    .field label { display: block; color: #667085; font-size: 13px; margin-bottom: 8px; }
    .agreement { text-align: center; color: #98a2b3; font-size: 12px; line-height: 1.7; margin-top: 14px; }
    .agreement a { color: #53657a; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
    .agreement span { margin: 0 4px; color: #98a2b3; }
    .divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: #a3adbc; font-size: 12px; }
    .divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
    .face-login-btn { width: 100%; min-height: 44px; border-radius: 999px; border: 1px solid #bfeee5; background: #f0fffb; color: var(--brand-dark); font-weight: 900; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
    .face-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: end center; padding: 14px; background: rgba(15, 23, 42, .46); backdrop-filter: blur(8px); }
    .face-panel { width: min(452px, 100%); border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(15,23,42,.22); overflow: hidden; }
    .face-head { height: 54px; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; padding: 0 10px; border-bottom: 1px solid var(--line); }
    .face-head h3 { margin: 0; text-align: center; font-size: 17px; }
    .face-body { padding: 18px; text-align: center; }
    .face-viewfinder { width: 206px; height: 248px; margin: 0 auto; position: relative; display: grid; place-items: center; border-radius: 104px 104px 84px 84px; background: radial-gradient(circle at 50% 35%, #f8ffff, #e7f8f5 66%, #d8f2ed); border: 2px solid rgba(22,160,133,.28); overflow: hidden; }
    .face-viewfinder::before, .face-viewfinder::after { content: ""; position: absolute; inset: 13px; border: 2px solid transparent; border-top-color: var(--brand); border-bottom-color: var(--brand); border-radius: 96px 96px 76px 76px; pointer-events: none; }
    .face-viewfinder::after { inset: 25px; border-color: transparent; border-left-color: rgba(40,120,255,.62); border-right-color: rgba(40,120,255,.62); }
    .face-scan-line { position: absolute; left: 22px; right: 22px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--brand), var(--blue), transparent); box-shadow: 0 0 18px rgba(22,160,133,.45); opacity: 0; }
    .face-viewfinder.scanning .face-scan-line { opacity: 1; animation: scanFace 1.45s ease-in-out infinite; }
    .face-icon { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--blue)); font-size: 42px; box-shadow: 0 18px 34px rgba(22,160,133,.24); }
    .face-status { margin: 14px 0 0; font-weight: 900; font-size: 18px; }
    .face-note { margin: 7px 0 0; color: var(--muted); line-height: 1.65; font-size: 13px; }
    .face-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
    .face-step { min-height: 56px; padding: 9px 6px; border-radius: 12px; background: #f6f8fb; color: #64748b; font-size: 12px; }
    .face-step i { display: block; margin-bottom: 5px; color: var(--brand-dark); }
    .face-step.active { background: #e8f7f3; color: var(--brand-dark); font-weight: 800; }
    .face-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
    @keyframes scanFace {
      0% { transform: translateY(-84px); }
      50% { transform: translateY(84px); }
      100% { transform: translateY(-84px); }
    }

    .home-head { padding: 16px 14px 12px; background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%); }
    .user-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
    .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 900; }
    .search { position: relative; }
    .search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9aa3b2; }
    .search input { padding-left: 40px; border-radius: 999px; background: #fff; }
    .hero { margin-top: 14px; min-height: 126px; border-radius: 16px; overflow: hidden; position: relative; color: #fff; background: linear-gradient(135deg, rgba(15,118,110,.92), rgba(40,120,255,.78)), url("./images/hero.jpg") center/cover; box-shadow: var(--shadow); }
    .hero-content { padding: 18px; max-width: 78%; }
    .hero h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.18; }
    .hero p { margin: 0; color: rgba(255,255,255,.86); font-size: 13px; line-height: 1.6; }
    .chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px 2px; scrollbar-width: none; }
    .chips::-webkit-scrollbar { display: none; }
    .chip { flex: 0 0 auto; height: 36px; padding: 0 14px; border-radius: 999px; color: #465264; background: #fff; border: 1px solid var(--line); font-weight: 800; }
    .chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }
    .quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
    .quick { display: grid; place-items: center; gap: 7px; height: 72px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: #4b5563; font-size: 12px; font-weight: 700; }
    .quick i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--blue)); font-size: 14px; }
    .block-title { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 8px; }
    .block-title h3 { margin: 0; font-size: 18px; }
    .product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px 16px; }
    .product { overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
    .product-img { aspect-ratio: 1/1; background: #eef2f7; overflow: hidden; }
    .product-img img { width: 100%; height: 100%; object-fit: cover; }
    .product-body { padding: 10px; }
    .product-title { margin: 0; min-height: 38px; font-size: 14px; line-height: 1.35; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }

    .gallery { position: relative; background: #eef2f7; }
    .gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
    .gallery-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
    .gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
    .gallery-dots .active { width: 18px; border-radius: 999px; background: #fff; }
    .detail-main { padding: 14px; }
    .detail-title { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
    .info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
    .specs, .pay-options { display: flex; flex-wrap: wrap; gap: 8px; }
    .spec { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #334155; font-weight: 800; }
    .spec.active { border-color: var(--brand); background: #e8f7f3; color: var(--brand-dark); }
    .stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
    .stepper button { width: 36px; height: 34px; background: #fff; color: #334155; font-weight: 900; }
    .stepper span { min-width: 34px; text-align: center; font-weight: 800; }
    .detail-footer { position: fixed; left: 50%; bottom: 0; z-index: 60; width: min(480px, 100%); transform: translateX(-50%); display: grid; grid-template-columns: 116px 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }

    .checkout-list { padding: 12px; display: grid; gap: 12px; }
    .order-product { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 12px; }
    .order-product img { width: 82px; height: 82px; border-radius: 10px; object-fit: cover; }
    .summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; }
    .summary-line + .summary-line { border-top: 1px solid var(--line); }
    .pay-card { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #334155; font-weight: 800; }
    .pay-card.active { border-color: var(--brand); background: #e8f7f3; color: var(--brand-dark); }
    .term-card { min-height: 58px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 9px 10px; text-align: left; color: #334155; }
    .term-card strong { display: block; font-size: 14px; }
    .term-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
    .term-card.active { border-color: var(--brand); background: #e8f7f3; color: var(--brand-dark); }
    .cart-list { padding: 12px; display: grid; gap: 12px; }
    .cart-item { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px; }
    .cart-item img { width: 92px; height: 92px; border-radius: 10px; object-fit: cover; }
    .cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
    .cart-bar { position: fixed; left: 50%; bottom: 0; z-index: 60; width: min(480px, 100%); transform: translateX(-50%); display: grid; grid-template-columns: 1fr 138px; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
    .wallet-hero { margin: 12px; border-radius: 16px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #ff8a00, #ff5a1f); box-shadow: 0 16px 34px rgba(239,91,42,.22); }
    .wallet-hero-body { padding: 18px; }
    .wallet-amount { margin-top: 10px; font-size: 34px; font-weight: 950; letter-spacing: 0; }
    .wallet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
    .wallet-tile { min-height: 96px; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 14px; display: grid; align-content: center; gap: 8px; text-align: left; }
    .wallet-tile i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff8a00, #ff5a1f); }
    .auth-steps { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 14px 12px 10px; background: #fff7f0; border-bottom: 1px solid #ffe2cc; }
    .auth-step { position: relative; text-align: center; color: #9aa3b2; font-size: 12px; font-weight: 800; }
    .auth-step:not(:last-child)::after { content: ""; position: absolute; left: calc(50% + 18px); right: calc(-50% + 18px); top: 12px; border-top: 1px dashed #f2b385; }
    .auth-dot { width: 24px; height: 24px; margin: 0 auto 5px; border-radius: 50%; display: grid; place-items: center; background: #eef2f7; color: #98a2b3; font-size: 12px; }
    .auth-step.done, .auth-step.active { color: #ef6b1f; }
    .auth-step.done .auth-dot, .auth-step.active .auth-dot { background: #ff7a1a; color: #fff; }
    .auth-card { margin: 12px; padding: 16px; }
    .auth-avatar { width: 88px; height: 88px; margin: 12px auto; border-radius: 50%; display: grid; place-items: center; background: #f1f5f9; color: #1f2937; font-size: 48px; }
    .identity-form { display: grid; gap: 13px; }
    .identity-field { display: grid; gap: 7px; }
    .identity-field label { color: #475569; font-size: 13px; font-weight: 800; }
    .identity-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 9px; color: #64748b; font-size: 12px; line-height: 1.65; }
    .identity-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #ff7a1a; }
    .face-start-error { margin-top: 10px; padding: 9px 11px; border-radius: 8px; color: #b42318; background: #fff1f0; font-size: 12px; line-height: 1.6; }
    .face-returned { margin: 12px; padding: 18px 16px; text-align: center; }
    .face-returned i { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; color: #16856f; background: #e7f7f2; font-size: 24px; }
    .requirement { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: #64748b; font-size: 13px; }
    .requirement i { color: #ff7a1a; width: 18px; text-align: center; }
    .auth-bottom { position: fixed; left: 50%; bottom: 0; z-index: 60; width: min(480px, 100%); transform: translateX(-50%); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
    .verify-wrap { min-height: calc(100vh - 54px); padding: 70px 14px 96px; display: grid; align-content: start; text-align: center; background: #fff; transition: background .35s ease, color .35s ease; }
    .verify-wrap.light-check { background: #4c22d3; color: #fff; }
    .verify-wrap.light-check .verify-tip { color: rgba(255,255,255,.9); }
    .verify-face { width: min(210px, 58vw); aspect-ratio: 1; margin: 18px auto 16px; position: relative; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 36%, #e8f7f3, #dbe8ff 67%, #ffffff); overflow: visible; }
    .verify-face.live { background: #f4f4ef; }
    .verify-face video, .verify-face .captured-face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .verify-face video, .verify-face .captured-face { border-radius: 50%; }
    .verify-face video { transform: scaleX(-1); }
    .verify-face.verifying .captured-face, .verify-face.verifying video { filter: blur(5px) saturate(.7); animation: faceBlur 2.2s ease forwards; }
    .verify-face .portrait { width: 122px; height: 122px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #dff6ef, #a6c9eb); color: #31536f; font-size: 58px; }
    .verify-face .camera-state { position: absolute; left: 50%; bottom: 16px; z-index: 4; transform: translateX(-50%); min-width: 128px; padding: 7px 12px; border-radius: 999px; color: #fff; background: rgba(15,23,42,.68); font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
    .verify-face .camera-state i { margin-right: 5px; }
    .verify-face .verify-shade { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; color: #fff; background: rgba(15,23,42,.42); font-size: 30px; }
    .verify-face .corner { position: absolute; width: 22px; height: 22px; border: 4px solid #5579ff; }
    .verify-ring { position: absolute; inset: -8px; z-index: 2; border-radius: 50%; background: repeating-conic-gradient(#6177ff 0deg 5deg, transparent 5deg 12deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); animation: pixelRotate 7s linear infinite; }
    .verify-wrap.light-check .verify-ring { background: repeating-conic-gradient(#fff 0deg 7deg, transparent 7deg 15deg); }
    .service-orb { width: 188px; height: 188px; position: relative; display: grid; place-items: center; border-radius: 50%; background: #050505; box-shadow: inset 0 0 34px rgba(255,255,255,.05); }
    .service-orb::before { content: ""; width: 8px; height: 8px; background: #d7dbe2; box-shadow: -46px -48px 0 #3344da, 54px -24px 0 #3344da, 42px 50px 0 #3344da, -52px 34px 0 #3344da; animation: servicePulse 1.1s ease-in-out infinite; }
    .verify-wash { position: absolute; inset: 0; z-index: 3; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 78%, #fff 100%); animation: washFace 2.2s ease forwards; }
    .verify-title { margin: 0; font-size: 19px; font-weight: 950; }
    .verify-tip { margin: 8px 0 0; color: #64748b; line-height: 1.65; }
    .verify-success { width: 74px; height: 74px; margin: 42px auto 16px; border-radius: 50%; display: grid; place-items: center; background: #eff6ff; color: #5579ff; font-size: 34px; }
    .form-list { margin: 12px; display: grid; gap: 12px; padding-bottom: 86px; }
    .form-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
    .form-row:first-child { border-top: 0; }
    .wechat-page { min-height: 100vh; background: #f6f7fb; color: #1f2937; padding-bottom: env(safe-area-inset-bottom); }
    .wechat-top { min-height: 156px; padding: 14px 16px 22px; color: #fff; background: #19a563; }
    .wechat-close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; }
    .wechat-card { margin: -30px 12px 0; border-radius: 12px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
    .pay-amount { padding: 26px 14px 20px; text-align: center; }
    .pay-amount p { margin: 0 0 7px; color: #64748b; }
    .pay-amount strong { font-size: 34px; letter-spacing: 0; }
    .pay-method { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-top: 1px solid var(--line); }
    .wechat-launch { padding: 24px 18px 20px; text-align: center; }
    .wechat-launch-icon { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: #19a563; color: #fff; font-size: 42px; box-shadow: 0 14px 28px rgba(25,165,99,.22); }
    .wechat-launch h2 { margin: 0 0 8px; font-size: 21px; }
    .wechat-launch p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.7; }
    .wechat-launch-actions { display: grid; gap: 10px; padding: 18px 14px 16px; border-top: 1px solid var(--line); }
    .wechat-launch-tip { margin: 14px 12px 0; padding: 13px 14px; border-radius: 10px; background: #eefbf7; color: #37665d; font-size: 13px; line-height: 1.65; }
    .pay-fail-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(15,23,42,.48); backdrop-filter: blur(5px); }
    .pay-fail-dialog { width: min(320px, 100%); padding: 24px 20px 18px; border-radius: 14px; background: #fff; color: #1f2937; text-align: center; box-shadow: 0 24px 60px rgba(15,23,42,.24); }
    .pay-fail-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #fff1f0; color: #e5484d; font-size: 28px; }
    .pay-fail-dialog h3 { margin: 0 0 8px; font-size: 20px; }
    .pay-fail-dialog p { margin: 0 0 20px; color: #64748b; font-size: 14px; line-height: 1.65; }
    .installment-result { min-height: calc(100vh - 54px); padding: 18px 12px; background: #f6f7fb; }
    .installment-result-preview { padding: 18px; text-align: center; }
    .installment-result-preview i { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #e8f7f3; color: var(--brand-dark); font-size: 24px; }
    .pay-success-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #e8f7f3; color: var(--brand-dark); font-size: 28px; }
    .installment-page { padding: 12px; display: grid; gap: 12px; }
    .installment-hero { padding: 18px; color: #fff; background: linear-gradient(135deg, #0f766e, #2563eb); box-shadow: var(--shadow); }
    .installment-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .installment-hero h2 { margin: 5px 0 0; font-size: 26px; letter-spacing: 0; }
    .installment-hero .status { background: rgba(255,255,255,.18); color: #fff; }
    .installment-next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); }
    .installment-next span { display: block; margin-bottom: 5px; color: rgba(255,255,255,.75); font-size: 12px; }
    .installment-next strong { font-size: 16px; }
    .plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
    .plan-stat { padding: 11px 8px; background: #f7f9fc; text-align: center; }
    .plan-stat span { display: block; color: var(--muted); font-size: 11px; }
    .plan-stat strong { display: block; margin-top: 5px; font-size: 14px; }
    .repayment-list { margin-top: 10px; border-top: 1px solid var(--line); }
    .repayment-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 10px; min-height: 58px; border-bottom: 1px solid var(--line); }
    .repayment-row:last-child { border-bottom: 0; }
    .period-badge { width: 44px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: #eef4ff; color: #2563eb; font-size: 12px; font-weight: 900; }
    .repayment-date span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
    .repayment-amount { text-align: right; }
    .repayment-amount strong { display: block; }
    .repayment-amount span { display: block; margin-top: 3px; color: #ef6b1f; font-size: 11px; font-weight: 800; }
    @keyframes verifyScan {
      0% { transform: translateY(-112px); }
      50% { transform: translateY(112px); }
      100% { transform: translateY(-112px); }
    }
    @keyframes pixelRotate { to { transform: rotate(360deg); } }
    @keyframes servicePulse { 50% { opacity: .45; transform: scale(.75); } }
    @keyframes faceBlur { from { filter: blur(1px) saturate(1); } to { filter: blur(9px) saturate(.4); opacity: .52; } }
    @keyframes washFace { from { transform: translateY(72%); opacity: .1; } to { transform: translateY(-8%); opacity: .94; } }
    .submit-bar { position: fixed; left: 50%; bottom: 0; z-index: 60; width: min(480px, 100%); transform: translateX(-50%); display: grid; grid-template-columns: 1fr 148px; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
    .success { min-height: calc(100vh - 54px); display: grid; align-content: start; padding: 36px 18px; text-align: center; }
    .success-mark { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #e8f7f3; color: var(--brand-dark); font-size: 34px; }
    .success h2 { margin: 0 0 8px; font-size: 24px; }
    .success p { margin: 0 0 22px; color: var(--muted); line-height: 1.7; }
    .order-card { padding: 12px; }
    .order-head { display: flex; justify-content: space-between; gap: 12px; color: #8a93a3; font-size: 12px; margin-bottom: 10px; }
    .status { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; background: #eef4ff; color: #2563eb; font-size: 12px; font-weight: 900; }
    .mine-hero { margin: 12px; padding: 18px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--brand-dark), var(--blue)); box-shadow: var(--shadow); }
    .mine-hero .avatar { background: rgba(255,255,255,.2); }
    .menu-list { margin: 12px; overflow: hidden; }
    .menu-item { width: 100%; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: #fff; color: #334155; border-bottom: 1px solid var(--line); text-align: left; }
    .menu-item:last-child { border-bottom: 0; }
    .empty { padding: 34px 18px; text-align: center; color: #98a2b3; }
    .empty i { font-size: 36px; margin-bottom: 10px; }
