    body {
        font-family: Arial, sans-serif; /* 使用系统默认的 Arial 字体 */
    }


    .swtool-button {
        display: inline-block;
        padding: 10px 20px;
        background-color: #0073aa;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        text-align: center;
        cursor: pointer;
        border: none;
        font-size: 14px;
        margin: 5px;
    }
    
    .swtool-button:hover {
        background-color: #005177;
    }

    .swtool-button.unsubscribe {
        margin: 18px 0;
        background-color: #dc3232;
    }

     /* 按钮容器样式 */
     .button-container {
        text-align: center; /* 方法一：使用 text-align 实现水平居中 */
        /* 如果你想用 Flexbox 方法，注释掉上面一行，使用下面两行 */
        /* display: flex;
        justify-content: center; */
    }
    .swtool-button-report {
        display: inline-block;
        padding: 10px 20px;
        background-color: #0073aa;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        text-align: center;
        cursor: pointer;
        border: none;
        font-size: 14px;
        margin: 5px;
    }
    
    .swtool-button-report:hover {
        background-color: #005177;
    }

    
    .swtool-chart-container {
        position: relative;
        width: 100%;
        display: block; /* 确保容器可见 */
        background-color: rgba(255, 255, 255, 1); /* 确保背景不透明 */
    }

    .swtool-chart {
        position: relative; /* 设置为相对定位，作为 Logo 的定位参考 */
        width: 100%;
        height: 400px; /* 默认图表高度 */
        display: block; /* 确保图表可见 */
        margin-left: 2px;
    }

    .swtool-chart canvas {
        position: relative;
        z-index: 2; /* 确保 Canvas 在弹幕和 Logo 之上 */
    }
    .chart-logo {
        position: absolute; /* 绝对定位，相对于 .swtool-chart */
        top: 50%; /* 垂直居中 */
        left: 50%; /* 水平居中 */
        transform: translate(-50%, -50%); /* 精确居中 */
        opacity: 0.3; /* 设置透明度 */
        pointer-events: none; /* 防止干扰交互 */
        display: block; /* 确保 Logo 容器可见 */
        z-index: 100; /* 将 Logo 放在图表下方 */
    }

    .chart-logo img {
        max-width: 150px; /* 控制 Logo 大小 */
        height: auto;
        display: block; /* 确保 Logo 图片可见 */
    }


    /* 手机端自适应样式 */
    @media (max-width: 768px) {
        .swtool-chart {
            height: 300px; /* 手机端图表高度调整 */
            margin-left: 2px;
        }

        .chart-logo img {
            max-width: 100px; /* 手机端 Logo 大小调整 */
        }
    }

    /* 更小的手机屏幕 */
    @media (max-width: 480px) {
        .swtool-chart {
            height: 250px; /* 更小的手机屏幕图表高度调整 */
            margin-left: 2px;
        }       
        .chart-logo img {
            max-width: 80px; /* 更小的手机屏幕 Logo 大小调整 */
        }
    }
/* 全屏模式下的图表样式 */
.swtool-chart:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    background-color: #fff; /* 确保背景为白色 */
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16 / 9 !important;
    z-index: 9999 !important;; /* 添加 z-index 属性，设置一个较大的值 */
}

.swtool-chart:-moz-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    background-color: #fff; /* 确保背景为白色 */
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16 / 9 !important;
    z-index: 9998 !important;; /* 添加 z-index 属性，设置一个较大的值 */
}

.swtool-chart:-ms-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    background-color: #fff; /* 确保背景为白色 */
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16 / 9 !important;
    z-index: 9998 !important;; /* 添加 z-index 属性，设置一个较大的值 */
}

.swtool-chart:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    background-color: #fff; /* 确保背景为白色 */
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16 / 9 !important;
    z-index: 9998 !important;; /* 添加 z-index 属性，设置一个较大的值 */
}

/* 弹幕容器 */
.danmu-container {
    position: absolute;
    top: 15%; /* 定位到图表中间 */
    left: 0;
    width: 100%;
    height: auto; /* 高度自适应 */
    min-height: 200px; /* 最小高度 */
    overflow: hidden; /* 隐藏超出容器的内容 */
    z-index: 1000; /* 确保弹幕在图表上方，但不会覆盖图表内容 */
}

