/* 名称：site.css */
/* 功能：全站公共界面样式 */
/* 版权：qiekn.cn 启肯网络 */

/* ============ 顶部导航（新版） ============ */
.yx-nav {
    position: sticky;
    top: 0;
    z-index: 300;
    width: 100%;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid rgba(var(--theme-dark-rgb), .08);
    box-shadow: 0 6px 20px rgba(var(--theme-deep-rgb), .04)
}

.yx-nav-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 1100px;
    max-width: calc(100% - 40px);
    height: 72px;
    margin: 0 auto
}

.yx-nav-logo {
    display: inline-block;
    flex: 0 0 auto;
    width: 120px;
    height: 50px;
    transform: translateY(-3px);
    background: linear-gradient(90deg, var(--theme-deep) 0%, var(--theme) 50%, var(--theme-light) 100%);
    -webkit-mask: url("/assets/img/logo.png") no-repeat center / contain;
    mask: url("/assets/img/logo.png") no-repeat center / contain
}

.yx-nav-logo img {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0
}

.yx-nav-menu {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none
}

.yx-nav-menu::-webkit-scrollbar {
    display: none
}

.yx-nav-menu ul {
    display: flex;
    align-items: center;
    gap: 6px
}

.yx-nav-menu a {
    display: block;
    padding: 9px 16px;
    border-radius: 999px;
    color: #46594f;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .2px;
    white-space: nowrap;
    transition: color .2s, background .2s, box-shadow .2s
}

.yx-nav-menu a:hover {
    color: var(--theme);
    background: rgba(var(--theme-rgb), .02);
    box-shadow: inset 0 0 0 1px rgba(var(--theme-rgb), .38)
}

.yx-nav-menu a.is-active {
    color: var(--theme-deep);
    font-weight: 600;
    background: rgba(var(--theme-rgb), .1);
    box-shadow: inset 0 0 0 1px rgba(var(--theme-rgb), .16)
}

.yx-nav-user {
    flex: 0 0 auto;
    display: flex;
    align-items: center
}

.yx-nav-user.yx-user-slot {
    width: 140px;
    justify-content: flex-end
}

.yx-nav-user.yx-user-slot.is-ready {
    visibility: visible
}

.yx-nav-user .yx-login-btn,
.yx-nav-user .yx-login-btn:hover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 140px;
    height: 38px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid rgba(var(--theme-rgb), .22);
    border-radius: 999px;
    background: #fff;
    color: var(--theme);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
    line-height: 36px;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: none;
    transition: border-color .2s, background .2s, color .2s
}

.yx-nav-user .yx-login-btn:hover {
    color: var(--theme-deep);
    border-color: rgba(var(--theme-rgb), .52);
    background: rgba(var(--theme-rgb), .06);
    transform: none;
    filter: none;
    box-shadow: none
}

.yx-nav-user .yx-user {
    width: auto;
    max-width: 140px;
    height: 38px;
    color: #2b463d
}

.yx-nav-user .yx-user-info,
.yx-nav-user .yx-user-info:hover {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 140px;
    height: 38px;
    padding: 0 12px 0 5px;
    border: 1px solid rgba(var(--theme-rgb), .22);
    border-radius: 999px;
    background: #fff;
    color: #2b463d;
    box-shadow: none;
    transition: border-color .2s, background .2s, color .2s
}

.yx-nav-user .yx-user-info:hover {
    border-color: rgba(var(--theme-rgb), .52);
    background: rgba(var(--theme-rgb), .06)
}

.yx-nav-user .yx-name {
    flex: 1;
    min-width: 0;
    max-width: none;
    color: #2b463d
}

.yx-nav-user .yx-user-info:hover .yx-name {
    color: var(--theme)
}

.yx-nav-user .yx-avatar {
    width: 28px;
    height: 28px;
    border-width: 1px
}

.yx-nav-user .yx-user-menu {
    top: calc(100% + 10px);
    width: 300px;
    min-width: 300px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(var(--theme-rgb), .18);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(var(--theme-deep-rgb), .18)
}

.yx-nav-user .yx-user-menu-summary {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 12px;
    height: 80px;
    padding: 12px 17px;
    background: linear-gradient(118deg, var(--theme-deep) 0%, var(--theme) 72%, rgba(var(--theme-rgb), .8) 100%);
}

.yx-nav-user .yx-user-menu-summary .yx-user-menu-summary-text {
    flex: 1;
    min-width: 0
}

.yx-nav-user .yx-user-menu-avatar {
    position: relative;
    display: block;
    width: 46px;
    height: 46px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer
}

.yx-nav-user .yx-user-menu-summary .yx-avatar {
    display: block;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, .72)
}

.yx-nav-user .yx-user-menu-avatar-tip {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(11, 35, 27, .72);
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    opacity: 0;
    transition: opacity .18s
}

.yx-nav-user .yx-user-menu-avatar:hover .yx-user-menu-avatar-tip,
.yx-nav-user .yx-user-menu-avatar.is-uploading .yx-user-menu-avatar-tip {
    opacity: 1
}

.yx-nav-user .yx-user-menu-avatar:disabled {
    cursor: wait
}

.yx-nav-user .yx-user-menu-summary-text {
    min-width: 0
}

.yx-nav-user .yx-user-menu-title-line {
    display: flex;
    align-items: center;
    min-width: 0;
    line-height: 20px
}

.yx-nav-user .yx-user-menu-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.yx-nav-user .yx-user-menu-account-line {
    display: flex;
    align-items: center;
    min-width: 0;
    margin-top: 4px
}

