* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    padding: 0;
    min-height: 100vh;
}

/* 导航栏 */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    text-decoration: none;
}

.navbar-links {
    display: flex;
    gap: 30px;
}

.navbar-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-link:hover {
    color: #3498db;
}

/* 移动端导航 */
.mobile-navbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    z-index: 1000;
}

/* 确保移动端导航在小屏幕上显示 */
@media (max-width: 768px) {
    .mobile-navbar {
        display: block !important;
    }
}

.mobile-navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
}

.mobile-navbar-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.mobile-navbar-link:hover {
    color: #3498db;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 80px; /* 为页脚留出空间 */
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 20px 0;
}

.filter-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.filter-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 600;
}

.filter-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.filter-select:hover {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.filter-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* 移动端下拉菜单优化 */
@media (max-width: 768px) {
    .filter-select {
        padding: 10px 14px;
        font-size: 0.85rem;
        background-size: 14px;
        background-position: right 10px center;
    }
}

.filter-button-container {
    margin-bottom: 20px;
    text-align: right;
}

.filter-button {
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-button:hover {
    background: #2980b9;
}

/* 图片查看模态框 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-content .close-button {
    position: absolute;
    top: -30px;
    right: 0;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content .close-button:hover {
    color: #ccc;
}

/* 分页控件样式 */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pagination-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-button {
    padding: 6px 12px;
    background: white;
    color: #3498db;
    border: 1px solid #3498db;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-button:hover:not(.disabled) {
    background: #3498db;
    color: white;
}

.pagination-button.active {
    background: #3498db;
    color: white;
}

.pagination-button.disabled {
    background: #f0f2f5;
    color: #95a5a6;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

/* 筛选弹窗 */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.filter-modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 20px;
    width: 95%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #95a5a6;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.close-button:hover {
    background: #f0f2f5;
    color: #2c3e50;
}

.filter-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.reset-button {
    padding: 10px 20px;
    background: #ecf0f1;
    color: #2c3e50;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.reset-button:hover {
    background: #d5dbdb;
}

.accounts-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.account-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.account-main {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.account-image {
    width: 90px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.account-image:hover img {
    transform: scale(1.05);
}

.account-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

.account-badge.出售 {
    background: #e8f5e8;
    color: #27ae60;
    position: absolute;
    top: 6px;
    right: 6px;
}

.account-badge.租赁 {
    background: #e3f2fd;
    color: #2196f3;
    position: absolute;
    top: 6px;
    right: 6px;
}

.account-badge.租金 {
    background: #e3f2fd;
    color: #2196f3;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

.account-badge.价格 {
    background: #e8f5e8;
    color: #27ae60;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

.account-badge.押金 {
    background: #fff3e0;
    color: #f39c12;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

.account-badge.比例 {
    background: #f3e5f5;
    color: #9b59b6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

.account-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-id {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    align-self: flex-start;
}

.account-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #34495e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.home-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    min-width: 80px;
    justify-content: center;
    line-height: 1;
}

.home-stat-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.home-stat-label {
    color: #666;
    font-weight: 500;
    font-size: 0.75rem;
    margin: 0;
    padding: 0;
    line-height: 1;
    background: none;
}

.home-stat-value {
    font-weight: 600;
    color: #3498db;
    font-size: 0.75rem;
    margin: 0;
    padding: 0;
    line-height: 1;
    background: none;
}

.home-stat-item.pure-assets {
    background-color: #fef2f2;
    border-color: #fecaca;
}

.home-stat-item.pure-assets .home-stat-value {
    color: #e74c3c;
}

.home-stat-item.safety-box {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
}

.home-stat-item.safety-box .home-stat-value {
    color: #27ae60;
}

.home-stat-item.level {
    background-color: #fefce8;
    border-color: #fef08a;
}

.home-stat-item.level .home-stat-value {
    color: #f39c12;
}

.home-stat-item.rank {
    background-color: #fdf2f8;
    border-color: #fbcfe8;
}

.home-stat-item.rank .home-stat-value {
    color: #9b59b6;
}

.home-stat-item.training-center {
    background-color: #f0f9ff;
    border-color: #bae6fd;
}

.home-stat-item.training-center .home-stat-value {
    color: #00acc1;
}

/* 账号详情页统计项样式 */
.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    font-size: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.stat-label {
    color: #7f8c8d;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.7rem;
}

.stat-value {
    font-weight: 700;
    color: #3498db;
    font-size: 1rem;
}

.stat-card.total-assets .stat-value {
    color: #e74c3c;
    font-size: 1.1rem;
}

.stat-card.pure-assets .stat-value {
    color: #27ae60;
    font-size: 1.1rem;
}

.stat-card.training-center .stat-value {
    color: #f39c12;
    font-size: 1.1rem;
}

.stat-card.level .stat-value {
    color: #1abc9c;
    font-size: 1.1rem;
}

.stat-card.rank .stat-value {
    color: #9b59b6;
    font-size: 1.1rem;
}

.stat-card.server .stat-value {
    color: #34495e;
    font-size: 1.1rem;
}

.stat-card.login-method .stat-value {
    color: #e67e22;
    font-size: 1.1rem;
}

.stat-card.safety-box .stat-value {
    color: #8e44ad;
    font-size: 1.1rem;
}

.price-section {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.price-item .account-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
}

.price-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2c3e50;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .account-card {
        padding: 12px;
        gap: 10px;
    }
    
    .account-main {
        gap: 12px;
    }
    
    .account-image {
        width: 80px;
        height: 70px;
    }
    
    .account-stats {
        gap: 6px;
    }
    
    .stat-item {
        padding: 3px 10px;
        font-size: 0.7rem;
    }
    
    .price-section {
        gap: 10px;
        padding-top: 10px;
    }
    
    .price-item {
        font-size: 0.75rem;
    }
}

.detail-container {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.detail-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
}

.back-button {
    display: inline-block;
    padding: 8px 16px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.back-button:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.detail-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-header h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.copy-button {
    padding: 4px 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.copy-button:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.detail-header p {
    font-size: 1rem;
    color: #34495e;
    line-height: 1.5;
    margin: 8px 0;
    font-weight: 500;
}

.detail-header p:nth-child(2) {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.detail-header p:nth-child(3) {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

.detail-prices {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    flex-wrap: wrap;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.price-item:nth-child(1) .price-value {
    color: #ffd700;
}

.price-item:nth-child(2) .price-value {
    color: #90ee90;
}

.price-item:nth-child(3) .ratio {
    color: #ffb6c1;
}

.ratio {
    font-size: 1rem;
    color: #764ba2;
    font-weight: 700;
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.server-info {
    font-size: 1rem;
    color: #34495e;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-weight: 500;
}

.detail-stats {
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    font-size: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.stat-label {
    color: #7f8c8d;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.7rem;
}

.stat-value {
    font-weight: 700;
    color: #3498db;
    font-size: 1rem;
}

.stat-card.total-assets .stat-value {
    color: #e74c3c;
    font-size: 1.1rem;
}

.stat-card.pure-assets .stat-value {
    color: #27ae60;
    font-size: 1.1rem;
}

.stat-card.training-center .stat-value {
    color: #f39c12;
    font-size: 1.1rem;
}

.stat-card.level .stat-value {
    color: #1abc9c;
    font-size: 1.1rem;
}

.stat-card.rank .stat-value {
    color: #9b59b6;
    font-size: 1.1rem;
}

.stat-card.server .stat-value {
    color: #34495e;
    font-size: 1.1rem;
}

.stat-card.login-method .stat-value {
    color: #e67e22;
    font-size: 1.1rem;
}

.stat-card.safety-box .stat-value {
    color: #8e44ad;
    font-size: 1.1rem;
}

.additional-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.info-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.info-item {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.info-item h3 {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

.remarks {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 3px solid #3498db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.remarks h3 {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.remarks h3::before {
    content: '📝';
    font-size: 1rem;
}

.remarks p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    padding: 8px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.images {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.image-card {
    width: 180px;
    height: 130px;
    background: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.image-card img:hover {
    transform: scale(1.05);
}

.loading {
    text-align: center;
    padding: 100px 20px;
    color: #666;
    font-size: 1.1rem;
}

/* 交易须知样式 */
.notice-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
}

.notice-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.notice-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.announcement {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.announcement h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #34495e;
    margin: 0 0 10px 0;
}

#announcement-content {
    color: #555;
    line-height: 1.5;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 自定义滚动条 */
#announcement-content::-webkit-scrollbar {
    width: 6px;
}

#announcement-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#announcement-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#announcement-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.notice-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.notice-tab {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #34495e;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-tab:hover {
    background: #e3f2fd;
    border-color: #3498db;
    color: #3498db;
}

.notice-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.notice-content {
    min-height: 200px;
    display: none;
}

.notice-panel {
    display: none;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    line-height: 1.5;
    color: #555;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 自定义滚动条 */
.notice-panel::-webkit-scrollbar {
    width: 6px;
}

.notice-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.notice-panel::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.notice-panel::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.notice-panel.active {
    display: block;
}

/* 账号分类样式 */
.account-category-section {
    margin-bottom: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.category-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.category-tab {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3498db;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.category-tab:hover {
    background: #e3f2fd;
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.category-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .notice-section {
        padding: 15px;
    }
    
    .notice-header h2 {
        font-size: 1.1rem;
    }
    
    .notice-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .announcement {
        padding: 12px;
    }
    
    .notice-panel {
        padding: 12px;
    }
    
    .category-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* 颜色样式 */
.level-7 {
    color: #9b59b6;
}

.level-6 {
    color: #3498db;
}

.safety-box-top {
    color: #e74c3c;
}

.safety-box-high {
    color: #f39c12;
}

.safety-box-medium {
    color: #27ae60;
}

.rank-钻石 {
    color: #9b59b6;
}

.rank-大师 {
    color: #e74c3c;
}

.rank-黄金 {
    color: #f39c12;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    
    .mobile-navbar {
        display: block;
    }
    
    .container {
        padding-bottom: 80px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .accounts-grid {
        flex-direction: column;
    }
    
    .account-card {
        margin-bottom: 15px;
    }
    
    .account-image {
        display: none;
    }
    
    .detail-prices {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .info-row {
        gap: 8px;
    }
    
    .info-item {
        min-width: 80px;
        padding: 4px;
    }
    
    .info-item h3 {
        font-size: 0.7rem;
    }
    
    .info-item p {
        font-size: 0.75rem;
    }
    
    .images {
        flex-direction: column;
    }
    
    .image-card {
        min-width: 100%;
    }
    
    .footer p {
        font-size: 0.8rem;
    }
}

/* 全局加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 消息提示框 */
.message-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    z-index: 4000;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 300px;
    word-wrap: break-word;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message-toast.success {
    background: #27ae60;
}

.message-toast.error {
    background: #e74c3c;
}

.message-toast.info {
    background: #3498db;
}

/* 提示弹窗 */
.alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.alert-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

.alert-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.alert-modal-message {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

.alert-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.alert-modal-button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alert-modal-button.primary {
    background: #3498db;
    color: white;
}

.alert-modal-button.primary:hover {
    background: #2980b9;
}

.alert-modal-button.secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.alert-modal-button.secondary:hover {
    background: #d5dbdb;
}