/* 弹幕项 */
.danmu-item {
    position: absolute;
    white-space: nowrap; /* 确保弹幕文字不换行 */
    font-size: 16px; /* 弹幕字体大小 */
    color: #333; /* 弹幕颜色 */
    left: 100%; /* 初始位置在右侧 */
    animation: danmu 10s linear infinite; /* 弹幕动画 */
    display: inline-block; /* 确保弹幕项可见 */
    opacity: 0; /* 初始透明度为0，避免刚进入时闪烁 */
    animation-fill-mode: forwards; /* 动画结束后保持最后一帧状态 */
    line-height: 1.8; /* 增加行高，拉开字体间距 */
}

/* 弹幕动画 */
@keyframes danmu {
    0% {
        transform: translateX(0); /* 从右侧开始 */
        opacity: 1; /* 逐渐显示 */
    }
    100% {
        transform: translateX(-100vw); /* 移动到左侧结束 */
        opacity: 1; /* 保持显示 */
    }
}

/* 手机端自适应样式 */
@media (max-width: 768px) {
    .danmu-container {
        top: 10%; /* 手机端定位调整 */
        min-height: 150px; /* 手机端最小高度调整 */
    }

    .danmu-item {
        font-size: 14px; /* 手机端弹幕字体大小调整 */
    }
}

/* 更小的手机屏幕 */
@media (max-width: 480px) {
    .danmu-container {
        top: 10%; /* 更小的手机屏幕定位调整 */
        min-height: 100px; /* 更小的手机屏幕最小高度调整 */
    }

    .danmu-item {
        font-size: 12px; /* 更小的手机屏幕弹幕字体大小调整 */
    }
}

    .swtool-chart-tabs {
        margin-bottom: 1px;
        margin-left: 2px;
        z-index: 100; /* 确保高于普通内容 */
    }
/* 确保 Tab 按钮在全屏模式下可点击 */
:fullscreen .swtool-chart-tabs,
:-webkit-full-screen .swtool-chart-tabs,
:-moz-full-screen .swtool-chart-tabs {
    z-index: 9999; /* 比容器高一级 */
    position: relative;
}
    .swtool-tab {
        padding: 5px 10px;
        margin-right: 5px;
        cursor: pointer;
        border: 1px solid #ccc;
        background-color: #f9f9f9;
        margin-left: 2px;
        z-index: 101;
    }

    .swtool-tab.active {
        background-color: #0073aa;
        color: white;
        border-color: #0073aa;
    }

    /* 确保锁图标在图表中的位置 */
    /* 锁图标样式 */
    .chart-lock {
        position: absolute;
        right: 20%; /* 距离右侧的距离 */
        top: 50%; /* 垂直居中 */
        transform: translateY(-50%); /* 确保垂直居中 */
        font-size: 48px; /* 锁图标的大小 */
        opacity: 0.5; /* 半透明效果 */
        cursor: pointer; /* 鼠标悬停时显示为手型 */
        z-index: 10000; /* 确保锁图标在图表上方 */
        color: #000; /* 锁图标的颜色 */
    }

    .chart-lock:hover {
        opacity: 0.8; /* 鼠标悬停时增加透明度 */
    }

    /* 锁图标的提示样式 */
    .chart-lock::after {
        content: "👉VIP解锁信号"; /* 提示内容 */
        position: absolute;
        top: -50px; /* 提示位置 */
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.8); /* 背景颜色 */
        color: #fff; /* 文字颜色 */
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 1; /* 默认隐藏 */
        transition: opacity 0.3s ease;
    }

    .chart-lock:hover::after {
        opacity: 1; /* 鼠标悬停时显示提示 */
    }

    .swtool-pagination {
        margin-top: 20px;
        text-align: center;
    }

    .swtool-pagination a {
        display: inline-block;
        padding: 5px 10px;
        margin: 0 5px;
        border: 1px solid #ddd;
        text-decoration: none;
        color: #333;
    }

    .swtool-pagination a.active {
        background-color: #0073aa;
        color: #fff;
        border-color: #0073aa;
    }
    
    /*历史记录*/
 /* 历史交易记录翻页部分的整体容器样式 */
 .swtool-pagination-history {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
    font-family: Arial, sans-serif;
    flex-wrap: wrap; /* 允许元素换行，以适应手机屏幕 */
}

/* 分页按钮的样式 */
.pagination-button {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pagination-button:hover {
    background-color: #eaeaea;
    border-color: #999;
}

.pagination-button:active {
    background-color: #ddd;
}

.pagination-button:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

/* 页码输入框的样式 */
#swtool-pagination-history-input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 60px;
    text-align: center;
}

