:root{
  --primary:#1a6dd8;--primary-dark:#0a3d8c;--accent:#ff6a1a;--accent-light:#ff8a3c;
  --bg:#f5f7fa;--card:#fff;--text:#1a1a2e;--text2:#5a6a7a;--text3:#9aa5b5;
  --border:#e8ecf0;--radius:12px;--shadow:0 2px 12px rgba(0,0,0,.06);
  --header-h:52px;--bottomnav-h:56px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{font-size:16px;-webkit-tap-highlight-color:transparent}
body{font-family:'PingFang SC','Microsoft YaHei',-apple-system,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;padding-bottom:var(--bottomnav-h)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.topbar{position:fixed;top:0;left:0;right:0;height:var(--header-h);background:var(--card);box-shadow:0 1px 4px rgba(0,0,0,.08);z-index:100}
.topbar-inner{max-width:1200px;margin:0 auto;height:100%;padding:0 12px;display:flex;align-items:center;gap:8px}
.logo{display:flex;align-items:center;gap:6px;flex-shrink:0}
.logo-img{height:36px;width:36px}
.logo-text{font-size:18px;font-weight:700;color:var(--primary);white-space:nowrap}
.topnav{display:none;flex:1;gap:4px}
.topnav a{padding:6px 12px;border-radius:6px;font-size:14px;color:var(--text2);white-space:nowrap}
.topnav a:hover,.topnav a.active{color:var(--primary);background:rgba(26,109,216,.08)}
.user-btn{padding:6px 14px;border-radius:20px;font-size:13px;color:var(--primary);border:1px solid var(--primary);white-space:nowrap}
.lang-switch{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;font-size:13px;font-weight:700;color:#fff;background:var(--primary);white-space:nowrap;flex-shrink:0;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:12px}
.page-body{padding-top:var(--header-h)}

.bottomnav{position:fixed;bottom:0;left:0;right:0;height:var(--bottomnav-h);background:var(--card);box-shadow:0 -1px 4px rgba(0,0,0,.08);display:flex;z-index:100}
.bottomnav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;color:var(--text3)}
.bottomnav a.active{color:var(--primary)}
.bottomnav svg{width:22px;height:22px}

.banner-swipe{position:relative;overflow:hidden;border-radius:var(--radius);margin-bottom:12px}
.banner-track{display:flex;transition:transform .3s}
.banner-item{flex:0 0 100%;position:relative;min-height:160px;background:linear-gradient(135deg,var(--primary),var(--primary-dark));display:flex;align-items:center;padding:20px;color:#fff}
.banner-item h2{font-size:20px;font-weight:700;margin-bottom:6px}
.banner-item p{font-size:13px;opacity:.85}
.banner-dots{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;gap:6px}
.banner-dots span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.4)}
.banner-dots span.on{background:#fff}

.section{margin-bottom:16px}
.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;padding:0 2px}
.section-head h3{font-size:17px;font-weight:700}
.section-head a{font-size:13px;color:var(--primary)}

.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}
.quick-item{background:var(--card);border-radius:10px;padding:12px 4px;text-align:center;font-size:12px;color:var(--text2);box-shadow:var(--shadow)}
.quick-item:active{background:var(--bg)}

.brand-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.brand-item{background:var(--card);border-radius:10px;padding:10px 4px;text-align:center;font-size:12px;color:var(--text2);box-shadow:var(--shadow)}
.brand-item .blogo{width:40px;height:40px;margin:0 auto 4px;border-radius:50%;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:var(--primary)}
.brand-item .blogo-img{width:40px;height:40px;margin:0 auto 4px;border-radius:50%;object-fit:cover;display:block}
.brand-item:active{background:var(--bg)}

