* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --success: #43e97b;
    --danger: #f5576c;
    --warning: #feca57;
    --info: #4facfe;
    --dark: #0f1419;
    --dark-light: #1a1f2e;
    --dark-lighter: #252d3f;
    --text: #e1e8ed;
    --text-muted: #8899a6;
    --border: #38444d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 面包屑链接 */
.breadcrumb-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--primary);
}

/* 导航栏 */
.navbar {
    background: var(--dark-light);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    font-size: 2rem;
    color: var(--primary);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.beta-tag {
    background: var(--warning);
    color: var(--dark);
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: var(--dark-lighter);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.network-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--dark-lighter);
    border-radius: 8px;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.balance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    font-weight: 600;
}

.balance i {
    color: var(--warning);
}

.currency {
    color: var(--primary);
    font-size: 0.85rem;
}

.connect-wallet {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.connect-wallet:hover {
    transform: translateY(-2px);
}

/* 全局数据看板 */
.global-stats {
    background: var(--dark-light);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: var(--dark-lighter);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.pulse {
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.stat-change {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

/* 主布局 */
.main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 250px 1fr 320px;
    gap: 1.5rem;
}

/* 侧边栏 */
.sidebar {
    background: var(--dark-light);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border);
}

/* 快捷操作 */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.quick-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    transition: opacity 0.3s;
}

.create-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.create-btn::before {
    background: white;
}

.dashboard-btn {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #0f1419;
}

.dashboard-btn::before {
    background: white;
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.quick-btn:hover::before {
    opacity: 0.2;
}

.quick-btn i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.quick-btn span {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.quick-btn small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.sidebar h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-muted);
}

.category-item:hover,
.category-item.active {
    background: var(--dark-lighter);
    color: var(--text);
}

.category-item i {
    font-size: 1.2rem;
    width: 24px;
}

.category-item span {
    flex: 1;
}

.category-item .count {
    background: var(--dark-lighter);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-item.active .count {
    background: var(--primary);
    color: white;
}

/* 热门创建者 */
.hot-creators {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.hot-creators h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.creator-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.creator-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--dark-lighter);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.creator-item:hover {
    transform: translateX(5px);
    background: var(--dark);
}

.creator-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.creator-info {
    flex: 1;
}

.creator-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.creator-stats {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.creator-badge {
    font-size: 1.2rem;
}

/* 主内容区 */
.content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.market-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-light);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.toolbar-left {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: var(--dark-lighter);
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark-lighter);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.search-box input {
    background: none;
    border: none;
    color: var(--text);
    outline: none;
    width: 200px;
}

.search-box i {
    color: var(--text-muted);
}

/* 热门市场 */
.featured-markets {
    background: var(--dark-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.featured-markets h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--warning);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 1200px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

.featured-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

/* 市场列表 */
.market-list {
    background: var(--dark-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.list-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-toggle button {
    background: var(--dark-lighter);
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-toggle button:hover,
.view-toggle button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.market-card {
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.market-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.market-category {
    background: var(--dark);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.market-hot {
    background: var(--danger);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    animation: hotBadge 1s infinite;
}

@keyframes hotBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.market-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    line-height: 1.4;
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-item label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stat-item value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.market-odds {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.odds-option {
    flex: 1;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    transition: all 0.3s;
}

.odds-option:hover {
    border-color: var(--success);
    background: rgba(67, 233, 123, 0.1);
}

.odds-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.odds-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--success);
}

.market-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

.market-creator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.market-creator img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.market-time {
    color: var(--text-muted);
}

/* 右侧栏 */
.rightbar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.widget h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text);
}

/* 交易流 */
.feed-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 300px;
    overflow-y: auto;
}

.feed-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    background: var(--dark-lighter);
    border-radius: 8px;
    font-size: 0.85rem;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feed-user {
    color: var(--primary);
    font-weight: 600;
}

.feed-action {
    color: var(--text-muted);
}

.feed-amount {
    color: var(--success);
    font-weight: 600;
}

/* 价格图表容器 */
.chart-container {
    margin: 0; /* 移除外边距，由父容器控制 */
    position: relative;
    width: 100%;
    height: 220px; /* 与HTML中的高度一致 */
    padding: 0;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.current-price {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.current-price .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.current-price .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.current-price .change {
    font-size: 0.85rem;
    font-weight: 600;
}

.current-price .change.positive {
    color: var(--success);
}

/* 排行榜 */
.leader-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.leader-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--dark-lighter);
    border-radius: 8px;
    transition: all 0.3s;
}

.leader-item:hover {
    background: var(--dark);
    transform: translateX(5px);
}

.leader-item .rank {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.leader-item.rank-1 .rank {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: var(--dark);
}

.leader-item.rank-2 .rank {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: var(--dark);
}

.leader-item.rank-3 .rank {
    background: linear-gradient(135deg, #cd7f32, #e3a169);
    color: var(--dark);
}

.leader-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.leader-info {
    flex: 1;
}

.leader-info .name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.leader-info .profit {
    font-size: 0.85rem;
    font-weight: 600;
}

.leader-info .profit.positive {
    color: var(--success);
}

/* 通知 */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.notification-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--dark-lighter);
    border-radius: 8px;
}

.notification-item i {
    font-size: 1.2rem;
}

.notification-content {
    flex: 1;
}

.notification-content .title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.notification-content .desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.notification-content .time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--dark-light);
    margin: 3% auto;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.3s;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--danger);
}

/* 响应式 */
@media (max-width: 1400px) {
    .main-container {
        grid-template-columns: 220px 1fr 280px;
    }
}

@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 1fr 300px;
    }
    
    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .rightbar {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
}

/* 评论区样式 */
.comment-item {
    background: var(--dark);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.comment-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.8rem;
    border: 2px solid var(--border);
}

.comment-user-info {
    flex: 1;
}

.comment-username {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.comment-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-left: 0.5rem;
}

.platform-badge i {
    font-size: 0.9rem;
}

.comment-content {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    word-wrap: break-word;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.comment-action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.comment-action-btn:hover {
    background: var(--dark-lighter);
    color: var(--primary);
}

.comment-action-btn i {
    font-size: 0.9rem;
}

/* 评论输入框样式 */
#commentInput:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 滚动条样式（评论区） */
#commentsContainer {
    max-height: 600px;
    overflow-y: auto;
}

#commentsContainer::-webkit-scrollbar {
    width: 8px;
}

#commentsContainer::-webkit-scrollbar-track {
    background: var(--dark);
    border-radius: 4px;
}

#commentsContainer::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
    transition: background 0.3s;
}

#commentsContainer::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 价格闪烁动画 */
@keyframes priceFlash {
    0% {
        background: transparent;
    }
    50% {
        background: rgba(102, 126, 234, 0.3);
    }
    100% {
        background: transparent;
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}