/* 跳转按钮的样式 */
#swtool-pagination-history-go {
    padding: 8px 16px;
    border: 1px solid #007bff;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#swtool-pagination-history-go:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

#swtool-pagination-history-go:active {
    background-color: #004085;
}

/* 手机端样式调整 */
@media (max-width: 768px) {
    .swtool-pagination-history {
        flex-direction: row; /* 保持水平排列 */
        justify-content: center; /* 水平居中 */
        gap: 5px; /* 减小间距 */
    }

    .pagination-button,
    #swtool-pagination-history-input,
    #swtool-pagination-history-go {
        padding: 6px 12px; /* 减小内边距 */
        font-size: 14px; /* 减小字体大小 */
    }
}

    /* 持仓表和交易历史表的通用样式 */
    .swtool-holding-table,
    .swtool-trade-history,
    .swtool-strategy-intro {
        margin-top: 1px; /* 减少上边距 */
        overflow-x: auto; /* 允许表格在手机模式下水平滚动 */
        width: 100%; /* 确保容器宽度占满页面 */
    }

    .swtool-holding-table table,
    .swtool-trade-history table,
    .swtool-strategy-intro table {
        width: 100%; /* 表格宽度占满容器 */
        border-collapse: collapse;
        table-layout: fixed; /* 使用固定布局，避免内容撑开表格 */
    }

    .swtool-holding-table th,
    .swtool-trade-history th,
    .swtool-strategy-intro th {
        background-color: #f5f5f5;
        padding: 5px;
        text-align: left;
        white-space: nowrap; /* 表头文本不换行 */
    }

    .swtool-holding-table td,
    .swtool-trade-history td,
    .swtool-strategy-intro td {
        padding: 1px;
        border-bottom: 1px solid #ddd;
        white-space: normal; /* 表格内容允许换行 */
        word-break: break-word; /* 长单词或URL强制换行 */
    }

    /* 手机端自适应样式 */
    @media (max-width: 768px) {
        .swtool-holding-table,
        .swtool-trade-history,
        .swtool-strategy-intro {
            margin-top: 1px; /* 手机端减少上边距 */
        }

        .swtool-holding-table table,
        .swtool-trade-history table,
        .swtool-strategy-intro table {
             /* 手机端字体进一步调小 font-size: 12px;*/
            table-layout: auto; /* 手机端使用自动布局，避免固定布局导致空列 */
        }

        .swtool-holding-table th,
        .swtool-trade-history th,
        .swtool-strategy-intro th,
        .swtool-holding-table td,
        .swtool-trade-history td,
        .swtool-strategy-intro td {
            padding: 1px; /* 手机端减少内边距 */
            white-space: normal; /* 允许内容换行 */
        }
    }

    
    /* 更小的手机屏幕 */
    @media (max-width: 480px) {
        .swtool-holding-table,
        .swtool-trade-history,
        .swtool-strategy-intro {
            margin-top: 1px; /* 更小的手机屏幕减少上边距 */
        }

        .swtool-holding-table table,
        .swtool-trade-history table,
        .swtool-strategy-intro table {
            /* font-size: 10px; 更小的手机屏幕字体调小 */
        }

        .swtool-holding-table th,
        .swtool-trade-history th,
        .swtool-strategy-intro th,
        .swtool-holding-table td,
        .swtool-trade-history td,
        .swtool-strategy-intro td {
            padding: 1px; /* 更小的手机屏幕减少内边距 */
        }
    }

    /* 新增：确保表格列宽度自适应 */
    .swtool-holding-table th,
    .swtool-holding-table td,
    .swtool-trade-history th,
    .swtool-trade-history td,
    .swtool-strategy-intro th,
    .swtool-strategy-intro td {
        max-width: 100%; /* 确保列宽度不超过容器宽度 */
    }

    /* 新增：强制表格内容换行 */
    .swtool-holding-table td,
    .swtool-trade-history td,
    .swtool-strategy-intro td {
        word-break: break-word; /* 强制换行 */
    }

    #swtool-qrcode-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 20px auto; /* 上下边距为20px，左右自动居中 */
    }
    
    #swtool-qrcode-container img {
        width: 150px; /* 二维码宽度 */
        height: 150px; /* 二维码高度 */
    }
    
    #swtool-qrcode-container div {
        margin-top: 10px; /* 文字与二维码的间距 */
        font-size: 16px; /* 文字大小 */
        color: #333; /* 文字颜色 */
    }

    .hidetitle .entry-title {
        display: none;
    }
    #swtool-generate-report-button {
        margin-left: 8px;
    }

    .blink {
        animation: blink 1s ease-in-out infinite alternate;
    }

    @keyframes blink {
        from {
            background-color: initial; /* 原来的颜色 */
        }
        to {
            background-color: red;
        }
    }

 /* 整体下拉菜单容器样式 */