.car-grid{display:grid;grid-template-columns:1fr;gap:10px}
.car-card{background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.car-img{width:100%;height:160px;background:linear-gradient(135deg,#667eea76,#764ba276);display:flex;align-items:center;justify-content:center;font-size:48px;color:#fff}
.car-img-logo img{width:72px;height:72px;object-fit:contain;border-radius:12px;background:#fff;padding:6px;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.car-img-real{width:100%;height:160px;object-fit:cover;display:block}
.car-info{padding:10px 12px}
.car-name{font-size:15px;font-weight:600;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.car-meta{font-size:12px;color:var(--text3);margin-bottom:6px}
.car-price{font-size:16px;font-weight:700;color:var(--accent)}
.car-price small{font-size:12px;font-weight:400;color:var(--text3)}

.filter-bar{background:var(--card);border-radius:var(--radius);padding:12px;margin-bottom:12px}
.filter-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.filter-row:last-child{margin-bottom:0}
.filter-label{font-size:13px;color:var(--text2);width:100%;margin-bottom:2px}
.filter-chip{padding:5px 12px;border-radius:16px;font-size:12px;background:var(--bg);color:var(--text2);border:1px solid transparent}
.filter-chip.active{background:var(--primary);color:#fff}
.filter-chip:active{background:rgba(26,109,216,.1)}

.search-box{background:var(--card);border-radius:var(--radius);padding:10px 12px;display:flex;align-items:center;gap:8px;margin-bottom:12px;box-shadow:var(--shadow)}
.announce-bar{position:relative;margin-bottom:12px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.announce-track{display:flex;transition:transform .4s ease}
.announce-item{flex:0 0 100%;display:flex;align-items:center;justify-content:center;padding:20px 12px;font-size:16px;font-weight:600;color:#fff;text-align:center;letter-spacing:1px;text-decoration:none}
.announce-text{min-height:var(--ann-h,80px)}
.announce-img{min-height:var(--ann-img-h,160px);padding:0;justify-content:flex-start}
.announce-img img{flex:1;min-width:0;height:var(--ann-img-h,160px);object-fit:fill;display:block}
.img-scroll-wrap{display:flex;width:100%;height:100%;transition:transform .4s ease}
.announce-bar[data-animation="scroll_h"] .announce-item{overflow:hidden;flex:0 0 100%}
.announce-bar[data-animation="scroll_h"] .announce-track{display:flex}
.announce-dots{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:10}
.announce-dots span{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.4);transition:background .3s}
.announce-dots span.on{background:#fff}
.announce-bar[data-animation="slide_v"] .announce-track{flex-direction:column}
.announce-bar[data-animation="slide_v"] .announce-item{flex:0 0 auto}
.announce-bar[data-animation="hidden"]{display:none}
.announce-bar[data-animation="fade"] .announce-track,
.announce-bar[data-animation="zoom_in"] .announce-track,
.announce-bar[data-animation="zoom_out"] .announce-track,
.announce-bar[data-animation="flip_x"] .announce-track,
.announce-bar[data-animation="flip_y"] .announce-track,
.announce-bar[data-animation="cover_h"] .announce-track{position:relative}
.announce-bar[data-animation="fade"] .announce-item,
.announce-bar[data-animation="zoom_in"] .announce-item,
.announce-bar[data-animation="zoom_out"] .announce-item,
.announce-bar[data-animation="flip_x"] .announce-item,
.announce-bar[data-animation="flip_y"] .announce-item,
.announce-bar[data-animation="cover_h"] .announce-item{position:absolute;top:0;left:0;width:100%;opacity:0;flex:none}
.announce-bar[data-animation="fade"] .announce-item.active{opacity:1;transition:opacity .5s ease}
.announce-bar[data-animation="zoom_in"] .announce-item{transform:scale(.8)}
.announce-bar[data-animation="zoom_in"] .announce-item.active{opacity:1;transform:scale(1);transition:opacity .5s ease,transform .5s ease}
.announce-bar[data-animation="zoom_out"] .announce-item.active{opacity:1;transform:scale(1);transition:opacity .5s ease,transform .5s ease}
.announce-bar[data-animation="zoom_out"] .announce-item.active-out{opacity:0;transform:scale(1.2);transition:opacity .5s ease,transform .5s ease}
.announce-bar[data-animation="flip_x"]{perspective:1000px}
.announce-bar[data-animation="flip_x"] .announce-item{transform:rotateX(90deg);backface-visibility:hidden}
.announce-bar[data-animation="flip_x"] .announce-item.active{opacity:1;transform:rotateX(0);transition:opacity .5s ease,transform .5s ease}
.announce-bar[data-animation="flip_y"]{perspective:1000px}
.announce-bar[data-animation="flip_y"] .announce-item{transform:rotateY(90deg);backface-visibility:hidden}
.announce-bar[data-animation="flip_y"] .announce-item.active{opacity:1;transform:rotateY(0);transition:opacity .5s ease,transform .5s ease}
.announce-bar[data-animation="cover_h"] .announce-item{transform:translateX(100%)}
.announce-bar[data-animation="cover_h"] .announce-item.active{opacity:1;transform:translateX(0);transition:opacity .4s ease,transform .4s ease}
.announce-bar[data-animation="cover_h"] .announce-item.active-out{opacity:1;transform:translateX(0)}
.announce-bar[data-animation="none"] .announce-track{display:block}
.announce-bar[data-animation="none"] .announce-item{flex:none;display:flex}
.announce-bar[data-animation="push_h"] .announce-track{position:relative}
.announce-bar[data-animation="push_h"] .announce-item{position:absolute;top:0;left:0;width:100%;opacity:0;flex:none;transform:translateX(100%)}
.announce-bar[data-animation="push_h"] .announce-item.active{opacity:1;transform:translateX(0);transition:opacity .4s ease,transform .4s ease}
.announce-bar[data-animation="push_h"] .announce-item.active-out{opacity:1;transform:translateX(-100%);transition:opacity .4s ease,transform .4s ease}
.search-box input{flex:1;border:none;outline:none;font-size:15px;background:transparent}
.search-box .btn{padding:6px 16px;border-radius:8px;background:var(--primary);color:#fff;font-size:14px;border:none}

.hot-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.hot-tag{padding:4px 10px;border-radius:14px;font-size:12px;background:var(--card);color:var(--text2);box-shadow:var(--shadow)}

.news-card{background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);margin-bottom:10px}
.news-card .ninfo{padding:10px 12px}
.news-card h4{font-size:15px;font-weight:600;margin-bottom:4px}
.news-card p{font-size:13px;color:var(--text3);line-height:1.5}
.news-cat{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;background:rgba(26,109,216,.1);color:var(--primary);margin-bottom:4px}

.car-detail{background:var(--card);border-radius:var(--radius);overflow:hidden;margin-bottom:12px}
.detail-hero{height:200px;background:linear-gradient(135deg,#667eea76,#764ba276);display:flex;align-items:center;justify-content:center;font-size:72px;color:#fff}
.detail-hero-logo img{width:120px;height:120px;object-fit:contain;border-radius:16px;background:#fff;padding:8px;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.detail-hero-img{width:100%;height:200px;object-fit:cover;display:block}
.detail-info{padding:16px}
.detail-name{font-size:22px;font-weight:700;margin-bottom:4px}
.detail-price{font-size:20px;font-weight:700;color:var(--accent);margin-bottom:8px}
.detail-desc{font-size:14px;color:var(--text2);line-height:1.6}

.spec-table{width:100%;border-collapse:collapse}
.spec-table th,.spec-table td{padding:8px 12px;text-align:left;font-size:13px;border-bottom:1px solid var(--border)}
.spec-table th{background:var(--bg);color:var(--text2);font-weight:600;width:40%}
.spec-group{background:var(--primary);color:#fff;font-weight:600}

.model-list{background:var(--card);border-radius:var(--radius);overflow:hidden;margin-bottom:12px}
.model-row{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid var(--border)}
.model-row:last-child{border-bottom:none}
.model-row .mname{font-size:14px;font-weight:500}
.model-row .mprice{font-size:15px;font-weight:700;color:var(--accent)}

.btn{display:inline-block;padding:8px 20px;border-radius:8px;font-size:14px;border:none;cursor:pointer}
.btn-primary{background:var(--primary);color:#fff}
.btn-accent{background:var(--accent);color:#fff}
.btn-outline{background:transparent;border:1px solid var(--primary);color:var(--primary)}
.btn-block{display:block;width:100%;text-align:center;padding:12px}

.fab{position:fixed;right:16px;bottom:calc(var(--bottomnav-h) + 16px);width:48px;height:48px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(255,106,26,.4);z-index:90}

.dealer-card{background:var(--card);border-radius:var(--radius);padding:12px;box-shadow:var(--shadow);margin-bottom:10px}
.dealer-card h4{font-size:15px;font-weight:600;margin-bottom:4px}
.dealer-card p{font-size:13px;color:var(--text2);margin-bottom:2px}
.dealer-card .dphone{color:var(--accent);font-weight:600}

.login-box{max-width:360px;margin:40px auto;background:var(--card);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}
.form-group{margin-bottom:16px}
.form-group label{display:block;font-size:14px;color:var(--text2);margin-bottom:6px}
.form-group input{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:15px;outline:none}
.form-group input:focus{border-color:var(--primary)}

.empty{text-align:center;padding:40px 20px;color:var(--text3)}
.loading{text-align:center;padding:20px;color:var(--text3)}

.site-footer{background:#1a1a2e;color:#a0a8b8;margin-top:20px;padding:28px 0 20px}
.footer-inner{max-width:1200px;margin:0 auto;padding:0 12px;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between}
.footer-brand{flex:1;min-width:200px}
.footer-brand .footer-logo{height:32px;width:auto;margin-bottom:8px}
.footer-brand p{font-size:13px;line-height:1.6;color:#7a8090}
.footer-contact{flex:0 0 auto;min-width:160px}
.footer-contact p{font-size:13px;line-height:1.8;color:#a0a8b8}
.footer-copy{flex:0 0 auto;min-width:200px;text-align:right}
.footer-copy p{font-size:12px;line-height:1.8;color:#7a8090}
.footer-copy a{color:#a0a8b8}
.footer-copy a:hover{color:#fff}

@media(min-width:768px){
  body{padding-bottom:0}
  .bottomnav{display:none}
  .topnav{display:flex}
  .container{padding:20px}
  .footer-inner{padding:0 20px}
  .quick-grid{grid-template-columns:repeat(6,1fr)}
  .brand-grid{grid-template-columns:repeat(6,1fr)}
  .car-grid{grid-template-columns:repeat(3,1fr)}
  .banner-item{min-height:280px}
  .banner-item h2{font-size:32px}
  .detail-hero{height:400px}
}
@media(min-width:1024px){
  .car-grid{grid-template-columns:repeat(4,1fr)}
  .brand-grid{grid-template-columns:repeat(8,1fr)}
}@media(max-width:767px){
  .footer-copy{text-align:left}
  .footer-inner{flex-direction:column;gap:12px}
}