.yx-nav-user .yx-user-menu-account {
    display: block;
    overflow: hidden;
    min-width: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .4px;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.yx-nav-user .yx-user-menu-summary .yx-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin: 0 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffe172;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s
}

.yx-nav-user .yx-user-menu-summary .yx-logout:hover {
    background: transparent;
    color: #fff4c2;
    text-decoration: underline
}

.yx-nav-user .yx-user-menu-summary .yx-logout:disabled {
    cursor: default;
    opacity: .62
}

.yx-nav-user .yx-user-menu-vip {
    display: none
}

.yx-nav-user .yx-user-menu-details {
    display: block;
    padding: 10px 17px 12px
}

.yx-nav-user .yx-user-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    padding: 8px 0;
    border-bottom: 1px solid #eef3f1
}

.yx-nav-user .yx-user-menu-row:last-child {
    border-bottom: 0
}

.yx-nav-user .yx-user-menu-label {
    flex: 0 0 auto;
    margin: 0;
    color: #94a4a0;
    font-size: 12px
}

.yx-nav-user .yx-user-menu-value {
    display: block;
    overflow: hidden;
    color: #425e55;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap
}

.yx-nav-user .yx-user-menu-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 17px 14px;
    border-top: 1px solid #edf3f1;
    background: #f9fcfb
}

.yx-nav-user .yx-user-action {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 6px;
    border: 1px solid #dbe9e3;
    border-radius: 999px;
    background: #fff;
    color: #4f665d;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .18s, background .18s, color .18s, box-shadow .18s
}

.yx-nav-user .yx-user-action.pay {
    border-color: transparent;
    background: var(--theme);
    color: #fff;
    box-shadow: 0 6px 14px -8px rgba(var(--theme-rgb), .8)
}

.yx-nav-user .yx-user-action.pay:hover {
    background: var(--theme-dark);
    box-shadow: 0 7px 16px -8px rgba(var(--theme-rgb), .9)
}

.yx-nav-user .yx-user-action.center:hover {
    border-color: var(--theme);
    background: rgba(var(--theme-rgb), .06);
    color: var(--theme)
}

@media (max-width:960px) {
    .yx-nav-inner {
        gap: 12px
    }

    .yx-nav-menu {
        justify-content: flex-start
    }

    .yx-nav-menu a {
        padding: 9px 12px;
        font-size: 14px
    }
}

@media (max-width:640px) {
    .yx-nav-inner {
        height: 60px
    }

    .yx-nav-logo {
        width: 77px;
        height: 32px
    }

    .yx-nav-menu a {
        padding: 8px 10px;
        font-size: 13px
    }

    .yx-nav-user .yx-login-btn {
        height: 36px;
        padding: 0 15px;
        font-size: 13px;
        line-height: 36px
    }
}

/* 官网用户登录态 */
.ljxz.yx-user-slot {
    float: right;
    width: auto;
    height: 34px;
    margin-top: 15px;
    position: relative;
    visibility: hidden
}

.ljxz.yx-user-slot.is-ready {
    visibility: visible
}

.ljxz.yx-user-slot .yx-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: auto;
    height: 34px;
    margin-top: 0;
    padding: 0 16px;
    font-size: 14px;
    line-height: 32px;
    white-space: nowrap;
    text-decoration: none
}

.ljxz.yx-user-slot .yx-login-btn:hover {
    color: var(--theme);
    border-color: var(--theme)
}

.yx-user {
    position: relative;
    display: flex;
    align-items: center;
    height: 34px;
    color: var(--theme-soft);
    font-size: 13px;
    white-space: nowrap
}

/* 覆盖导航 .ljxz a 的按钮样式，登录态只显示头像和名字 */
.ljxz .yx-user-info,
.ljxz .yx-user-info:hover {
    float: none;
    width: auto;
    height: auto;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: normal;
    color: var(--theme-soft)
}

.yx-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none
}

.yx-user-info:hover .yx-name {
    color: var(--theme-light)
}

.yx-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--theme-light-rgb), .55);
    background: #333c38;
    flex-shrink: 0
}

.yx-avatar-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-light);
    font-size: 13px;
    text-align: center;
    line-height: 26px
}

.yx-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s
}

.yx-user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 160;
    display: none;
    min-width: 112px;
    padding: 6px;
    background: #1b2128;
    border: 1px solid rgba(var(--theme-light-rgb), .28);
    border-radius: 6px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .38)
}

.yx-user.is-open .yx-user-menu {
    display: block
}

.yx-logout {
    display: block;
    width: 100%;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--theme-line);
    font-size: 12px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer
}

.yx-logout:hover {
    background: rgba(var(--theme-light-rgb), .12);
    color: var(--theme-light)
}

/* ============ 登录 / 注册弹窗（直角，遮罩基类见 base.css） ============ */
.yx-auth-mask {
    animation: yxMaskIn .18s ease-out
}

.yx-auth-mask[hidden] {
    display: none
}

@keyframes yxMaskIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.yx-auth-card {
    width: 720px;
    max-width: 100%;
    height: 468px;
    flex-direction: row;
    overflow: visible;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    animation: yxCardIn .28s cubic-bezier(.2, .9, .3, 1.08)
}