#swtool-order-by {
    /* 移除默认的浏览器样式 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* 设置宽度 */
    width: 200px;
    /* 设置内边距 */
    padding: 10px 20px;
    /* 设置字体大小 */
    font-size: 16px;
    /* 设置字体颜色 */
    color: #333;
    /* 设置背景颜色 */
    background-color: #fff;
    /* 设置边框样式 */
    border: 2px solid #0073aa;
    /* 设置圆角 */
    border-radius: 5px;
    /* 设置阴影效果 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* 设置光标样式 */
    cursor: pointer;
    /* 设置过渡效果 */
    transition: all 0.3s ease;
    /* 相对定位，用于箭头图标 */
    position: relative;
    /* 新增：让文字居中 */
    text-align: center;
    /* 默认情况下居中 */
    margin: 0 auto;
    display: block;
}

/* 鼠标悬停和聚焦时的样式 */
#swtool-order-by:hover,
#swtool-order-by:focus {
    /* 改变边框颜色 */
    border-color: #00a0d2;
    /* 增加阴影效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* 去除默认的聚焦轮廓 */
    outline: none;
}

/* 自定义下拉箭头 */
#swtool-order-by::after {
    content: '\25BC'; /* 向下箭头字符 */
    /* 设置箭头的颜色 */
    color: #0073aa;
    /* 绝对定位 */
    position: absolute;
    /* 设置箭头的位置 */
    top: 50%;
    right: 15px;
    /* 垂直居中 */
    transform: translateY(-50%);
    /* 防止箭头被选中 */
    pointer-events: none;
}

/* 下拉选项样式 */
#swtool-order-by option {
    /* 设置选项的内边距 */
    padding: 10px;
    /* 设置选项的背景颜色 */
    background-color: #fff;
    /* 设置选项的字体颜色 */
    color: #333;
    /* 新增：让选项文字居中 */
    text-align: center;
}

/* 鼠标悬停在选项上的样式 */
#swtool-order-by option:hover {
    /* 改变选项的背景颜色 */
    background-color: #0073aa;
    /* 改变选项的字体颜色 */
    color: #fff;
}

/* PC端样式：下拉菜单靠左对齐 */
@media (min-width: 768px) {
    #swtool-order-by {
        margin-left: 5%; /* 左边距为0，靠左对齐 */
        margin-right: auto; /* 右边距自动，确保靠左 */
    }
}

/* 手机端样式：下拉菜单居中 */
@media (max-width: 767px) {
    #swtool-order-by {
        margin: 0 auto; /* 居中 */
    }
}

/* 黑夜模式切换按钮容器 */
#dmt-toggle-container {
    position: fixed;
    bottom: 15%; /* 将按钮放在底部 */
    right: 25px; /* 将按钮放在左侧 */
    z-index: 1000; /* 确保按钮在最上层 */
}

/* 黑夜模式切换按钮 */
#dmt-toggle-button {
    background: none;
    border: none;
    font-size: 18px; /* 调整图标大小 */
    cursor: pointer;
    padding: 8px; /* 调整内边距 */
    background-color: rgba(255, 255, 255, 0.8); /* 添加背景色以便在亮色背景下可见 */
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 黑夜模式下的按钮样式 */
body.dark-mode #dmt-toggle-button {
    background-color: rgba(0, 0, 0, 0.8); /* 黑夜模式下的按钮背景色 */
    color: #ffffff; /* 黑夜模式下的按钮文字颜色 */
}


body.dark-mode .swtool-holding-table th,
body.dark-mode .swtool-trade-history th,
body.dark-mode .swtool-strategy-intro th {
    background-color: #1e1e1e; /* 深色表头背景 */
    color: #ffffff; /* 白色文字 */
}

body.dark-mode .swtool-holding-table td,
body.dark-mode .swtool-trade-history td,
body.dark-mode .swtool-strategy-intro td {
    background-color: #2d2d2d; /* 深色表格内容背景 */
    color: #ffffff; /* 白色文字 */
    border-bottom: 1px solid #444; /* 深色边框 */
}

