/* ============================================================
   汽车系统 V2 - 全局样式
   ============================================================ */

/* 基础重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    line-height: 1.6;
}
a { text-decoration: none; color: #1890ff; }
a:hover { color: #40a9ff; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* 容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 15px; }

/* ============================================================
   顶部用户信息栏（与主站一致）
   ============================================================ */
.auto-topbar {
    background: #1a1a2e;
    color: #999;
    height: 36px;
    line-height: 36px;
    font-size: 12px;
    position: relative;
    z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.auto-topbar a { color: #999; transition: color 0.2s; text-decoration: none; }
.auto-topbar a:hover { color: #fff; }
.auto-topbar-left,
.auto-topbar-right { display: flex; align-items: center; }
.auto-topbar-left { float: left; }
.auto-topbar-right { float: right; display: flex; align-items: center; gap: 8px; }
.auto-topbar-link { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.auto-topbar-home { color: #ff6600 !important; font-weight: 600; }
.auto-topbar-icon { width: 14px; height: 14px; }
.auto-topbar-sep { color: #555; margin: 0 6px; }

/* 用户信息 */
.auto-topbar-user { display: flex; align-items: center; gap: 6px; }
.auto-topbar-avatar-placeholder {
    width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, #ff6600, #ff8533);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.auto-topbar-username a { font-weight: 500; color: #fff; }

/* 按钮 */
.auto-topbar-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 24px; padding: 2px 12px; font-size: 12px; line-height: 1.4;
    border-radius: 4px; border: 1px solid transparent; cursor: pointer;
    transition: all 0.2s;
}
.auto-topbar-btn-primary { background: #ff6600; color: #fff !important; border-color: #ff6600; }
.auto-topbar-btn-primary:hover { background: #e65c00; }
.auto-topbar-btn-outline { background: transparent; color: #ccc !important; border-color: #555; }
.auto-topbar-btn-outline:hover { border-color: #ff6600; color: #ff6600 !important; }

/* 网站导航 Mega Menu */
.auto-topbar-nav-trigger { position: relative; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.auto-topbar-arrow { width: 12px; height: 12px; transition: transform 0.2s; }
.auto-topbar-nav-trigger:hover .auto-topbar-arrow { transform: rotate(180deg); }
.auto-topbar-mega-menu {
    display: none; position: absolute; top: 100%; right: 0;
    background: #fff; border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 16px; z-index: 300; margin-top: 4px; min-width: 440px;
}
.auto-topbar-nav-trigger:hover .auto-topbar-mega-menu { display: block; }
.auto-mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.auto-mega-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 4px; border-radius: 8px; transition: all 0.2s;
}
.auto-mega-item:hover { background: #fff7e6; }
.auto-mega-icon { font-size: 22px; }
.auto-mega-text { font-size: 12px; color: #666; }
.auto-mega-item:hover .auto-mega-text { color: #ff6600; }

/* 顶部导航 - 三栏 */
.auto-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-bar {
    border-bottom: 1px solid #f0f0f0;
}
.header-bar:last-child {
    border-bottom: none;
}
.header-bar-top {
    background: linear-gradient(135deg, #ff6600, #ff8533);
}
.header-bar-top .header-inner {
    height: 56px;
}
.header-bar-top .auto-logo {
    color: #fff;
}
.header-bar-top .auto-nav a {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 18px;
}
.header-bar-top .auto-nav a:hover,
.header-bar-top .auto-nav a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.header-bar-top .btn-login {
    background: #fff;
    color: #ff6600;
    font-weight: 600;
}
.header-bar-top .btn-login:hover {
    background: #fff7e6;
    color: #ff6600;
}
.header-bar-top .auto-header-right span {
    color: rgba(255,255,255,0.9);
}
.header-bar-sub {
    background: #fafafa;
}
.header-bar-sub .header-inner {
    height: 42px;
}
.header-bar-sub .auto-nav a {
    color: #666;
    font-size: 13px;
    padding: 6px 12px;
}
.header-bar-sub .auto-nav a:hover,
.header-bar-sub .auto-nav a.active {
    background: #ff6600;
    color: #fff;
}
/* 第二栏 - 服务功能 */
.header-bar-service {
    background: linear-gradient(90deg, #f0f5ff, #fafafa);
    border-bottom: 1px solid #e6f0ff;
}
.header-bar-service .auto-nav a {
    color: #1890ff;
}
.header-bar-service .auto-nav a:hover,
.header-bar-service .auto-nav a.active {
    background: #1890ff;
    color: #fff;
}
/* 第三栏 - 内容功能 */
.header-bar-content {
    background: linear-gradient(90deg, #f6ffed, #fafafa);
    border-bottom: 1px solid #e6ffed;
}
.header-bar-content .auto-nav a {
    color: #52c41a;
}
.header-bar-content .auto-nav a:hover,
.header-bar-content .auto-nav a.active {
    background: #52c41a;
    color: #fff;
}
.auto-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.auto-logo {
    font-size: 20px;
    font-weight: 700;
    color: #ff6600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.auto-logo .logo-icon { font-size: 26px; }
.auto-nav { display: flex; gap: 2px; }
.auto-nav a {
    padding: 8px 14px;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}
.auto-nav a:hover, .auto-nav a.active {
    background: #ff6600;
    color: #fff;
}
.auto-header-right { display: flex; align-items: center; gap: 12px; }
.btn-login {
    padding: 6px 16px;
    background: #ff6600;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-login:hover { background: #e85d00; color: #fff; }

/* 搜索栏 */
.search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 12px;
}
.search-bar button {
    padding: 10px 24px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}
.search-bar button:hover { background: #e85d00; }
.hot-searches { margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.hot-searches a { color: #666; font-size: 13px; }
.hot-searches a:hover { color: #ff6600; }

/* 卡片 */
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f0f0f0;
}
.card-body { padding: 14px; }
.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}
.card-price {
    color: #ff4d4f;
    font-size: 18px;
    font-weight: 700;
}
.card-tags { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    background: #f0f0f0;
    color: #666;
}
.tag-orange { background: #fff7e6; color: #ff6600; }
.tag-blue { background: #e6f7ff; color: #1890ff; }
.tag-green { background: #f6ffed; color: #52c41a; }
.tag-red { background: #fff1f0; color: #ff4d4f; }

/* 网格布局 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

/* 区块标题 */
.section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-more { color: #999; font-size: 13px; }
.section-more:hover { color: #ff6600; }

/* 筛选栏 */
.filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.filter-row:last-child { margin-bottom: 0; }
.filter-label {
    font-size: 13px;
    color: #999;
    min-width: 60px;
}
.filter-options { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-opt {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-opt:hover, .filter-opt.active {
    background: #ff6600;
    color: #fff;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
}
.btn-primary { background: #ff6600; color: #fff; }
.btn-primary:hover { background: #e85d00; color: #fff; }
.btn-secondary { background: #f0f0f0; color: #333; }
.btn-secondary:hover { background: #e0e0e0; }
.btn-outline {
    background: transparent;
    border: 1px solid #ff6600;
    color: #ff6600;
}
.btn-outline:hover { background: #ff6600; color: #fff; }
.btn-sm { padding: 4px 12px; font-size: 12px; }
.btn-lg { padding: 12px 32px; font-size: 16px; }
.btn-block { display: block; width: 100%; }

/* 表单 */
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #ff6600;
}
.form-textarea { min-height: 100px; resize: vertical; }

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 20px 0;
    flex-wrap: wrap;
}
.page-btn {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    color: #333;
    font-size: 13px;
    transition: all 0.2s;
}
.page-btn:hover { border-color: #ff6600; color: #ff6600; }
.page-btn.active { background: #ff6600; color: #fff; border-color: #ff6600; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }
.page-info { color: #999; font-size: 13px; }

/* 详情页面 */
.detail-header {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.detail-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.detail-meta { display: flex; gap: 16px; color: #999; font-size: 13px; margin-bottom: 16px; }
.detail-price {
    font-size: 28px;
    color: #ff4d4f;
    font-weight: 700;
}
.detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    line-height: 1.8;
}
.detail-content img { max-width: 100%; border-radius: 8px; margin: 12px 0; }

/* 参数表格 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}
.spec-table th, .spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
.spec-table th {
    background: #fafafa;
    color: #999;
    width: 120px;
    text-align: left;
}

/* 对比表格 */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}
.compare-table th, .compare-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    font-size: 13px;
}
.compare-table th { background: #fafafa; color: #999; }
.compare-table td:first-child { text-align: left; font-weight: 600; color: #666; }

/* 底部 */
.auto-footer {
    background: #333;
    color: #999;
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
}
.auto-footer a { color: #ccc; }
.auto-footer a:hover { color: #ff6600; }

/* 友情链接 */
.footer-links {
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
    margin-bottom: 16px;
}
.footer-links-title {
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 10px;
}
.footer-links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}
.footer-links-list a {
    font-size: 13px;
    color: #999;
    transition: color 0.2s;
}
.footer-links-list a:hover {
    color: #ff6600;
}

/* 版权信息 */
.footer-copyright {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
}

/* 响应式 */
@media (max-width: 768px) {
    .auto-nav { display: none; }
    .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .search-bar { margin: 12px 10px; }
    .section { margin: 12px 10px; padding: 14px; }
    .card-img { height: 140px; }
    .auto-header .header-inner { padding: 0 10px; }
}

/* 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    padding: 40px;
}
.loading::after {
    content: '';
    width: 32px;
    height: 32px;
    border: 3px solid #f0f0f0;
    border-top-color: #ff6600;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }

/* 评分 */
.stars { color: #faad14; }
.stars .empty { color: #d9d9d9; }

/* 徽章 */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.badge-orange { background: #fff7e6; color: #ff6600; }
.badge-blue { background: #e6f7ff; color: #1890ff; }
.badge-green { background: #f6ffed; color: #52c41a; }
.badge-red { background: #fff1f0; color: #ff4d4f; }

/* 快捷入口 */
.quick-entry { padding: 16px; }
.quick-item {
    display: block;
    padding: 12px;
    text-align: center;
    border-radius: 12px;
    transition: all 0.2s;
    color: #333;
}
.quick-item:hover {
    background: #fff7e6;
    transform: translateY(-2px);
}
.quick-icon { font-size: 32px; margin-bottom: 4px; }
.quick-name { font-size: 13px; color: #333; }

/* 品牌网格 */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.brand-item {
    display: block;
    text-align: center;
    padding: 16px 8px;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.2s;
    color: #333;
}
.brand-item:hover {
    background: #fff7e6;
    transform: translateY(-2px);
}
.brand-logo { font-size: 28px; margin-bottom: 6px; }
.brand-name { font-size: 14px; font-weight: 600; color: #333; }
.brand-country { font-size: 11px; color: #999; margin-top: 2px; }

/* 油价卡片 */
.fuel-card {
    padding: 16px;
    background: #fafafa;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s;
}
.fuel-card:hover { background: #fff7e6; }
.fuel-price { font-size: 24px; font-weight: 700; color: #ff4d4f; }
.fuel-type { font-size: 14px; color: #666; margin-top: 6px; }
.fuel-meta { font-size: 12px; color: #999; margin-top: 4px; }

/* 两列布局 */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 车辆卡片 */
.car-card .car-image {
    height: 140px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.car-card .car-image span { font-size: 56px; }
.car-card .car-image.ev-bg {
    background: linear-gradient(135deg, #52c41a, #73d13d);
}

/* 资讯列表 */
.news-list { }
.news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}
.news-item:hover { background: #fafafa; padding-left: 8px; }
.news-content { flex: 1; }
.news-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 4px; }
.news-meta { font-size: 12px; color: #999; }
.news-thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

/* 视频卡片 */
.video-card .video-thumb {
    height: 160px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.play-icon { font-size: 48px; }
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* 帖子卡片 */
.post-card .card-tags { margin-bottom: 8px; }

/* 口碑卡片 */
.review-card .review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.review-model { font-size: 14px; font-weight: 600; color: #333; }
.review-summary { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 8px; }

/* 门店卡片 */
.shop-card .shop-image {
    height: 120px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-card .shop-image span { font-size: 48px; }

/* 召回列表 */
.recall-list { }
.recall-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.recall-item:hover { background: #fafafa; padding-left: 8px; }
.recall-content { flex: 1; }
.recall-title { font-size: 14px; font-weight: 600; }
.recall-meta { font-size: 12px; color: #999; margin-top: 4px; }

/* 游戏横幅 */
.game-banner {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    text-align: center;
    padding: 48px 20px;
}
.game-banner-icon { font-size: 56px; margin-bottom: 12px; }
.game-banner-title { font-size: 28px; margin-bottom: 8px; }
.game-banner-desc { opacity: 0.85; margin-bottom: 24px; font-size: 15px; }
.game-banner-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #764ba2;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
}
.game-banner-btn:hover {
    background: #fff7e6;
    transform: scale(1.05);
}

/* 统计栏 */
.stats-bar {
    background: linear-gradient(135deg, #ff6600, #ff8533);
    color: #fff;
    text-align: center;
}
.stat-item { padding: 12px; }
.stat-number { font-size: 28px; font-weight: 700; }
.stat-label { font-size: 13px; opacity: 0.85; margin-top: 4px; }

/* 响应式优化 */
@media (max-width: 768px) {
    .auto-nav { display: none; }
    .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .two-columns { grid-template-columns: 1fr; }
    .brand-grid { grid-template-columns: repeat(4, 1fr); }
    .search-bar { margin: 12px 10px; }
    .section { margin: 12px 10px; padding: 14px; }
    .card-img { height: 140px; }
    .auto-header .header-inner { padding: 0 10px; }
    .quick-icon { font-size: 28px; }
    .quick-name { font-size: 12px; }
}

/* 个人中心 */
.my-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
}
.my-sidebar { }
.my-profile {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.my-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}
.my-name { font-size: 18px; font-weight: 700; color: #333; }
.my-id { font-size: 12px; color: #999; margin-top: 4px; }

.my-stats {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}
.my-stat-item { padding: 8px; }
.my-stat-num { font-size: 20px; font-weight: 700; color: #ff6600; }
.my-stat-label { font-size: 12px; color: #999; margin-top: 2px; }

.my-menu {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.my-menu-item {
    display: block;
    padding: 14px 16px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    font-size: 14px;
}
.my-menu-item:last-child { border-bottom: none; }
.my-menu-item:hover, .my-menu-item.active {
    background: #fff7e6;
    color: #ff6600;
    padding-left: 20px;
}

.my-content { }
.my-list { }
.my-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}
.my-list-item:hover { padding-left: 8px; }
.my-list-item:last-child { border-bottom: none; }
.my-list-unread { background: #f0f5ff; padding: 12px; border-radius: 8px; margin-bottom: 8px; }
.my-list-time { margin-left: auto; font-size: 12px; color: #999; white-space: nowrap; }

.my-settings { max-width: 500px; }

.quick-entry-card {
    text-align: center;
    padding: 24px;
    cursor: pointer;
}
.quick-entry-icon { font-size: 40px; margin-bottom: 8px; }
.quick-entry-title { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 4px; }
.quick-entry-desc { font-size: 13px; color: #999; }

@media (max-width: 768px) {
    .my-layout { grid-template-columns: 1fr; }
    .my-sidebar { order: -1; }
    .my-stats { grid-template-columns: repeat(3, 1fr); }
}

/* 详情页布局 */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
}
.detail-main { min-width: 0; }
.detail-sidebar { }

/* 面包屑 */
.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: #999;
}
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #ff6600; }
.breadcrumb span { color: #999; }

/* 图片轮播 */
.car-gallery {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.gallery-main {
    height: 400px;
    background: #f5f5f5;
    position: relative;
}
.gallery-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}
.gallery-placeholder span { font-size: 80px; }
.gallery-placeholder p { font-size: 18px; margin-top: 12px; }
.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
}
.gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: #ff6600; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 14px;
}

/* 内容区块 */
.detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.content-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.content-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* 参数网格 */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.spec-item {
    text-align: center;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
}
.spec-label { font-size: 12px; color: #999; margin-bottom: 4px; }
.spec-value { font-size: 14px; font-weight: 600; color: #333; }

/* 金融方案 */
.finance-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.finance-card {
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}
.finance-card:hover { border-color: #ff6600; background: #fff7e6; }
.finance-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; }
.finance-price { font-size: 20px; font-weight: 700; color: #ff4d4f; margin-bottom: 4px; }
.finance-desc { font-size: 12px; color: #999; }

/* 口碑 */
.review-item {
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 12px;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.review-model { font-size: 14px; font-weight: 600; color: #333; }
.review-price { font-size: 13px; color: #ff6600; margin-left: auto; }
.review-summary { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 8px; }
.review-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #999;
}

/* 价格卡片 */
.price-card {
    padding: 20px;
    margin-bottom: 16px;
}
.price-main {
    font-size: 28px;
    font-weight: 700;
    color: #ff4d4f;
    margin-bottom: 4px;
}
.price-info {
    font-size: 13px;
    color: #666;
    line-height: 2;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

/* 商家信息 */
.shop-card-sidebar {
    padding: 16px;
    margin-bottom: 16px;
}
.shop-info {
    display: flex;
    gap: 12px;
    align-items: center;
}
.shop-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.shop-detail { flex: 1; }
.shop-name { font-size: 15px; font-weight: 600; color: #333; }
.shop-meta { display: flex; gap: 6px; margin-top: 4px; }
.shop-rating { font-size: 13px; color: #faad14; margin-top: 4px; }

/* 提示卡片 */
.tip-card { padding: 16px; margin-bottom: 16px; }
.tip-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 12px; }
.tip-list { font-size: 13px; color: #666; line-height: 2; }

/* 分享卡片 */
.share-card { padding: 16px; }
.share-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 12px; }
.share-buttons { display: flex; gap: 8px; }

@media (max-width: 768px) {
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { order: -1; }
    .gallery-main { height: 250px; }
    .spec-grid { grid-template-columns: repeat(3, 1fr); }
    .finance-options { grid-template-columns: 1fr; }
}

/* 表单页面 */
.form-page { max-width: 800px; margin: 0 auto; }
.form-header {
    text-align: center;
    padding: 30px 0;
}
.form-header h2 { font-size: 24px; color: #333; margin-bottom: 8px; }
.form-header p { font-size: 14px; color: #999; }

.form-errors {
    background: #fff1f0;
    border: 1px solid #ffccc7;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}
.form-error {
    font-size: 14px;
    color: #ff4d4f;
    padding: 4px 0;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.form-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}
.form-section:last-of-type { border-bottom: none; }
.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}
.required { color: #ff4d4f; }

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 16px;
}

/* 评分 */
.rating-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.rating-item { text-align: center; }
.rating-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.rating-stars {
    display: flex;
    gap: 2px;
    justify-content: center;
}
.rating-stars input[type="radio"] { display: none; }
.rating-stars label {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.rating-stars input[type="radio"]:checked ~ label,
.rating-stars label:hover {
    background: #ff6600;
    color: #fff;
}

@media (max-width: 768px) {
    .rating-grid { grid-template-columns: repeat(3, 1fr); }
    .form-card { padding: 16px; }
}

/* 后台管理 */
.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
}
.admin-sidebar { }
.admin-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    padding: 16px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.admin-menu {
    background: #fff;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.admin-menu-item {
    display: block;
    padding: 12px 16px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    font-size: 14px;
}
.admin-menu-item:last-child { border-bottom: none; }
.admin-menu-item:hover, .admin-menu-item.active {
    background: #fff7e6;
    color: #ff6600;
    padding-left: 20px;
}

.admin-content { }
.admin-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
.admin-alert-success {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

/* 统计卡片 */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.admin-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.admin-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.admin-stat-info { flex: 1; }
.admin-stat-number { font-size: 24px; font-weight: 700; color: #333; }
.admin-stat-label { font-size: 13px; color: #999; margin-top: 2px; }
.admin-stat-sub { font-size: 12px; color: #ff4d4f; margin-top: 2px; }

/* 快捷操作 */
.admin-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.admin-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.admin-quick-card {
    display: block;
    text-align: center;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    transition: all 0.2s;
}
.admin-quick-card:hover {
    background: #fff7e6;
    transform: translateY(-2px);
}
.admin-quick-icon { font-size: 32px; margin-bottom: 8px; }
.admin-quick-title { font-size: 14px; font-weight: 600; color: #333; }

/* 列表项 */
.admin-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.admin-list-item:last-child { border-bottom: none; }

/* 表格 */
.admin-table {
    overflow-x: auto;
}
.admin-table table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th, .admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    text-align: left;
}
.admin-table th {
    background: #fafafa;
    color: #999;
    font-weight: 600;
}
.admin-table tr:hover { background: #fafafa; }

/* 品牌网格 */
.admin-brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.admin-brand-card {
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s;
}
.admin-brand-card:hover { background: #fff7e6; }
.admin-brand-logo { font-size: 28px; margin-bottom: 6px; }
.admin-brand-name { font-size: 14px; font-weight: 600; color: #333; }
.admin-brand-country { font-size: 11px; color: #999; margin-top: 2px; }
.admin-brand-meta { margin-top: 6px; display: flex; justify-content: center; gap: 8px; align-items: center; }

/* 设置 */
.admin-settings { max-width: 500px; }

@media (max-width: 768px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { order: -1; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-brand-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 评论 */
.comment-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.comment-form .form-input { flex: 1; }
.comment-login-tip {
    text-align: center;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 20px;
}
.comment-list { }
.comment-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.comment-body { flex: 1; }
.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.comment-username {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.comment-time {
    font-size: 12px;
    color: #999;
}
.comment-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.comment-replies {
    margin-top: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
}
.comment-reply {
    font-size: 13px;
    color: #666;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}
.comment-reply:last-child { border-bottom: none; }
.comment-reply .comment-username {
    color: #1890ff;
    font-weight: 600;
}

/* 赛车游戏 */
.game-alert {
    padding: 12px 16px;
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
    border-radius: 8px;
    margin-bottom: 16px;
}
.game-signin {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg,#fff7e6,#ffe7ba);
    border-radius: 12px;
    margin-bottom: 20px;
}
.game-signin-done {
    color: #52c41a;
    font-size: 16px;
    font-weight: 600;
}
.game-signin-tip {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

/* 车辆卡片 */
.game-car-card {
    transition: all 0.3s;
}
.game-car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.game-car-image {
    height: 120px;
    background: linear-gradient(135deg,#667eea,#764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
}
.game-car-image span {
    font-size: 56px;
}
.game-car-stats-detail {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}
.game-car-meta {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}
.game-car-actions {
    margin-top: 12px;
    display: flex;
    gap: 6px;
}

/* 比赛界面 */
.game-race-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.game-race-header h2 {
    margin: 0;
    font-size: 20px;
}
.game-car-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 20px;
}
.game-car-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg,#667eea,#764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.game-car-detail { flex: 1; }
.game-car-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.game-car-stats {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

/* 赛道卡片 */
.game-track-card {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.game-track-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.game-track-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.game-track-name {
    font-weight: 600;
    margin-bottom: 4px;
}
.game-track-info {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* 升级界面 */
.game-upgrade { }
.game-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}
.game-stat-item {
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
}
.game-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.game-stat-bar {
    height: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}
.game-stat-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s;
}
.game-stat-value {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    text-align: right;
}

/* 皮肤商店 */
.game-skins { }
.game-skin-card {
    text-align: center;
    transition: all 0.3s;
}
.game-skin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.game-skin-icon {
    font-size: 48px;
    margin-bottom: 8px;
}
.game-skin-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}
.game-skin-price {
    font-size: 13px;
    color: #666;
    margin: 8px 0;
}

/* 赛季信息 */
.game-season-info {
    padding: 20px;
    background: linear-gradient(135deg,#f0f5ff,#e6f0ff);
    border-radius: 12px;
}
.game-season-name {
    font-size: 18px;
    font-weight: 700;
    color: #1890ff;
    margin-bottom: 8px;
}
.game-season-dates {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}
.game-season-reward {
    font-size: 14px;
    color: #333;
}

/* 比赛动画 */
.game-race-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.game-race-animation {
    text-align: center;
    color: #fff;
}
.game-race-car {
    font-size: 64px;
    animation: raceCar 1s ease-in-out infinite;
}
.game-race-track {
    font-size: 32px;
    margin: 16px 0;
}
.game-race-text {
    font-size: 18px;
    font-weight: 600;
}

@keyframes raceCar {
    0%, 100% { transform: translateX(-20px); }
    50% { transform: translateX(20px); }
}

@media (max-width: 768px) {
    .game-stats-grid { grid-template-columns: 1fr; }
    .game-car-actions { flex-wrap: wrap; }
}