@keyframes yxCardIn {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* 左侧品牌区 */
.yx-auth-brand {
    position: relative;
    flex: 0 0 250px;
    padding: 30px 30px 24px;
    color: var(--theme-pale);
    background: var(--theme-dark) url(/assets/img/logo1.png) center / cover no-repeat;
    border-radius: 18px 0 0 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

/* 整体轻微压暗，保持原图配色 */
.yx-auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 30, 18, .18);
    pointer-events: none
}

.yx-auth-brand h2 {
    position: relative;
    z-index: 2;
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #fff;
    text-align: right
}

.yx-auth-slogan {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .92);
    text-align: right
}

/* 左侧装饰：漂浮音符 + 缓缓游动的光斑 */
.yx-auth-deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none
}

.yx-auth-deco i {
    position: absolute;
    bottom: -30px;
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    color: rgba(255, 255, 255, .55);
    opacity: 0;
    animation: yxAuthNote 10s linear infinite
}

.yx-auth-deco i:nth-child(1) {
    left: 10%;
    font-size: 11px;
    color: rgba(214, 245, 170, .75);
    animation-duration: 11s;
    animation-delay: 0s
}

.yx-auth-deco i:nth-child(2) {
    left: 24%;
    font-size: 23px;
    color: rgba(255, 234, 148, .65);
    animation-duration: 9s;
    animation-delay: 2.2s
}

.yx-auth-deco i:nth-child(3) {
    left: 38%;
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
    animation-duration: 12.5s;
    animation-delay: 4.5s
}

.yx-auth-deco i:nth-child(4) {
    left: 55%;
    font-size: 27px;
    color: rgba(174, 229, 136, .6);
    animation-duration: 8.5s;
    animation-delay: 1.2s
}

.yx-auth-deco i:nth-child(5) {
    left: 70%;
    font-size: 13px;
    color: rgba(255, 240, 170, .72);
    animation-duration: 11.5s;
    animation-delay: 3.4s
}

.yx-auth-deco i:nth-child(6) {
    left: 84%;
    font-size: 19px;
    color: rgba(220, 246, 178, .65);
    animation-duration: 9.5s;
    animation-delay: 5.6s
}

.yx-auth-deco i:nth-child(7) {
    left: 92%;
    font-size: 25px;
    color: rgba(255, 255, 255, .55);
    animation-duration: 13s;
    animation-delay: 7s
}

@keyframes yxAuthNote {

    0% {
        opacity: 0;
        transform: translateY(0) rotate(-10deg) scale(.85)
    }

    12% {
        opacity: .65
    }

    70% {
        opacity: .5
    }

    100% {
        opacity: 0;
        transform: translateY(-470px) rotate(14deg) scale(1.05)
    }
}

.yx-auth-deco::before,
.yx-auth-deco::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%)
}

.yx-auth-deco::before {
    left: -60px;
    top: 28%;
    animation: yxAuthOrb 13s ease-in-out infinite alternate
}

.yx-auth-deco::after {
    right: -70px;
    top: 52%;
    animation: yxAuthOrb 16s ease-in-out 2s infinite alternate-reverse
}

@keyframes yxAuthOrb {

    0% {
        opacity: .35;
        transform: translate3d(0, 0, 0) scale(.9)
    }

    100% {
        opacity: .8;
        transform: translate3d(18px, -26px, 0) scale(1.12)
    }
}

@media (prefers-reduced-motion: reduce) {

    .yx-auth-deco i,
    .yx-auth-deco::before,
    .yx-auth-deco::after {
        animation: none;
        opacity: .4
    }
}

/* 右侧表单区（白色） */
.yx-auth-main {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 40px 32px;
    min-width: 0;
    background: transparent
}

.yx-auth-close,
.yx-auth-close:hover {
    opacity: 1;
}

.yx-auth-head {
    margin-bottom: 16px
}

.yx-auth-title {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #1d332c
}

.yx-auth-sub {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: #85968f
}

.yx-auth-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 16px;
    background: var(--theme-pale);
    border-radius: 999px
}

.yx-auth-tab {
    flex: 1;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #7c8f88;
    font-size: 13.5px;
    cursor: pointer;
    transition: .15s
}

.yx-auth-tab:hover {
    color: var(--theme)
}

.yx-auth-tab.on {
    background: #fff;
    color: var(--theme);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(var(--theme-rgb), .16)
}

.yx-auth-field {
    margin-bottom: 12px
}

.yx-auth-input {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    background: #f8fbfa;
    border: 1px solid var(--theme-soft);
    border-radius: 12px;
    transition: border-color .18s, background .18s, box-shadow .18s
}

.yx-auth-input:focus-within {
    background: #fff;
    border-color: var(--theme);
    box-shadow: 0 0 0 4px rgba(var(--theme-rgb), .1)
}

.yx-auth-icon {
    position: absolute;
    left: 14px;
    display: flex;
    color: #a2b4ad;
    pointer-events: none
}

.yx-auth-input:focus-within .yx-auth-icon {
    color: var(--theme)
}

.yx-auth-input input {
    width: 100%;
    height: 100%;
    padding: 0 16px 0 42px;
    border: 0;
    background: transparent;
    color: #1d332c;
    font-size: 13.5px;
    outline: none;
    box-sizing: border-box
}

.yx-auth-input input::placeholder {
    color: #aebdb7
}

.yx-auth-eye {
    position: absolute;
    right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #a2b4ad;
    cursor: pointer;
    transition: color .18s, background .18s
}

.yx-auth-eye:hover,
.yx-auth-eye.on {
    color: var(--theme);
    background: rgba(var(--theme-rgb), .08)
}

