﻿*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei";background:#f5f7fa}
a{color:inherit;text-decoration:none}
img{max-width:100%}

.page-wrapper{max-width:750px;margin:auto;background:#fff}

.header{background:linear-gradient(165deg,#0078D4,#005a9e,#0d3b66);padding:24px 16px 28px;color:#fff;display:flex;align-items:center;justify-content:space-between;border-bottom-left-radius:24px;border-bottom-right-radius:24px}
.avatar{width:64px;height:64px;border-radius:50%;overflow:hidden;margin-right:14px}
.avatar img{width:100%;height:100%;object-fit:cover}
.name{font-size:18px;font-weight:600}
.sub{font-size:13px;opacity:.9;margin-top:4px}
.feature-btn{background:#fff;color:#0078D4;padding:8px 14px;border-radius:20px;font-size:13px}

.sou-box{padding:14px 5px}
.sou-form{display:flex;align-items:center;background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:8px 12px;transition:border-color .2s}
.sou-form:focus-within{border-color:#0078D4}
.sou-icon{margin-right:8px;display:flex;align-items:center}
.sou-form input[type="text"]{flex:1;border:none;outline:none;font-size:14px;padding:8px 6px;background:0 0;color:#333}
.sou-form input::placeholder{color:#aaa}
.sou-form button{background:#0078D4;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:14px;cursor:pointer}

.section{padding:14px 16px}
.section-title{font-size:16px;font-weight:600;margin-bottom:10px}
.card{background:#fff;border-radius:12px;padding:14px;margin-bottom:12px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.tag{display:inline-block;background:#E6F2FF;padding:2px 8px;border-radius:6px;margin-bottom:8px;color:#0078D4;font-size:12px}
.product-name{font-size:15px;font-weight:600;margin-bottom:6px}
.desc{font-size:13px;color:#666;line-height:1.6}

.btn{display:inline-block;text-align:center;background:#0078D4;color:#fff;padding:10px 14px;border-radius:8px;text-decoration:none;font-size:14px;transition:background .2s}
.btn:hover{background:#106EBE}
.btn-buy{background:#FF5000}
.btn-reserve{background:#07C160}
.btn-group{display:flex;gap:10px;margin-top:12px}
.btn-group .btn{flex:1;margin-top:0}

.list{min-height:50vh}
.list .card{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.list .info{flex:1;min-width:0;padding-right:10px}
.list .title{font-size:15px;font-weight:600;color:#333}
.list .company{font-size:12px;color:#888;margin-top:4px}
.list .btn-group{gap:8px;flex-shrink:0}
.list .btn{padding:8px 14px;font-size:13px;border-radius:6px}

.tab-bar{position:fixed;bottom:0;left:0;right:0;height:60px;background:#fff;border-top:1px solid #e5e5e5;display:flex;align-items:center;justify-content:space-around;z-index:9999;padding-bottom:env(safe-area-inset-bottom)}
.tab-item{flex:1;text-align:center;color:#999;font-size:12px;line-height:1;padding:8px 0 4px;transition:color .2s}
.tab-item.active{color:#0078D4}
.tab-icon{width:24px;height:24px;margin:0 auto 4px;display:flex;align-items:center;justify-content:center}
.tab-icon svg{width:100%;height:100%;fill:currentColor}
.tab-text{font-size:10px;transform:scale(.9);display:block}
.footer{text-align:center;white-space:nowrap;font-size:clamp(8px,1.5vw,12px);color:#999;padding:18px;padding-bottom:60px}
.footer a{color:#999}

.menu-section{padding:8px 14px 16px;min-height:60vh}
.menu-title{font-size:15px;font-weight:600;margin:12px 0 10px;padding-left:8px;border-left:4px solid #0078D4}
.menu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.menu-item{background:#fff;border-radius:8px;padding:16px 12px;text-align:center;color:#333;box-shadow:0 2px 8px rgba(0,0,0,.04);transition:all .2s}
.menu-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,120,212,.12)}
.menu-icon{font-size:22px;margin-bottom:6px}
.menu-label{font-size:13px;line-height:1.4}

.assistant-section{background:#F0F8FF;border-radius:16px;padding:18px;margin:14px;box-shadow:0 4px 16px rgba(0,120,212,.08);text-align:center}
.assistant-title{font-size:17px;font-weight:600;color:#0078D4;margin-bottom:16px}
.qrcode-img{display:inline-block;padding:10px;background:#fff;border-radius:14px;box-shadow:0 4px 14px rgba(0,120,212,.1)}
.qrcode-img img{display:block;width:180px;height:180px;border-radius:8px}
.assistant-tip{background:linear-gradient(135deg,#f7fbff,#eaf3ff);border-radius:16px;padding:22px 18px 18px;margin:24px 14px;box-shadow:0 8px 24px rgba(0,80,200,.08);font-size:12px;color:#555;line-height:1.6}
.assistant-desc{margin:0 14px 28px;padding:16px 18px;background:#fff;border-radius:12px;font-size:13px;color:#444;line-height:1.8;box-shadow:0 2px 8px rgba(0,0,0,.04)}

.ask-wrapper{padding:16px; min-height:100vh}
.breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:13px;color:#999}
.breadcrumb a{color:#0078D4;transition:color .2s}
.breadcrumb a:hover{color:#106EBE}
.breadcrumb .separator{color:#ddd}
.breadcrumb .current{color:#666}
.empty-state{text-align:center;padding:60px 20px;background:#fff;border-radius:16px;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.empty-icon{font-size:64px;margin-bottom:16px}
.empty-state h2{font-size:18px;color:#333;margin:0 0 8px}
.empty-state p{font-size:14px;color:#999;margin:0 0 24px}
.question-card{background: linear-gradient(135deg, #2B88D8, #0078D4);border-radius:16px;padding:20px;margin-bottom:16px;color:#fff;box-shadow:0 4px 16px rgba(0,120,212,.2)}
.question-header{display:flex;align-items:flex-start;gap:14px}
.question-icon{font-size:32px;flex-shrink:0}
.question-info{flex:1}
.question-title{font-size:18px;font-weight:600;margin:0 0 8px;line-height:1.4}
.question-meta{display:flex;gap:8px}
.tag-question{background:rgba(255,255,255,.2);color:#fff}
.answer-card{background:#fff;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.answer-header{display:flex;align-items:center;gap:8px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #f0f0f0}
.answer-icon{font-size:20px}
.answer-label{font-size:15px;font-weight:600;color:#0078D4}
.answer-content{font-size:14px;line-height:1.8;color:#444}
.answer-content p{margin:0}
.answer-content a{color:#0078D4;text-decoration:none;word-break:break-all}
.answer-content a:hover{text-decoration:underline}
.product-card{background:#fff;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.product-header{margin-bottom:16px}
.product-badge{display:inline-block;background:linear-gradient(135deg,#ff6b6b,#ee5a5a);color:#fff;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500}
.product-body{margin-bottom:16px}
.product-body .product-name{font-size:18px;margin:0 0 10px}
.product-company{display:flex;align-items:center;gap:6px;margin-bottom:12px;font-size:14px;color:#666}
.company-icon{font-size:16px}
.product-tags{display:flex;flex-wrap:wrap;gap:8px}
.product-tags .tag{background:#F0F8FF;color:#0078D4;padding:4px 10px;border-radius:12px;font-size:12px}
.product-desc{background:#F8FAFC;border-radius:10px;padding:12px;margin-top:12px;font-size:13px;color:#555;line-height:1.7}
.product-desc p{margin:0}
.product-footer{display:flex;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid #f0f0f0}
.price-info{display:flex;flex-direction:column;gap:4px}
.price-label{font-size:12px;color:#999}
.rating{display:flex;align-items:center;gap:6px}
.stars{color:#ffb800;font-size:14px;letter-spacing:2px}
.score{font-size:16px;font-weight:600;color:#ff6b00}
.product-footer .btn-group{display:flex;gap:10px}
.product-footer .btn{color:#fff;border-radius:8px;font-size:14px;white-space: nowrap;font-weight:500;transition:all .2s;box-shadow:0 2px 8px rgba(0,0,0,.1);padding:12px 20px}
.product-footer .btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.product-footer .btn-buy{background:linear-gradient(135deg,#FF5000,#E64500)}
.product-footer .btn-reserve{background:linear-gradient(135deg,#07C160,#06AD56)}
.btn-icon{font-size:16px}
.features-card{background:#fff;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.features-title{font-size:16px;font-weight:600;color:#333;margin:0 0 16px;text-align:center}
.features-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.feature-item{display:flex;align-items:flex-start;gap:12px;padding:12px;background:#F8FAFC;border-radius:12px;transition:all .2s}
.feature-item:hover{background:#F0F8FF;transform:translateY(-2px)}
.feature-icon{font-size:24px;flex-shrink:0}
.feature-text h4{font-size:14px;font-weight:600;color:#333;margin:0 0 4px}
.feature-text p{font-size:12px;color:#888;margin:0}
.tips-card{background:#fff;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.06);border-left:4px solid #0078D4}
.tips-header{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.tips-icon{font-size:18px}
.tips-title{font-size:15px;font-weight:600;color:#333}
.tips-list{margin:0;padding-left:20px}
.tips-list li{font-size:13px;color:#666;line-height:1.8;margin-bottom:8px}
.tips-list li:last-child{margin-bottom:0}

.btn-primary{display:inline-block;background:linear-gradient(135deg,#0078D4,#106EBE);color:#fff;padding:12px 24px;border-radius:8px;text-decoration:none;font-size:14px;transition:all .2s}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,120,212,.3)}

@media(max-width:480px){
.ask-wrapper{padding:12px}
.question-card,.answer-card,.product-card,.features-card,.tips-card,.share-card{padding:16px;border-radius:12px}
.product-footer{flex-direction:column;gap:16px;align-items:stretch}
.product-footer .btn-group{flex-direction:column;}
.product-footer .btn{width:100%}
.features-grid{gap:12px}
}

