/* ========== 移动端基础样式 ========== */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}





/* ========== 登录页样式 (现代重构版) ========== */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* 渐变色微调为更有质感的深蓝色系 */
    background: linear-gradient(135deg, #58a2bc 0%, #91c2d3 100%);
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
}

.login-container {
    width: 100%;
    max-width: 380px;
    /* 入场动画 */
    animation: loginFadeUp 0.6s ease-out;
}

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

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

/* 核心修改：适配长条 Logo */
.login-logo img {
    width: auto;
    max-width: 300px; /* 限制长条 Logo 宽度 */
    height: auto;
    max-height: 68px; /* 限制高度，防止过高 */
    margin-bottom: 15px;
    /* 移除之前的圆形背景和 padding */
    border-radius: 0;
    background: transparent;
    padding: 0;
    /* 增加微弱阴影增强识别度 */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.login-logo h1 {
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: 1px;
}

.login-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 登录表单卡片化 */
.login-form {
    background: #ffffff;
    border-radius: 20px; /* 圆角加大 */
    padding: 40px 25px;
    /* 现代感的多层投影 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.login-form .form-group {
    margin-bottom: 22px;
}

/* 现代化输入框组：去掉生硬的灰色方块 */
.login-form .input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    transition: all 0.3s ease;
}

/* 聚焦反馈 */
.login-form .input-group:focus-within {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.login-form .input-group-addon {
    width: 46px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* 去掉原本的背景 */
    color: #94a3b8;
    border: none;
    font-size: 18px;
}

/* 密码显示/隐藏按钮样式 */
.login-form .password-toggle {
    cursor: pointer;
    transition: color 0.2s;
}

.login-form .password-toggle:active {
    color: #667eea;
}

.login-form .form-control {
    flex: 1;
    height: 48px;
    border: none;
    padding: 0 15px 0 0;
    font-size: 15px;
    outline: none;
    background: transparent;
    color: #1e293b;
}

/* 记住密码选项样式 */
.remember-me-container {
    margin: -5px 0 15px 0;
    display: flex;
    align-items: center;
}

.remember-me-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    font-weight: 400;
}

.remember-me-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1c2b38;
}

