/* 基础通用样式（明暗模式共用） */
.diy-header-scroll {
    width: 130px;
    height: 45px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
    max-width: 130px;
    max-height: 45px;
    opacity: 0;
    transition: opacity 0.5s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.diy-header-scroll.show {
    opacity: 1;
}

.diy-header-scroll__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}
.diy-header-scroll__icon::after {
    content: "⚡";
    font-size: 14px;
    transition: color 0.3s ease;
}

.diy-header-scroll__box {
    flex: 1;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    max-height: 40px;
}

.diy-header-scroll__list {
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.diy-header-scroll__list li {
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    font-family: "OPPOSans R";
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    transition: color 0.3s ease;
}

/* 暗黑模式 默认 */
.diy-header-scroll {
    background-color: #181A1D;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.diy-header-scroll__icon {
    background-color: #2dd4bf;
}
.diy-header-scroll__icon::after {
    color: #181A1D;
}
.diy-header-scroll__list li {
    color: #f3f4f6;
}

/* 明亮模式 */
.diy-header-scroll.light {
    background-color: #ffffff;
    border: 1px solid rgba(73, 69, 255, 0.2);
    box-shadow: 0 2px 6px rgba(73, 69, 255, 0.1);
}
.diy-header-scroll.light .diy-header-scroll__icon {
    background-color: #4945ff;
}
.diy-header-scroll.light .diy-header-scroll__icon::after {
    color: #ffffff;
}
.diy-header-scroll.light .diy-header-scroll__list li {
    color: #2c2c34;
}