/**
 * Theme Name:        Binance
 * Theme URI:         https://host.binance.com
 * Description:       Custom theme description...
 * Version:           1.0.0
 * Author:            xhr
 * Author URI:        https://host.binance.com
 * Tags:              Binance, 加密货币，区块链
 * Requires PHP:      8.0
 */

:root {
    --primary-yellow: #F0B90B;
    --dark-yellow: #DAA300;
    --light-yellow: #FEF6E1;
    --accent-yellow: #F8D12F;
    --dark-bg: #0B0E11;
    --light-bg: #FFFFFF;
    --gray-bg: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-dark: #1E2026;
    --text-light: #FFFFFF;
    --text-gray: #707A8A;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    outline: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 头部样式 - 更加现代化 */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.lay {
    width: 100%;
    padding: 20px;
    display: table;
}

.bg-white {
    background: #fff;
}

.mat15 {
    margin-top: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb40 {
    margin-bottom: 40px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ==================== 侧边栏基础容器层级 ==================== */
.sidebar {
    margin-bottom: 20px;
    margin-left: 8px;
    /* 左外边距 */
    margin-right: 8px;
    /* 右外边距 */
    padding: 0 15px;
    /* 保持左右内边距 */
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: auto;
    /* 适应外边距 */
    max-width: 280px;
    /* 最大宽度限制 - 更紧凑 */
    box-sizing: border-box;
}

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .sidebar {
        padding: 0 15px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 15px;
        max-width: 100%;
        /* 平板端占满宽度 */
        width: 100%;
    }
}

/* 手机设备 (max-width: 767px) */
@media screen and (max-width: 767px) {
    .sidebar {
        padding: 0 15px;
        margin-left: 4px;
        margin-right: 4px;
        margin-bottom: 15px;
        max-width: 100%;
        /* 小屏幕全宽 */
    }
}

/* 超小屏幕 (max-width: 480px) */
@media screen and (max-width: 480px) {
    .sidebar {
        padding: 0 12px;
        margin-left: 3px;
        margin-right: 3px;
        max-width: 100%;
    }
}

/* 极小屏幕 (max-width: 360px) */
@media screen and (max-width: 360px) {
    .sidebar {
        padding: 0 10px;
        margin-left: 2px;
        margin-right: 2px;
        max-width: 100%;
    }
}


/* 标题区块 - 子层级 */
.sidebar .title-bottom-border {
    width: 100%;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -15px;
    /* 抵消父级padding */
    padding: 0 15px 3px;
    box-sizing: border-box;
}

/* 标题文字 - 孙层级 */
.sidebar .title-bottom-border span {
    line-height: 40px;
    font-size: 18px;
    font-weight: normal;
    position: relative;
    text-indent: 10px;
    color: #333;
}

/* 标题左侧装饰线 - 曾孙层级 */
.sidebar .title-bottom-border span:before {
    content: '';
    border-left: 2px solid #0590d6;
    display: inline-block;
    height: 18px;
    position: absolute;
    left: 0;
    bottom: 10px;
}

/* 更多链接 - 孙层级 */
.sidebar .title-bottom-border .more a {
    font-size: 14px !important;
    line-height: 40px;
    color: #1c94ff !important;
    text-decoration: none;
}

.sidebar .title-bottom-border .more a:hover {
    color: #0590d6 !important;
}

/* ==================== 响应式媒体查询 ==================== */

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {

    /* 标题文字 */
    .sidebar .title-bottom-border span {
        font-size: 16px;
        text-indent: 8px;
    }

}