body.dark-mode .swtool-holding-table tr:hover td,
body.dark-mode .swtool-trade-history tr:hover td,
body.dark-mode .swtool-strategy-intro tr:hover td {
    background-color: #3a3a3a; /* 深色悬停背景 */
    color: #ffffff; /* 白色文字 */
}
body.dark-mode .swtool-chart-container {
    background-color: #1e1e1e; /* 深色图表背景 */
    
}

body.dark-mode .swtool-chart {
    background-color: #1e1e1e; /* 深色图表背景 */
}

body.dark-mode .swtool-chart canvas {
    background-color: #1e1e1e; /* 深色图表背景 */
}

body.dark-mode .swtool-button {
    background-color: #0073aa; /* 深色按钮背景 */
    color: #ffffff; /* 白色文字 */
}

body.dark-mode .swtool-button:hover {
    background-color: #005177; /* 深色按钮悬停背景 */
}

body.dark-mode .swtool-button.unsubscribe {
    background-color: #dc3232; /* 深色取消订阅按钮背景 */
}

body.dark-mode .swtool-button-report {
    background-color: #0073aa; /* 深色按钮背景 */
    color: #ffffff; /* 白色文字 */
}

body.dark-mode .swtool-button-report:hover {
    background-color: #005177; /* 深色按钮悬停背景 */
}

body.dark-mode .danmu-item {
    color: #ffffff; /* 白色弹幕文字 */
}

body.dark-mode .chart-lock {
    color: #ffffff; /* 白色锁图标 */
}

body.dark-mode .chart-lock::after {
    background-color: rgba(255, 255, 255, 0.8); /* 白色提示背景 */
    color: #000; /* 黑色提示文字 */
}
body.dark-mode .swtool-pagination a {
    background-color: #1e1e1e; /* 深色分页背景 */
    color: #ffffff; /* 白色文字 */
    border: 1px solid #444; /* 深色边框 */
}

body.dark-mode .swtool-pagination a.active {
    background-color: #0073aa; /* 深色分页激活背景 */
    color: #ffffff; /* 白色文字 */
}
body.dark-mode .swtool-pagination-history a {
    background-color: #1e1e1e; /* 深色分页背景 */
    color: #ffffff; /* 白色文字 */
    border: 1px solid #444; /* 深色边框 */
}

body.dark-mode .swtool-pagination-history a.active {
    background-color: #0073aa; /* 深色分页激活背景 */
    color: #ffffff; /* 白色文字 */
}

body.dark-mode #swtool-order-by {
    background-color: #1e1e1e; /* 深色下拉菜单背景 */
    color: #ffffff; /* 白色文字 */
    border: 2px solid #444; /* 深色边框 */
}

body.dark-mode #swtool-order-by::after {
    color: #ffffff; /* 白色箭头 */
}

body.dark-mode #swtool-order-by option {
    background-color: #1e1e1e; /* 深色选项背景 */
    color: #ffffff; /* 白色文字 */
}

body.dark-mode #swtool-order-by option:hover {
    background-color: #0073aa; /* 深色选项悬停背景 */
    color: #ffffff; /* 白色文字 */
}
body.dark-mode #swtool-qrcode-container div {
    color: #ffffff; /* 白色文字 */
}
body.dark-mode .swtool-chart:-webkit-full-screen,
body.dark-mode .swtool-chart:-moz-full-screen,
body.dark-mode .swtool-chart:-ms-fullscreen,
body.dark-mode .swtool-chart:fullscreen {
    background-color: #1e1e1e; /* 深色全屏背景 */
}
body.dark-mode .swtool-tab {
    background-color: #1e1e1e; /* 深色标签背景 */
    color: #ffffff; /* 白色文字 */
    border: 1px solid #444; /* 深色边框 */
}

body.dark-mode .swtool-tab.active {
    background-color: #0073aa; /* 深色激活标签背景 */
    color: #ffffff; /* 白色文字 */
}
body.dark-mode .padded {
    background-color: #0073aa; /* 深色激活标签背景 */
    color: #ffffff; /* 白色文字 */
}
body.dark-mode .title {
    background-color: #0073aa; /* 深色激活标签背景 */
    color: #ffffff; /* 白色文字 */
}
body.dark-mode .a {
    background-color: #0073aa; /* 深色激活标签背景 */
    color: #ffffff; /* 白色文字 */
}
body.dark-mode .li {
    background-color: #0073aa; /* 深色激活标签背景 */
    color: #ffffff; /* 白色文字 */
}