.yx-auth-tip {
    min-height: 17px;
    margin-bottom: 7px;
    color: #d9534f;
    font-size: 12px;
    line-height: 1.5
}

.yx-auth-tip.ok {
    color: var(--theme)
}

.yx-auth-submit {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--theme);
    color: #fff;
    font-size: 14.5px;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 12px 24px -12px rgba(var(--theme-deep-rgb), .55);
    transition: background .18s, transform .18s, box-shadow .18s
}

.yx-auth-submit:hover {
    background: var(--theme-dark);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px -12px rgba(var(--theme-deep-rgb), .6)
}

.yx-auth-submit:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px -10px rgba(var(--theme-deep-rgb), .5)
}

.yx-auth-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

.yx-auth-oauth {
    margin-top: 17px
}

.yx-auth-oauth[hidden] {
    display: none
}

.yx-auth-oauth-divider {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #98aaa2;
    font-size: 12px
}

.yx-auth-oauth-divider::before,
.yx-auth-oauth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8eeeb
}

.yx-auth-oauth-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 13px
}

.yx-auth-oauth-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #768a81;
    cursor: pointer;
    box-shadow: none;
    transition: transform .18s
}

.yx-auth-oauth-btn svg {
    width: 29px;
    height: 29px
}

.yx-auth-oauth-btn:hover {
    border-radius: 50%;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 16px -10px rgba(26, 58, 44, .45)
}

.yx-auth-oauth-btn.is-qq:hover {
    background: rgba(104, 165, 225, .12);
    box-shadow: 0 8px 17px -10px rgba(77, 148, 213, .68)
}

.yx-auth-oauth-btn.is-wechat:hover {
    background: rgba(40, 196, 69, .12);
    box-shadow: 0 8px 17px -10px rgba(25, 160, 65, .66)
}

.yx-auth-oauth-btn[hidden] {
    display: none
}

/* 积分充值弹窗 */
.yx-pay-card {
    --pay-accent: var(--theme);
    --pay-accent-dark: var(--theme-dark);
    --pay-accent-pale: var(--theme-pale);
    box-sizing: border-box;
    width: 820px;
    max-width: calc(100% - 32px);
    min-height: 420px;
    padding: 30px 40px 34px;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    text-align: left;
    animation: yxCardIn .28s cubic-bezier(.2, .9, .3, 1.08)
}

.yx-pay-countdown {
    position: absolute;
    top: 18px;
    right: 58px;
    left: auto;
    margin: 0;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: #ff3b30;
    font-variant-numeric: tabular-nums
}

.yx-pay-title {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 800;
    color: #1d332c;
    text-align: left;
    letter-spacing: .5px
}

.yx-pay-title-amount {
    color: var(--pay-accent);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .5px
}

.yx-pay-body {
    display: flex;
    align-items: stretch;
    height: 312px;
    gap: 38px
}

.yx-pay-step.yx-pay-left {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0
}

.yx-pay-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 306px;
    padding-left: 34px;
    border-left: 1px dashed #e4eee8
}

.yx-pay-label {
    margin: 0 0 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #6a7f76;
    letter-spacing: .3px
}

.yx-pay-label-ways {
    margin-top: 20px
}

.yx-pay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    height: 220px;
    gap: 10px;
    margin-top: 12px
}

.yx-pay-amount-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    min-height: 0;
    padding: 0 16px;
    border: 1px solid #e7efea;
    border-radius: 10px;
    background: #fff;
    color: #26382f;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .18s, background .18s, box-shadow .18s, transform .18s
}

.yx-pay-amount-num {
    display: inline-flex;
    align-items: center;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    transform: translateY(1px)
}

.yx-pay-amount-num em {
    margin-left: 3px;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    color: #8fa39a
}

.yx-pay-amount-price {
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: #8fa39a;
    white-space: nowrap;
    transform: translateY(1px)
}

.yx-pay-amount-card:hover {
    border-color: rgba(var(--theme-rgb), .35);
    background: linear-gradient(160deg, #ffffff 0%, #eef8f3 100%);
    transform: translateY(-1px)
}

.yx-pay-amount-card.on {
    border-color: var(--pay-accent);
    background: linear-gradient(160deg, #ffffff 0%, var(--pay-accent-pale) 100%);
    box-shadow: 0 12px 26px -16px rgba(var(--theme-rgb), .65), 0 0 0 3px rgba(var(--theme-rgb), .1)
}

.yx-pay-amount-card.on::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 24px solid var(--pay-accent);
    border-left: 24px solid transparent;
    content: ""
}

.yx-pay-amount-card.on .yx-pay-amount-num,
.yx-pay-amount-card.on .yx-pay-amount-num em,
.yx-pay-amount-card.on .yx-pay-amount-price {
    color: var(--pay-accent)
}

.yx-pay-amount-card.is-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 46px;
    min-height: 46px;
    margin-top: 0;
    padding: 0 14px;
    border-style: solid;
    background: #fff
}

.yx-pay-amount-plus {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: var(--pay-accent)
}

.yx-pay-amount-label {
    font-size: 13px;
    font-weight: 600;
    color: #7f948b
}

.yx-pay-ways {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    min-height: 46px;
    margin: 0 0 12px
}

.yx-pay-way {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #e7efea;
    border-radius: 50%;
    background: #fff;
    opacity: .5;
    filter: grayscale(1);
    cursor: pointer;
    transition: opacity .18s, filter .18s, border-color .18s, box-shadow .18s, transform .18s
}

.yx-pay-way svg {
    display: block;
    width: 22px;
    height: 22px
}

