/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #0a0e1a;
    color: #e0e6ed;
    min-height: 100vh;
    padding-bottom: 80px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
input, textarea, .search-input, .auth-input,
.watchlist-table .col-code,
.watchlist-table .col-name {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ===== 全局 textarea 横向滚动 ===== */
textarea {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}
textarea::-webkit-scrollbar {
    height: 4px;
}
textarea::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}
textarea::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3);
    border-radius: 2px;
}

/* ===== 导航栏 ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 200;
    min-height: 44px;
}
.logo { display: none !important; }
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 50px;
    justify-content: flex-end;
}
.nav-right .nav-back-btn {
    padding: 3px 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(148, 163, 184, 0.06);
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}
.nav-right .nav-back-btn:hover {
    background: rgba(148, 163, 184, 0.15);
    border-color: rgba(148, 163, 184, 0.4);
    color: #e0e6ed;
}
.nav-center {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
/* ★★★ 股票名称在Logo右边 ★★★ */
.nav-stock-name {
    font-size: 16px;
    font-weight: 700;
    color: #f1f5f9;
    margin-left: 4px;
}
.nav-stock-code {
    display: none;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 40px;
}

/* ===== Logo 样式 ===== */
.logo-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}
.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.5px;
}
.logo-text .highlight {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== 菜单按钮 ===== */
.menu-wrapper {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.25s;
    cursor: pointer;
    flex-shrink: 0;
}
.menu-btn {
    background: none;
    border: none;
    color: #e0e6ed;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    transition: 0.2s;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-btn:hover { color: #fbbf24; }
.menu-wrapper.active .menu-btn { color: #fbbf24; }
.menu-wrapper.active {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px 0;
    min-width: 160px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    display: none;
    flex-direction: column;
    z-index: 300;
}
.dropdown-menu.open { display: flex; }
.dropdown-item {
    background: none;
    border: none;
    color: #e0e6ed;
    padding: 10px 18px;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: 0.15s;
    font-weight: 500;
    width: 100%;
}
.dropdown-item:hover {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}
.dropdown-item.admin-only {
    color: #fbbf24;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.dropdown-item.admin-only:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}
.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 4px 12px;
}

/* ===== 容器 ===== */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 16px 20px;
}

/* ===== 页面切换 ===== */
.page {
    display: none;
    animation: fadeUp 0.3s ease;
}
.page.active { display: block; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   监控卡片样式
   ============================================================ */
.monitor-price-card {
    background: rgba(30,41,59,0.5);
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}
.monitor-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.monitor-price-group {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.monitor-price {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.monitor-change {
    font-size: 15px;
    font-weight: 600;
}
.monitor-status-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.monitor-status {
    font-size: 10px;
    color: #94a3b8;
}
.monitor-time-display {
    font-size: 10px;
    color: #fbbf24;
    font-weight: 600;
    background: rgba(251, 191, 36, 0.08);
    padding: 1px 8px;
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.1);
    white-space: nowrap;
}
.monitor-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    gap: 12px;
}
.monitor-info-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.monitor-info-item .monitor-label {
    font-size: 11px;
    color: #64748b;
}
.monitor-info-item .monitor-open {
    font-size: 15px;
    font-weight: 600;
    color: #e0e6ed;
}
.monitor-avg-price {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    padding: 1px 8px;
    background: rgba(148, 163, 184, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    white-space: nowrap;
    margin-left: 2px;
}
.monitor-highlow {
    display: flex;
    gap: 16px;
    align-items: center;
}
.monitor-high, .monitor-low {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.monitor-high .monitor-label,
.monitor-low .monitor-label {
    font-size: 11px;
    color: #64748b;
}
.monitor-high span:last-child {
    font-weight: 600;
    color: #f87171;
}
.monitor-low span:last-child {
    font-weight: 600;
    color: #4ade80;
}

/* ============================================================
   监控 - 板块标签（在涨幅右边）
   ============================================================ */
.monitor-sector-tag {
    font-size: 10px;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    padding: 1px 10px;
    border-radius: 10px;
    border: 1px solid rgba(251, 191, 36, 0.15);
    white-space: nowrap;
    margin-left: 6px;
    display: none;
    line-height: 1.6;
}
.monitor-sector-tag.show {
    display: inline-block;
}
.monitor-sector-tag .sector-change {
    font-weight: 600;
}
.monitor-sector-tag .sector-change.up {
    color: #f87171;
}
.monitor-sector-tag .sector-change.down {
    color: #4ade80;
}
.monitor-sector-tag .sector-change.flat {
    color: #94a3b8;
}

/* ============================================================
   分时图
   ============================================================ */
.monitor-chart-wrap {
    background: rgba(0,0,0,0.35);
    border-radius: 12px;
    padding: 4px 8px;
    margin-bottom: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}
.monitor-chart-wrap .panel-title {
    font-size: 10px;
    margin-bottom: 2px;
}
.chart-sub {
    font-size: 10px;
    color: #64748b;
    font-weight: 400;
}
.avg-line { color: #94a3b8; }
#monitorChart {
    width: 100% !important;
    height: 80px !important;
    border-radius: 8px;
    background: rgba(0,0,0,0.15);
}

/* ============================================================
   监控页面 - 整体上移
   ============================================================ */
#page-monitor {
    margin-top: -8px;
    padding-top: 0px;
}
#page-monitor .monitor-price-card {
    margin-top: -4px;
}
#page-monitor > div {
    margin-bottom: 2px !important;
}
#page-monitor .monitor-chart-wrap {
    padding: 2px 8px !important;
    margin-bottom: 2px !important;
}
#page-monitor .panel-title {
    margin-bottom: 2px !important;
}

