body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f8f9fa;
}
.navbar-brand {
    font-weight: bold;
    color: #007bff !important;
}
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-2px);
}
.brand-card {
    cursor: pointer;
    margin-bottom: 20px;
}
.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}
.vip-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    font-weight: bold;
}
.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}
.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
}
.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
}
.alert-info {
    border-left: 4px solid #007bff;
}
/* 字母索引样式 */
.brand-group {
    scroll-margin-top: 70px;
}

/* 渐变主色头部/卡片标题 */
.bg-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    color: #fff !important;
}

/* 小徽章对齐优化 */
.badge {
    vertical-align: middle;
}

/* 辅助：小型历史关键词chip */
.history-chip {
    background: #f1f3f5;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    color: #495057;
}

/* 统一按钮/卡片工具类 */
.btn-gradient-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #fff;
    border: 0;
}
.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #005ed1, #004aa1);
    color: #fff;
}

.btn-soft-outline {
    border: 1px solid #dee2e6;
    background: #fff;
    color: #343a40;
}
.btn-soft-outline:hover {
    background: #f8f9fa;
}

.card-elevated {
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.card-elevated:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