.yx-pay-way:hover {
    opacity: .8;
    border-color: rgba(var(--theme-rgb), .3)
}

.yx-pay-way.on {
    opacity: 1;
    filter: none;
    border-color: var(--pay-accent);
    background: var(--pay-accent-pale);
    box-shadow: 0 0 0 3px rgba(var(--theme-rgb), .1);
    transform: scale(1.06)
}

.yx-pay-way:disabled {
    display: none
}

.yx-pay-tip {
    position: absolute;
    left: 0;
    bottom: 28px;
    min-height: 18px;
    margin: 0;
    font-size: 12px;
    color: #d9534f;
    text-align: left
}

.yx-pay-points-note {
    position: absolute;
    left: 0;
    bottom: 0;
    min-height: 18px;
    margin: 0;
    font-size: 11.5px;
    line-height: 18px;
    color: #9aa8a2;
    text-align: left
}

.yx-pay-custom {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: rgba(24, 33, 58, .34);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px)
}

.yx-pay-custom[hidden] {
    display: none
}

.yx-pay-custom-box {
    box-sizing: border-box;
    width: 340px;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 26px 54px -22px rgba(20, 30, 60, .5);
    text-align: center
}

.yx-pay-custom-title {
    display: block;
    margin-bottom: 16px;
    color: #1f2a44;
    font-size: 17px;
    font-weight: 700
}

.yx-pay-custom-row {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #e2ece7;
    border-radius: 12px;
    background: #f7fbf9;
    transition: border-color .18s, background .18s
}

.yx-pay-custom-row:focus-within {
    background: #fff;
    border-color: var(--pay-accent)
}

.yx-pay-custom-yen {
    margin-right: 6px;
    color: var(--pay-accent);
    font-size: 15px;
    font-weight: 700
}

.yx-pay-custom-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #1f2a44;
    font-family: inherit;
    font-size: 21px;
    font-weight: 700;
    outline: none;
    text-align: center
}

.yx-pay-custom-unit {
    margin-left: 6px;
    color: #8fa39a;
    font-size: 12px
}

.yx-pay-custom-err {
    margin: 8px 0 0;
    color: #e5484d;
    font-size: 11.5px
}

.yx-pay-custom-err[hidden] {
    display: none
}

.yx-pay-custom-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.yx-pay-custom-actions button {
    flex: 1 1 0;
    height: 42px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, color .18s
}

.yx-pay-custom-cancel {
    background: #eef4f1;
    color: #5f746d
}

.yx-pay-custom-cancel:hover {
    background: #e2ece7
}

.yx-pay-custom-ok {
    background: var(--pay-accent);
    color: #fff
}

.yx-pay-custom-ok:hover {
    background: var(--pay-accent-dark)
}

.yx-pay-scan-tip {
    margin: 0 0 6px;
    font-size: 12px;
    color: #93a79d;
    text-align: center
}

.yx-pay-qrwrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid rgba(var(--theme-rgb), .18);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 38px -28px rgba(var(--theme-deep-rgb), .5);
    cursor: pointer
}

.yx-pay-qr-ph {
    padding: 0 12px;
    color: #b3b3b3;
    font-size: 12px;
    line-height: 1.6;
    text-align: center
}

.yx-pay-qr {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.yx-pay-qr[hidden],
.yx-pay-qr-loading[hidden] {
    display: none !important
}

.yx-pay-qr-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: rgba(255, 255, 255, .92)
}

.yx-pay-loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px
}

.yx-pay-loader::before,
.yx-pay-loader::after {
    position: absolute;
    border-radius: 50%;
    content: ""
}

.yx-pay-loader::before {
    inset: 0;
    border: 3px solid rgba(var(--theme-rgb), .16);
    border-top-color: var(--pay-accent);
    border-right-color: rgba(var(--theme-rgb), .5);
    animation: yxPaySpin 1s linear infinite
}

.yx-pay-loader::after {
    inset: 10px;
    border: 2px dashed rgba(var(--theme-rgb), .32);
    animation: yxPaySpin 1.8s linear infinite reverse
}

.yx-pay-loader-core {
    width: 13px;
    height: 13px;
    border-radius: 4px;
    background: var(--pay-accent);
    animation: yxPayPulse 1.2s ease-in-out infinite
}

.yx-pay-loader-text {
    margin: 12px 0 0;
    color: #7f948b;
    font-size: 12px;
    letter-spacing: .3px
}

.yx-pay-loader-dots {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
    vertical-align: middle
}

.yx-pay-loader-dots i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pay-accent);
    opacity: .35;
    animation: yxPayDot 1.1s ease-in-out infinite
}

.yx-pay-loader-dots i:nth-child(2) {
    animation-delay: .16s
}

.yx-pay-loader-dots i:nth-child(3) {
    animation-delay: .32s
}

@keyframes yxPaySpin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes yxPayPulse {
    0%,
    100% {
        transform: scale(.82);
        box-shadow: 0 0 0 0 rgba(var(--theme-rgb), .3)
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 8px rgba(var(--theme-rgb), 0)
    }
}

@keyframes yxPayDot {
    0%,
    100% {
        opacity: .3;
        transform: translateY(0)
    }

    50% {
        opacity: 1;
        transform: translateY(-3px)
    }
}

.yx-pay-amountline {
    margin: 0 0 4px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--pay-accent)
}

.yx-pay-orderline {
    min-height: 18px;
    margin: auto 0 0;
    text-align: center;
    font-size: 11.5px;
    color: #9aa8a2;
    word-break: break-all
}