/* 排行榜容器正常模式样式 */
.swtool-ranking-container {
    background-color: #ffffff;
    color: #000000;
}

/* 排行榜容器黑夜模式样式 */
.swtool-ranking-container.dark-mode {
    background-color: #000000;
    color: #ffffff;
}

/* 黑夜模式下下拉选择框样式 */
.swtool-ranking-container.dark-mode #swtool-order-by {
    background-color: #1e1e1e;
    color: #ffffff;
    border: 2px solid #444;
}

.swtool-ranking-container.dark-mode #swtool-order-by::after {
    color: #ffffff;
}

.swtool-ranking-container.dark-mode #swtool-order-by option {
    background-color: #1e1e1e;
    color: #ffffff;
}

.swtool-ranking-container.dark-mode #swtool-order-by option:hover {
    background-color: #0073aa;
    color: #ffffff;
}

/* 黑夜模式下分页导航样式 */
.swtool-ranking-container.dark-mode .swtool-pagination a {
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #444;
}

.swtool-ranking-container.dark-mode .swtool-pagination a.active {
    background-color: #0073aa;
    color: #ffffff;
}

/* 黑夜模式下列表项链接样式 */
.swtool-ranking-container.dark-mode ul li a {
    background-color: #0073aa;
    color: #ffffff;
}

.swtool-ranking-container.dark-mode ul li a:hover {
    background-color: #0073aa;
    color: #0073aa;
}

    /*订阅*/
    .swtool-subscription {
        margin: 18px 0;
        
    }
    .swtool-button.unsubscribe {
        background-color: #dc3232;
    }
    
    #swtool-subscription-form {
        margin-top: 1px;
    }
    
    #swtool-subscription-form input {
        padding: 5px;
        margin-left: 1px;
    }
    /* 新增提交按钮样式 */
    #swtool-subscription-submit {
        z-index: 9999; /* 设置较高的 z-index 值 */
        position: relative; /* 设置相对定位，使 z-index 生效 */
    }
/* 基础移动样式 */
.swtool-form-container {
    max-width: 100%;
    padding: 15px;
}

.mobile-form-group {
    margin-bottom: 20px;
}

.mobile-input {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.mobile-terms {
    border: 1px solid #eee;
    margin: 20px 0;
    padding: 15px;
}

.mobile-terms-content {
    max-height: 50vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
}

.mobile-checkbox-label {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.mobile-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.mobile-submit-btn {
    width: 100%;
    height: 45px;
    font-size: 16px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
}

/* 状态查询 */
.mobile-status {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-status-input-group {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.mobile-status-input {
    flex: 1;
    height: 40px;
    padding: 8px;
}

.mobile-status-btn {
    width: 100px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .mobile-terms-content {
        font-size: 13px;
    }
    
    .mobile-submit-btn {
        height: 50px;
        font-size: 17px;
    }
    
    .mobile-admin-title {
        font-size: 20px;
        padding: 10px 0;
    }
}

/* 提示信息 */
.mobile-notice {
    padding: 15px;
    margin: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.mobile-alert {
    color: #dc3545;
    padding: 10px;
}

.mobile-loading {
    color: #6c757d;
    padding: 10px;
}

.vip-info {
    margin: 15px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.vip-info p {
    margin: 5px 0;
}

.upgrade-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
}

.upgrade-btn:hover {
    background: #005177;
}
.swtool-predict-container {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.swtool-predict-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f4f9;
}

.swtool-predict-input {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.swtool-predict-input input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.swtool-predict-input input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.swtool-predict-result {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    font-size: 18px;
    line-height: 1.6;
}

.predict-success {
    color: #155724;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.predict-error {
    color: #7f1d1d;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .swtool-predict-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .swtool-predict-input input {
        padding: 10px 12px;
    }
    
    .swtool-predict-result {
        padding: 12px;

    }
}

/* 黑夜模式适配 */
body.dark-mode .swtool-predict-container {
    background-color: #2d2d2d;
    border-color: #444;
}

body.dark-mode .swtool-predict-header {
    border-color: #444;
}

body.dark-mode .swtool-predict-input input {
    background-color: #1e1e1e;
    border-color: #444;
    color: #fff;
}

body.dark-mode .predict-success {
    background-color: #1a3a1e;
    border-color: #2e7d32;
}

body.dark-mode .predict-error {
    background-color: #3a1a1a;
    border-color: #7d2e2e;
}