/* 按钮现代化 */
.btn-login {
    width: 100%;
    height: 52px;
    background: linear-gradient(90deg, #1c2b38 0%, #1c2b38 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.btn-login:active {
    transform: scale(0.97);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.btn-login .btn-loading {
    display: none;
}

.btn-login.loading .btn-text {
    display: none;
}

.btn-login.loading .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ========== 登录页样式结束，以下保持你原有的 800 行代码 ========== */


/* ========== 主布局样式 ========== */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(135deg, #1c2b38 0%, #1c2b38 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 大屏轮播按钮（仅桌面端显示） */
.bigscreen-btn {
    display: none; /* 移动端默认隐藏 */
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.bigscreen-btn:hover {
    background: rgba(79, 172, 254, 0.4);
    transform: scale(1.1);
}

.bigscreen-btn i {
    font-size: 16px;
}

/* 桌面端显示大屏按钮 */
@media (min-width: 768px) {
    .bigscreen-btn {
        display: flex;
    }
}

.mall-selector {
    display: flex;
    align-items: center;
}

.mall-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    max-width: 180px;
}

.mall-btn:active {
    background: rgba(255, 255, 255, 0.3);
}

.mall-btn i:first-child {
    font-size: 14px;
}

.mall-btn span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}

.mall-btn i:last-child {
    font-size: 12px;
}

.logout-btn {
    background: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #764ba2; /* 使用 Header 的主色调作为图标颜色 */
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logout-btn:active {
    background: rgba(255, 255, 255, 0.3);
}

/* ========== 商场选择弹窗 ========== */
.mall-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mall-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10001;
    pointer-events: auto;
}

.mall-modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
    cursor: pointer;
}

.modal-close:active {
    background: #f5f5f5;
}

.modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.modal-body .search-box {
    position: relative;
    margin: 0;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}

.modal-body .search-box input {
    width: 100%;
    height: 40px;
    padding: 0 40px 0 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    background: white;
}

.modal-body .search-box input:focus {
    border-color: #667eea;
}

.modal-body .search-box i {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.mall-list {
    max-height: calc(70vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mall-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    background: white;
}

.mall-item:active {
    background: #f5f5f5;
}

.mall-item:last-child {
    border-bottom: none;
}

.mall-item.selected {
    background: linear-gradient(135deg, #1c2b38 0%, #1c2b38 100%);
    color: white;
}

.mall-item.selected .mall-name,
.mall-item.selected .mall-no {
    color: white;
}

.mall-item.selected .mall-check {
    color: white;
    opacity: 1;
}

.mall-info {
    flex: 1;
    margin-right: 12px;
}

.mall-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.mall-no {
    font-size: 12px;
    color: #999;
}

.mall-check {
    color: #667eea;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.2s;
}

.mall-item.selected .mall-check {
    opacity: 1;
}

.empty-mall {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
}

/* ========== 主内容区 ========== */
.mobile-main {
    padding-top: 56px;
    padding-bottom: 60px;
    min-height: 100vh;
}

#mainContent {
    min-height: calc(100vh - 116px);
}

/* ========== 底部Tab导航 ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    z-index: 998;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    transition: color 0.2s;
    height: 100%;
}

.bottom-nav .nav-item.active {
    color: #667eea;
}

.bottom-nav .nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.bottom-nav .nav-item span {
    font-size: 11px;
}

/* ========== 卡片样式 ========== */
.card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.card-body {
    padding: 0;
}

/* ========== 统计网格全局适配 ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px; /* 减小间距 */
    margin-bottom: 16px;
}

/* ========== 统计卡片全局适配 ========== */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 10px; /* 减小内边距，给文字留空间 */
    display: flex;
    align-items: center; /* 垂直居中图标和文字 */
    gap: 8px; /* 图标和文字之间的间距 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 0; /* 极其重要：防止内容撑开卡片宽度 */
}

/* 针对 Dashboard 页面可能有 3 列或特殊样式的微调 */
.stat-card.blue { border-left: 3px solid #667eea; }
.stat-card.green { border-left: 3px solid #667eea; }
.stat-card.orange { border-left: 3px solid #667eea; }

.stat-icon {
    width: 32px; /* 图标容器缩小 */
    height: 32px;
    flex-shrink: 0; /* 防止图标被压扁 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px; /* 图标大小缩小 */
}

.stat-info {
    flex: 1;
    min-width: 0; /* 极其重要：允许内部文字缩写 */
}

.stat-label {
    font-size: 11px; /* 缩小字号 */
    color: #999;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-value {
    font-size: 15px; /* 重点：缩小金额字号，防止截断 */
    font-weight: 700;
    color: #667eea; /* 蓝色 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.stat-compare {
    font-size: 10px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== 图表容器 ========== */
.chart-container {
    width: 100%;
    height: 300px;
    margin-bottom: 16px;
}

.chart-container-small {
    width: 100%;
    height: 250px;
}

/* ========== 表格样式 ========== */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 800px;
}

.data-table th,
.data-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.data-table th {
    background: #f8f9fa;
    color: #666;
    font-weight: 600;
}

.data-table tr:active {
    background: #f5f5f5;
}

/* ========== 表单样式 ========== */
.form-control {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    background: white;
}

.form-control:focus {
    border-color: #667eea;
}

/* ========== 按钮样式 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #1c2b38 0%, #1c2b38 100%);
    color: white;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* ========== 加载中 ========== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #999;
}

.loading i {
    font-size: 24px;
    animation: spin 1s linear infinite;
}

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

/* ========== 全局加载蒙层 ========== */
.global-loading {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    z-index: 4000 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.global-loading.show {
    display: flex !important;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.loading-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.loading-text span {
    display: inline-block;
    animation: loadingDots 1.4s infinite;
}

.loading-text span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-text span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingDots {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

/* ========== 空状态 ========== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 16px;
}

.empty-state p {
    color: #999;
    font-size: 14px;
}

/* ========== 排行榜 ========== */
.rank-list {
    max-height: 400px;
    overflow-y: auto;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rank-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    margin-right: 12px;
}

.rank-item:nth-child(1) .rank-number {
    background: linear-gradient(135deg, #dd2405 0%, #dd2405 100%);
    color: white;
}

.rank-item:nth-child(2) .rank-number {
    background: linear-gradient(135deg, #c86400 0%, #c86400 100%);
    color: white;
}

.rank-item:nth-child(3) .rank-number {
    background: linear-gradient(135deg, #ff8b00 0%, #ff8b00 100%);
    color: white;
}

.rank-item:nth-child(n+4) .rank-number {
    background: #f5f5f5;
    color: #999;
}

.rank-info {
    flex: 1;
}

.rank-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.rank-value {
    font-size: 12px;
    color: #999;
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}

.toast.show {
    opacity: 1;
}
/* ========== 二级菜单（完全仿照微信样式）========== */

/* 遮罩层 */
.sub-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    display: none;
}

.sub-menu-overlay.show {
    display: block;
}

/* 二级菜单容器 - 从底部弹出 */
.sub-menu-panel {
    position: fixed;
    bottom: 0;
    width: 33.33%; /* 占底部导航1/3宽度 */
    background: transparent;
    z-index: 2600;
    transform: translateY(100%);
    transition: transform 0.3s ease, left 0.3s ease;
    pointer-events: none;
}

/* 根据点击的菜单位置调整left值 */
.sub-menu-panel.position-0 {
    left: 0; /* 第一个菜单 */
}

.sub-menu-panel.position-1 {
    left: 33.33%; /* 第二个菜单 */
}

.sub-menu-panel.position-2 {
    left: 66.66%; /* 第三个菜单 */
}

.sub-menu-overlay.show + .sub-menu-panel,
body.show-submenu .sub-menu-panel {
    transform: translateY(0);
}

/* 菜单列表 */
.sub-menu-list {
    background: white;
    margin: 0 0 56px 0; /* 下边距等于底部导航高度，让菜单显示在导航上方 */
    padding: 0;
    list-style: none;
    pointer-events: auto; /* 菜单可点击 */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* 菜单项 */
.sub-menu-item {
    display: flex;
    align-items: center;
    justify-content: center; /* 居中对齐 */
    padding: 14px 10px;
    background: white;
    border-bottom: 0.5px solid #e5e5e5;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    transition: background 0.2s;
}

.sub-menu-item:first-child {
    border-top: 0.5px solid #e5e5e5;
}

.sub-menu-item:active {
    background: #ececec;
}

/* 隐藏图标 */
.sub-menu-item i {
    display: none;
}

/* 文字 */
.sub-menu-item span {
    font-size: 15px;
    color: #000;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* 响应式 */
@media (min-width: 768px) {
    .sub-menu-panel {
        max-width: 160px; /* 480px / 3 */
    }
    
    .sub-menu-panel.position-0 {
        left: calc(50% - 240px); /* 居中后的第一个菜单位置 */
    }
    
    .sub-menu-panel.position-1 {
        left: 50%;
        transform: translateX(-50%) translateY(100%);
    }
    
    .sub-menu-panel.position-2 {
        left: calc(50% + 80px); /* 居中后的第三个菜单位置 */
    }
    
    .sub-menu-overlay.show + .sub-menu-panel,
    body.show-submenu .sub-menu-panel {
        transform: translateY(0);
    }
    
    body.show-submenu .sub-menu-panel.position-1 {
        transform: translateX(-50%) translateY(0);
    }
    
    .bottom-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========== 大屏轮播样式 ========== */
.bigscreen-body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    color: #fff;
    overflow: hidden;
}

.bigscreen-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 轮播进度条 */
.carousel-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    width: 0%;
    transition: width 0.1s linear;
}

/* 顶部信息栏 */
.bigscreen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mall-info {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #fff;
}

.mall-info i {
    margin-right: 10px;
    font-size: 20px;
    color: #4facfe;
}

.datetime {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
}

.controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(79, 172, 254, 0.3);
    transform: scale(1.1);
}

.control-btn.exit-btn {
    background: rgba(255, 77, 79, 0.2);
    width: auto;
    padding: 0 16px;
    border-radius: 22px;
}

.control-btn.exit-btn:hover {
    background: rgba(255, 77, 79, 0.4);
}

.control-btn.exit-btn span {
    margin-left: 6px;
}

/* 轮播内容区 */
.bigscreen-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s ease;
}

.slide.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-title {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* 核心数据概览 */
.stats-overview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-card-large {
    width: 260px;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-card-large.primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card-large.success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card-large.warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stat-card-large.info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-large.danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card-large .stat-icon {
    font-size: 40px;
    opacity: 0.9;
}

.stat-card-large .stat-info {
    flex: 1;
}

.stat-card-large .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.stat-card-large .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.stat-card-large .stat-compare {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* 图表容器 */
.chart-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
}

.chart-full {
    width: 100%;
    height: 100%;
}

/* 排行榜容器 */
.rank-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rank-list-full {
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rank-list-full::-webkit-scrollbar {
    width: 8px;
}

.rank-list-full::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.rank-list-full::-webkit-scrollbar-thumb {
    background: rgba(79, 172, 254, 0.5);
    border-radius: 4px;
}

.rank-item-large {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.rank-item-large:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.rank-number-large {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.rank-number-large.top3 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0d1117;
}

.rank-info-large {
    flex: 1;
}

.rank-name-large {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.rank-value-large {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.rank-value-large.amount {
    color: #4facfe;
    font-size: 20px;
    font-weight: 600;
}

.rank-value-large.count {
    color: #43e97b;
    font-size: 20px;
    font-weight: 600;
}

/* 底部页码指示器 */
.slide-indicators {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 1000;
}

.indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.3);
}

.indicator.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform: scale(1.2);
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 60px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .stat-card-large {
        width: 220px;
        padding: 20px;
    }

    .stat-card-large .stat-icon {
        font-size: 32px;
    }

    .stat-card-large .stat-value {
        font-size: 22px;
    }

    .slide-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .bigscreen-header {
        padding: 15px;
    }

    .mall-info {
        font-size: 14px;
    }

    .datetime {
        font-size: 14px;
    }

    .control-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .control-btn.exit-btn {
        padding: 0 12px;
    }

    .control-btn.exit-btn span {
        display: none;
    }

    .stats-overview {
        gap: 15px;
    }

    .stat-card-large {
        width: 180px;
        padding: 15px;
    }

    .stat-card-large .stat-icon {
        font-size: 28px;
    }

    .stat-card-large .stat-label {
        font-size: 12px;
    }

    .stat-card-large .stat-value {
        font-size: 18px;
    }

    .stat-card-large .stat-compare {
        font-size: 10px;
    }

    .slide-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .chart-wrapper {
        padding: 10px 20px;
    }

    .rank-number-large {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .rank-name-large {
        font-size: 14px;
    }

    .rank-value-large {
        font-size: 12px;
    }

    .rank-value-large.amount,
    .rank-value-large.count {
        font-size: 16px;
    }

    .indicator {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}