@media(max-width:760px) {
    .yx-pay-body {
        flex-direction: column;
        gap: 18px
    }

    .yx-pay-right {
        flex: 0 0 auto;
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px dashed #e4eee8
    }
}

@media(max-width:820px) {
    .yx-auth-card {
        width: 420px;
        height: auto;
        min-height: 0;
        border-radius: 16px
    }

    .yx-auth-brand {
        display: none
    }

    .yx-auth-main {
        padding: 32px 26px 26px
    }

    .yx-auth-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px
    }

    .yx-auth-close svg {
        width: 18px;
        height: 18px
    }
}

@media(max-width:440px) {
    .yx-auth-main {
        padding: 26px 18px 22px
    }

    .yx-auth-title {
        font-size: 20px
    }
}

/* 768：登录/注册弹窗铺满全屏，不再使用电脑端的窗口卡片形式（桌面端不变） */
@media (max-width: 768px) {
    .yx-auth-mask {
        padding: 0
    }

    .yx-auth-card {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        overflow-y: auto
    }

    .yx-auth-main {
        padding: 64px 20px 32px
    }
}

@media(prefers-reduced-motion:reduce) {

    .yx-auth-mask,
    .yx-auth-card {
        animation: none
    }
}

/* 页脚友情链接 + 全站左侧贴边播放器 */
.footer {
    position: relative;
    background: #f8fafc;
    border-top: 1px solid rgba(var(--theme-rgb), .14);
    box-shadow: inset 0 10px 20px -22px rgba(35, 74, 56, .38)
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1100px, calc(100% - 40px));
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(var(--theme-rgb), .38), transparent)
}

.footer * {
    color: #5f756a
}

.footer .footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 1100px;
    max-width: calc(100% - 40px);
    height: 46px;
    margin: 0 auto;
    overflow: hidden
}

.footer .footer-links-label {
    flex: 0 0 auto;
    padding-right: 14px;
    border-right: 1px solid rgba(var(--theme-rgb), .16);
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--theme)
}

.footer .footer-links-view {
    position: relative;
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 25px, #000 calc(100% - 45px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 25px, #000 calc(100% - 45px), transparent)
}

.footer .footer-links-track {
    display: flex;
    width: max-content;
    animation: yxLinksScroll 90s linear infinite
}

.footer .footer-links-view:hover .footer-links-track {
    animation-play-state: paused
}

.footer .footer-links-track a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 28px;
    font-size: 12px;
    color: #718178;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s, transform .2s
}

.footer .footer-links-track a::before {
    content: '♪';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-right: 6px;
    border-radius: 50%;
    background: rgba(var(--theme-rgb), .10);
    color: var(--theme);
    font-size: 12px;
    line-height: 1
}

.footer .footer-links-track a:hover {
    color: var(--theme);
    transform: translateY(-1px)
}

.footer .footer-links-track a:hover::before {
    background: var(--theme);
    color: #fff;
    box-shadow: 0 4px 10px -6px rgba(var(--theme-rgb), .75)
}

.footer .footer-bottom {
    border-top: 1px solid rgba(var(--theme-rgb), .10);
    padding: 12px 0 14px;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: .5px;
    color: #718178
}

.footer .footer-bottom a {
    color: #718178;
    text-decoration: none
}

.footer .footer-bottom a:hover {
    color: var(--theme)
}

.footer .footer-bottom .sep {
    margin: 0 10px;
    opacity: .35
}

@keyframes yxLinksScroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer .footer-links-track {
        animation: none
    }
}

@media (max-width: 600px) {
    .footer .footer-links-label {
        display: none
    }

    .footer .footer-bottom {
        padding: 10px 14px 12px
    }
}

/* 页脚版权：移动端只显示公司名称与备案号（隐藏完整版权文案） */
.footer .footer-copy-mobile {
    display: none
}

@media (max-width: 768px) {
    .footer .footer-copy-full {
        display: none
    }

    .footer .footer-copy-mobile {
        display: inline
    }
}



/* ============ 全局滚动条：默认浅灰，悬停显示主题色 ============ */
::-webkit-scrollbar-thumb {
    background: var(--theme-line);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-deep) 100%);
}

@supports (-moz-appearance: none) {
    html {
        scrollbar-color: var(--theme-line) var(--theme-pale);
    }

    html:hover {
        scrollbar-color: var(--theme) var(--theme-pale);
    }
}

/* 细节增强：文本选中与键盘焦点 */
::selection {
    background: rgba(var(--theme-light-rgb), .28);
    color: var(--theme-deep);
}

.yx-nav-menu a:focus-visible,
.yx-nav-user .yx-login-btn:focus-visible {
    outline: 2px solid rgba(var(--theme-rgb), .45);
    outline-offset: 3px;
}

/* 在线客服：默认隐藏，滚动到横幅波浪之后再出现 */
.yx-kefu-link {
    position: fixed;
    right: 0;
    top: 200px;
    z-index: 99;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s;
    pointer-events: none;
}

.yx-kefu-link.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.yx-kefu {
    display: block;
    width: 146px;
    height: 234px;
}

/* 客服卡底部的"在线咨询"白色按钮，盖住原图底部那个绿色按钮 */
.yx-kefu-label {
    display: block;
    position: absolute;
    left: 25px;
    top: 174px;
    z-index: 2;
    width: 96px;
    height: 28px;
    border-radius: 14px;
    background: #fff;
    color: var(--theme);
    font: 600 12px/28px "Microsoft YaHei", Arial, sans-serif;
    text-align: center;
    box-shadow: 0 4px 14px rgba(var(--theme-rgb), .22);
    pointer-events: auto;
    transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
    border: 1px solid transparent;
}