/* ============================================================
   技术信号 - 固定高度
   ============================================================ */
.monitor-signals {
    background: rgba(30,41,59,0.5);
    border-radius: 10px;
    padding: 6px 10px;
    margin-bottom: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    height: 150px !important;
    max-height: 150px !important;
    overflow-y: auto !important;
    display: flex;
    flex-direction: column;
}
.monitor-signals .panel-title {
    font-size: 11px;
    margin-bottom: 2px;
    flex-shrink: 0;
}
#signalList {
    flex: 1;
    overflow-y: auto !important;
    padding-right: 2px;
}
#signalList .signal-summary {
    padding: 2px 6px;
    margin-bottom: 2px;
    border-radius: 4px;
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.15);
    font-size: 9px;
    color: #fbbf24;
    flex-shrink: 0;
}
#signalList .signal-item {
    padding: 3px 6px;
    margin-bottom: 2px;
    border-radius: 4px;
    flex-shrink: 0;
}
#signalList .signal-item .signal-title {
    font-size: 10px;
    font-weight: 600;
}
#signalList .signal-item .signal-detail {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 1px;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.3;
}

/* ============================================================
   监控时间线 - 固定高度
   ============================================================ */
.monitor-timeline {
    background: rgba(30,41,59,0.5);
    border-radius: 10px;
    padding: 6px 10px;
    margin-bottom: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    height: 118px !important;
    max-height: 118px !important;
    display: flex;
    flex-direction: column;
}
.monitor-timeline .panel-title {
    font-size: 11px;
    margin-bottom: 2px;
    flex-shrink: 0;
}
#timelineList {
    flex: 1;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding-right: 2px;
}

/* ============================================================
   每分钟分析 - 固定高度
   ============================================================ */
