*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",Helvetica,"Microsoft YaHei",Arial,sans-serif;background:#f2f4f8;color:#222;font-size:14px;line-height:1.5}
img{max-width:100%;display:block}
a{color:#2563eb;text-decoration:none}

.fw-container{max-width:480px;margin:0 auto;background:#fff;min-height:100vh;position:relative;box-shadow:0 0 30px rgba(0,0,0,.06)}

.fw-header{background:linear-gradient(135deg,#1e40af,#2563eb);color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:50}
.fw-header .fw-title{font-size:17px;font-weight:600}
.fw-header .fw-close,.fw-header .fw-more{font-size:22px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer}

.fw-banner{position:relative;width:100%;overflow:hidden;background:#eef2ff}
.fw-banner-track{display:flex;transition:transform .45s ease;width:100%}
.fw-banner-slide{min-width:100%;position:relative}
.fw-banner-slide img{width:100%;height:auto;display:block}
.fw-banner-dots{position:absolute;bottom:10px;left:0;right:0;text-align:center}
.fw-banner-dots span{display:inline-block;width:8px;height:4px;background:rgba(255,255,255,.5);margin:0 3px;border-radius:2px;transition:.3s}
.fw-banner-dots span.active{width:18px;background:#fff}

.fw-section{padding:18px 16px}
.fw-section-title{font-size:17px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.fw-section-title::before{content:'';display:inline-block;width:4px;height:16px;background:linear-gradient(#1e40af,#2563eb);border-radius:2px}

.fw-query-box{background:#fff;border-radius:14px;padding:18px 16px;box-shadow:0 4px 20px rgba(37,99,235,.08)}
.fw-query-box .fw-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.fw-query-box .fw-brand .fw-logo{width:42px;height:42px;border-radius:8px;background:#e0e7ff;display:flex;align-items:center;justify-content:center;color:#1e40af;font-weight:800}
.fw-query-box .fw-brand .fw-brand-name{font-size:16px;font-weight:700}
.fw-query-box .fw-brand .fw-brand-sub{font-size:12px;color:#888}

.fw-input{width:100%;height:48px;border:1px solid #e5e7eb;border-radius:10px;padding:0 14px;font-size:15px;outline:none;background:#fff}
.fw-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.fw-row{display:flex;gap:10px;align-items:center}
.fw-row .fw-input{flex:1}
.fw-captcha-img{height:48px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;flex-shrink:0}

.fw-btn{width:100%;height:48px;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;color:#fff;background:linear-gradient(135deg,#1e40af,#2563eb);margin-top:12px;transition:.2s}
.fw-btn:active{transform:scale(.98)}
.fw-btn:disabled{background:#94a3b8;cursor:not-allowed}
.fw-btn-outline{background:#fff;color:#2563eb;border:1px solid #2563eb}

.fw-tip{font-size:13px;color:#6b7280;margin-top:12px;line-height:1.7}

.fw-records{margin-top:14px}
.fw-record-item{border:1px solid #e5e7eb;border-radius:10px;padding:12px;margin-bottom:8px;background:#fafbff;display:flex;align-items:center;gap:10px}
.fw-record-item .fw-icon{width:22px;height:22px;border-radius:50%;background:#ecfdf5;color:#059669;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.fw-record-item.bad .fw-icon{background:#fef2f2;color:#dc2626}
.fw-record-item .fw-code{font-family:monospace;font-size:13px;font-weight:600;color:#1e293b}
.fw-record-item .fw-sub{font-size:12px;color:#888;margin-top:2px}

.fw-intro{background:#f8fafc;border-radius:12px;padding:14px;margin-top:14px;font-size:14px;color:#374151;line-height:1.8}
.fw-intro img{margin:8px 0;border-radius:8px;width:100%;max-height:160px;object-fit:cover}

.fw-products{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.fw-product-card{background:#fafbff;border:1px solid #eef0f4;border-radius:12px;overflow:hidden}
.fw-product-card .fw-img{aspect-ratio:1/1;background:#eef2ff;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:36px;overflow:hidden}
.fw-product-card .fw-img img{width:100%;height:100%;object-fit:cover}
.fw-product-card .fw-info{padding:10px}
.fw-product-card .fw-name{font-size:13px;font-weight:600;color:#1e293b;margin-bottom:4px}
.fw-product-card .fw-spec{font-size:12px;color:#888}

.fw-contact{background:linear-gradient(135deg,#f1f5f9,#eef2ff);border-radius:14px;padding:14px;margin-top:14px}
.fw-contact-item{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.fw-contact-item:last-child{margin-bottom:0}
.fw-contact-item .fw-ic{width:36px;height:36px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:#2563eb;font-size:18px;flex-shrink:0}
.fw-contact-item .fw-label{font-size:12px;color:#6b7280}
.fw-contact-item .fw-value{font-size:14px;color:#1e293b;font-weight:500}

.fw-footer-qr{display:flex;gap:10px;margin-top:14px}
.fw-footer-qr .fw-qr{flex:1;background:#fff;border-radius:10px;padding:10px;text-align:center}
.fw-footer-qr .fw-qr img{max-width:120px;margin:0 auto}
.fw-footer-qr .fw-qr .fw-qr-label{font-size:12px;color:#6b7280;margin-top:6px}

.fw-result{border-radius:12px;padding:16px;margin-top:12px}
.fw-result.ok{background:#ecfdf5;border:1px solid #a7f3d0}
.fw-result.bad{background:#fef2f2;border:1px solid #fecaca}
.fw-result.warn{background:#fffbeb;border:1px solid #fde68a}
.fw-result .fw-res-title{font-size:16px;font-weight:700;margin-bottom:6px}
.fw-result.ok .fw-res-title{color:#059669}
.fw-result.bad .fw-res-title{color:#dc2626}
.fw-result.warn .fw-res-title{color:#d97706}
.fw-result .fw-res-body{font-size:14px;color:#374151}

.fw-history-empty{text-align:center;color:#9ca3af;padding:20px 0;font-size:13px}

.fw-detail-header{padding:12px 16px 0}
.fw-detail-brand{display:flex;align-items:center;gap:10px;padding:14px 16px;background:linear-gradient(135deg,#1e40af,#2563eb);color:#fff;border-radius:0 0 14px 14px}
.fw-detail-brand .fw-logo{width:52px;height:52px;border-radius:10px;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;flex-shrink:0}
.fw-detail-brand .fw-main .fw-brand-name{font-size:22px;font-weight:800}
.fw-detail-brand .fw-main .fw-slogan{font-size:13px;opacity:.9;margin-top:2px}

.fw-info-card{margin:14px 16px;padding:14px;background:#fff;border:1px solid #eef0f4;border-radius:12px}
.fw-info-row{display:flex;padding:12px 0;border-bottom:1px dashed #e5e7eb}
.fw-info-row:last-child{border-bottom:none}
.fw-info-row .fw-label{width:90px;color:#6b7280;font-size:14px;flex-shrink:0}
.fw-info-row .fw-value{flex:1;color:#111827;font-size:14px;font-weight:500;word-break:break-all}
.fw-info-row .fw-check{margin-left:auto;color:#2563eb;font-size:18px}

.fw-verify-tip{padding:0 16px;font-size:13px;color:#6b7280;line-height:1.7}

.fw-footer-text{padding:16px;font-size:12px;color:#9ca3af;text-align:center;line-height:1.6;border-top:1px solid #f1f5f9;margin-top:18px}

.fw-loading{text-align:center;padding:20px;color:#94a3b8;font-size:13px}
.fw-error-box{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;padding:12px;border-radius:10px;font-size:13px;margin:10px 16px}