.yx-kefu-link:hover .yx-kefu-label {
    background: var(--theme-pale);
    color: var(--theme);
    border-color: var(--theme);
    box-shadow: 0 4px 14px rgba(var(--theme-rgb), .28);
}

@media (max-width:768px) {
    .yx-kefu {
        width: 104px;
        height: 167px;
    }

    .yx-kefu-link {
        top: 140px;
    }

    .yx-kefu-link .yx-kefu-label {
        width: 76px;
        height: 26px;
        font-size: 11px;
        line-height: 26px;
        left: 14px;
        top: 118px;
        border-radius: 13px;
    }
}

/* ============ 全站贴边播放器（与后台最近播放同款） ============ */
.yx-player {
    position: fixed;
    top: auto;
    left: 0;
    bottom: 18px;
    z-index: 400;
    width: 60px;
    height: 60px;
    padding: 0;
    overflow: hidden;
    border-radius: 0 30px 30px 0;
    background: linear-gradient(135deg, var(--theme-dark), var(--theme-light));
    border: 0;
    box-shadow: 0 8px 20px rgba(var(--theme-dark-rgb), .24);
    transition: width .26s ease, height .26s ease, border-radius .26s ease, box-shadow .26s ease;
}

.yx-player.is-open {
    bottom: 0;
    width: 270px;
    height: 330px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--theme-soft);
    border-radius: 0 14px 14px 0;
    box-shadow: 0 14px 34px rgba(var(--theme-deep-rgb), .14);
    overflow: visible;
}

.yx-player-btn {
    position: absolute;
    inset: 0;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    border-radius: 0 30px 30px 0;
    background: transparent;
    cursor: pointer;
    transition: opacity .16s ease, transform .16s ease;
}

.yx-player-btn-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--theme);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .14);
    transform: translate(-50%, -50%);
    transition: background .18s ease;
}

.yx-player-btn-icon svg {
    display: block;
}

.yx-player-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    border-radius: 0 14px 14px 0;
    background: #fff;
    transition: opacity .16s ease .08s, transform .2s ease .08s;
}

.yx-player.is-open .yx-player-body {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.yx-player.is-hidden {
    display: none;
}

.yx-player:not(.is-open):hover .yx-player-btn-icon {
    background: var(--theme-pale);
}

.yx-player-btn:hover {
    transform: none;
    box-shadow: none;
}

.yx-player.is-open .yx-player-btn {
    opacity: 0;
    pointer-events: none;
}

.yx-player-autoshow {
    position: absolute;
    top: 13px;
    right: 30px;
    z-index: 7;
    display: block;
    width: 24px;
    height: 14px;
    cursor: pointer;
    user-select: none;
}

.yx-player-autoshow input {
    position: absolute;
    opacity: 0;
}

.yx-player-autoshow i {
    position: relative;
    display: block;
    width: 24px;
    height: 14px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(6, 60, 45, .2);
}

.yx-player-autoshow i::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #a7bdb6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
    transition: transform .15s ease, background .15s ease;
}

.yx-player-autoshow input:checked + i::after {
    transform: translateX(10px);
    background: var(--theme);
}

.yx-player.is-playing .yx-player-btn-icon svg {
    animation: yxPlayerSpin 2.6s linear infinite;
}

@keyframes yxPlayerSpin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.yx-player-top {
    flex: none;
    padding: 14px 14px 12px;
    background: var(--theme);
    border-radius: 0 14px 0 0;
}

.yx-player-spectrum {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    margin: 0 0 12px;
    color: var(--theme-pale);
}

.yx-player-spectrum i {
    display: block;
    width: 2.5px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
    opacity: .85;
    transform-origin: bottom;
}

.yx-player.is-playing .yx-player-spectrum i {
    animation: yxPlayerEq .7s ease-in-out infinite alternate;
    opacity: 1;
}

.yx-player.is-playing .yx-player-spectrum i:nth-child(2) {
    animation-duration: .92s;
    animation-delay: -.2s;
}

.yx-player.is-playing .yx-player-spectrum i:nth-child(3) {
    animation-duration: .6s;
    animation-delay: -.36s;
}

.yx-player.is-playing .yx-player-spectrum i:nth-child(4) {
    animation-duration: .84s;
    animation-delay: -.1s;
}

.yx-player.is-playing .yx-player-spectrum i:nth-child(5) {
    animation-duration: .74s;
    animation-delay: -.26s;
}

.yx-player.is-playing .yx-player-spectrum i:nth-child(6) {
    animation-duration: .88s;
    animation-delay: -.34s;
}

.yx-player.is-playing .yx-player-spectrum i:nth-child(7) {
    animation-duration: .68s;
    animation-delay: -.08s;
}

@keyframes yxPlayerEq {
    from {
        height: 3px;
    }

    to {
        height: 13px;
    }
}

.yx-player-now {
    min-width: 0;
}

.yx-player-title {
    display: block;
    flex: none;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--theme-pale);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0;
}

.yx-player-progress {
    position: relative;
    height: 4px;
    margin: 8px 0 5px;
    overflow: visible;
    background: rgba(255, 255, 255, .28);
    border-radius: 2px;
    cursor: pointer;
    touch-action: none;
}

.yx-player-progress::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 18px;
    transform: translateY(-50%);
}