.monitor-minute-analysis {
    background: rgba(30,41,59,0.5);
    border-radius: 10px;
    padding: 6px 10px;
    margin-bottom: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    height: 106px !important;
    max-height: 106px !important;
    display: flex;
    flex-direction: column;
}
.monitor-minute-analysis .panel-title {
    font-size: 11px;
    margin-bottom: 2px;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 4px;
}
.minute-count {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}
.minute-count .gap-up { color: #f87171; }
.minute-count .gap-down { color: #4ade80; }
#minuteAnalysisList {
    flex: 1;
    overflow-y: auto !important;
    padding-right: 2px;
}

/* ============================================================
   时间线条目样式
   ============================================================ */
.timeline-entry {
    flex-shrink: 0;
    padding: 4px 8px;
    margin-bottom: 2px;
    border-radius: 4px;
    background: rgba(30, 41, 59, 0.3);
    border-left: 3px solid #94a3b8;
}
.timeline-entry .entry-header {
    display: flex;
    gap: 6px;
    align-items: center;
}
.timeline-entry .entry-time {
    color: #64748b;
    font-size: 9px;
    white-space: nowrap;
    flex-shrink: 0;
}
.timeline-entry .entry-event {
    font-weight: 600;
    font-size: 11px;
}
.timeline-entry .entry-detail {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 1px;
    padding-left: 2px;
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
    line-height: 1.4;
}
.timeline-entry.bullish { border-left-color: #f87171; }
.timeline-entry.bullish .entry-event { color: #f87171; }
.timeline-entry.bearish { border-left-color: #4ade80; }
.timeline-entry.bearish .entry-event { color: #4ade80; }
.timeline-entry.warning { border-left-color: #fbbf24; }
.timeline-entry.warning .entry-event { color: #fbbf24; }
.timeline-entry.info { border-left-color: #94a3b8; }
.timeline-entry.info .entry-event { color: #94a3b8; }
.timeline-entry.start { border-left-color: #4ade80; }
.timeline-entry.start .entry-event { color: #4ade80; }

/* 滚动条样式 */
#signalList::-webkit-scrollbar,
#timelineList::-webkit-scrollbar,
#minuteAnalysisList::-webkit-scrollbar {
    width: 3px;
}
#signalList::-webkit-scrollbar-track,
#timelineList::-webkit-scrollbar-track,
#minuteAnalysisList::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
}
#signalList::-webkit-scrollbar-thumb,
#timelineList::-webkit-scrollbar-thumb,
#minuteAnalysisList::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.3);
    border-radius: 10px;
}

/* ============================================================
   底部导航
   ============================================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    padding: 0 8px;
    z-index: 300;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 10px;
    padding: 4px 12px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    min-width: 56px;
}
.nav-item .nav-icon {
    font-size: 22px;
    line-height: 1.2;
}
.nav-item .nav-label {
    font-weight: 500;
    letter-spacing: 0.3px;
}
.nav-item.active {
    color: #fbbf24;
}
.nav-item.active .nav-icon {
    transform: scale(1.05);
}
.nav-item .badge-dot {
    position: absolute;
    top: 2px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid rgba(15, 23, 42, 0.95);
    display: none;
}
.nav-item .badge-dot.show {
    display: block;
}

/* ============================================================
   搜索
   ============================================================ */
.search-section {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 16px;
}
.search-row {
    display: flex;
    gap: 10px;
    overflow: hidden;
}
.search-input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: #e0e6ed;
    font-size: 15px;
    outline: none;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    min-width: 0;
    max-width: 100%;
    display: block;
    width: 100%;
}
.search-input::-webkit-scrollbar {
    height: 4px;
}
.search-input::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}
.search-input::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3);
    border-radius: 2px;
}
.search-input:focus {
    border-color: rgba(245, 158, 11, 0.4);
}
.search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.search-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================
   公告
   ============================================================ */
#announcementBar {
    background: rgba(30,41,59,0.4);
    border: 1px solid rgba(251,191,36,0.15);
    border-radius: 10px;
    padding: 8px 14px;
    margin-bottom: 14px;
    overflow: hidden;
    min-height: 40px;
}
.announcement-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}
.announcement-icon {
    font-size: 14px;
    flex-shrink: 0;
    color: #fbbf24;
}
.announcement-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}
#announcementText {
    position: absolute;
    white-space: nowrap;
    font-size: 13px;
    color: #e0e6ed;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(20px);
}
.announcement-dots {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.announcement-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #475569;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    padding: 0;
    display: inline-block;
    margin: 0 2px;
}
.announcement-dot.active {
    background: #fbbf24;
    width: 16px;
    border-radius: 3px;
}
.announcement-dot:hover {
    background: #94a3b8;
}

/* ============================================================
   加载
   ============================================================ */
.loading {
    text-align: center;
    padding: 30px;
    color: #64748b;
    display: none;
}
.loading.show {
    display: block;
}
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(245, 158, 11, 0.2);
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.hidden {
    display: none !important;
}

/* ============================================================
   免责声明 - 静态显示
   ============================================================ */