.yx-player-progress-fill {
    position: relative;
    display: block;
    width: 0;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #fff, var(--theme-pale));
    transition: width .15s linear;
}

.yx-player-progress-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
}

.yx-player-progress:hover .yx-player-progress-fill::after {
    animation: yxPlayerThumbPulse 1.2s ease-out infinite;
}

@keyframes yxPlayerThumbPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .7), 0 1px 3px rgba(0, 0, 0, .22);
    }

    70%,
    100% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0), 0 1px 3px rgba(0, 0, 0, .22);
    }
}

.yx-player-times {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.yx-player-toggle {
    position: absolute;
    top: -22px;
    right: -22px;
    z-index: 6;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--theme);
    box-shadow: 0 8px 20px rgba(var(--theme-deep-rgb), .28);
    cursor: pointer;
    outline: none;
}

.yx-player-toggle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    margin: -7px 0 0 -4.5px;
    border-left: 11px solid currentColor;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

.yx-player-toggle.is-playing::before {
    width: 11px;
    height: 13px;
    margin: -6.5px 0 0 -5.5px;
    border: 0;
    background: linear-gradient(90deg, currentColor 0 3.5px, transparent 3.5px 7.5px, currentColor 7.5px 11px);
}

.yx-player-toggle:hover {
    background: var(--theme-pale);
}

.yx-player.is-open .yx-player-recent {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 0 0 14px 0;
}

.yx-player-recent-list {
    height: 100%;
    margin: 0;
    padding: 8px 14px 10px;
    overflow-y: auto;
    overflow-x: hidden;
    list-style: none;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.yx-player-recent-list:hover {
    scrollbar-color: var(--theme-line) transparent;
}

.yx-player-recent-list::-webkit-scrollbar {
    width: 6px;
}

.yx-player-recent-list::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
}

.yx-player-recent-list:hover::-webkit-scrollbar-thumb {
    background: var(--theme-line);
}

.yx-player-recent-list li {
    list-style: none;
}

.yx-player-recent-item {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    width: 100%;
    height: 34px;
    box-sizing: border-box;
    padding: 0 8px;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--theme-soft);
    border-radius: 0;
    background: transparent;
    color: #3b5a51;
    font: 13px "Microsoft YaHei", Arial, sans-serif;
    line-height: 34px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.yx-player-recent-item:last-child {
    border-bottom: 0;
}

.yx-player-recent-item:hover,
.yx-player-recent-item.is-active {
    background: var(--theme-pale);
    color: var(--theme-deep);
    font-weight: 400;
}

.yx-player-recent-item.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--theme);
}

.yx-player-recent-item.is-loading {
    opacity: .55;
    cursor: wait;
}

.yx-player-recent-name {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yx-player-recent-empty {
    padding: 6px 4px;
    color: #8aa89d;
    font-size: 11px;
    line-height: 1.5;
    list-style: none;
}

@media (max-width: 640px) {
    .yx-player {
        bottom: 14px;
    }

    .yx-player.is-open {
        width: 238px;
        height: 300px;
        max-height: calc(100vh - 36px);
    }

    .yx-player-top {
        padding: 12px 12px 10px;
    }

    .yx-player-spectrum {
        height: 12px;
        margin-bottom: 10px;
    }

    .yx-player-spectrum i {
        width: 2px;
    }

    .yx-player-title {
        font-size: 14px;
        line-height: 19px;
    }

    .yx-player-progress {
        margin: 7px 0 4px;
    }

    .yx-player-times {
        font-size: 10px;
    }

    .yx-player-toggle {
        width: 40px;
        height: 40px;
        top: -20px;
        right: -20px;
    }

    .yx-player-toggle::before {
        margin: -6px 0 0 -4px;
        border-left: 10px solid currentColor;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }

    .yx-player-toggle.is-playing::before {
        width: 10px;
        height: 12px;
        margin: -6px 0 0 -5px;
        background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px, currentColor 7px 10px);
    }

    .yx-player-recent-list {
        padding: 6px 12px 8px;
    }

    .yx-player-recent-item {
        height: 30px;
        padding: 0 7px;
        font-size: 10.5px;
        line-height: 30px;
    }

    .yx-player-recent-item.is-active::before {
        top: 9px;
        bottom: 9px;
    }
}

@media (max-width: 440px) {
    .yx-player {
        width: 52px;
        height: 52px;
        border-radius: 0 26px 26px 0;
    }

    .yx-player-btn {
        width: 52px;
        height: 52px;
        border-radius: 0 26px 26px 0;
    }

    .yx-player-btn-icon {
        width: 28px;
        height: 28px;
    }

    .yx-player.is-open {
        width: calc(100vw - 72px);
        min-width: 200px;
        max-width: 238px;
        height: 278px;
    }

    .yx-player-toggle {
        width: 38px;
        height: 38px;
        top: -19px;
        right: -19px;
    }

    .yx-player-toggle::before {
        margin: -6px 0 0 -3.5px;
        border-left: 9px solid currentColor;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }

    .yx-player-toggle.is-playing::before {
        width: 9px;
        height: 11px;
        margin: -5.5px 0 0 -4.5px;
        background: linear-gradient(90deg, currentColor 0 2.5px, transparent 2.5px 6.5px, currentColor 6.5px 9px);
    }

    .yx-player-recent-item {
        height: 28px;
        line-height: 28px;
    }

    .yx-player-recent-item.is-active::before {
        top: 8px;
        bottom: 8px;
    }
}