.disclaimer {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.disclaimer .disclaimer-title {
    color: #fbbf24;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.disclaimer .disclaimer-text {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.8;
}
.disclaimer .disclaimer-text strong {
    color: #f87171;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 480px) {
    .container { padding: 8px 12px 16px; }
    .search-row { flex-direction: column; }
    .search-btn { width: 100%; justify-content: center; }
    .bottom-nav { height: 58px; }
    .nav-item .nav-icon { font-size: 20px; }
    .nav-item .nav-label { font-size: 9px; }
    .nav-item { min-width: 48px; padding: 2px 6px; }
    .menu-wrapper { width: 32px; height: 32px; }
    .menu-btn { font-size: 16px; }
    .nav-left { gap: 10px; }
    #announcementText { animation-duration: 8s; }
    #page-monitor { padding-top: 10px; }
    .nav-stock-name { font-size: 15px; }
    .nav-stock-code { font-size: 11px; }
    .nav-right .nav-back-btn { font-size: 11px; padding: 3px 10px; }
    .logo-icon { width: 24px; height: 24px; font-size: 13px; }
    .logo-text { font-size: 14px; }

    .monitor-price-row { flex-wrap: wrap; gap: 4px 0; }
    .monitor-price-group { gap: 4px; flex-wrap: nowrap; }
    .monitor-price { font-size: 16px; }
    .monitor-change { font-size: 12px; }
    .monitor-status-group { gap: 4px; }
    .monitor-status { font-size: 9px; }
    .monitor-time-display { font-size: 9px; padding: 1px 6px; }
    .monitor-info-row { flex-wrap: wrap; gap: 2px 10px; }
    .monitor-info-item .monitor-open { font-size: 13px; }
    .monitor-avg-price { font-size: 10px; padding: 0px 6px; }
    .monitor-highlow { gap: 8px; }
    .monitor-high, .monitor-low { font-size: 10px; }
    #monitorChart { height: 60px !important; }

    /* ★★★ 手机端高度调整 ★★★ */
    .monitor-signals {
        height: calc(100vh * 0.205) !important;
        max-height: calc(100vh * 0.205) !important;
        min-height: 75px !important;
    }
    .monitor-timeline {
        height: calc(100vh * 0.175) !important;
        max-height: calc(100vh * 0.175) !important;
        min-height: 85px !important;
    }
    .monitor-minute-analysis {
        height: calc(100vh * 0.17) !important;
        max-height: calc(100vh * 0.17) !important;
        min-height: 100px !important;
    }

    .monitor-sector-tag {
        font-size: 8px;
        padding: 0px 6px;
        margin-left: 3px;
    }
}
/* ============================================================
   更新弹窗
   ============================================================ */
.update-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease;
}
.update-dialog {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px 24px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.5s ease;
}
.update-icon {
    font-size: 56px;
    margin-bottom: 8px;
}
.update-dialog h3 {
    color: #f1f5f9;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.update-dialog p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 14px;
}
.update-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}
.update-list li {
    color: #e0e6ed;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.update-list li:last-child {
    border-bottom: none;
}
.update-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}
.update-skip {
    display: block;
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}
.update-skip:hover {
    color: #94a3b8;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* ===== 更新弹窗 - 新增样式 ===== */
.update-actions {
    margin-top: 4px;
}
.update-skip-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.update-skip-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}
.update-skip-checkbox:hover {
    color: #e0e6ed;
}
.update-skip-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #f59e0b;
    cursor: pointer;
}
.update-skip {
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}
.update-skip:hover {
    color: #94a3b8;
}

/* ============================================================
   系统设置 - Tab 切换
   ============================================================ */
.settings-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.settings-tab {
    flex: 1;
    padding: 10px 8px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.25s;
    text-align: center;
}
.settings-tab:hover {
    color: #e0e6ed;
    background: rgba(255, 255, 255, 0.04);
}
.settings-tab.active {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08) !important;
}
.settings-tab-content {
    display: none;
    animation: fadeUp 0.3s ease;
}
.settings-tab-content.active {
    display: block;
}

/* ============================================================
   登录页 Logo 图片
   ============================================================ */
.auth-header .auth-logo-img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
    border-radius: 12px;
}