.main{padding-top: 30px !important;}
.container-user-warning{max-width:1200px !important;}
.warning{background: #fff3e9;padding: 15px 20px;border-radius: var(--theme-radius);color: #f58b36;margin-bottom: 20px;}
.btn{border-radius:5px;}
.btn-primary{color:#fff;background-color:var(--theme-color);border-color:var(--theme-color)}
.left{float: left;}
.form-control{display:block;width:100%;height:38px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ddd;}
.table{width:100%;max-width:100%;margin-bottom:20px}
.table > thead > tr > th,.table > tbody > tr > th,.table > tfoot > tr > th,.table > thead > tr > td,.table > tbody > tr > td,.table > tfoot > tr > td{padding:12px 8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd;text-align:center}
.table > thead > tr > th{vertical-align:bottom;border-bottom:2px solid #ddd}
.table > caption + thead > tr:first-child > th,.table > colgroup + thead > tr:first-child > th,.table > thead:first-child > tr:first-child > th,.table > caption + thead > tr:first-child > td,.table > colgroup + thead > tr:first-child > td,.table > thead:first-child > tr:first-child > td{border-top:0}
.table-striped > tbody > tr:nth-child(odd) > td,.table-striped > tbody > tr:nth-child(odd) > th{background-color:#f9f9f9}
.container-user{position:relative;padding-left:200px !important;padding-right:0 !important;background-color:#fff;margin-bottom:30px;box-shadow:0 0 3px rgba(0,0,0,0.04);max-width:1200px !important;border-radius: var(--theme-radius);overflow: hidden;}
.container-user .content{margin-right:0;padding:30px 30px 70px;margin-bottom:0;width:100%;border-right:none;float:none}
.usertitle{margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #eaeaea;overflow:hidden;text-align:center}
.usertitle h2{font-size:17px;margin:0 0 10px;line-height:20px;position:relative;text-align:center;overflow:hidden;font-weight: normal;}
.usertitle span{font-size:12px;color:var(--theme-color)}
.usertitle .edit-avatar{position: relative;display: inline-block;margin-bottom:10px}
.usertitle .edit-avatar:after{content:"\e7c7";position: absolute;bottom:1px;right:-1px;font-family:"iconfont-modown" !important;font-size:20px;color:#777;height: 20px}
.usertitle .avatar{border-radius:50%;border:1px solid #e6e6e6;width:50px;}
.mobantu-check p{font-size: 11px;color:#777;margin-top: 3px;}
.userside{float:left;margin-left:-200px;width:200px;background-color:#fbfbfb;padding:20px;height: 100%;position: absolute;}
.usermenu{list-style:none;margin:0 0 15px;padding:0}
.usermenu li{margin-bottom:1px}
.usermenu li a{display:block;padding:5px 20px;font-size:16px;color:#888;border-radius:3px}
.usermenu li a:hover{color:#666}
.usermenu li.active a{color:#666;background-color:#eee;position:relative;text-decoration:none}
.usermenu li.active i{color:var(--theme-color);}
.usermenu li:last-child a{border-bottom:none}
.usermenu li .icon{font-size:18px}
.usermenu h4{margin:0}
.usermenu h4 a{color:#666;background-color:#F7F9FA;padding-top:15px;cursor:default;border-bottom-color:#e6e6e6}
.usercheck{background: var(--theme-color);color: #fff !important;border-radius: 15px;padding: 3px 12px;font-size: 12px;display: inline-block;width: 76px;text-align: center;}
.usercheck.active{background: #aaa !important}
.user-main{position:relative;min-height:650px}
.btn.btn-primary.disabled{border:1px solid #aaa;background:#aaa;cursor:auto}
.user-commentlist{list-style:none;margin:0;padding:0;font-size:14px}
.user-commentlist li{border-bottom:1px solid #f2f2f2;padding:15px 0;overflow:hidden;padding-left:140px}
.user-commentlist .note{font-size:14px;color:#666;margin-bottom:10px}
.user-commentlist p{font-size:12px;margin-bottom:0}
.user-commentlist time{font-size:12px;color:#999;float:left;margin-left:-140px;margin-top:2px}
.user-postlist{list-style: none;margin: 0;padding: 0;font-size: 12px;}
.user-postlist h2{font-size: 18px;font-weight: normal;margin: 0;line-height: 20px;margin-right: 10px;}
.user-postlist li{border-bottom: 1px solid #f2f2f2;padding: 20px 0;overflow: hidden}
.user-postlist p{margin-bottom: 0;padding-top: 10px;}
.user-postlist .note{color: #bbb;height: 70px;overflow: hidden;	}
.user-postlist .thumb{float:right;margin-left:20px;width:160px;height:120px}
.user-postnav{font-size: 13px;margin-bottom: 15px;}
.user-postnav a{margin-right: 15px;}
.user-postnav a.active{color: var(--theme-color);}
.user-gridlist{margin: 0 -7.5px;}
.user-gridlist .item{float: left;width: calc(25% - 15px);margin: 0 7.5px 15px;position: relative;}
.user-gridlist .item img{width: 100%;height: 138px;border-radius: var(--theme-radius);object-fit: cover;}
.user-gridlist.waterfall .item img{height: auto;}
.user-gridlist .item h4{margin-top: 5px;font-weight: normal;font-size: 15px;line-height: 20px;overflow: hidden;-o-text-overflow: ellipsis;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;height: 20px;}
.user-gridlist .item time, .user-gridlist .item p a{color: #bbb;font-size: 12px;}
.user-gridlist .item .edit{font-size: 12px;margin-left: 10px;}
.user-loading{text-align:center;padding:200px 0;color:#999;font-size:16px}
.user-loading i{font-size:20px}
.content{overflow:hidden}
.charge .charge-header{margin: 0 auto 60px;text-align: center;padding:10px 0;}
.charge .charge-header .item{float: left;width: 32%;text-align: left;border:1px solid #ddd;border-radius: 5px;padding:20px;margin-left: 2%;position: relative;}
.charge .charge-header .item:first-child{margin-left: 0;}
.charge .charge-header .item b{font-size: 26px;}
.charge .charge-header .item b.color, .charge .charge-header .item a{color: var(--theme-color);}
.charge .charge-header .item p{font-size: 14px;margin-top: 12px;color:#777;}
.charge .charge-header .item .tips{position:absolute;top:0;right: 10px;font-size: 12px;color: #999;background: #f5f5f5;border-radius: 0 0 2px 2px;padding:2px 8px;}
.charge .charge-header h1{font-size: 46px;color:var(--theme-color);}
.charge .charge-header h1 span{display: inline-block;background: var(--theme-color);border-radius: 50%;font-size: 18px;width:30px;text-align: center;height: 30px;line-height: 30px;color:#fff;font-weight: normal;position: relative;top:-8px;margin-right: 8px;}
.charge .charge-header .desc{text-align: center;color: #999;position: relative;margin-top: -10px;margin-bottom: 20px;}
.charge .charge-header h3{color: #555;font-size: 20px;font-weight: normal;}
.charge .charge-header h3 .icon-copy, .charge .charge-header h3 .icon-cover{font-size: 20px}
.charge .charge-header #aff-qrcode{display: none;}
.charge .tips{clear:both;overflow:hidden;font-size:14px;color:#999;padding-top:50px;margin-left:15px;margin-bottom:50px;padding-left:18px;list-style:circle}
.charge .tips li{list-style:circle}
.charge h4{font-size:15px;color:#bbb;padding-top:10px;clear:both;margin-left:15px}
.charge h4.error{color:#FF766C}
.charge h4.success{color:#44B60C}
#charge-form, #charge-form2{max-width:560px;margin:0 auto;position: relative;}
#charge-form2{margin-top: 40px;}
#charge-form h3, #charge-form2 h3, .form-title{font-size: 18px;margin-bottom: 15px;font-weight: normal;text-align: center;color:#888;}
#charge-form .item .prices{margin-bottom: 15px;border-radius: 3px;border:1px solid #d8d8d8;}
#charge-form .item .prices input[type='radio']{-webkit-appearance:none;display: none;}
#charge-form .item .prices label{display:inline-block;padding:12px 10px;color:#666;cursor:pointer;width: 16.6667%;text-align: center;position: relative;border-right:1px solid #d8d8d8;}
#charge-form .item .prices label:last-child{border:none;}
#charge-form .item .prices label.active{background: #eee}
#charge-form .form-control, #charge-form2 .form-control{display:inline-block;max-width:380px;border-radius:5px;}
#charge-form .input-recharge, #charge-form2 .input-recharge{max-width:100%;width: 100%;padding: 14px 14px;border-radius: 5px;height: 51px;font-size: 16px;margin-bottom: 15px;}
#charge-form .btn-recharge, #charge-form2 .btn-card{width: 100%;padding: 14px 12px;border-radius:5px;font-size: 18px;}
#charge-form .rmb{position: absolute;right: 1px;top:1px;height: 49px;width: 60px;line-height:49px;font-size: 18px;text-align: center;background: #f5f5f5;color:#737373;border-radius: 0 5px 5px 0;}
#charge-form2 .btn-card{background-color: #555 !important}
#charge-form .item p, #charge-form2 .item p{color: #777;font-size: 14px;margin-top: 5px;margin-bottom: 30px;}
#charge-form .payment-radios{text-align: center;margin-top: 10px;}
#charge-form .payment-radios .paytype{display: none;}
#charge-form .payment-radios .icon{top:3.5px;font-size:28px;}
#charge-form .payment-radios label{margin: 0 5px;cursor: pointer;display: inline-block;line-height: 1;width:44px;height: 44px;border:2px solid #eaeaea;border-radius:50%;text-align: center;padding:2px;}
#charge-form .payment-radios .payment-alipay-label .icon{color:#00a3ee;}
#charge-form .payment-radios .payment-wxpay-label .icon{color:#00c250;}
#charge-form .payment-radios .payment-qqpay-label .icon{color:#0BB2FF;}
#charge-form .payment-radios .payment-paypal-label .icon{color:#0070ba;}
#charge-form .payment-radios .payment-stripe-label .icon{color:#635bff;}
#charge-form .payment-radios .payment-ut-label .icon{color:#0e932e;}
#charge-form .payment-radios .paytype:checked + label{border:2px solid var(--theme-color);}
#charge-form .payment-radios .paytype:checked + .payment-alipay-label{border:2px solid #00a3ee;}
#charge-form .payment-radios .paytype:checked + .payment-wxpay-label{border:2px solid #00c250;}
#charge-form .payment-radios .paytype:checked + .payment-qqpay-label{border:2px solid #0BB2FF;}
#charge-form .payment-radios .paytype:checked + .payment-paypal-label{border:2px solid #0070ba;}
#charge-form .payment-radios .paytype:checked + .payment-stripe-label{border:2px solid #635bff;}
#charge-form .payment-radios .paytype:checked + .payment-ut-label{border:2px solid #0e932e;}
#charge-form .payment-radios label:last-child{margin-right: 0}
.charge-gift{font-size:14px;color:#777;max-width: 560px;margin:20px auto;background: #f5f5f5;padding:10px 15px;border-radius: 0 5px 0 5px;}
.charge-gift:empty{display: none;}
.charge-gift .item span{display: inline-block;min-width: 40px;text-align: center;font-size: 18px;}
.charge-tips{font-size:14px;color:#777;max-width: 560px;margin:20px auto;}
.charge-tips .btn{padding: 8px 16px;font-size: 13px;line-height: 1;display: inline-block;color: #fff}
.vip-tips{text-align: center;}
.vip-desc-table th, .vip-desc-table td {padding: 2px 5px;}
.user-meta{list-style:none;line-height:32px;color:#999}
.user-meta li{padding-left:120px;margin-bottom:15px}
.user-meta label{float:left;margin-left:-120px;width:110px;text-align:right;line-height:34px;color:#666}
.user-meta .form-control{border-radius:0;max-width:380px;padding:0 10px;border-radius:5px;}
.user-meta .beautyupload{background:none repeat scroll 0 0 #F3F3F3;display:inline-block;position:relative;cursor:pointer}
.user-meta .beautyupload .form-control{width:100px}
.user-meta .uploadinput{display:block;position:absolute;top:0;left:0;width:140px;height:39px;cursor:pointer;opacity:0;}
.user-tips{position:fixed;top:-30px;left:45%;height:30px;line-height:30px;padding:0 15px;color:#fff;background-color:#FF5E52;opacity:0.85;filter:alpha(opacity=85);color:#fff;border-radius:0 0 3px 3px;font-size:12px;z-index:999999}
.user-main .pagination{display:block;margin-top: 20px;}
.user-force-bind{position: relative;border: 2px dashed #f58b36;border-radius: 5px;padding-top: 17px;background: #fff3e9;}
.user-force-bind:after{content:"";width: 77px;height: 90px;position: absolute;background: url(../img/choose.png) no-repeat left top;background-size: auto 77px;right: 0;top: -60px;z-index: 4;transform: rotate(180deg);}
.table{font-size:13px;border-spacing:0;border-collapse:collapse}
.table thead{font-size: 14px;}
.table td{color:#999}
.form-tips{font-size: 13px;margin-left: 10px}
.user-orders dfn{font-style:normal;color:#FF5E52;font-weight:bold;min-width:40px;display:inline-block}
.user-orders h5{margin:0 0 2px}
.user-orders em{font-style:normal;color:#bbb}
.user-orders h5 a{color:#999}
.user-orders h5 a:hover{color:#666;text-decoration:underline}
.coupon-code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}
.user-coupon-past td{color:#bbb;font-style:italic;text-decoration:line-through}
.user-coupon-used td{color:#bbb;font-style:italic}
.user-order-coupon{display:none}
.user-order-coupon form{margin-bottom:30px}
.user-order-coupon .form-control{width:140px;display:inline-block}
.user-order-coupon .btn{position:relative;top:-1px}
.user-alerts{color:#999;margin:50px 0 20px 50px}
.user-alerts ul{list-style:decimal;margin:5px 0 0 18px;font-size:12px;line-height:22px}
.user-alerts ul li{list-style:decimal}
.user-ordernone{text-align:center;margin-top:100px}
.user-ordernone h6{color:#999;margin:20px 0;font-size: 20px;font-weight: normal;}
.vip-items{text-align:center;margin: 0 -2% 60px;}
.vip-items .item{position:relative;display: inline-block;width:22%;margin:0 1% 20px;top:0;border-radius: 5px;box-shadow: 0px 10px 20px rgba(97, 105, 140, 0.1);transition: all .3s cubic-bezier(.4,0,.2,1);-webkit-transition: all .3s cubic-bezier(.4,0,.2,1);-moz-transition: all .3s cubic-bezier(.4,0,.2,1);-ms-transition: all .3s cubic-bezier(.4,0,.2,1);-o-transition: all .3s cubic-bezier(.4,0,.2,1);}
.vip-items .item:hover{top:-10px;}
.vip-items .item .title{background: var(--theme-color);padding:12px 0;font-size: 20px;color:#fff;margin-bottom: 20px;border-radius: 5px 5px 0 0}
.vip-items .item-1 .title{background: #0ec0e6;}
.vip-items .item-2 .title{background: #514e9f;}
.vip-items .item-3 .title{background: #6f0ee6;}
.vip-items .item-4 .title{background: #d2c55d;}
.vip-items .item .price{font-size: 30px;font-weight: 600;margin-bottom: 0;}
.vip-items .item .price del{color: #999;font-size: 18px;font-weight: normal;}
.vip-items .item .price span{font-size:12px;}
.vip-items .item .time{color: #999;margin-bottom: 10px;font-size: 14px;}
.vip-items .item .buca{position: absolute;top: 0;right: 10px;font-size: 12px;background: #f5f5f5;border-radius: 0 0 3px 3px;padding: 0px 4px 1px;display: none;}
.vip-items .item ul{margin: 0 10px 20px;font-size: 13px;color: #666;border-top:solid 1px #f7f7f7;padding-top: 10px;}
.vip-items .item ul li i{width:8px;height: 8px;border:2px solid var(--theme-color);border-radius: 50%;display: inline-block;margin-right: 5px;}
.vip-items .item-1 ul li i{border-color: #0ec0e6}
.vip-items .item-2 ul li i{border-color: #514e9f}
.vip-items .item-3 ul li i{border-color: #6f0ee6}
.vip-items .item-4 ul li i{border-color: #d2c55d}
.vip-items .item .btn{border-radius: 50px;background:var(--theme-color) !important;display: inline-block;margin-bottom: 30px;color:#fff;padding: 8px 16px;font-size: 13px;line-height: 1;}
.vip-items .item .btn:hover{opacity: .8;}
.vip-items .item-1 .btn{background:#0ec0e6 !important;}
.vip-items .item-2 .btn{background:#514e9f !important;}
.vip-items .item-3 .btn{background:#6f0ee6 !important;}
.vip-items .item-4 .btn{background:#d2c55d !important;}

.vip-content {text-align: center;margin: 0 -10px 40px;}
.vip-item{padding: 0 15px 30px; margin: 0 10px 30px;width: calc(25% - 20px);border-radius: 8px;}
.vip-item h6{font-size: 16px;padding:14px 0;margin: 0 -15px;border-radius: 8px 8px 0 0}
.vip-item .price{font-size: 24px;margin:10px 0 5px;}
.vip-item p.border-decor.no{height: 23px;}
.vip-item p.border-decor span{font-size: 12px;padding: 5px 10px 5px;}
.vip-item p.border-decor{margin-bottom: 20px}
.vip-item p.vip-cat-desc{font-size: 12px;margin-bottom: 15px}
.vip-item ul li{font-size: 12px;margin-bottom: 5px;padding-bottom: 5px}
.vip-item ul li:not(:first-child) {padding-top: 5px;}
.vip-item ul li i{top:0;}
.vip-item .btn{padding:8px 15px;font-size: 14px;}

.vip-contact{margin-top: 30px}

.btn.disabled{background-color:#ff3800;border-color:#ff3800}

.erphp-weixin-scan-bind{display: none;}

.ticket-new{padding-right: 30px;}
.ticket-new h3{margin: 20px 0 40px 20px;}
.ticket-new li .radio-inline{margin-right: 10px;}
.ticket-new li .radio-inline input[type="radio"]{-webkit-appearance:radio;display: inline-block;}
.ticket-new li{padding-left: 120px;margin-bottom: 20px;}
.ticket-new .tit{float: left;margin-left: -120px;text-align: right;width: 115px;}

.pics{overflow: hidden;height: 130px;}
.pic{width: 100px;float: left;height: 100px;text-align: center;border: 1px solid #bbb;position: relative;border-radius: 5px;padding: 2px;margin-right: 10px;}
.pic img{max-width: 100%;max-height: 100px;border-radius: 5px;}
.pic-no{border: 1px dashed #bbb;line-height: 100px;font-size: 30px;color: #bbb;cursor:pointer}
.pic-delete{position: absolute;top: 100%;left:40%;margin-top: 5px;color: #999;}
.pic-delete:hover{color: #333;}


.ticket-item-info{border-bottom: 1px solid #EAEAEA;padding-bottom: 24px;margin-bottom: 30px;color: #999;}

.ticket-item-content{overflow: hidden;}
.ticket-item-content dl{border: 1px solid #e6e6e6;border-bottom-color: #ddd;border-right-color: #ddd;padding: 10px 15px 12px;border-radius: 5px;max-width: 75%;margin: 0 70px 36px 70px;font-size: 14px;color: #666;float: right;position: relative;clear: both;box-shadow: 2px 2px 2px rgba(0,0,0,0.08);min-width: 120px;}
.ticket-item-content dl.ticket-item-reply{float: left;}
.ticket-item-content dl time{font-size: 12px;color: #ccc;position: absolute;top: 100%;margin-top: 5px;right: 0;}
.ticket-item-content dl.ticket-item-reply time{left: 0;}

.ticket-item-content dl::before{content: '';border-top: 2px solid transparent;border-bottom: 8px solid transparent;border-left: 12px solid #e2e2e2;position: absolute;right: -13px;top: 12px;}
.ticket-item-content dl::after{content: '';border-top: 2px solid transparent;border-bottom: 8px solid transparent;border-left: 12px solid #fff;position: absolute;right: -10px;top: 12px;}
.ticket-item-content dl.ticket-item-reply::before{border-right: 12px solid #e2e2e2;left: -13px;right: auto;border-left: none;}
.ticket-item-content dl.ticket-item-reply::after{border-right: 12px solid #fff;left: -10px;right: auto;border-left: none;}

.ticket-item-content .thumbs {overflow: hidden;padding-top: 10px;}
.ticket-item-content .thumbs img {float: left;margin-right: 10px;max-width: 100px;max-height: 100px;cursor:pointer;}

.ticket-item-content dt{position: absolute;top: 0;right: -70px;}
.ticket-item-content dl.ticket-item-reply dt{right: auto;left: -70px;}
.ticket-item-content dt img{border-radius: 50%;width: 50px;height: 50px; }
.ticket-item-content dt .avatar{border: 2px solid #eaeaea;}
.ticket-item-content dl.ticket-item-reply .avatar{border: 2px solid var(--theme-color);}
.ticket-item-content dd img{max-width:100px;max-height:100px;cursor:pointer;float: left;}

.ticket-reply {padding: 40px 0;overflow: hidden;}
.ticket-reply h4{font-size: 14px;font-weight: bold;}
.ticket-reply .pics{float: left;}
.ticket-reply .hdl{float: right;text-align: right;}
.ticket-reply .hdl p{margin-top: 10px;font-size: 12px;}

.ticket-reply .pic{width: 60px;height: 60px;}
.ticket-reply .pic-no{line-height: 56px;}
.ticket-reply .pic-no img{max-height: 60px;}

.ticket-item-status{color: #999;margin-top: 10px;}
.ticket-item-status .btn{padding: 3px 8px;font-size: 12px;color:#fff;word-break: keep-all;}


.ticket-thumb-lg{position: fixed;top: 0;left:0;right: 0;bottom: 0;z-index: 99999}
.ticket-thumb-mask{position: absolute;top: 0;left:0;right: 0;bottom: 0;background-color: rgba(0,0,0,0.7);}
.ticket-thumb-content{position: absolute;top: 50%;left:50%;max-width: 100%;max-height: 100%;background-color: #fff;padding: 20px;box-shadow: 0 0 10px rgba(0,0,0,0.7)}

.secondItem .item{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}
.secondItem .item:first-child{margin-top:35px}
.secondItem .item .platform{width:54px;height:54px;border-radius:5px;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:20px}
.secondItem .item .platform.weixin{background:#03A87C}
.secondItem .item .platform.weibo{background:#D0021B}
.secondItem .item .platform.qq{background:#12b7f5}
.secondItem .item .platform i{font-size: 24px;}
.secondItem .item .platform-info{margin-left:15px;line-height: 28px;}
.secondItem .item .platform-info .name{font-size:16px;color:#2A2A2A;font-weight:bold}
.secondItem .item .platform-info .status{font-size:14px;color:#757575;}
.secondItem .item .platform-info .status span{margin-right:5px}
.secondItem .item .platform-info .status a{color:#757575}


.user-wap-box1{background: #fff;border-radius: 5px;padding:12px 10px 12px 78px;margin-bottom: 12px;position: relative;height: 74px}
.user-wap-box1 .edit-avatar{position: absolute;left: 15px;top: 10px}
.user-wap-box1 .avatar{width: 50px;height: 50px;border-radius: 50%}
.user-wap-box1 .user-name{font-size: 17px;}
.user-wap-box1 .user-name .icon{font-size: 17px;top: 0}
.user-wap-box1 .user-desc{color:#666;font-size: 12px;line-height: 18px}
.user-wap-box1 .user-desc a{color:#666}
.user-wap-box1 .user-desc .icon{font-size: 12px;top: 0}
.user-wap-box1 .mobantu-check{position: absolute;right: 15px;top:25px;font-size: 14px}
.user-wap-box2{margin:0 -6px}
.user-wap-box2 .item{float: left;width: calc(25% - 12px);margin:0 6px 12px;padding:5px 10px 10px;position: relative;}
.user-wap-box2 .item{width: calc(50% - 12px);background: #fff;border-radius: 5px;height: 80px}
.user-wap-box2 .item .tit{font-size: 12px;color: #666;margin-bottom: 3px}
.user-wap-box2 .item .tit .icon{font-size: 15px}
.user-wap-box2 .item .tit a .icon{font-size: 12px;top: 0}
.user-wap-box2 .item b{margin-bottom: 2px;display: block;}
.user-wap-box2 .item b .icon{top: 0}
.user-wap-box2 .item .color{color: var(--theme-color);}
.user-wap-box2 .item .items .it{width: 50%;float: left;text-align: center;}
.user-wap-box2 .item .items .itn{font-weight: normal;font-size: 12px;color: #666}
.user-wap-box2 .item .tips{font-size: 12px;color: #999}
.user-wap-box2 .item .tips .icon{font-size: 15px}
.user-wap-box2 .item .tips2{position: absolute;top: 0;right: 10px;font-size: 12px;color: #999;background: #f5f5f5;border-radius: 0 0 2px 2px;padding: 2px 5px;}
.user-wap-box22{background: #fff;border-radius: 5px;margin:0 0 12px;padding:0 10px 10px}
.user-wap-box22 ul{list-style: none;margin:0 -6px}
.user-wap-box22 ul li{list-style: none;float: left;width: calc(50% - 12px);margin:0 6px;text-align: center;}
.user-wap-box22 ul li .icon{font-size: 30px;color:var(--theme-color);}
.user-wap-box22 ul li .icon-crown{color:#fbb715;}
.user-wap-box22 ul li span{display: block;font-size: 13px;}
.user-wap-box4{background: #fff;border-radius: 5px;margin:0 0 12px;padding:8px 10px 10px}
.user-wap-box4 .tit{margin-bottom: 3px}
.user-wap-box4 ul{list-style: none;margin:0 -6px}
.user-wap-box4 ul li{list-style: none;float: left;width: calc(25% - 12px);margin:0 6px;text-align: center;}
.user-wap-box4 ul li .icon{font-size: 28px;}
.user-wap-box4 ul li span{display: block;font-size: 12px;color: #666}
.user-wap-logout{text-align: center;font-size: 13px;margin-bottom: 20px;}
.user-wap-logout a{color:#999}

body.night .user-wap-box1, body.night .user-wap-box2 .item, body.night .user-wap-box22, body.night .user-wap-box4{background: #303030}
body.night .user-wap-box2 .item .tips{color:#666}
body.night .user-wap-box2 .item .tips2{color: #777;background: #414243}

body.night .warning{background: #232323;}
body.night .container-user{background: #181818;color:#777;}
body.night .userside{background: #151515;color:#777;}
body.night .usertitle{border-color: #414243;}
body.night .usertitle .avatar{border-color: #151515;}
body.night .usertitle .edit-avatar:after{color:#777;}
body.night .mobantu-check p{color:#777;}
body.night .usercheck.active{background: #232323;}
body.night .usermenu li a{color:#777;}
body.night .usermenu li.active a{background: #232323;color:#999;}
body.night #charge-form .input-recharge, body.night #charge-form2 .input-recharge{color:#fff;}
body.night #charge-form .input-recharge::-webkit-input-placeholder, body.night #charge-form2 .input-recharge::-webkit-input-placeholder{color:#777;}
body.night #charge-form2 .btn-card{background-color: #111 !important;color: #777;}
body.night #charge-form h3, body.night #charge-form2 h3{color:#777;}
body.night #charge-form .payment-radios label{border-color: #2f364e;} 
body.night #charge-form .item .prices, body.night #charge-form .item .prices label{border-color: #414243;}
body.night #charge-form .item .prices label{color: #777;}
body.night #charge-form .item .prices label.active{background: #303030}
body.night #charge-form .rmb{background: #303030;color: #999}
body.night .charge .charge-header .desc{color:#777;}
body.night .charge .charge-header h3{color:#777;}
body.night .charge .charge-header .item{border-color: #414243}
body.night .charge .charge-header .item .tips{background: #414243; color: #777;}
body.night .charge-gift{background: #212121;color: #999;}
body.night .vip-items .item{background: #303030;}
body.night .vip-items .item ul{border-color: #414243;color:#777;}
body.night .vip-items .item .time{color:#777;}
body.night .vip-item{background: #303030}
body.night .table-striped > tbody > tr:nth-child(odd) > td, body.night .table-striped > tbody > tr:nth-child(odd) > th{background: #151515;border-color:#414243;}
body.night .table > thead > tr > th, body.night .table > tbody > tr > th, body.night .table > tfoot > tr > th, body.night .table > thead > tr > td, body.night .table > tbody > tr > td, body.night .table > tfoot > tr > td{border-color:#414243;}
body.night .table td{color:#777;}
body.night .user-alerts{color:#999;}
body.night .user-meta{color:#999;}
body.night .user-meta label, body.night .user-ordernone h6{color:#999;}
body.night .secondItem .item .platform-info .name{color:#777;}
body.night .secondItem .item .platform-info .status a{color:#999;}
body.night .form-control{background: #303030;border-color:#303030;color:#777;}
body.night .user-commentlist li, body.night .user-postlist li{border-color: #414243;}
body.night .user-commentlist .note, body.night .user-postlist .note{color:#999;}
body.night .user-commentlist time{color:#777;}
body.night .user-postlist h2 a{color:#777;}
body.night .user-force-bind{background: transparent;}


@media (max-width:1024px){
	.container-user{padding-left:150px !important;padding-right:0 !important}
	.userside{width:150px;padding:20px 10px;margin-left: -150px;}
	.usermenu li a{font-size: 15px;padding:4px 15px;}
	.vip-items .item{width:30%;}
	.vip-item{width: calc(30% - 20px)}
	.user-gridlist .item img{height: 120px;}
}

@media (max-width:860px){
	.user-postlist li{padding:10px 0}
	.user-postlist .thumb{width:118px;height:80px}
	.user-postlist .note{height:auto}
	.vip-items .item{width:40%;}
	.vip-content{margin:0 -5px 30px}
	.vip-item{width: calc(50% - 10px);margin: 0 5px 20px;padding:0 10px 20px}
	.vip-item h6{padding:8px 0;    margin: 0 -10px;}
}

@media (max-width:768px){
	.main{padding-top: 15px;}
	.user-main{min-height: 580px}
	.container-user{margin-bottom: 0px;}
	#charge-form .item .prices label{width: 33.3333%}
	#charge-form .input-recharge, #charge-form2 .input-recharge{padding:9px 14px;height: 40px;}
	#charge-form .rmb{height: 38px;width: 50px;line-height:38px;font-size: 17px;}
	#charge-form .btn-recharge, #charge-form2 .btn-card{padding:10px 12px;font-size: 16px;}
	.charge .charge-header .item{width: 49%}
	.charge .charge-header .item-pc{display: none;}
	.user-gridlist .item{width: calc(33.333% - 15px);}
	.user-gridlist .item time span{display: none;}
}

@media (max-width:640px){
	section.container{margin:0}
	.user-main{padding: 0 15px 15px}
	.container-user-warning{padding:0 !important;margin-top: -15px}
	.container-user-warning .warning{border-radius: 0;margin-bottom: 15px;padding:15px;font-size: 13px}
	.container-user{border:none;border-radius:0;margin-top:-15px;box-shadow: none;}
	.container-user{padding-left:90px !important;padding-right:0 !important;max-width:100%;padding-right:0;}
	.container-user .content{padding:10px 0 0}
	.userside{width:90px;padding:20px 0;margin-left: -90px;}
	.usermenu li{margin-bottom:1px}
	.usermenu li a{font-size:14px;padding:4px 0 4px 15px;border-radius: 0;}
	.usermenu li a i{display:none}
	.usertitle{margin-bottom:0;padding-bottom:10px}
	.usertitle .edit-avatar{margin-bottom: 5px}
	.usertitle .avatar{width:36px;height:36px;margin-bottom:5px}
	.usertitle .is-vip{top:0;}
	.usertitle h2{font-size:12px;color:#999;margin-bottom: 5px}
	.mobantu-check p{display: none;}
	.usercheck{padding:2px 10px;width: auto;}
	.user-postnav{margin-top: 15px;}
	.user-gridlist{margin: 15px 0 0;}
	.user-gridlist .item{width: 100%;float: none;margin: 0 0 15px;padding: 0 0 0 120px;}
	.user-gridlist .item img{float: left;margin-left: -120px;width: 110px;height: 75px;}
	.user-gridlist .item h4{margin-top: 0;}
	.user-gridlist.waterfall{margin: 15px -7.5px 0;}
	.user-gridlist.waterfall .item{width: calc(50% - 10px);float: left;margin: 0 5px 15px;padding: 0;}
	.user-gridlist.waterfall .item img{float: none;margin-left: 0;width: 100%;height: auto;}
	.user-gridlist.waterfall .item h4{margin-top: 5px;}

	.user-postlist{margin-top: 15px}
	.user-postlist h2{font-size:16px;line-height:20px}
	.user-commentlist{margin-top: 15px}
	.user-commentlist li{padding:10px 0}
	.user-commentlist time{float:none;margin-left:0}
	.user-meta{margin:0;}
	.user-meta li{padding-left:0;margin-bottom:10px}
	.user-meta label{float:none;width:100%;margin-left:0;text-align:left;line-height:20px}
	.user-meta .form-control{width:100%}
	.charge{margin:0}
	.charge .charge-header{margin:0 0 20px;}
	#charge-form, #charge-form2, .charge-tips{padding:0;}
	.charge-gift{margin:20px 0;}
	.vip-items .item{width:45%;}
	.vip-items .item .title{margin-bottom: 10px}
	.vip-items .item .price{font-size: 22px}
	.vip-items .item .price del{font-size: 14px}
	.vip-items .item .btn{margin-bottom: 20px}
	.ticket-new{padding-right:0}
	.ticket-new .picss{display:none}
	.ticket-new h3{margin: 20px 0 0 10px;}
	.ticket-new li{padding-left:0}
	.ticket-new .tit{float:none;margin-left:0;text-align:right;width:115px}
	.ticket-new #email{width:100% !important}
	.ticket-new .pic{width: 60px;height: 60px;}
	.ticket-new .pic-no{line-height: 60px;}
	.ticket-item{padding:10px;}
	.pc{display: none;}
	.user-tips{left: 0;right: 0;text-align: center;}
}

@media (max-width:480px){
	.user-postlist h2{font-size:14px;line-height:16px}
	.user-postlist .note{display:none}
	.user-postlist .thumb{width:auto;height:auto;max-width:100%;margin-bottom:10px;float:none;margin-left:0;display:block}
	.pagination{padding:20px 0 0}
	.charge .form-control{width:100%;height:auto;font-size:13px}
	.charge .btn{width:auto;height:auto;font-size:13px}
	.charge .charge-header .item{width: 100%}
	.charge .charge-header .item-tablet{display: none;}
	#charge-form .payment-radios label{margin-right: 5px}
}

@media (max-width:360px){
	.pagination ul > li{display:inline-block}
}


/* 颜色定义 */
:root {
    --background-body: #F7F4F9;
    --background-light: #FFFFFF;
    --background-dark: #141417;
    --background-option: #F1ECF5;
    --text-primary: #2D1B4A;
    --text-secondary: #5A4A7A;
    --text-dark-primary: #E8E4EC;
    --text-dark-secondary: #D8D0E0;
    --nav-text-primary: #3E1F66;
    --primary-color: #D81B60;
    --primary-hover: #B0154E;
    --accent-color: #8E24AA;
    --accent-lighter: #CE93D8;
    --accent-deep-purple: #4A148C;
    --accent-bg-hover: rgba(142, 36, 170, 0.05);
    --button-default-bg: url('button-default-bg.svg') no-repeat center / 100% 100%;
    --button-hover-bg: url('button-hover-bg.svg') no-repeat center / 100% 100%;
    --price-tag-orange-balanced: url('price-tag-orange-balanced.svg') no-repeat center / 100% 100%;
    --points-color: #FF8C00;
    --button-text: #FFFFFF;
    --border-color: rgba(142, 36, 170, 0.2);
    --border-color-strong: rgba(142, 36, 170, 0.4);
    --border-color-light: rgba(142, 36, 170, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --subtle-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
    --warning-color: #F5A33F;
    --gradient-neon: linear-gradient(to right, #D81B60, #8E24AA);
    --pagination-bg: var(--background-light);
    --pagination-text: var(--text-primary);
    --usermenu-hover-bg-balanced: url('usermenu-hover-bg-balanced.svg') no-repeat center / 100% 100%;
}

body.night {
    --background-body: #141417;
    --background-light: #17171D;
    --background-option: #17171D;
    --text-primary: #E8E4EC;
    --text-secondary: #D8D0E0;
    --border-color-strong: rgba(142, 36, 170, 0.3);
    --shadow: 0 4px 6px rgba(142, 36, 170, 0.1);
    --subtle-shadow: 0 2px 3px rgba(142, 36, 170, 0.05);
    --pagination-bg: #1E1E24;
    --pagination-text: var(--text-secondary);
}

/* 全局基础字体及语言字体分组控制 */
html[lang="en"] body,
html[lang="en"] h1, h2, h3, h4, h5, h6,
html[lang="en"] .vip-page-title,
html[lang="en"] .vip-card-title,
html[lang="en"] .vip-upgrade-title,
html[lang="en"] .vip-feature h3,
html[lang="en"] #trp_ald_modal_popup {
    font-family: 'Pretendard', 'Noto Sans', sans-serif;
}

html[lang="ko"] body,
html[lang="ko"] h1, h2, h3, h4, h5, h6,
html[lang="ko"] .vip-page-title,
html[lang="ko"] .vip-card-title,
html[lang="ko"] .vip-upgrade-title,
html[lang="ko"] .vip-feature h3,
html[lang="ko"] #trp_ald_modal_popup {
    font-family: 'Pretendard', 'Noto Serif KR', serif;
}

html[lang="zh"],
html[lang="zh-CN"] body,
html[lang="zh"],
html[lang="zh-CN"] h1, h2, h3, h4, h5, h6,
html[lang="zh"],
html[lang="zh-CN"] .vip-page-title,
html[lang="zh"],
html[lang="zh-CN"] .vip-card-title,
html[lang="zh"],
html[lang="zh-CN"] .vip-upgrade-title,
html[lang="zh"],
html[lang="zh-CN"] .vip-feature h3,
html[lang="zh"],
html[lang="zh-CN"] #trp_ald_modal_popup {
    font-family: 'Pretendard', 'Noto Serif SC', serif;
}

html[lang="zh-TW"] body,
html[lang="zh-TW"] h1, h2, h3, h4, h5, h6,
html[lang="zh-TW"] .vip-page-title,
html[lang="zh-TW"] .vip-card-title,
html[lang="zh-TW"] .vip-upgrade-title,
html[lang="zh-TW"] .vip-feature h3,
html[lang="zh-TW"] #trp_ald_modal_popup {
    font-family: 'Pretendard', 'Noto Serif TC', serif;
}

/* 默认字体回退 */
body {
    background: var(--background-body);
    font-family: 'Pretendard', 'Noto Sans SC', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, "Open Sans", sans-serif;
}

/* 图标字体 */
i[class*="icon"]:not([class*="iconfont"]) {
    font-family: 'icont';
}

i[class*="iconfont"] {
    font-family: 'iconfont';
}

i[class^="ri-"] {
  font-family: "remixicon", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 主导航 & 下划线动画（优化精简版） */
@media (min-width: 769px) {
  header.header {
    background: var(--background-body);
    box-shadow: var(--shadow);
  }

  .nav-main > li > a,
  .nav-main .sub-menu > li > a {
    font-size: 16px;
    font-weight: 600;
    color: var(--nav-text-primary);
    position: relative;
    text-decoration: none;
  }

  .nav-main > li > a {
    padding: 0 14px;
    line-height: 70px;
    display: inline-block;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  }

  .nav-main .sub-menu > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .nav-main > li > a::after,
  .nav-main .sub-menu > li > a::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center bottom;
    transition: transform 0.3s ease;
    border-radius: 1px;
  }

  .nav-main > li:hover > a,
  .nav-main > li.current-menu-item > a {
    color: var(--accent-color);
    transform: scale(1.05);
  }

  .nav-main > li:hover > a::after,
  .nav-main > li.current-menu-item > a::after {
    transform: scaleX(0.4); /* ← 精致下划线动画宽度 */
  }

  .nav-main .sub-menu > li:hover > a,
  .nav-main .sub-menu > li.current-menu-item > a {
    color: var(--accent-color);
    transform: scale(1.03);
  }

  .nav-main .sub-menu > li:hover > a::after,
  .nav-main .sub-menu > li.current-menu-item > a::after {
    transform: scaleX(0.4); /* ← 同样控制子菜单下划线宽度 */
  }

  .nav-main .sub-menu {
    background: var(--background-body);
  }

  body.night .nav-main > li > a,
  body.night .nav-main .sub-menu > li > a {
    color: var(--text-dark-primary);
  }
}

/* 导航统一：双态适配 — 白底重色压场 / 黑底亮色突出 */
header.header .nav-right .nav-login.no .signin-loader,
header.header .nav-right .nav-recharge,
header.header .nav-right .header-key-anon {
  position: relative;
  z-index: 1;
  border: none !important;
  border-radius: 8px;
  padding: 6px 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #FFFFFF !important;
  transition: all 0.2s ease;
}
/* 纯白背景：重色压场，略提一点亮度不显闷 */
header.header .nav-right .nav-login.no .signin-loader {
  background-color: #4A2560 !important;
  box-shadow: 0 3px 10px rgba(74, 37, 96, 0.3);
}
header.header .nav-right .nav-login.no .signin-loader:hover {
  background-color: #522860 !important;
}
header.header .nav-right .nav-recharge,
header.header .nav-right .header-key-anon {
  background-color: #522860 !important;
  box-shadow: 0 3px 10px rgba(82, 40, 96, 0.28);
}
header.header .nav-right .nav-recharge:hover,
header.header .nav-right .header-key-anon:hover {
  background-color: #603078 !important;
}
header.header .nav-right .nav-login.no .signin-loader:hover,
header.header .nav-right .nav-recharge:hover,
header.header .nav-right .header-key-anon:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(78, 40, 96, 0.38);
}
header.header .nav-right .nav-recharge i,
header.header .nav-right .nav-recharge span,
header.header .nav-right .header-key-anon i {
  position: relative;
  z-index: 2;
}
header.header .nav-right .nav-recharge i {
  margin-right: 4px;
  font-size: 1em;
  vertical-align: -0.15em;
}
header.header .nav-right .header-key-anon {
  padding: 6px 12px;
}
header.header .nav-right .header-key-anon i {
  margin-right: 0;
  font-size: 1.1em;
  vertical-align: -0.15em;
}
/* 纯黑/夜间背景：稍亮突出，增加充值欲望 */
body.night header.header .nav-right .nav-login.no .signin-loader,
body.night header.header .nav-right .nav-recharge,
body.night header.header .nav-right .header-key-anon {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
body.night header.header .nav-right .nav-login.no .signin-loader {
  background-color: #603078 !important;
}
body.night header.header .nav-right .nav-login.no .signin-loader:hover {
  background-color: #764090 !important;
}
body.night header.header .nav-right .nav-recharge,
body.night header.header .nav-right .header-key-anon {
  background-color: #603078 !important;
}
body.night header.header .nav-right .nav-recharge:hover,
body.night header.header .nav-right .header-key-anon:hover {
  background-color: #764090 !important;
}
body.night header.header .nav-right .nav-login.no .signin-loader:hover,
body.night header.header .nav-right .nav-recharge:hover,
body.night header.header .nav-right .header-key-anon:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(96, 48, 120, 0.35);
}

header.header .nav-right .nav-login.no .signin-loader span,
header.header .nav-right .nav-login.no .signin-loader i {
  position: relative;
  z-index: 2;
}

/* 导航栏右部 - 强制对齐并优化间距 */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px; 
    height: 70px;
    font-size: 15px;
    margin-top: 0;
    padding-right: 2px; 
}

/* 语言切换器 V3.1 - 最终生产版 */
.nav-right .nav-lang {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0 2px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--nav-text-primary);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.lang-button:hover {
    color: var(--accent-color);
    background-color: var(--accent-bg-hover);
}

.lang-button i {
    font-size: 22px;
    line-height: 1;
}

.lang-dropdown {
    position: absolute;
    top: 90%;
    right: 0;
    width: 100px;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--shadow);
    padding: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    z-index: 1000;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform-origin: top right;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 9px 0;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-dropdown a:hover {
    color: var(--accent-color);
    background: var(--accent-bg-hover);
}

/* --- Night Mode --- */
body.night .lang-button {
    color: var(--text-dark-primary);
}

body.night .lang-button:hover {
    color: var(--accent-lighter);
    background-color: rgba(255, 255, 255, 0.05);
}

body.night .lang-dropdown {
    border-color: var(--border-color-strong);
    background: var(--pagination-bg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

body.night .lang-dropdown a {
    color: var(--text-dark-primary);
}

body.night .lang-dropdown a:hover {
    color: var(--accent-lighter);
    background: rgba(255, 255, 255, 0.05);
}



/* 侧边栏组件 */
.sidebar .widget {
    background: var(--background-light);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.sidebar .widget:hover {
    box-shadow: var(--shadow);
}

.sidebar .widget h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    padding-left: 10px;
    padding-bottom: 6px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--accent-color);
}

body.night .sidebar .widget h3 {
    color: var(--text-dark-secondary);
}

/* 推荐/下载排行榜 */
.widget-toplist ul li {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.widget-toplist ul li h4 {
    margin: 0;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-secondary);
}

body.night .widget-toplist ul li h4 {
    color: var(--text-dark-secondary);
}

.widget-toplist ul li a {
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease, background 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.night .widget-toplist ul li a {
    color: var(--text-dark-secondary);
}

.widget-toplist ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.widget-toplist ul li a:hover {
    color: var(--nav-text-primary);
    background: var(--button-hover-bg) no-repeat center / 100% 100%;
}

.widget-toplist ul li a:hover::after {
    width: 100%;
}

/* 排行榜 Tab */
.posttoptab {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0 15px;
}

.posttoptab a {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 6px 0;
    border-radius: 6px;
    background: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, background 0.3s ease;
}

body.night .posttoptab a {
    color: var(--text-dark-secondary);
}

.posttoptab a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.posttoptab a:hover,
.posttoptab a.active {
    background: var(--button-default-bg) no-repeat center / 100% 100%;
    color: var(--nav-text-primary);
    transform: scale(1.05);
}

.posttoptab a:hover::after,
.posttoptab a.active::after {
    width: 100%;
}

/* 确保父元素不限制高度 */
.posts.grids .post .grid-meta .price {
    line-height: normal;
    height: auto;
}

/* 价格角标（低调） */
.posts.grids .post .grid-meta .price .fee {
    display: inline-flex;
    align-items: center;
    background: var(--price-tag-orange-balanced);
    color: var(--button-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    padding: 3px 5px;
    border-radius: 3px;
    box-shadow: var(--subtle-shadow);
    line-height: 1;
    min-height: 18px;
    white-space: nowrap;
    position: relative;
}

body.night .posts.grids .post .grid-meta .price .fee {
    background: var(--price-tag-orange-balanced);
    color: var(--button-text);
}

.posts.grids .post .grid-meta .price .fee span {
    color: var(--button-text);
}

body.night .posts.grids .post .grid-meta .price .fee span {
    color: var(--button-text);
}

.posts.grids .post .grid-meta .price .fee .iconfont.icon-P {
    font-size: 12px;
    margin-left: 3px;
    vertical-align: middle;
    position: relative;
    color: var(--button-text);
}

body.night .posts.grids .post .grid-meta .price .fee .iconfont.icon-P {
    color: var(--button-text);
}

/* VIP页面整体样式 */
body.page-template-vip {
    background: var(--background-body);
    color: var(--text-primary);
    min-height: 100vh;
    font-family: 'Pretendard', sans-serif;
}

/* 页面容器 */
.vip-page-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4em 2em;
    background: var(--background-light);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* 标题样式 */
.vip-page-title {
    text-align: center;
    font-size: 3.5em;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5em;
    animation: fadeIn 1s ease-in;
}

/* 简介文字 */
.vip-page-intro {
    text-align: center;
    font-size: 1.3em;
    line-height: 1.7;
    margin-bottom: 3em;
    color: var(--text-secondary);
}

body.night .vip-page-intro {
    color: var(--text-dark-secondary);
}

/* VIP卡片样式 */
.vip-card {
    position: relative;
    background: var(--background-dark);
    color: var(--text-dark-primary);
    border-radius: 16px;
    border: 2px solid var(--border-color-strong);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 3em;
    text-align: center;
    margin-bottom: 4em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideUp 0.8s ease-out;
}

.vip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* VIP卡片标题 */
.vip-card-title {
    font-size: 2.2em;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.2em;
    vertical-align: middle;
}

/* VIP卡片图标 */
.vip-card-header .icon {
    font-size: 2.5em;
    color: var(--warning-color);
    vertical-align: middle;
}

/* VIP卡片描述 */
.vip-card-description {
    font-size: 1.3em;
    margin: 0.5em 0 1em;
    color: var(--text-dark-secondary);
}

/* VIP卡片价格 */
.vip-card-price {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 1em;
    color: var(--text-dark-primary);
}

.vip-card-price small {
    font-size: 0.5em;
    color: var(--text-dark-secondary);
}

/* 推荐标签 */
.vip-card .vip-recommend {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color);
    color: var(--button-text);
    padding: 0.6em 1.2em;
    font-size: 1em;
    border-radius: 0 0 12px 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* 提示信息 */
.vip-tip {
    font-size: 1.1em;
    margin-bottom: 1.5em;
    color: var(--text-dark-secondary);
}

.vip-tip a {
    color: var(--accent-lighter);
    text-decoration: underline;
}

/* 开通按钮 */
.btn-vip-action {
    display: inline-block;
    background: var(--gradient-neon);
    color: var(--button-text);
    font-weight: bold;
    font-size: 1.2em;
    padding: 1em 2.5em;
    border-radius: 8px;
    border: 1px solid var(--border-color-strong);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-vip-action:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 升级方式区域 */
.vip-upgrade-method {
    background: var(--border-color);
    border-radius: 12px;
    padding: 2.5em;
    margin: 4em 0;
}

.vip-upgrade-method .vip-upgrade-title {
    font-size: 1.6em;
    font-family: 'Playfair Display', serif;
    color: var(--warning-color);
    margin-bottom: 0.5em;
}

.vip-upgrade-method p {
    line-height: 1.8;
    color: var(--text-secondary);
}

body.night .vip-upgrade-method p {
    color: var(--text-dark-secondary);
}

/* 特权描述区域 */
.vip-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5em;
    margin-top: 4em;
}



.vip-feature {
    border: 1px solid var(--border-color-strong);
    background: transparent;
    padding: 2em;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.vip-feature:hover {
    background: var(--accent-bg-hover);
}

.vip-feature h3 {
    font-size: 1.3em;
    font-family: 'Playfair Display', serif;
    color: var(--warning-color);
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
}

.vip-feature h3 .icon {
    font-size: 1.5em;
    margin-right: 0.5em;
    color: var(--warning-color);
}

.vip-feature p {
    line-height: 1.8;
    color: var(--text-primary);
}

body.night .vip-feature p {
    color: var(--text-dark-primary);
}

/* 装饰性分隔线 */
.decorative-divider {
    border: 0;
    height: 1px;
    background: var(--gradient-neon);
    margin: 3em 0;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(216, 27, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0); }
}


/* SVIP会员卡片样式（封版：皇冠贴顶 + 动画 + 装饰线下移） */
.vip-item.item-3 {
    position: relative;
    background: var(--background-dark);
    color: var(--text-dark-primary);
    border-radius: 16px;
    border: 2px solid var(--border-color-strong);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 4.8em 2em 2.8em;
    text-align: center;
    margin-bottom: 4em;
    max-width: 360px;
    min-width: 320px;
    max-height: 640px;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideUp 0.8s ease-out;
}

.vip-item.item-3:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* 皇冠贴顶 + 动画 */
.vip-item.item-3 .vip-card-header {
    position: absolute;
    top: 0.8em;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatCrown 2.8s ease-in-out infinite;
    z-index: 2;
}

.vip-item.item-3 .vip-card-header i {
    font-size: 3.2em;
    color: var(--warning-color);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* 装饰线下移以拉开呼吸感 */
.vip-item.item-3 .decorative-divider {
    border: 0;
    height: 1px;
    background: var(--gradient-neon);
    margin: 1.6em 0 1.6em;
}

/* 支付内容 */
.vip-item .cost-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin: 0.5em 0;
    color: var(--text-dark-primary);
    font-weight: 500;
}

.cost-info .icon {
    font-size: 1.2em;
    margin-right: 0.4em;
}
.cost-info .icon.icon-lock       { color: #BDBDBD; }
.cost-info .icon.icon-wallet     { color: #FFA000; }
.cost-info .icon.icon-source-vip { color: #FFC107; }
.cost-info .icon.icon-star.icon-style-vip::before { color: var(--warning-color); }

/* 实际支付强调 */
.vip-item .cost-info .net-cost {
    margin-top: 1.2em;
    font-size: 1.55em;
    font-weight: 900;
    color: var(--warning-color);
    letter-spacing: 0.04em;
    justify-content: center;
}

.vip-item .cost-info .net-cost .net-value {
    margin-left: 0.4em;
    color: var(--warning-color);
    font-weight: 900;
}

/* 权益列表 */
.vip-item .vip-benefits {
    list-style: none;
    padding: 0;
    margin: 2em 0 1em;
    text-align: left;
}
.vip-item .vip-benefits li {
    font-size: 1em;
    color: var(--text-dark-primary);
    margin-bottom: 0.6em;
    display: flex;
    align-items: center;
    padding-left: 1.2em;
    position: relative;
    transition: transform 0.3s ease;
}
.vip-item .vip-benefits li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 0.9em;
    line-height: 1;
    transform: translateY(1px);
}
.vip-item .vip-benefits li:hover {
    transform: translateX(6px);
}
.vip-en{font-size:.85em;opacity:.7;margin-left:4px;}
.vip-item .vip-benefits .vip-note{font-size:0.9em;color:var(--text-dark-secondary);margin-left:4px;white-space:nowrap;}
.vip-item .vip-disclaimer{font-size:0.88em;color:var(--text-dark-secondary);opacity:.9;margin-top:1.2em;line-height:1.6;text-align:left;}

/* 时长 + 补差价 */
.vip-item .border-decor {
    font-size: 1em;
    color: var(--text-dark-secondary);
    margin: 1.5em 0 1.2em;
}
.vip-item .border-decor span {
    background: var(--accent-bg-hover);
    padding: 0.3em 0.6em;
    border-radius: 6px;
    box-shadow: var(--subtle-shadow);
}
.vip-item .buca {
    font-size: 0.9em;
    color: var(--gradient-neon);
    margin-left: 1em;
}

/* 升级按钮样式 */
.vip-item.item-3 a.btn.btn-vip-action {
    display: inline-block;
    background: var(--gradient-neon) !important;
    color: var(--button-text) !important;
    font-size: 1.05em;
    font-weight: bold;
    padding: 0.7em 2em;
    border-radius: 10px;
    border: 1px solid transparent;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.35);
    transition: all 0.3s ease;
    animation: pulse 3s infinite;
}
.vip-item.item-3 a.btn.btn-vip-action:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(216, 27, 96, 0.5);
}

/* 动画定义 */
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(216, 27, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0); }
}
@keyframes floatCrown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}


/* 下载须知强调色（白天主色、夜间正文主色） */
:root {
    --highlight-emphasis: var(--primary-color);
}

body.night {
    --highlight-emphasis: var(--text-dark-primary);
}

.highlight-em {
    color: var(--highlight-emphasis);
    font-weight: 600;
}


/* 夜间模式按钮 - 桌面端 */
.nav-right .theme_night {
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-right .theme_night i {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 24px;
    color: var(--nav-text-primary);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backface-visibility: hidden;
}

.nav-right .theme_night .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.nav-right .theme_night .ri-sun-fill {
    opacity: 0;
    transform: scale(0.7) rotate(-90deg);
}

.nav-right .theme_night.active .icon-moon {
    opacity: 0;
    transform: scale(0.7) rotate(90deg);
}

.nav-right .theme_night.active .ri-sun-fill {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

body.night .nav-right .theme_night i {
    color: var(--text-dark-primary);
}



body.night .nav-lang .lang-button,
body.night .nav-lang .lang-dropdown,
body.night .nav-lang .lang-dropdown a {
    color: var(--text-dark-primary);
    border-color: var(--border-color-strong);
    background: var(--background-dark);
}

body.night .nav-lang .lang-dropdown {
    box-shadow: none;
}



/* 充值图标样式（仅侧边栏） */
.nav-right.nav-login.yes .avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-right .sub-menu .item i,
.nav-right .sub-menu .item .iconfont.icon-p {
    display: inline-block;
    font-size: 22px;
    line-height: 30px;
    vertical-align: middle;
    margin-right: 0;
    position: relative;
    top: 0;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

body.night .nav-right .sub-menu .item i,
body.night .nav-right .sub-menu .item .iconfont.icon-p {
    color: var(--text-dark-primary);
}

.nav-right .sub-menu .item a:hover i,
.nav-right .sub-menu .item a:hover .iconfont.icon-p {
    color: var(--primary-hover);
}

.nav-right .sub-menu .item.active .iconfont.icon-p {
    color: var(--primary-color);
}

.nav-right .sub-menu .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 30px;
}

.nav-right .sub-menu .item a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === Header 右侧与主导航间距优化（桌面端，保留登录/注册尺寸与文字） === */
@media (min-width: 769px) {
  .nav-right { flex-wrap: nowrap; white-space: nowrap; min-width: 0; gap: 2px; }
  /* 缩小主导航与右侧区域之间的视觉空隙（不改主导航项与按钮尺寸） */
  .nav-main { margin-right: 6px; }
  .nav-right { margin-left: 0; }
}

/* === 微缩：搜索与语言按钮尺寸、登录/注册间距（桌面端） =============== */
@media (min-width: 769px) {
  /* 确保右侧每个 li 无额外占位 */
  header.header .nav-right > li { margin: 0; padding: 0; flex: 0 0 auto; }

  /* 搜索按钮：略缩尺寸，仅包裹图标 */
  header.header .nav-right .nav-search .search-loader {
    width: 30px; height: 30px; padding: 0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  header.header .nav-right .nav-search .search-loader .icon { font-size: 18px; }

  /* 语言按钮轻缩 */
  header.header .nav-right .lang-button { width: 34px; height: 34px; }
  header.header .nav-right .lang-button i { font-size: 18px; }

  /* 夜间按钮：同时限定 anchor 尺寸 */
  header.header .nav-right .nav-night a.theme_night { width: 28px; height: 28px; padding: 0; display: flex; align-items: center; justify-content: center; }
  header.header .nav-right .nav-night a.theme_night i { font-size: 18px; }
  /* 登录后（头像）专用：与前面三个图标拉开间距，但不影响未登录布局 */
  body.logged-in header.header .nav-right { gap: 6px; }
  body.logged-in header.header .nav-right > li.nav-login.yes { margin-left: 6px; }

  /* 夜间图标略缩（不改按钮尺寸） */
  .nav-right .theme_night i { font-size: 20px; }

  /* 登录与充值之间：不额外增加外边距，避免整体变宽 */
  .nav-right .nav-login .signin-loader,
  .nav-right .nav-login .nav-recharge,
  .nav-right .nav-login .header-key-anon { margin-left: 0 !important; margin-right: 0 !important; }

  /* 分隔线轻缩，保留视觉分隔 */
  /* 移除分割符 */
  header.header .nav-right .nav-login .nav-line { display: none; }

  /* 登录区视觉平衡：增加按钮间距，同时略减按钮内边距以不增总宽 */
  header.header .nav-right .nav-login { display: inline-flex; align-items: center; gap: 8px; }
  header.header .nav-right .signin-loader,
  header.header .nav-right .nav-recharge,
  header.header .nav-right .header-key-anon { padding: 6px 14px; }
  header.header .nav-right .header-key-anon { padding: 6px 12px; }
  html[lang="ko"] header.header .nav-right .nav-login { gap: 6px; }
  html[lang="ko"] header.header .nav-right .signin-loader,
  html[lang="ko"] header.header .nav-right .nav-recharge,
  html[lang="ko"] header.header .nav-right .header-key-anon { padding: 6px 12px; font-size: 14px; }
}

/* 通用卡片样式 */
.card-container {
    background: var(--background-light) !important;
    position: relative;
    border-radius: 12px !important;
    overflow: hidden;
}

/* 个人中心页面 */
body .container-user {
    max-width: 1200px;
    padding-left: 220px !important;
    padding-right: 0;
}

/* 内容区域 */
.user-content {
    margin-right: 0;
    margin-bottom: 0;
    padding: 20px;
    width: 100%;
    background: var(--background-light);
}

.user-main {
    background: none;
}

body .userside {
    background: var(--background-light) !important;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: absolute;
    margin-left: -200px;
    width: 220px;
    padding: 20px 10px;
}

.usertitle h2 {
    color: var(--text-primary);
    font-weight: 600;
}

.usertitle .mobantu-check p {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 12px;
}

body.night .usertitle .mobantu-check p {
    color: var(--text-dark-secondary);
}

.usertitle .mobantu-check .usercheck {
    background: var(--button-default-bg);
    color: var(--button-text);
    font-weight: 600;
}

.usertitle .mobantu-check .usercheck:hover {
    background: var(--button-hover-bg);
}

.usermenu li a {
    color: var(--text-primary);
    padding: 5px 20px;
    font-weight: 500;
    display: block;
    border-radius: 6px;
    margin-bottom: 8px;
}

.usermenu li a::after {
    display: none;
}

.usermenu li .icon,
.usermenu li a i.icon-p {
    color: var(--accent-lighter);
    font-size: 16px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.usermenu li .icon {
    margin-right: 10px;
}

.usermenu li a i.icon-p {
    margin-right: 14px;
}

.usermenu li a:hover {
    color: var(--accent-color);
    background: var(--usermenu-hover-bg-balanced);
    transform: translateY(-1px);
    box-shadow: var(--subtle-shadow);
}

body.night .usermenu li a:hover {
    background: var(--usermenu-hover-bg-balanced);
    box-shadow: var(--subtle-shadow);
}

.usermenu li a:hover .icon {
    color: var(--accent-color);
}

.usermenu li.active a,
.usermenu li.active i {
    color: var(--accent-color);
}

/* 充值页面整体布局 */
.charge {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow);
    color: var(--text-primary);
}

body.night .charge {
    box-shadow: var(--shadow);
}

/* 充值顶部余额信息 */
.charge-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px;
}

.charge-header .item {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
}

.charge-header .item b,
.charge-header .item b.svip {
    color: var(--accent-lighter);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
}

body.night .charge-header .item b {
    color: var(--accent-lighter);
}

.charge-header .item p {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 5px;
    letter-spacing: 0.03em;
    font-weight: 400;
}

.charge-header .item a.balance-logs {
    color: var(--accent-lighter);
    text-decoration: none;
    font-weight: 500;
}

.charge-header .item a.balance-logs:hover {
    color: var(--primary-hover);
}

.charge-header .item p.expiration-date {
    color: var(--text-primary);
}

/* === START: Recharge Section Title (Optimized) === */
.epd-section-title.payment-method-title {
  font-weight: 600;
  font-size: 16px;
  margin: 32px 0 20px;
  display: flex;
  align-items: center;
  color: var(--text-primary);
  line-height: 1.4;
  flex-wrap: wrap;
}

.epd-section-title.payment-method-title i {
  font-size: 18px;
  margin-right: 6px;
  color: #4c9aff;
  line-height: 1;
  position: relative;
  top: 1px;
}

.epd-section-title.payment-method-title .payment-tip {
  font-weight: 400;
  font-size: 13px;
  margin-left: 8px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

body.night .epd-section-title.payment-method-title {
  color: var(--text-dark-primary);
}

body.night .epd-section-title.payment-method-title i {
  color: #7ab8ff;
}

body.night .epd-section-title.payment-method-title .payment-tip {
  color: var(--text-dark-secondary);
}
/* === END: Recharge Section Title (Optimized) === */



/* 金额选择区域 */
.recharge-options .prices {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.recharge-options .prices input[type="radio"] {
    display: none;
}

.recharge-options .prices label {
    position: relative;
    flex: 1 1 calc(33.333% - 16px);
    padding: 12px;
    background: var(--background-light);
    border: 1px solid var(--warning-color);
    box-shadow: var(--card-shadow);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.recharge-options .prices label.featured {
    flex: 1 1 calc(35% - 16px);
}

body.night .recharge-options .prices label {
    background: var(--background-light);
    border: 1px solid var(--border-color-light);
}

.recharge-options .prices label:hover {
    transform: translateY(-1px);
    background: var(--accent-bg-hover);
}

.recharge-options .prices label .points {
    display: inline-flex;
    align-items: center;
    background: none;
    color: var(--points-color);
    font-size: 20px;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 2px 5px;
    border-radius: 3px;
    line-height: 1.1;
    height: auto;
    white-space: nowrap;
    position: relative;
}

body.night .recharge-options .prices label .points {
    background: none;
    color: var(--points-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.recharge-options .prices label .amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

body.night .recharge-options .prices label .amount {
    color: var(--text-dark-primary);
}

.recharge-options .prices label .icon-check {
    display: none;
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    background: var(--points-color);
    border-radius: 50%;
    color: var(--button-text);
    font-size: 16px;
    text-align: center;
    line-height: 20px;
}

.recharge-options .prices input[type="radio"]:checked + label {
    border: 2px solid var(--points-color);
    background: var(--accent-bg-hover);
    transform: scale(1.03);
}

.recharge-options .prices input[type="radio"]:checked + label .icon-check {
    display: block;
    transform: scale(1.1) rotate(5deg);
}

/* 支付方式区域 */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    justify-items: center;
    margin-bottom: 30px;
}

.payment-options input[type="radio"] {
    display: none;
}

.payment-options label {
    position: relative;
    width: 100%;
    max-width: 160px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: none;
    min-height: 40px;
    color: #444;
}

body.night .payment-options label {
    background: var(--background-light);
    border-color: var(--border-color-strong);
    color: #9e9e9e;
}

.payment-options label i {
    font-size: 20px;
    margin-right: 6px;
    color: #555;
}

body.night .payment-options label i {
    color: #9e9e9e;
}

.payment-options label .label-text {
    flex: 1;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
    font-size: 12px;
    color: inherit;
    font-weight: 500;
}

.payment-options label:hover {
    border-color: #bdbdbd;
    color: #616161;
}

.payment-options label:hover i {
    color: #757575;
}

.payment-options input[type="radio"]:checked + label {
    background: var(--accent-bg-hover, rgba(124, 77, 255, 0.12));
    border-color: var(--accent-color, #7c4dff);
    box-shadow: 0 0 0 2px var(--accent-color, #7c4dff);
    color: var(--text-primary, #333);
    transform: scale(1.03);
}

body.night .payment-options input[type="radio"]:checked + label {
    box-shadow: 0 0 0 2px var(--warning-color);
    border-color: var(--warning-color);
}

.payment-options input[type="radio"]:checked + label i {
    color: var(--accent-color, #7c4dff);
    transform: scale(1.1) rotate(5deg);
}

body.night .payment-options input[type="radio"]:checked + label i {
    color: var(--warning-color);
}

/* 选项手型指针 */
.recharge-options .prices label,
.payment-options label {
    cursor: pointer;
}

/* 充值按钮样式 - 闪白问题修复 安全版 */
.btn-recharge {
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--button-default-bg);
    color: var(--button-text);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-recharge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--button-hover-bg);
    opacity: 0;
    z-index: -1;  
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

.btn-recharge:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-recharge:hover::after {
    opacity: 1;
}


/* 安全支付提示 */
.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

/* 充值优惠样式（插件输出区域） */

.charge-gift {
  border: 2px solid var(--accent-lighter) !important;
  background: var(--accent-bg-hover) !important;
  padding: 16px;
  border-radius: 8px;
  margin: 20px auto;
  width: calc(100% - 40px);
  box-shadow: var(--shadow);
}

/* 修复标题字体颜色和间距 */
.charge-gift .gift-header {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.charge-gift .gift-header i {
  margin-right: 8px;
  font-size: 16px;
}

/* 修复列表项目样式 */
.charge-gift .item {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 6px 0;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* 强调数值部分 */
.charge-gift .item .currency,
.charge-gift .item span {
  color: var(--primary-color) !important;
  font-weight: 600;
}


/* 充值须知模块样式优化：结构清晰 + 图标分色 + 文本高亮 */
.charge-tips {
  padding: 24px;
  background: var(--background-light);
  border: 1px solid var(--border-color-light);
  border-radius: 10px;
  margin: 32px auto;
  width: calc(100% - 40px);
  box-shadow: var(--shadow);
}

.charge-tips .tips-header {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-lighter);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.charge-tips .tips-header i {
  font-size: 18px;
  margin-right: 8px;
}

.charge-tips .tips-content {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.charge-tips .tips-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.charge-tips .tips-content li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.charge-tips .tips-icon {
  flex-shrink: 0;
  font-size: 1.3em;
  line-height: 1.6;
  margin-top: 0.15em;
}

.charge-tips .tips-text {
  flex: 1;
  color: var(--text-secondary);
}

.charge-tips .tips-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* 图标着色 */
/* charge-tips 图标着色：匹配 remixicon 图标名 */
.charge-tips .ri-coupon-3-line {
  color: var(--primary-color);
}
.charge-tips .ri-shield-check-line {
  color: #42A5F5;
}
.charge-tips .ri-shield-user-line {
  color: #9E9E9E;
}
.charge-tips .ri-infinity-line {
  color: #FBC02D;
}
.charge-tips .ri-headphone-line {
  color: #AB47BC;
}


.pagination {
    clear: both;
    padding: 2rem 0;
    text-align: center;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pagination::-webkit-scrollbar {
    display: none;
}
.pagination ul {
    display: inline-flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center !important;
    gap: 0.6rem;
    padding: 0 1rem;
    margin: 0;
    list-style: none;
}
.pagination li {
    display: flex;
    align-items: center;
    vertical-align: middle;
}
.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    background: var(--pagination-bg);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--subtle-shadow);
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pagination li a i[class*="ri-"] {
    font-size: 1.5rem;
    line-height: 1;
}
.pagination .dots {
    border: none;
    background: none;
    box-shadow: none;
    color: var(--text-secondary);
    width: auto;
    padding: 0 0.2em;
    min-width: auto;
    height: 40px;
}
.pagination li span.current,
.pagination li a:hover:not(.page-jump) {
    border-color: transparent;
    background: var(--gradient-neon);
    color: var(--button-text);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.pagination .pagination-jump-container {
    display: flex !important;
    height: 40px !important;
    box-sizing: border-box !important;
    margin-left: 1rem !important;
    overflow: hidden;
    border-radius: 8px !important;
    box-shadow: var(--subtle-shadow);
    transition: box-shadow 140ms ease, background-color 140ms ease;
}
.pagination .pagination-jump-container:hover {
    transform: none;
}
.pagination .pagination-jump-container:hover #jump_page {
    background: rgba(214, 51, 132, 0.06) !important;
}
.pagination #jump_page {
    height: 100% !important;
    width: 75px !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--background-light) !important;
    color: var(--text-primary) !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0 12px !important;
    text-align: center;
    box-shadow: none !important;
    -moz-appearance: textfield;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.pagination #jump_page::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pagination #jump_page:focus {
    outline: none;
    position: relative;
    z-index: 2;
}
.pagination .pagination-jump-container .page-jump {
    width: 36px !important;
    height: 100% !important;
    border: none !important;
    border-left: 1px solid var(--border-color-light) !important;
    border-radius: 0 !important;
    margin-left: 0;
    padding: 0 !important;
    background-color: var(--primary-color) !important;
    background-image: none !important;
    cursor: pointer;
    box-shadow: var(--subtle-shadow) !important;
    transition: background-color 140ms ease, box-shadow 140ms ease;
}
.pagination .pagination-jump-container .page-jump:hover {
    background-color: var(--primary-hover) !important;
    background-image: none !important;
    filter: none;
    box-shadow: none;
}
.pagination .pagination-jump-container .page-jump i {
    font-size: 1.5rem !important;
    color: var(--button-text) !important;
}
.pagination .pagination-jump-container .page-jump:hover i,
.pagination .pagination-jump-container .page-jump:hover .rixi {
    color: var(--button-text) !important;
}

/* ===== 内联 SVG 图标（2026-06-16：公共页 ri-* 改内联 SVG，不再依赖 remixicon）=====
   基础助手：随字号 1em 缩放、继承 currentColor、行内对齐与原字体图标一致 */
.rixi{width:1em;height:1em;fill:currentColor;display:inline-block;vertical-align:-.125em;flex:none}
/* 各上下文按【被替换字体图标的原 font-size】设字号，使 SVG 与同位图标精确等大 */
.lang-button .rixi{font-size:18px}                                   /* 语言：与搜索/夜间 18px 一致 */
.nav-right .theme_night .rixi{font-size:18px}                        /* 夜间太阳：与月亮字形 18px 一致（scale 切换动画仍由 .ri-sun-fill 规则生效）*/
.nav-right .nav-recharge .rixi{font-size:1em;margin-right:4px;vertical-align:-.15em}   /* 直达 钻石：原 .nav-recharge i = 1em + margin 4px */
.nav-right .header-key-anon .rixi{font-size:1.1em;vertical-align:-.15em}               /* 直达 key：原 .header-key-anon i = 1.1em */
.pagination li a .rixi{font-size:1.5rem;line-height:1}               /* 分页上一页/下一页箭头：原 1.5rem */
.pagination .page-jump .rixi{font-size:1.5rem;color:var(--button-text)}                /* 分页跳转：原 1.5rem，按钮白色文字色 */

/* 侧栏布局冲突修复（2026-06-16）：首页/分类/分页用 .content-container>.main-wrapper 新版 flex 布局；
   清除旧版 .sidebar 负边距浮动(float:left;margin-left:-300px)残留，避免冷缓存/慢网首帧侧栏掉到分页下方。
   仅作用于 home/category/archive 列表，不触及文章页/用户中心/支付页/其他断点；≥1780px 时 user.css flex 定宽胜出。 */
body.home .content-container > .main-wrapper > .sidebar,
body.category .content-container > .main-wrapper > .sidebar,
body.archive .content-container > .main-wrapper > .sidebar{float:none;width:auto;margin-left:0;}
body.night .pagination li a,
body.night .pagination li span,
body.night .pagination .dots {
    color: var(--text-dark-secondary);
}
body.night .pagination li span.current,
body.night .pagination li a:hover {
    color: var(--button-text);
}
body.night .pagination #jump_page {
    border-color: var(--border-color-strong) !important;
    background: var(--background-dark) !important;
    color: var(--text-dark-primary) !important;
}
body.night .pagination .page-jump {
    border-color: var(--border-color-strong) !important;
}


/* 保持默认隐藏按钮 */
#mobile-sidebar-toggle {
  display: none !important;
}


/* 动画关键帧 */
@keyframes slideIn {
  from { transform: translateX(-250px); }
  to { transform: translateX(0); }
}

@keyframes slideOut {
  from { transform: translateX(0); }
  to { transform: translateX(-250px); }
}


/* 覆盖栏目中的 .wp-block-image 的 margin-bottom */
.wp-block-columns.is-layout-flex .wp-block-image {
    margin-bottom: 0;
}

/* 恢复未使用栏目的 .wp-block-image 的 margin-bottom */
.article-content .wp-block-image.size-large {
    margin-bottom: 20px !important;
}

/* 确保列和行之间的间距为12px */
.wp-block-columns.is-layout-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.wp-block-column.is-layout-flow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.wp-block-column.is-layout-flow:first-child .wp-block-image {
    display: flex;
    justify-content: flex-end;
}

.wp-block-column.is-layout-flow:nth-child(2) .wp-block-image {
    display: flex;
    justify-content: flex-start;
}

/* 确保图片没有额外的外边距 */
.wp-block-image.size-full img {
    margin: 0;
    max-width: 100%;
}

/* 确保使用正确的选择器 */
.erphpdown-msg p .link {
  background-color: #4CAF50;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  margin: 0 10px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.erphpdown-msg p .link.primary-button {
  background-color: #333;
  margin-right: 20px;
  font-weight: bold;
}

.erphpdown-msg p .link.backup-button {
  background-color: #d3d3d3;
  color: #666;
  margin-right: 5px;
}

.erphpdown-msg p .link:hover {
  background-color: #45a049;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}



.download-btn.clicked {
  background-color: #4CAF50 !important;
  color: #fff !important;
}

/* 桌面端 2 列，移动端强制单列显示，间距固定 12px */
.wp-block-gallery[class*="gallery-two-cols"]{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:start!important;
  margin:0!important;
}
.wp-block-gallery[class*="gallery-two-cols"]>figure.wp-block-image{
  margin:0!important;
  display:block;
  width:max-content;max-width:100%;
  align-self:start;
}
.wp-block-gallery[class*="gallery-two-cols"]>figure.wp-block-image:nth-child(odd){justify-self:end;}
.wp-block-gallery[class*="gallery-two-cols"]>figure.wp-block-image:nth-child(even){justify-self:start;}
.wp-block-gallery[class*="gallery-two-cols"] img{
  display:block;width:auto;height:auto;max-width:100%;max-height:100%;
  object-fit:contain!important;
}
@media (max-width:1024px){
  .wp-block-gallery[class*="gallery-two-cols"]{grid-template-columns:1fr!important;}
  .wp-block-gallery[class*="gallery-two-cols"]>figure.wp-block-image{width:100%!important;justify-self:stretch!important;}
}

/* === START: Header 工具区 === */
@media (min-width: 769px) {
    .mobile-search-icon {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-search-icon {
        display: none !important;
    }
    .header .container {
        position: relative !important;
        height: 100%;
        width: 100%;
    }
    .header .logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        float: none !important;
        width: auto !important;
        z-index: 1;
    }
    .header .nav-left,
    .header .nav-right {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px;
        z-index: 2;
    }
    .header .nav-left {
        left: 10px;
    }
    .header .nav-right {
        right: 10px;
    }
    .header .nav-left .nav-button a,
    .header .nav-left .nav-search a,
    .header .nav-right .nav-night a,
    .header .nav-right .lang-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 50%;
        transition: background-color 0.2s ease-in-out;
    }
    .header .nav-left .nav-button a:hover,
    .header .nav-left .nav-search a:hover,
    .header .nav-right .nav-night a:hover,
    .header .nav-right .lang-button:hover {
        background-color: rgba(142, 36, 170, 0.08);
    }
    body.night .header .nav-left .nav-button a:hover,
    body.night .header .nav-left .nav-search a:hover,
    body.night .header .nav-right .nav-night a:hover,
    body.night .header .nav-right .lang-button:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    .header .nav-left .icon,
    .header .nav-right .icon {
        font-size: 22px !important;
    }
    .nav-right .theme_night i {
        font-size: 22px !important;
    }
    .header .nav-left > li,
    .header .nav-right > li {
        margin: 0 !important;
        padding: 0 !important;
    }
    .header .nav-right .nav-login,
    .header .nav-right .nav-vip {
        display: none !important;
    }
}
/* === END: Header 工具区 === */

@media (max-width: 768px) {
    
    footer.footer {
        display: none !important;
    }
}

/* === START: 页面布局区块 === */
@media (min-width: 1780px) {
    /* 并排主区 + 侧边（包括单篇文章页） */
    body.home .content-container > .main-wrapper,
    body.category .content-container > .main-wrapper,
    body.archive .content-container > .main-wrapper,
    body.single .content-container > .main-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    /* 左侧主区固定 1200px */
    body.home .content-container > .main-wrapper > .grid-container,
    body.category .content-container > .main-wrapper > .grid-container,
    body.archive .content-container > .main-wrapper > .grid-container,
    body.single .content-container > .main-wrapper > .grid-container {
        flex: 0 0 1200px;
        width: 1200px;
    }

    /* 右侧侧边栏：定宽 220px，取消浮动 */
    body.home .content-container > .main-wrapper > .sidebar,
    body.category .content-container > .main-wrapper > .sidebar,
    body.archive .content-container > .main-wrapper > .sidebar,
    body.single .content-container > .main-wrapper > .sidebar {
        display: block;
        flex: 0 0 220px;
        width: 220px;
        float: none;
        position: static;
        margin: 0;
    }
}


@media (max-width: 1779px) {
    /* 1780 以下完全交回主题，隐藏侧边栏（CDP 实测：≥1780px 时常驻侧栏与 right:10px 的 rollbar 完全水平分离；1700–1779px 由悬浮排行承担入口，避免与 rollbar 重叠） */
    body.home .content-container > .main-wrapper > .sidebar,
    body.category .content-container > .main-wrapper > .sidebar,
    body.archive .content-container > .main-wrapper > .sidebar,
    body.single .content-container > .main-wrapper > .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
  /* —— 移动端全宽容器 & 内容布局 —— */
  .container.container-user {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
  }
  body .single .content,
  body .page-template-default .content,
  body .content {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
    padding: 1rem 1rem 0 !important;
  }
  body .user-main {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
    padding: 1rem 1rem 0 !important;
  }
  .user-gridlist.waterfall,
  .user-gridlist.waterfall .item {
    width: 100% !important;
  }
  footer {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* —— 切换按钮 —— */
  #mobile-sidebar-toggle {
    display: flex !important;
    position: fixed !important;
    top: 60% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    justify-content: center !important;
    align-items: center !important;
    background: linear-gradient(to right, rgba(128,128,128,0.3), rgba(100,100,100,0.3)) !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    animation: pulse 2s infinite ease-in-out !important;
    filter: drop-shadow(0 0 2px rgba(128,128,128,0.2)) !important;
  }
  body.night #mobile-sidebar-toggle {
    background: linear-gradient(to right, rgba(200,200,200,0.3), rgba(150,150,150,0.3)) !important;
    color: #E8E4EC !important;
  }
  #mobile-sidebar-toggle:hover {
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08) !important;
    animation: none !important;
    filter: drop-shadow(0 0 4px rgba(128,128,128,0.3)) !important;
  }
  #mobile-sidebar-toggle i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 16px !important;
  }

  /* —— 侧边栏本体 —— */
  .userside {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 250px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    background: rgba(255,255,255,0.9) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 9999 !important;
    overflow: auto !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08) !important;
    border-radius: 0 8px 8px 0 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  body.night .userside {
    background: rgba(20,20,23,0.9) !important;
    box-shadow: 0 4px 6px rgba(142,36,170,0.1) !important;
  }
  .userside.open {
    transform: translateX(0) !important;
  }

  /* —— 切换按钮 —— */
  #mobile-sidebar-toggle {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--background-light) !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1) !important;
    z-index: 10000 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: auto !important;
  }

  #mobile-sidebar-toggle i {
    font-size: 20px !important;
    color: var(--text-primary) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #mobile-sidebar-toggle:hover {
    background: var(--background-option) !important;
    transform: translateY(-50%) scale(1.05) !important;
  }

  /* 暗色模式适配 */
  body.night .userside {
    background: var(--background-dark) !important;
  }

  body.night #mobile-sidebar-toggle {
    background: var(--background-dark) !important;
  }

  body.night #mobile-sidebar-toggle i {
    color: var(--text-dark-primary) !important;
  }
}


/* 移动端统一样式 */
@media (max-width: 768px) {
  /* 容器样式 */
  .container.container-user {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  /* 侧边栏样式 */
  .userside {
    position: fixed !important;
    top: 0 !important;
    left: -250px !important;
    width: 250px !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 20px !important;
    background: var(--background-light) !important;
    z-index: 9999 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .userside.open {
    transform: translateX(250px) !important;
  }

  /* 切换按钮样式 */
  #mobile-sidebar-toggle {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--background-light) !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1) !important;
    z-index: 10000 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  #mobile-sidebar-toggle i {
    font-size: 20px !important;
    color: var(--text-primary) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #mobile-sidebar-toggle:hover {
    background: var(--background-option) !important;
    transform: translateY(-50%) scale(1.05) !important;
  }

  /* 暗色模式适配 */
  body.night .userside {
    background: var(--background-dark) !important;
  }

  body.night #mobile-sidebar-toggle {
    background: var(--background-dark) !important;
  }

  body.night #mobile-sidebar-toggle i {
    color: var(--text-dark-primary) !important;
  }
}


@media (max-width: 768px) {
  /* —— 切换按钮 —— */
  #mobile-sidebar-toggle {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--background-light) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    z-index: 10000 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: auto !important;
  }

  #mobile-sidebar-toggle i {
    font-size: 20px !important;
    color: var(--text-primary) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #mobile-sidebar-toggle:hover {
    background: var(--background-option) !important;
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
  }

  /* 暗色模式适配 */
  body.night #mobile-sidebar-toggle {
    background: var(--background-dark) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  }

  body.night #mobile-sidebar-toggle:hover {
    background: var(--background-dark-hover) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
  }

  body.night #mobile-sidebar-toggle i {
    color: var(--text-dark-primary) !important;
  }
}
/* === END: 页面布局区块 === */



/* === START: 功能区块 (VIP、充值、分页等) === */

@media (max-width: 768px) {
    .vip-features {
        grid-template-columns: 1fr;
    }
}

/* 移动端适配 */
@media (max-width: 480px) {
  .vip-item.item-3 {
    max-height: none !important;
    padding: 2.8em 1.2em 2.2em !important;
    animation: none !important;
  }

  .vip-item.item-3 .border-decor {
    margin-bottom: 1.8em !important;
  }

  .vip-item.item-3 .vip-card-header {
    animation: none !important;
    top: 0.6em;
  }

  .vip-item.item-3 .vip-card-header i {
    font-size: 2.4em !important;
    margin-top: -0.2em;
  }

  .vip-item.item-3 a.btn.btn-vip-action {
    font-size: 1em !important;
    padding: 0.6em 1.4em !important;
  }
}

/* 移动端样式（768px 以下）覆盖 */
@media (max-width: 768px) {
    body .charge {
        max-width: 100% !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 16px !important;
        color: var(--text-primary) !important;
    }
    body .user-content {
        padding: 10px !important;
    }
    .charge-header {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    .charge-header .item {
        padding: 8px !important;
        min-height: 40px !important;
    }
    .charge-header .item b {
        font-size: 16px !important;
    }
    .charge-header .item p {
        font-size: 10px !important;
    }
    .recharge-options .prices {
        gap: 16px !important;
        margin-bottom: 30px !important;
    }
    .recharge-options .prices label {
        flex: 1 1 calc(50% - 16px) !important;
        min-width: 120px !important;
        padding: 10px !important;
        min-height: 50px !important;
    }
    .recharge-options .prices label .amount {
        font-size: 14px !important;
    }
    .recharge-options .prices label .points {
        font-size: 16px !important;
    }
    .recharge-options .prices input[type="radio"]:checked + label .icon-check {
        top: 6px !important;
        left: 6px !important;
        width: 18px !important;
        height: 18px !important;
        line-height: 18px !important;
        font-size: 14px !important;
    }
    .payment-options {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
        gap: 12px !important;
        margin-bottom: 30px !important;
    }
    .payment-options label {
        padding: 6px !important;
        font-size: 11px !important;
        min-height: 36px !important;
        max-width: 140px !important;
        min-width: 120px !important;
    }
    .payment-options label i {
        font-size: 18px !important;
        margin-right: 4px !important;
    }
    .btn-recharge {
        padding: 10px !important;
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    .secure-payment {
        font-size: 10px !important;
    }
}

@media (max-width: 768px) {
    .pagination ul {
        gap: 0.4rem;
    }
    .pagination li a,
    .pagination li span {
        width: 38px;
        height: 38px;
    }
    .pagination .pagination-jump-container,
    .pagination #jump_page,
    .pagination .page-jump {
        height: 38px !important;
    }
    .pagination li a i[class*="ri-"] {
        font-size: 1.4rem;
    }
    .pagination .dots {
        display: none;
    }
    .pagination #jump_page {
        width: 60px !important;
    }
    .pagination .page-jump {
        width: 34px !important;
    }
}

@media (max-width: 768px) {
  body.night .charge .charge-header,
  body:not(.night) .charge .charge-header {
    display: block;
    padding: 20px;
    margin: 0 12px 24px;
    border-radius: 16px;
    border: 2px solid #ffb400;
    text-align: center;
  }

  body.night .charge .charge-header {
    background: var(--background-dark) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  }

  body:not(.night) .charge .charge-header {
    background: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  }

  body.night .charge .charge-header .item-tablet,
  body:not(.night) .charge .charge-header .item-tablet {
    display: none !important;
  }

  body.night .charge .charge-header .item,
  body:not(.night) .charge .charge-header .item {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  body.night .charge .charge-header .item b.color {
    color: #ff66a2 !important;
  }

  body:not(.night) .charge .charge-header .item b.color {
    color: #e60073 !important;
  }

  body.night .charge .charge-header .item b.color,
  body:not(.night) .charge .charge-header .item b.color {
    font-size: 20px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    margin-right: 4px !important;
    letter-spacing: -0.5px !important;
  }

  body.night .charge .charge-header .item p,
  body:not(.night) .charge .charge-header .item p {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    line-height: 1.6 !important;
    margin-top: 12px !important;
  }

  body.night .charge .charge-header .item p {
    color: var(--text-dark-primary) !important;
  }

  body:not(.night) .charge .charge-header .item p {
    color: #111 !important;
  }

  body.night .charge .charge-header .item p a {
    color: #ff66a2 !important;
  }

  body:not(.night) .charge .charge-header .item p a {
    color: #e60073 !important;
  }

  body.night .charge .charge-header .item p a,
  body:not(.night) .charge .charge-header .item p a {
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: underline !important;
    margin-left: 4px !important;
    white-space: nowrap !important;
  }
}


/* === END: 功能区块 (VIP、充值、分页等) === */

/* === START: 下载消息区块 === */
@media (max-width: 768px) {
  .erphpdown-msg p .link {
    display: block;
    margin: 10px 0;
    font-size: 10px;
    width: calc(100% - 20px);
    box-sizing: border-box;
  }

  .erphpdown-msg p .link.primary-button,
  .erphpdown-msg p .link.backup-button {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* 文件 N + 交付类型副标题：主标签保持原视觉，只在下面加一行 12px 灰色副标题 */
.erphpdown-msg p .tit {
  line-height: 1.35;
  vertical-align: middle;
}
.erphpdown-msg p .tit .epd-name {
  display: block;
}
.erphpdown-msg p .tit .epd-kind {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.night .erphpdown-msg p .tit .epd-kind { color: #888; }

@media (max-width: 768px) {
  .erphpdown-msg p .tit { margin-bottom: 8px; }
  .erphpdown-msg p .tit .epd-kind { white-space: normal; }
}
/* === END: 下载消息区块 === */

/* === START: 移动端 Header 工具区聚合区块（新增） === */
@media (max-width: 768px) {
    .nav-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .nav-right > li {
        margin-right: 8px;
    }

    .nav-right .nav-login {
        display: none !important;
    }
}
/* === END: 移动端 Header 工具区聚合区块（新增） === */

/* 移动端抽屉菜单美化（含登录按钮和头像） */
@media (max-width: 768px) {
  .nav-mobile-show .nav-main {
    padding: 16px 0;
    width: 48vw !important;
    max-width: 200px !important;
  }

  .nav-mobile-show .nav-main > li.menu-item {
    padding: 0;
    margin: 0 14px;
    border-bottom: none;
    color: #222;
  }

  .nav-mobile-show .nav-main > li.menu-item:nth-child(2n) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-mobile-show .nav-main > li.menu-item > a {
    padding: 14px 0;
    display: block;
    font-weight: 500;
    font-size: 15px;
  }

  .nav-mobile-show .nav-main > li.menu-item-has-children > a::after {
    display: none;
  }

  .nav-mobile-show .nav-main .sub-menu {
    padding-left: 28px;
    margin-top: 4px;
    margin-bottom: 8px;
  }

  .nav-mobile-show .nav-main .sub-menu li {
    border: none;
  }

  .nav-mobile-show .nav-main .sub-menu a {
    font-size: 12px;
    color: #999;
    padding: 8px 0;
  }

  .nav-mobile-show .nav-main .sub-menu a:hover,
  .nav-mobile-show .nav-main .sub-menu .current-menu-item > a {
    color: var(--theme-color);
  }

  .nav-mobile-show .nav-main .explose {
    opacity: 0.35;
    height: 32px;
    line-height: 32px;
  }

  .nav-mobile-show .nav-main .explose .icon {
    font-size: 10px;
  }

  .nav-main > li.in-drawer {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
  }

  .nav-main > li.in-drawer a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #222;
    font-weight: 500;
    text-decoration: none;
    gap: 8px;
    line-height: 1.4;
    width: 100%;
    min-height: 44px;
    padding: 10px 0;
  }

  .nav-main > li.in-drawer a i,
  .nav-main > li.in-drawer a .icon {
    font-size: 20px;
    opacity: 0.9;
  }

  .nav-main > li.in-drawer a:hover {
    background: #f8f8f8;
    border-radius: 6px;
  }

  .nav-main > li.in-drawer a .avatar {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
  }

  .nav-main > li.in-drawer a .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }
}

body.page-id-12107 .main > .container{padding-top:20px;}

body.page-id-12107 .contact-hero{
	width:100%;
	padding:56px 0;
	background: transparent;
}
body.page-id-12107 .contact-hero-inner{
	max-width:1200px;
	margin:0 auto;
	padding:0 20px;
}
body.page-id-12107 .contact-hero-title{
	font-size:40px;
	line-height:1.2;
	margin:0 0 10px;
}
body.page-id-12107 .contact-hero-subtitle{
	font-size:16px;
	opacity:.85;
	margin:0 0 22px;
}
body.page-id-12107 .contact-trust{
	display:grid;
	grid-template-columns:repeat(3, minmax(0, 1fr));
	gap:20px;
	margin-top:32px;
}
body.page-id-12107 .contact-trust-item{
	border:1px solid rgba(255,255,255,.1);
	border-radius:16px;
	padding:32px 24px;
	background:rgba(255,255,255,.05);
	box-shadow:0 4px 12px rgba(0,0,0,.08);
	text-align:center;
	transition:all .3s ease;
	position:relative;
	overflow:hidden;
}
body.page-id-12107 .contact-trust-item:hover{
	transform:translateY(-4px);
	box-shadow:0 8px 24px rgba(0,0,0,.12);
	background:rgba(255,255,255,.08);
}
body.page-id-12107 .contact-trust-icon{
	margin:0 auto 16px;
	width:64px;
	height:64px;
	display:flex;
	align-items:center;
	justify-content:center;
	background:rgba(18,248,255,.1);
	border-radius:16px;
}
body.page-id-12107 .contact-trust-icon i{
	font-size:32px;
	color:rgba(18,248,255,.9);
}
body.page-id-12107 .contact-trust-title{
	font-weight:700;
	font-size:18px;
	margin:0 0 8px;
	line-height:1.3;
}
body.page-id-12107 .contact-trust-desc{
	font-size:14px;
	opacity:.75;
	margin:0;
	line-height:1.5;
}
body.page-id-12107 .article-content details{
	margin:0 0 16px;
	border:1px solid rgba(0,0,0,.08);
	border-radius:12px;
	background:#fff;
	box-shadow:0 2px 8px rgba(0,0,0,.04);
	overflow:hidden;
	transition:all .3s ease;
}
body.page-id-12107 .article-content details:hover{
	box-shadow:0 4px 12px rgba(0,0,0,.08);
}
body.page-id-12107 .article-content details[open]{
	border-color:rgba(18,248,255,.2);
	box-shadow:0 4px 16px rgba(18,248,255,.1);
}
body.page-id-12107 .article-content details summary{
	padding:20px 24px;
	font-size:16px;
	font-weight:600;
	cursor:pointer;
	list-style:none;
	position:relative;
	user-select:none;
	transition:background .2s ease;
}
body.page-id-12107 .article-content details summary::-webkit-details-marker{
	display:none;
}
body.page-id-12107 .article-content details summary::after{
	content:"+";
	position:absolute;
	right:24px;
	top:50%;
	transform:translateY(-50%);
	font-size:24px;
	font-weight:300;
	color:rgba(0,0,0,.4);
	transition:all .3s ease;
}
body.page-id-12107 .article-content details[open] summary::after{
	content:"−";
	transform:translateY(-50%) rotate(0deg);
}
body.page-id-12107 .article-content details summary:hover{
	background:rgba(0,0,0,.02);
}
body.page-id-12107 .article-content details[open] summary{
	border-bottom:1px solid rgba(0,0,0,.06);
}
body.page-id-12107 .article-content details > *:not(summary){
	padding:0 24px 24px;
	margin:20px 0 0;
}
body.page-id-12107 .article-content details p{
	margin:0 0 12px;
	line-height:1.7;
}
body.page-id-12107 .article-content details a{
	color:inherit;
	text-decoration:underline;
	font-weight:600;
	opacity:.85;
	transition:opacity .2s;
}
body.page-id-12107 .article-content details a:hover{
	opacity:1;
}
body.page-id-12107 .article-content details ul{
	margin:12px 0;
	padding-left:24px;
}
body.page-id-12107 .article-content details li{
	margin:8px 0;
	line-height:1.6;
}
body.page-id-12107 .article-content h2{
	font-size:32px;
	font-weight:700;
	margin:0 0 32px;
	text-align:center;
	line-height:1.2;
	border-left:none !important;
	padding:0 !important;
	background:transparent !important;
}
body.page-id-12107 .article-content h3{
	border-left:none !important;
	padding:0 !important;
	background:transparent !important;
}
body.page-id-12107 .contact-methods-content{
	margin-top:48px;
	padding:40px 32px;
	border-radius:16px;
	background:linear-gradient(135deg, rgba(18,248,255,.05), rgba(0,0,0,.02));
	border:2px solid rgba(18,248,255,.15);
	box-shadow:0 8px 24px rgba(0,0,0,.06);
}
body.page-id-12107 .contact-methods-content h3{
	font-size:32px;
	font-weight:700;
	margin:0 0 32px;
	text-align:center;
	line-height:1.2;
}
body.page-id-12107 .contact-methods-buttons{
	display:flex;
	flex-direction:column;
	gap:20px;
	align-items:stretch;
}
body.page-id-12107 .contact-method-btn{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:12px;
	padding:18px 24px;
	border-radius:12px;
	font-size:16px;
	font-weight:600;
	text-decoration:none;
	transition:all .3s ease;
	border:2px solid transparent;
}
body.page-id-12107 .contact-method-btn i{
	font-size:20px;
}
body.page-id-12107 .contact-method-btn-primary{
	background:linear-gradient(135deg, rgba(18,248,255,.15), rgba(18,248,255,.08));
	border-color:rgba(18,248,255,.3);
	color:inherit;
}
body.page-id-12107 .contact-method-btn-primary:hover{
	background:linear-gradient(135deg, rgba(18,248,255,.25), rgba(18,248,255,.15));
	box-shadow:0 6px 20px rgba(18,248,255,.2);
	transform:translateY(-2px);
}
body.page-id-12107 .contact-method-btn-secondary{
	background:#fff;
	border-color:rgba(0,0,0,.12);
	color:inherit;
}
body.page-id-12107 .contact-method-btn-secondary:hover{
	background:rgba(0,0,0,.02);
	box-shadow:0 4px 12px rgba(0,0,0,.1);
	transform:translateY(-2px);
}
body.page-id-12107 .contact-method-email{
	padding:24px;
	background:#fff;
	border-radius:12px;
	border:2px solid rgba(0,0,0,.08);
	text-align:center;
	cursor:pointer;
	transition:all .2s ease;
	position:relative;
}
body.page-id-12107 .contact-method-email:hover{
	border-color:rgba(18,248,255,.3);
	box-shadow:0 4px 12px rgba(0,0,0,.08);
}
body.page-id-12107 .contact-method-email-label{
	font-size:14px;
	opacity:.7;
	margin:0 0 12px;
}
body.page-id-12107 .contact-method-email-address-wrapper{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	margin:0 0 8px;
}
body.page-id-12107 .contact-method-email-address{
	font-size:20px;
	font-weight:700;
	color:inherit;
	word-break:break-all;
}
body.page-id-12107 .contact-method-email-copy-icon{
	font-size:16px;
	opacity:.5;
	transition:opacity .2s;
	flex-shrink:0;
}
body.page-id-12107 .contact-method-email:hover .contact-method-email-copy-icon{
	opacity:.8;
}
body.page-id-12107 .contact-method-email-note{
	font-size:13px;
	opacity:.6;
	margin:0;
	font-style:italic;
}
body.page-id-12107 .contact-method-email-copy-tip{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
	background:rgba(0,0,0,.85);
	color:#fff;
	padding:8px 16px;
	border-radius:6px;
	font-size:14px;
	opacity:0;
	pointer-events:none;
	transition:opacity .3s ease;
	z-index:10;
	white-space:nowrap;
}
body.page-id-12107 .contact-method-email-copy-tip.show{
	opacity:1;
}

@media (max-width: 768px){
	body.page-id-12107 .contact-hero{padding:36px 0;}
	body.page-id-12107 .contact-hero-title{font-size:28px;}
	body.page-id-12107 .contact-trust{
		grid-template-columns:1fr;
		gap:20px;
		margin-top:24px;
	}
	body.page-id-12107 .contact-trust-item{
		padding:28px 24px;
		min-height:auto;
	}
	body.page-id-12107 .contact-trust-icon{
		width:64px;
		height:64px;
		margin-bottom:16px;
	}
	body.page-id-12107 .contact-trust-icon i{
		font-size:32px;
	}
	body.page-id-12107 .contact-trust-title{
		font-size:18px;
		margin:0 0 10px;
	}
	body.page-id-12107 .contact-trust-desc{
		font-size:14px;
	}
	body.page-id-12107 .article-content h2{font-size:24px;margin:0 0 24px;}
	body.page-id-12107 .article-content details summary{padding:16px 20px;font-size:15px;}
	body.page-id-12107 .article-content details summary::after{right:20px;font-size:20px;}
	body.page-id-12107 .article-content details > *:not(summary){padding:0 20px 20px;margin:16px 0 0;}
	body.page-id-12107 .contact-methods-content{
		margin-top:32px;
		padding:28px 20px;
	}
	body.page-id-12107 .contact-methods-content h3{
		font-size:28px;
		margin:0 0 24px;
		font-weight:700;
		text-align:center;
	}
	body.page-id-12107 .contact-methods-buttons{
		gap:16px;
	}
	body.page-id-12107 .contact-method-btn{
		padding:16px 20px;
		font-size:15px;
	}
	body.page-id-12107 .contact-method-email{
		padding:20px;
	}
	body.page-id-12107 .contact-method-email-address{
		font-size:18px;
	}
}

/* 收银台 3+1 套餐卡片（part-checkout-form，与 .recharge-options .prices 共用 .prices，此处优先） */
.checkout-cards-wrap .checkout-cards.prices {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
	gap: 16px;
	margin-bottom: 24px;
}
.checkout-cards-wrap .checkout-cards.prices input.checkout-card-radio { display: none; }
.checkout-cards-wrap .checkout-cards.prices label.price-option {
	flex: none;
	min-width: 0;
	min-height: 100px;
	padding-top: 36px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .checkout-card-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: translateY(-10px);
}
.checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .points {
	font-size: 20px;
	font-weight: 700;
}
.checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-0,
.checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-1,
.checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-2 {
	grid-row: 1;
}
.checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 {
	grid-column: 1 / -1;
	grid-row: 2;
	margin-top: 8px;
	min-height: 72px;
	padding: 16px 20px;
	flex-direction: row;
	background: linear-gradient(135deg, #2d1b4e 0%, #1a0d2e 100%) !important;
	border: 1px solid rgba(255,215,0,0.4);
	color: #fff;
}
.checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 .points { color: #fff; }
.checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 .amount { color: #FFD700; font-weight: 800 !important; font-size: 22px !important; }
/* 100 美元档勾选图标：白底深勾，避免在深紫卡片上看不清；body 提高特异性压过 .recharge-options .prices label .icon-check */
body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .checkout-card-check,
body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .icon-check {
	color: #333 !important;
	background: #fff !important;
	border-radius: 50%;
}
.checkout-whale-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
	gap: 24px;
}
.checkout-whale-inner .points { font-size: 22px; font-weight: 700; justify-self: end; }
.checkout-whale-crown {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #fbb715;
	justify-self: center;
}
.checkout-whale-crown i { font-family: "remixicon", sans-serif; }
.checkout-whale-inner .amount { font-size: 22px; font-weight: 800 !important; justify-self: start; }
.checkout-card-visual-icon {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 20px;
	font-style: normal;
	opacity: .95;
	font-family: "remixicon", sans-serif;
}
.checkout-card-visual-icon::before { font-family: inherit; }
.checkout-card-slot-0 .checkout-card-visual-icon { color: #FFC107; }
.checkout-card-slot-1 .checkout-card-visual-icon { color: #d32f2f; }
.checkout-card-slot-2 .checkout-card-visual-icon { color: #4FC3F7; }
.checkout-cards-wrap .checkout-cards.prices label .checkout-card-check { display: none; }
.checkout-cards-wrap .checkout-cards.prices input:checked + label .checkout-card-check { display: block; }
.checkout-cards-wrap .checkout-cards.prices label.price-option {
	border: 1px solid #bdbdbd;
	background: #fff;
}
.checkout-cards-wrap .checkout-cards.prices input[type="radio"]:checked + label.price-option {
	border: 2px solid var(--points-color, #ff6b35);
	background: var(--accent-bg-hover, rgba(255,107,53,0.08));
	transform: scale(1.03);
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.checkout-hot-tag {
	position: absolute;
	top: 10px;
	right: 36px;
	font-size: 11px;
	font-weight: 700;
	color: #d32f2f;
}
/* 收银台隧道模式 header/footer */
.header-checkout-tunnel .nav-left,
.header-checkout-tunnel .nav-main,
.header-checkout-tunnel .nav-right,
.header-checkout-tunnel .modown_header_nav { display: none !important; }
.header-checkout-tunnel .header-checkout-secure {
	float: right;
	line-height: 50px;
	font-size: 14px;
	color: #666;
}
.footer-checkout-tunnel .footer-widgets,
.footer-checkout-tunnel .footer-links { display: none !important; }
.footer-checkout-tunnel .footer-checkout-contact { margin-top: 8px; }
.footer-checkout-tunnel .footer-checkout-contact a { color: inherit; text-decoration: underline; }

/* 游客充值页 ?guest_recharge=1：账户与权益说明按钮宽度与整体布局 */
body.guest-immersive .guest-immersive-main { padding-top: 40px; }
body.guest-immersive .guest-info-row { flex-wrap: nowrap; justify-content: space-between; gap: 0; align-items: center; }
body.guest-immersive .guest-info-toggle { width: auto; min-width: 0; flex: 0 0 auto; white-space: nowrap; padding-left: 14px; padding-right: 14px; }
body.guest-immersive .guest-info-row .guest-back-link { flex: 0 0 auto; }
body.guest-immersive .guest-key-query-card { flex: 0 0 auto; }
@media (max-width: 768px) {
	body.guest-immersive .guest-immersive-main { padding-top: 28px; }
	body.guest-immersive .guest-info-row { flex-wrap: wrap; justify-content: center; gap: 8px; }
	body.guest-immersive .guest-info-toggle { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
}

/* ========== KEY 帐户中心：强制覆盖本文件内 .charge / @media 的通用样式（后加载故用 !important 确保生效） ========== */
body.guest-immersive .guest-immersive-text-box .guest-immersive-status { text-align: center !important; display: block !important; }
/* 去掉三格父级外框；自适应文字边框、不换行 */
body.guest-immersive .key-center-charge,
body.guest-immersive .key-center-charge .charge-header { border: none !important; background: transparent !important; box-shadow: none !important; padding-left: 0 !important; padding-right: 0 !important; }
body.guest-immersive .key-center-charge .charge-header { display: flex !important; flex-wrap: nowrap !important; justify-content: center !important; gap: 12px !important; margin-left: 0 !important; margin-right: 0 !important; }
body.guest-immersive .key-center-charge .charge-header .item { float: none !important; width: auto !important; min-width: 0 !important; }
body.guest-immersive .key-center-charge .charge-header .item p { white-space: nowrap !important; }
body.guest-immersive .key-center-charge .charge-header .item:first-child b.color { color: #d81b60 !important; }
/* 余额卡片下方：系统注释式说明，与可用余额左对齐、紧贴卡片留呼吸感 */
body.guest-immersive .key-center-charge .key-center-note { margin: 6px 0 0 !important; padding: 0 !important; font-size: 11px !important; line-height: 1.4 !important; color: #8c8c8c !important; text-align: left !important; font-weight: 400 !important; }
/* 登出按钮：单按钮水平居中 */
body.guest-immersive .key-center-actions { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 24px !important; }
body.guest-immersive .key-center-btn-primary,
body.guest-immersive .key-center-btn-secondary { min-width: 160px !important; width: auto !important; box-sizing: border-box !important; padding: 10px 20px !important; }
body.guest-immersive .key-center-btn-primary { background: #1a1a1a !important; border: 1px solid #1a1a1a !important; box-shadow: none !important; color: #fff !important; }
body.guest-immersive .key-center-btn-primary:hover { background: #333 !important; border-color: #333 !important; color: #fff !important; }
body.guest-immersive .key-center-btn-primary i { color: #fff !important; }
body.guest-immersive .key-center-btn-secondary { background: #e8e8e8 !important; border: 1px solid #bbb !important; box-shadow: none !important; color: #333 !important; }
body.guest-immersive .key-center-btn-secondary:hover { background: #ddd !important; border-color: #aaa !important; color: #222 !important; }
body.guest-immersive .key-center-btn-secondary i { color: #555 !important; }
body.guest-immersive .key-center-btn-secondary:hover i { color: #444 !important; }
@media (max-width: 768px) {
	body.guest-immersive .key-center-charge .charge-header .item:first-child b.color { color: #d81b60 !important; }
	body.guest-immersive .key-center-charge,
	body.guest-immersive .key-center-charge .charge-header { border: none !important; background: transparent !important; box-shadow: none !important; }
}

/* ========== 文章页下载区：独立个性化样式（仅 user.css，依赖 modown-base 后加载以覆盖 base） ========== */
/* 布局约定：.erphpdown-child 为 grid，row1=标题 row2=价格|按钮；align-items:center 使按钮列在格内自然垂直居中 */
body.single .single-content .erphpdown-box:not(.fixed),
body.single .article-content .erphpdown-box:not(.fixed){background:#fff !important;border:1px solid #e9ecef !important;border-radius:16px !important;padding:20px 24px !important;margin:20px 0 !important;box-shadow:0 2px 12px rgba(0,0,0,.06) !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child{margin-bottom:16px !important;border:none !important;background:transparent !important;padding:0 !important;display:grid !important;grid-template-columns:1fr auto !important;grid-template-rows:auto auto !important;gap:8px 20px !important;align-items:center !important;width:100% !important;box-sizing:border-box !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child:last-child,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child:last-child{margin-bottom:0;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child .erphpdown-child-title,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child .erphpdown-child-title{grid-column:1;grid-row:1;background:transparent;color:#868e96;font-size:12px;font-weight:600;padding:0;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price{grid-column:1;grid-row:2;float:none !important;justify-self:start !important;align-self:stretch !important;width:max-content !important;max-width:100% !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:flex-start !important;gap:0 !important;margin:0 !important;padding:0 !important;line-height:1.45;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif !important;font-size:22px !important;color:#111 !important;text-align:left !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price .erphpdown-free-title,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price .erphpdown-free-title{margin:0 !important;padding:0 !important;font-size:22px !important;line-height:1.3 !important;font-weight:800 !important;color:#111 !important;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif !important;text-align:center !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-free-status,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-free-status{margin:6px 0 8px 0 !important;padding:5px 10px !important;display:inline-flex !important;align-items:center !important;background:#e9ecef;border-radius:6px;font-size:12px !important;line-height:1.35;color:#6b7280 !important;font-weight:500;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-free-status span,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-free-status span{color:#374151 !important;font-size:1em !important;font-weight:600 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price),
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price){grid-column:1;grid-row:2;float:none !important;position:static !important;align-self:stretch !important;display:flex !important;flex-direction:column !important;align-items:flex-start !important;gap:6px !important;margin:0;line-height:1.45;text-align:left;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-label,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-label{display:block;margin:0;line-height:1.3;font-size:12px !important;font-weight:500 !important;color:#868e96 !important;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-value-wrap,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-value-wrap{display:block;margin:0;line-height:1.3;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-num,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-num{display:inline !important;font-size:28px;line-height:1.25;margin:0 !important;color:#111 !important;font-weight:800;letter-spacing:-0.02em;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-unit,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-unit{display:inline !important;font-size:16px;line-height:1.25;margin:0 0 0 2px !important;color:#111 !important;font-weight:600;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .speed-hint,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .speed-hint{display:inline-flex !important;align-items:center;align-self:flex-start;margin:0 !important;padding:5px 12px;line-height:1.35;background:#e9ecef;border-radius:6px;font-size:15px !important;color:#495057 !important;font-weight:500;}
/* 下载区：仅清除 base 的 float，不强制 align-self/flex，由父级 grid 自然居中 */
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-cart,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-cart{float:none !important;margin:0 !important;padding-left:16px;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child .erphpdown-cart,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child .erphpdown-cart{grid-column:2;grid-row:2;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip{font-size:16px;font-weight:600;color:#6c757d !important;line-height:1.4;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif !important;margin-right:28px !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip a,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip a{display:inline-flex !important;align-items:center;justify-content:center;min-width:100px;height:44px !important;padding:0 26px !important;border-radius:50px !important;font-size:16px !important;font-weight:600 !important;line-height:1 !important;margin:0 0 0 28px !important;box-shadow:0 4px 16px rgba(0,0,0,.12);background:#e0bf73 !important;background-image:linear-gradient(90deg,rgba(240,214,141,1) 0%,rgba(224,191,115,1) 100%) !important;color:#4e342e !important;text-decoration:none !important;border:none;}
body.single .single-content .erphpdown-box:not(.fixed) .down,
body.single .article-content .erphpdown-box:not(.fixed) .down{width:auto !important;min-width:120px;height:44px !important;padding:0 26px !important;border-radius:50px !important;font-size:16px;font-weight:600;line-height:44px !important;display:inline-flex !important;align-items:center;justify-content:center;margin:0 !important;box-shadow:0 4px 16px rgba(0,0,0,.12);background:var(--theme-color);color:#fff !important;text-decoration:none !important;border:none;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a),
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a){grid-template-rows:auto auto auto !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart{display:contents !important;padding-left:0 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart .vip,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart .vip{grid-column:1;grid-row:3;align-self:start;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart .down,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart .down{grid-column:2 !important;grid-row:2 !important;align-self:stretch !important;display:inline-flex !important;align-items:center !important;}
/* 无 .erphpdown-child 时：.erphpdown-con 直接包 价格+按钮，grid 单行，两侧 stretch 后按钮列内垂直居中 */
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-con,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-con{display:grid !important;grid-template-columns:1fr auto !important;align-items:stretch !important;gap:20px !important;width:100% !important;box-sizing:border-box !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-con > .erphpdown-price,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-con > .erphpdown-price{float:none !important;position:static !important;grid-column:1;grid-row:1;align-self:stretch !important;display:flex !important;flex-direction:column !important;justify-content:flex-start !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-con > .erphpdown-cart,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-con > .erphpdown-cart{float:none !important;position:static !important;grid-column:2;grid-row:1;align-self:stretch !important;display:flex !important;align-items:center !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-con:has(.erphpdown-child),
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-con:has(.erphpdown-child){display:block !important;}
body.single .single-content .erphpdown-box:not(.fixed) .tips,
body.single .article-content .erphpdown-box:not(.fixed) .tips{margin-top:8px;padding-top:16px;border-top:1px dashed #868e96;font-size:14px;line-height:1.6;color:#495057;}
body.single .single-content .erphpdown-box:not(.fixed) .tips a,
body.single .article-content .erphpdown-box:not(.fixed) .tips a{color:var(--theme-color);font-weight:500;}
@media(max-width:768px){
body.single .single-content .erphpdown-box:not(.fixed),
body.single .article-content .erphpdown-box:not(.fixed){padding:16px 20px;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child{grid-template-columns:1fr !important;grid-template-rows:auto auto auto !important;gap:0 0 !important;align-items:stretch !important;justify-items:stretch !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child .erphpdown-child-title,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child .erphpdown-child-title{grid-column:1;grid-row:1;text-align:left;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price{grid-column:1 !important;grid-row:2 !important;gap:6px !important;min-width:0 !important;text-align:left;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price),
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price){min-width:0 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-label,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-label{white-space:nowrap;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-value-wrap,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-value-wrap{white-space:nowrap;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-free-title,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-free-title{font-size:22px !important;color:#000 !important;margin-bottom:0 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-free-status,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-free-status{width:auto !important;max-width:100% !important;box-sizing:border-box;padding:6px 12px;font-size:12px !important;line-height:1.4;border-radius:8px;margin:6px 0 8px 0 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-value-wrap,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-value-wrap{margin-bottom:12px;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-num,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-num{font-size:24px !important;color:#000 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-unit,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-unit{font-size:14px !important;color:#000 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .speed-hint,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .speed-hint{width:100% !important;box-sizing:border-box;padding:12px 16px;font-size:14px !important;line-height:1.4;border-radius:8px;margin-bottom:24px !important;}
/* 移动端：不使用 display:contents，保持单列垂直流，cart 为普通块 */
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart{display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:16px !important;padding-left:0 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart .vip,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart .vip{grid-column:unset !important;grid-row:unset !important;margin:0 !important;display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:0 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart .down,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-child:has(.erphpdown-cart .vip a) .erphpdown-cart .down{grid-column:unset !important;grid-row:unset !important;}
/* 移动端：cart 单列、左右无内边距，两按钮统一全宽且垂直对齐（覆盖 base 的 .single-content > .erphpdown-box .down{margin-left:10px}） */
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-cart,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-cart{grid-column:1 !important;grid-row:3 !important;padding:16px 0 0 0 !important;display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:16px !important;width:100% !important;min-width:0 !important;box-sizing:border-box !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip{width:100% !important;max-width:100% !important;min-width:0 !important;margin-right:0 !important;box-sizing:border-box !important;display:flex !important;flex-direction:column !important;align-items:stretch !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip a,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip a{height:50px !important;line-height:50px !important;border-radius:25px !important;width:100% !important;min-width:0 !important;max-width:100% !important;display:flex !important;align-items:center !important;justify-content:center !important;margin:20px 0 0 0 !important;padding:0 20px !important;box-sizing:border-box !important;font-size:16px !important;font-weight:500 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-cart .down,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-cart .down{height:50px !important;line-height:50px !important;border-radius:25px !important;width:100% !important;min-width:0 !important;max-width:100% !important;display:flex !important;align-items:center !important;justify-content:center !important;margin:0 !important;padding:0 20px !important;box-sizing:border-box !important;font-size:16px !important;font-weight:500 !important;}
body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-con,
body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-con{grid-template-columns:1fr !important;}
body.single .single-content .erphpdown-box:not(.fixed) .tips,
body.single .article-content .erphpdown-box:not(.fixed) .tips{font-size:13px;line-height:1.6;color:#666;margin-top:12px;}
}
body.night .single-content .erphpdown-box:not(.fixed),
body.night .article-content .erphpdown-box:not(.fixed){background:#303030 !important;border-color:#444;}
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-free-title,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-free-title,
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price .erphpdown-free-title,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price .erphpdown-free-title{color:#f0f0f0 !important;}
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-free-status,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-free-status{background:#404040;color:#d8d4dc !important;}
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-free-status span,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-free-status span{color:#e2e0e6 !important;}
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-label,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-label{color:#adb5bd !important;}
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price),
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price),
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-price .erphpdown-price-num,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-price .erphpdown-price-num,
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-price .erphpdown-price-unit,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-price .erphpdown-price-unit{color:#e2e0e6 !important;}
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-price .speed-hint,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-price .speed-hint{background:#404040;color:#d8d4dc !important;}
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-price .speed-hint span,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-price .speed-hint span{color:#d8d4dc !important;}
body.night .single-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip,
body.night .article-content .erphpdown-box:not(.fixed) .erphpdown-cart .vip{color:#adb5bd !important;}
body.night .single-content .erphpdown-box:not(.fixed) .tips,
body.night .article-content .erphpdown-box:not(.fixed) .tips{border-top-color:rgba(255,255,255,0.35);color:#aaa;}
body.night .single-content .erphpdown-box:not(.fixed) .tips a,
body.night .article-content .erphpdown-box:not(.fixed) .tips a{color:var(--theme-color);}

/* Mobile footer nav: auto-even distribution (4项=25%, 5项=20%，隐藏任一自动均分)，仅移动端生效 */
@media (max-width:768px){
.footer-fixed-nav,
.footer-fixed-nav.footer-fixed-nav5{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.footer-fixed-nav > a,
.footer-fixed-nav.footer-fixed-nav5 > a{
  flex:1;
  text-align:center;
}
.footer-fixed-nav > a,
.footer-fixed-nav.footer-fixed-nav5 > a{
  width:auto !important;
  float:none !important;
  display:block;
}
/* KEY 纯游客突起：保留但降调，轻中轴强调，非 FAB 炫耀感 */
.footer-fixed-nav.footer-fixed-nav5 a.special:after{
  width:32px;
  height:32px;
  line-height:32px;
  font-size:20px;
  top:50%;
  transform:translate(-50%,calc(-50% - 6px));
  background:#f0f0f0;
  color:transparent;
  -webkit-text-stroke:1px #666;
}
.footer-fixed-nav.footer-fixed-nav5 a.special i{
  color:#666;
  visibility:hidden;
}
.footer-fixed-nav.footer-fixed-nav5 a.special span{
  margin-top:6px;
  padding-bottom:2px;
}
body.night .footer-fixed-nav.footer-fixed-nav5 a.special:after{
  background:#2a2a2a;
  color:transparent;
  -webkit-text-stroke:1px #999;
}
body.night .footer-fixed-nav.footer-fixed-nav5 a.special i{
  color:#999;
}
}

/* ========== checkout whale 移动端：列数冻结 + 子项尺寸 + 图标避让（覆盖 .recharge-options .prices，必须最底部） ========== */
@media (max-width: 860px) {
  body .checkout-cards-wrap .checkout-cards.prices {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 18px !important;
  }
  /* 左 30px 右 28px：左右固定留白给勾选图标与视觉图标，选中/未选中内容位置一致，无跳动 */
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 100px !important;
    padding: 14px 28px 14px 30px !important;
    flex: none !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin: 0 !important;
    justify-self: stretch !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .checkout-card-main {
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .points,
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .amount {
    text-align: center !important;
    white-space: nowrap !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .points {
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .amount {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-1 .checkout-hot-tag {
    display: none !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices input:checked + label .checkout-card-check {
    width: 22px !important;
    height: 22px !important;
    top: 8px !important;
    left: 8px !important;
    font-size: 14px !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .checkout-card-check,
  body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .icon-check {
    background: #fff !important;
    color: #333 !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label .checkout-card-visual-icon {
    top: 10px !important;
    right: 10px !important;
    font-size: 18px !important;
  }
}
@media (max-width: 768px) {
  body .checkout-cards-wrap .checkout-cards.prices {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 16px !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 98px !important;
    padding: 12px 26px 12px 28px !important;
    flex: none !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin: 0 !important;
    justify-self: stretch !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .checkout-card-main {
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .points,
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .amount {
    text-align: center !important;
    white-space: nowrap !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .points {
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .amount {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-1 .checkout-hot-tag {
    display: none !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 {
    grid-column: 1 / -1 !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices input:checked + label .checkout-card-check {
    width: 20px !important;
    height: 20px !important;
    top: 6px !important;
    left: 6px !important;
    font-size: 12px !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .checkout-card-check,
  body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .icon-check {
    background: #fff !important;
    color: #333 !important;
  }
  body .checkout-cards-wrap .checkout-cards.prices label .checkout-card-visual-icon {
    top: 8px !important;
    right: 8px !important;
    font-size: 16px !important;
  }
}

/* 再次强制 100 美元档勾选图标白底（文件末尾优先，避免被 skin/合并顺序干扰） */
body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .checkout-card-check,
body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .icon-check {
  background: #fff !important;
  color: #333 !important;
}

/* ========== BEGIN AVBJ Checkout $100 Value (2026-05-29) ==========
 * $100 档（whale / checkout-card-slot-3）从「最贵横幅」升级为「VIP 级长期储值」：
 *   - 视觉克制高级：深紫渐变更柔和、金色仅做细描边与点缀（不堆砌、不廉价促销）；
 *   - 角标「长期首选」+ 价值说明「长期使用更超值 · 最高回馈」（文案均经 _e() 多语）；
 *   - 不压制 $9 / $30 / $50 三张小卡（本块只作用于 slot-3）；
 *   - 默认选中仍由 PHP 控制为 $30，不抢，不逼单。
 * 边界：纯视觉；不改金额 / 积分 / 支付 / 订单逻辑。文案节点见 part-checkout-form.php。
 * ============================================================ */
body .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 {
  position: relative;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  padding: 18px 20px 16px !important;
  /* 未选中：收敛为深色中性态（不带金边/不发光），与选中态拉开强对比 */
  background: linear-gradient(135deg, #2a1d44 0%, #1a0f2c 55%, #140b22 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 14px rgba(20, 11, 34, 0.25) !important;
  opacity: 0.92;
}
/* 移动端同样强制竖排（覆盖任何窄屏旧 row） */
@media (max-width: 768px) {
  body .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 {
    flex-direction: column !important;
  }
}
.checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 .checkout-whale-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #ffdf7e;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 999px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}
.checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 .checkout-whale-note {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 223, 150, 0.92);
  letter-spacing: .02em;
  text-align: center;
  line-height: 1.4;
}
.checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 {
  border: 2px solid #e7c869 !important;
  background: linear-gradient(135deg, #4d3180 0%, #311d5a 55%, #20143e 100%) !important;
  box-shadow:
    0 0 0 3px rgba(231, 200, 105, 0.2),
    0 0 16px rgba(231, 200, 105, 0.13),
    0 12px 32px rgba(29, 16, 51, 0.55) !important;
  opacity: 1 !important;
}
@media (max-width: 768px) {
  .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 {
    padding: 16px 16px 14px !important;
    gap: 6px;
  }
  .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 .checkout-whale-badge {
    top: 8px;
    right: 10px;
    font-size: 10px;
    padding: 2px 8px;
  }
  .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 .checkout-whale-note {
    font-size: 11.5px;
  }
}
body.night .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 .checkout-whale-note {
  color: rgba(255, 223, 150, 0.9);
}

/* —— 选择流畅度统一：补全过渡，消除历史规则导致的"选中瞬跳" ——
 * 历史上 .recharge-options .prices（1981 行）与 .checkout-cards.prices（3815 行）
 * 两套 :checked 规则同时命中同一批卡，且 label 均无 transition → 选中时
 * 边框/背景/缩放硬跳，体感不流畅。此处统一补过渡，并取消 whale 的继承缩放。 */
body .checkout-cards-wrap .checkout-cards.prices label.price-option,
body .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 {
  transition:
    transform .18s cubic-bezier(.4, 0, .2, 1),
    border-color .18s ease,
    border-width .18s ease,
    background-color .18s ease,
    box-shadow .18s ease,
    opacity .18s ease !important;
}
body .checkout-cards-wrap .checkout-cards.prices label.price-option .icon-check,
body .checkout-cards-wrap .checkout-cards.prices label.checkout-card-slot-3 .checkout-card-check {
  transition: transform .18s cubic-bezier(.4, 0, .2, 1), opacity .18s ease !important;
}
/* whale（$100）是整宽横幅，选中时不缩放（取消 1981/3815 继承的 scale），
 * 改用本块已定义的金边 + 阴影表达选中，避免横幅位移跳动。 */
body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 {
  transform: translateY(-2px) !important;
}
/* whale（$100）选中勾：从白色大圆 → 克制金色半透明徽章，融入紫金 VIP 体系，
 * 与右上角「长期首选」金色统一。覆盖 3770 / 4129 / 4197 / 4210 的白底规则
 *（本块在文件更靠后，同特异性 + !important 生效）。仅作用于 slot-3，不动其它档。 */
body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .checkout-card-check,
body .checkout-cards-wrap .checkout-cards.prices input:checked + label.checkout-card-slot-3 .icon-check {
  width: 24px !important;
  height: 24px !important;
  line-height: 24px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #e6d49e 0%, #d9c074 60%, #c7a857 100%) !important;
  color: #2d1b4e !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow:
    0 0 0 2px rgba(210, 180, 110, 0.16),
    0 2px 5px rgba(0, 0, 0, 0.28) !important;
  text-shadow: none !important;
}
/* ========== END AVBJ Checkout $100 Value ========== */

/* ========== START: 文章页单张大图（可回滚：删除本块并恢复 user.css.bak-pre-single-image-* ） ========== */
/* B 方案 刀 A：内容列收敛，仅文章页正文容器，不改全站 */
body.single .article-content {
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.single .article-content .wp-block-gallery,
body.single .article-content .blocks-gallery-grid {
  display: block !important;
  grid-template-columns: unset !important;
}
body.single .article-content .wp-block-gallery figure.wp-block-image,
body.single .article-content .blocks-gallery-grid .blocks-gallery-item figure,
body.single .article-content .blocks-gallery-grid .blocks-gallery-image figure {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 10px !important;
  height: auto !important;
  padding-bottom: 0 !important;
  position: relative !important;
}
body.single .article-content .wp-block-gallery img,
body.single .article-content .blocks-gallery-grid img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  position: relative !important;
  object-fit: contain !important;
}
/* 图库强制二列（与栏目一致）：左贴左、右贴右、列间距 10px、图片原始尺寸
 * 用法1：给图库块添加 CSS 类 gallery-two-col 或 gallery-two-cols
 * 用法2：给包住图库的栏目列添加 CSS 类 gallery-two-cols（当前结构：列上有类，图库在列内） */
body.single .article-content .wp-block-gallery.gallery-two-col,
body.single .article-content .wp-block-gallery.gallery-two-cols,
body.single .article-content .wp-block-column.gallery-two-cols .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: start !important;
  margin-bottom: 10px !important;
}
body.single .article-content .wp-block-gallery.gallery-two-col > figure.wp-block-image,
body.single .article-content .wp-block-gallery.gallery-two-cols > figure.wp-block-image,
body.single .article-content .wp-block-column.gallery-two-cols .wp-block-gallery > figure.wp-block-image {
  margin: 0 !important;
  width: max-content !important;
  max-width: 100% !important;
  display: flex !important;
}
body.single .article-content .wp-block-gallery.gallery-two-col > figure.wp-block-image:nth-child(odd),
body.single .article-content .wp-block-gallery.gallery-two-cols > figure.wp-block-image:nth-child(odd),
body.single .article-content .wp-block-column.gallery-two-cols .wp-block-gallery > figure.wp-block-image:nth-child(odd) {
  justify-self: start !important;   /* 左列贴左 */
  justify-content: flex-start !important;
}
body.single .article-content .wp-block-gallery.gallery-two-col > figure.wp-block-image:nth-child(even),
body.single .article-content .wp-block-gallery.gallery-two-cols > figure.wp-block-image:nth-child(even),
body.single .article-content .wp-block-column.gallery-two-cols .wp-block-gallery > figure.wp-block-image:nth-child(even) {
  justify-self: end !important;     /* 右列贴右 */
  justify-content: flex-end !important;
}
body.single .article-content .wp-block-gallery.gallery-two-col img,
body.single .article-content .wp-block-gallery.gallery-two-cols img,
body.single .article-content .wp-block-column.gallery-two-cols .wp-block-gallery img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
@media (max-width: 768px) {
  body.single .article-content .wp-block-gallery.gallery-two-col,
  body.single .article-content .wp-block-gallery.gallery-two-cols,
  body.single .article-content .wp-block-column.gallery-two-cols .wp-block-gallery {
    grid-template-columns: 1fr !important;
  }
  body.single .article-content .wp-block-gallery.gallery-two-col > figure.wp-block-image,
  body.single .article-content .wp-block-gallery.gallery-two-cols > figure.wp-block-image,
  body.single .article-content .wp-block-column.gallery-two-cols .wp-block-gallery > figure.wp-block-image {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    justify-content: flex-start !important;
  }
}
body.single .article-content .wp-block-image.size-large,
body.single .article-content .wp-block-image.size-full {
  display: block !important;
  margin-bottom: 10px !important;
}
body.single .article-content .wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
/* B 方案 刀 B：正文内容图限高 88vh（仅 wp-block-*，排除 UI 图；灯箱在 .article-content 外不受限）。禁止 width:100%，仅 max-width:100%。可选质感：圆角 6px + 轻描边 */
body.single .article-content .wp-block-image:not(.avatar):not(.icon):not(.logo) img,
body.single .article-content .wp-block-gallery img,
body.single .article-content .blocks-gallery-grid img {
  max-height: 88vh !important;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.06);
}
/* 文章页栏目：两列贴边排布，左列贴左、右列贴右，列间距固定 10px（真实间距），图片原始尺寸 */
body.single .article-content .wp-block-columns.is-layout-flex {
  gap: 10px !important;
  margin-bottom: 10px !important;
  justify-content: center !important;  /* 整组居中，列内贴边不变 */
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column.is-layout-flow,
body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column {
  flex: 0 1 auto !important;
  flex-grow: 0 !important;
  flex-basis: auto !important;
  min-width: 0;
  max-width: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* 左列贴左、右列贴右 */
body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column.is-layout-flow:first-child,
body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column:first-child {
  align-items: flex-start !important;
}
body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column:first-child .wp-block-image,
body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column:nth-child(2) .wp-block-image {
  width: 100%;
  max-width: 100%;
}
body.single .article-content .wp-block-column.is-layout-flow:first-child .wp-block-image,
body.single .article-content .wp-block-columns .wp-block-column:first-child .wp-block-image {
  display: flex !important;
  justify-content: flex-start !important;
}
body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column.is-layout-flow:nth-child(2),
body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column:nth-child(2) {
  align-items: flex-end !important;
}
body.single .article-content .wp-block-column.is-layout-flow:nth-child(2) .wp-block-image,
body.single .article-content .wp-block-columns .wp-block-column:nth-child(2) .wp-block-image {
  display: flex !important;
  justify-content: flex-end !important;
}
/* 栏目内图片保持原始尺寸，禁止 width:100% 放大 */
body.single .article-content .wp-block-columns .wp-block-column .wp-block-image img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
/* 四张图 2x2 时同上：左上/左下贴左，右上/右下贴右，行间距 10px 由 gap 保证 */
/* 移动端：一行一张 */
@media (max-width: 768px) {
  body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column.is-layout-flow,
  body.single .article-content .wp-block-columns.is-layout-flex .wp-block-column {
    flex: 0 0 100% !important;
  }
  body.single .article-content .wp-block-column.is-layout-flow:nth-child(2) .wp-block-image,
  body.single .article-content .wp-block-columns .wp-block-column:nth-child(2) .wp-block-image {
    justify-content: flex-start !important;
  }
}

/* ---------- 文章页图库双列快捷类 22（新文章专用；禁止合并进 gallery-two-col(s)；大图竖图双列） ---------- */
body.single .article-content .wp-block-gallery[class~="22"],
body.single .article-content .wp-block-column[class~="22"] .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: start !important;
  margin: 0 0 10px 0 !important;
}
body.single .article-content .wp-block-gallery[class~="22"] > figure.wp-block-image,
body.single .article-content .wp-block-column[class~="22"] .wp-block-gallery > figure.wp-block-image {
  margin: 0 !important;
  width: max-content !important;
  max-width: 100% !important;
  display: flex !important;
}
body.single .article-content .wp-block-gallery[class~="22"] > figure.wp-block-image:nth-child(odd),
body.single .article-content .wp-block-column[class~="22"] .wp-block-gallery > figure.wp-block-image:nth-child(odd) {
  justify-self: start !important;
  justify-content: flex-start !important;
}
body.single .article-content .wp-block-gallery[class~="22"] > figure.wp-block-image:nth-child(even),
body.single .article-content .wp-block-column[class~="22"] .wp-block-gallery > figure.wp-block-image:nth-child(even) {
  justify-self: end !important;
  justify-content: flex-end !important;
}
body.single .article-content .wp-block-gallery[class~="22"] img,
body.single .article-content .wp-block-column[class~="22"] .wp-block-gallery img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}
@media (max-width: 768px) {
  body.single .article-content .wp-block-gallery[class~="22"],
  body.single .article-content .wp-block-column[class~="22"] .wp-block-gallery {
    grid-template-columns: 1fr !important;
  }
  body.single .article-content .wp-block-gallery[class~="22"] > figure.wp-block-image,
  body.single .article-content .wp-block-column[class~="22"] .wp-block-gallery > figure.wp-block-image {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    justify-content: flex-start !important;
  }
}
/* ---------- END 文章页图库双列快捷类 22 ---------- */

/* ---------- 文章页图库双列快捷类 55（小尺寸竖图双列居中） ---------- */
body.single .article-content .wp-block-gallery[class~="55"],
body.single .article-content .wp-block-column[class~="55"] .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, max-content) !important;
  gap: 10px !important;
  justify-content: center !important;
  justify-items: center !important;
  align-items: start !important;
  margin: 0 0 10px 0 !important;
}

body.single .article-content .wp-block-gallery[class~="55"] > figure.wp-block-image,
body.single .article-content .wp-block-column[class~="55"] .wp-block-gallery > figure.wp-block-image {
  margin: 0 !important;
  width: max-content !important;
  max-width: 100% !important;
  display: flex !important;
  justify-self: center !important;
  justify-content: center !important;
}

body.single .article-content .wp-block-gallery[class~="55"] img,
body.single .article-content .wp-block-column[class~="55"] .wp-block-gallery img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  body.single .article-content .wp-block-gallery[class~="55"],
  body.single .article-content .wp-block-column[class~="55"] .wp-block-gallery {
    grid-template-columns: 1fr !important;
  }

  body.single .article-content .wp-block-gallery[class~="55"] > figure.wp-block-image,
  body.single .article-content .wp-block-column[class~="55"] .wp-block-gallery > figure.wp-block-image {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    justify-content: center !important;
  }
}
/* ---------- END 文章页图库双列快捷类 55 ---------- */

/* ========== END: 文章页单张大图 ========== */

/* ---------- 首页/归档网格：GIF 式 hover 动态封面（仅 .grid-vd + video_preview） ---------- */
.grids .grid-vd .img {
  position: relative !important;
}
.grids .grid-vd .img > a {
  position: relative;
  display: block;
  overflow: hidden;
  height: 100%;
}
.grids .grid-vd .img .thumb {
  position: relative;
  z-index: 1;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.grids .grid-vd .img .grid-video {
  display: block !important;
  position: absolute !important;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2;
  opacity: 0;
  visibility: visible;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
  border-radius: inherit;
}
.grids .grid-vd .img.dynamic-cover-playing .grid-video {
  opacity: 1 !important;
}
.grids .grid-vd .img .grid-video video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  vertical-align: top;
  background-color: transparent;
}
.grids .grid-vd .img .grid-video iframe {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border: none;
}
.grids .grid-vd .video-icon {
  display: none !important;
  visibility: hidden !important;
}
/* ---------- END 首页 GIF 动态封面 ---------- */

.grids .grid-vd .img .grid-video,
.grids .grid-vd .img.dynamic-cover-playing .grid-video,
.grids .grid-vd .img .grid-video video {
    transition: none !important;
}

/* ---------- 正文 core/video 额外类 33：GIF 式视频（仅 singular post .article-content，不影响首页/图库） ---------- */
body.single .article-content figure.wp-block-video[class~="33"] {
  overflow: hidden;
  border-radius: 6px;
}
body.single .article-content figure.wp-block-video[class~="33"] video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

body.single .article-content figure.wp-block-video[class~="33"] + figure.wp-block-video[class~="33"] {
  margin-top: 10px !important;
}

/* 仅移动端(≤781px)、仅 33：自动播放出帧前的占位底色，避免 iOS Safari 自动播放被推迟时出现白屏（不改播放逻辑，不影响桌面） */
@media (max-width: 781px) {
  body.single .article-content figure.wp-block-video[class~="33"],
  body.single .article-content figure.wp-block-video[class~="33"] video {
    background-color: #000 !important;
  }
}

/* Columns 内 33：等宽列 + 媒体铺满列（仅 :has(figure...33) 的 Columns）；桌面端等宽，移动端单列见 781px 以下覆盖 */
@media (min-width: 782px) {
  body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) > .wp-block-column {
    flex: 1 1 0 !important;
    flex-basis: 0 !important;
    flex-grow: 1 !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

@media (max-width: 781px) {
  body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) {
    flex-wrap: wrap !important;
  }

  body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) > .wp-block-column {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) figure.wp-block-image,
body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) figure.wp-block-video[class~="33"] {
  width: 100% !important;
  max-width: 100% !important;
}

body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) figure.wp-block-image img,
body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) figure.wp-block-video[class~="33"] video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) figure.wp-block-video[class~="33"] video {
  object-fit: contain !important;
}

body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) {
  align-items: flex-start;
}

body.single .article-content .wp-block-columns:has(figure.wp-block-video[class~="33"]) > .wp-block-column.is-layout-flow {
  justify-content: flex-start;
}

@media (max-width: 768px) {
  body.single .article-content .wp-block-column[class~="22"].is-layout-flow,
  body.single .article-content .wp-block-column.is-layout-flow:has(.wp-block-gallery[class~="22"]) {
    justify-content: flex-start !important;
    min-height: 0 !important;
  }
}

@media (max-width: 768px) {
  body.single .article-content .wp-block-gallery[class~="22"] > figure.wp-block-image,
  body.single .article-content .wp-block-column[class~="22"] .wp-block-gallery > figure.wp-block-image {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    align-items: flex-start !important;
  }

  body.single .article-content .wp-block-gallery[class~="22"] > figure.wp-block-image img,
  body.single .article-content .wp-block-column[class~="22"] .wp-block-gallery > figure.wp-block-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    vertical-align: top !important;
  }
}

@media (max-width: 768px) {
  body.single .article-content .wp-block-column.gallery-two-cols.is-layout-flow,
  body.single .article-content .wp-block-column.gallery-two-col.is-layout-flow,
  body.single .article-content .wp-block-column.is-layout-flow:has(.wp-block-gallery.gallery-two-cols),
  body.single .article-content .wp-block-column.is-layout-flow:has(.wp-block-gallery.gallery-two-col) {
    justify-content: flex-start !important;
    min-height: 0 !important;
  }

  body.single .article-content .wp-block-gallery.gallery-two-cols > figure.wp-block-image,
  body.single .article-content .wp-block-gallery.gallery-two-col > figure.wp-block-image,
  body.single .article-content .wp-block-column.gallery-two-cols .wp-block-gallery > figure.wp-block-image,
  body.single .article-content .wp-block-column.gallery-two-col .wp-block-gallery > figure.wp-block-image {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    align-items: flex-start !important;
  }

  body.single .article-content .wp-block-gallery.gallery-two-cols > figure.wp-block-image img,
  body.single .article-content .wp-block-gallery.gallery-two-col > figure.wp-block-image img,
  body.single .article-content .wp-block-column.gallery-two-cols .wp-block-gallery > figure.wp-block-image img,
  body.single .article-content .wp-block-column.gallery-two-col .wp-block-gallery > figure.wp-block-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    vertical-align: top !important;
  }
}

/* ---------- 文章页图库类 44：横图/默认单列图库对齐正文宽（抵消 base .wp-block-gallery margin: 0 -1%），仅编辑器附加类 ---------- */
body.single .article-content .wp-block-gallery[class~="44"],
body.single .article-content .wp-block-column[class~="44"] .wp-block-gallery {
  margin: 0 0 10px 0 !important;
}

/* ========== BEGIN AVBJ Resource Meta Area ==========
 * 资源规格区：下载卡片前方 1–3 段说明文字
 * 范围：仅 body.single .article-content 内、紧邻 .erphpdown-box:not(.fixed) 之前的 1–3 个 <p>
 * 设计意图：将"图片之后、下载卡片之前"的普通段落升级为成熟、轻量、统一的资源规格区
 * 角色定位：倒数第 3 段 = 资源定位（弱化）；倒数第 2 段 = 文件规格（清晰）；最后 1 段 = 质量说明（干净）
 * 实现机制：使用现代 CSS :has() 反向选择器精准锁定，链条若被 <figure>/图库/视频块打断则不命中，
 *           因此不会污染普通正文段落、figcaption、视频块、下载卡片内部
 * 结构兼容：modown 主题 erphpdown/mobantu.php:151 会在 .erphpdown-box 之前硬编码输出
 *           <style>.erphpdown-box, .erphpdown-box + .article-custom-metas{display:block;}</style>
 *           因此每条选择器都并列一条带 "+ style + .erphpdown-box:not(.fixed)" 的兄弟链，
 *           同时覆盖"有 style 插入"与"无 style 插入"两种结构；二者互斥命中、样式相同
 * 约束：不使用 !important / 粉色 / 阴影 / 大背景块 / 虚线分隔；字体栈与下方 .erphpdown-box 一致，
 *       形成"说明 + 卡片"的同一视觉家族
 * 兼容：未支持 :has() 的极旧浏览器降级为主题默认段落样式（即当前观感），不破版
 * 新增日期：20260529；<style> 兼容补丁日期：20260529
 */

/* ---------- 桌面端 ---------- */

/* 倒数第 3 段：资源定位（弱化但可读、上方留白与图片拉开） */
body.single .article-content p:has(+ p + p + .erphpdown-box:not(.fixed)),
body.single .article-content p:has(+ p + p + style + .erphpdown-box:not(.fixed)) {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #64748b;
  margin: 36px 0 2px 0;
  overflow: visible;
}

/* 倒数第 2 段：文件规格（主体焦点、最突出） */
body.single .article-content p:has(+ p + .erphpdown-box:not(.fixed)),
body.single .article-content p:has(+ p + style + .erphpdown-box:not(.fixed)) {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #111827;
  margin: 0 0 2px 0;
  overflow: visible;
}

/* 倒数第 1 段：质量信任标签（低调但清楚、下方留白与下载卡片拉开） */
body.single .article-content p:has(+ .erphpdown-box:not(.fixed)),
body.single .article-content p:has(+ style + .erphpdown-box:not(.fixed)) {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #6b7280;
  margin: 0 0 36px 0;
  overflow: visible;
}

/* ---------- 移动端 ≤ 768px：紧凑、与购买卡片明确拉开 ---------- */
@media (max-width: 768px) {
  body.single .article-content p:has(+ p + p + .erphpdown-box:not(.fixed)),
  body.single .article-content p:has(+ p + p + style + .erphpdown-box:not(.fixed)) {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 24px 0 2px 0;
  }
  body.single .article-content p:has(+ p + .erphpdown-box:not(.fixed)),
  body.single .article-content p:has(+ p + style + .erphpdown-box:not(.fixed)) {
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 2px 0;
  }
  body.single .article-content p:has(+ .erphpdown-box:not(.fixed)),
  body.single .article-content p:has(+ style + .erphpdown-box:not(.fixed)) {
    font-size: 12px;
    margin: 0 0 24px 0;
  }
}

/* ---------- 夜间模式：仅改色相，主体行更亮、辅助行更柔 ---------- */
body.night .article-content p:has(+ p + p + .erphpdown-box:not(.fixed)),
body.night .article-content p:has(+ p + p + style + .erphpdown-box:not(.fixed)) {
  color: #6b7280;
}
body.night .article-content p:has(+ p + .erphpdown-box:not(.fixed)),
body.night .article-content p:has(+ p + style + .erphpdown-box:not(.fixed)) {
  color: #f3f4f6;
}
body.night .article-content p:has(+ .erphpdown-box:not(.fixed)),
body.night .article-content p:has(+ style + .erphpdown-box:not(.fixed)) {
  color: #9ca3af;
}

/* ========== END AVBJ Resource Meta Area ========== */
/* ========== BEGIN AVBJ Mobile Card Compact ==========
 * 仅移动端 ≤ 768px 收紧"下载购买卡片"内部上下间距，让 15P → VIP → 立即下载 三层更靠近，
 * 用户更快看到按钮。不改桌面端、不改按钮高度/颜色/文案/顺序，不改 tips 与夜间模式。
 * 仅覆盖已有 3 处间距值（语义保持一致，只缩 margin/padding/gap），不引入新结构。
 * 新增日期：20260529
 */
@media (max-width: 768px) {
  body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-value-wrap,
  body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-value-wrap {
    margin-bottom: 6px !important;
  }
  body.single .single-content .erphpdown-box:not(.fixed) .erphpdown-cart,
  body.single .article-content .erphpdown-box:not(.fixed) .erphpdown-cart {
    padding-top: 8px !important;
    gap: 10px !important;
  }
}
/* ========== END AVBJ Mobile Card Compact ========== */
/* ========== BEGIN AVBJ Usermenu P-Icon Align ==========
 * /user/ 侧栏"在线充值"的 P 图标来源于 .iconfont 字体（其他菜单项是 .icon），
 * 两种字体 glyph 宽度与 baseline 不同 → 横向起点 + 纵向基线均与其他菜单项不一致。
 * 本块仅微调 .icon-p：固定容器宽 18px + 字形横向居中 + 1px 视觉下移 + margin 与其他 .icon 一致。
 * 不改其他菜单图标 / 不改 HTML / 不改 PHP / 不改其他业务。
 * 新增日期：20260529
 */
.usermenu li a i.icon-p {
  display: inline-block;
  width: 18px;
  text-align: center;
  position: relative;
  top: 1px;
  margin-right: 10px;
  vertical-align: middle;
}
/* ========== END AVBJ Usermenu P-Icon Align ========== */


/* ========== BEGIN AVBJ Header Responsive UX ==========
 * 统一维护区：Header / 导航响应式视觉与体验优化
 * 子模块：
 *   [1] 1025-1279px 桌面中等宽度收紧（保持桌面认知）
 *   [2] ≤1024px 提前进入汉堡 + 抽屉模式（防破版 Bug 修复）
 *   [3] ≤1024px 汉堡按钮精修
 *   [4] ≤1024px 抽屉菜单视觉优化（含滑入动画）
 *   [5] ≤1024px 遮罩层优化（含淡入）
 *   [6] ≤1024px 夜间模式适配
 * 边界：仅视觉与响应式微调，不改菜单结构 / 入口 / 顺序 / 业务逻辑。
 * 依赖：现有 class（.header / .nav-main / .nav-right / .nav-left /
 *      .nav-button / .nav-mobile-show / .nav-mobile-show-mask）。
 * ============================================================ */

/* ---- [1] 1025-1279px 收紧（保持桌面 inline，防临界宽度挤压） ---- */
@media (min-width: 1025px) and (max-width: 1279px) {
  .nav-main { margin-left: 10px; }
  .nav-main > li > a { padding-left: 7px; padding-right: 7px; }
  .nav-right .nav-search,
  .nav-right .nav-night,
  .nav-right .nav-vip,
  .nav-right .nav-lang,
  .nav-right .nav-tougao,
  .nav-right .nav-notice,
  .nav-right .nav-cart {
    padding-left: 7px;
    padding-right: 7px;
  }
}

/* ---- [2] ≤1024px：提前进入汉堡按钮（关键 Bug 修复，防破版） ---- */
/*   覆盖 base.css 默认 .nav-right .nav-button{display:none}（L193）  */
/*   及 .nav-left{display:none}（L141），让汉堡入口在 ≤1024 就出现   */
@media (max-width: 1024px) {
  .nav-right .nav-button {
    display: block;
    padding: 9px 0 9px 9px;
  }
  .nav-left {
    display: block;
  }
}

/* ---- [3] ≤1024px 汉堡按钮精修：保留命中区 + 圆角 hover 反馈 ---- */
@media (max-width: 1024px) {
  .nav-left .nav-button > a.nav-loader,
  .nav-right .nav-button > a.nav-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    padding: 0 !important;
    transition: background-color .2s ease;
  }
  .nav-left .nav-button > a.nav-loader:hover,
  .nav-left .nav-button > a.nav-loader:active,
  .nav-right .nav-button > a.nav-loader:hover,
  .nav-right .nav-button > a.nav-loader:active {
    background-color: rgba(0, 0, 0, 0.05);
  }
  .nav-left .nav-button > a.nav-loader .icon,
  .nav-right .nav-button > a.nav-loader .icon {
    font-size: 20px;
    line-height: 1;
  }
}

/* ---- [4] ≤1024px 抽屉：滑入动画 + 精致 item 样式 ---- */
@media (max-width: 1024px) {
  .nav-main {
    display: block;
    float: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background-color: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 10002;
    padding: 16px 0 88px;
    margin-left: 0;
    border-radius: 0 18px 18px 0;
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1),
                visibility 0s linear .28s;
    will-change: transform;
  }
  .nav-mobile-show .nav-main {
    width: 280px;
    transform: translateX(0);
    visibility: visible;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1),
                visibility 0s linear 0s;
  }
  .nav-mobile-show .nav-main > li.menu-item {
    margin: 0 10px;
    padding: 0;
    border-bottom: none;
    border-radius: 12px;
    position: relative;
    transition: background-color .18s ease;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  }
  .nav-mobile-show .nav-main > li.menu-item:last-child {
    box-shadow: none;
  }
  .nav-mobile-show .nav-main > li.menu-item > a {
    padding: 13px 14px;
    font-size: 15px;
    line-height: 1.4;
    border-radius: 12px;
  }
  .nav-mobile-show .nav-main > li.menu-item:hover,
  .nav-mobile-show .nav-main > li.menu-item:active {
    background-color: rgba(0, 0, 0, 0.04);
  }
  .nav-mobile-show .nav-main > li.menu-item.current-menu-item::before,
  .nav-mobile-show .nav-main > li.menu-item.current-menu-parent::before,
  .nav-mobile-show .nav-main > li.menu-item.current-menu-ancestor::before,
  .nav-mobile-show .nav-main > li.menu-item.current_page_item::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 11px;
    bottom: 11px;
    width: 3px;
    border-radius: 2px;
    background-color: var(--theme-color);
  }
}

/* ---- [5] ≤1024px 遮罩层：高级感颜色 + 模糊 + 淡入 ---- */
@media (max-width: 1024px) {
  .nav-mobile-show-mask {
    background-color: rgba(15, 18, 24, 0.45) !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: avbj-nav-mask-fade-in .28s ease both;
  }
  @keyframes avbj-nav-mask-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* ---- [6] ≤1024px 夜间模式适配 ---- */
@media (max-width: 1024px) {
  body.night .nav-main {
    background-color: #1c1c1f;
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.5);
  }
  body.night .nav-mobile-show .nav-main > li.menu-item {
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  }
  body.night .nav-mobile-show .nav-main > li.menu-item:last-child {
    box-shadow: none;
  }
  body.night .nav-mobile-show .nav-main > li.menu-item:hover,
  body.night .nav-mobile-show .nav-main > li.menu-item:active {
    background-color: rgba(255, 255, 255, 0.05);
  }
  body.night .nav-mobile-show-mask {
    background-color: rgba(0, 0, 0, 0.55) !important;
  }
  body.night .nav-left .nav-button > a.nav-loader:hover,
  body.night .nav-left .nav-button > a.nav-loader:active,
  body.night .nav-right .nav-button > a.nav-loader:hover,
  body.night .nav-right .nav-button > a.nav-loader:active {
    background-color: rgba(255, 255, 255, 0.07);
  }
}
/* ========== END AVBJ Header Responsive UX ========== */
/* ========== BEGIN AVBJ User Center Mobile UX ==========
 * 统一维护区：移动端用户中心视觉与交互精修（Phase 1, CSS-only）
 * 子模块：
 *   [1] 容器 + 抽屉收敛（覆盖 L2682-2910 重复块的不一致项）
 *   [2] 用户标题区 + 菜单 item 移动产品化（44px 触控 + 品牌点缀）
 *   [3] 抽屉打开背景遮罩（CSS-only，:has(.userside.open)）
 *   [4] #mobile-sidebar-toggle 视觉降级（去 pulse + tab 把手风格）
 *   [5] 内容区 + 表单移动适配（充值/资料/工单/列表）
 *   [6] 层级协调（底栏 / 抽屉 / 遮罩 z-index 重排）
 *   [7] 夜间模式适配
 * 边界：纯 CSS，不改 PHP / HTML / JS / 业务逻辑 / 入口含义。
 * 兼容性：:has() 现代选择器（Chrome 105+/Safari 15.4+/Firefox 121+，>96% 用户）
 *        老旧浏览器优雅退化为「无遮罩 + 抽屉直接打开」，不影响功能。
 * ============================================================ */

/* ---- [1] ≤768 容器 + 抽屉精修（覆盖旧重复块的 width/left/transform 冲突）---- */
@media (max-width: 768px) {
  body .container.container-user {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body .userside {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: min(82vw, 320px) !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 22px 14px 88px !important;
    background-color: #fff !important;
    border-radius: 0 18px 18px 0 !important;
    box-shadow: 12px 0 32px rgba(0, 0, 0, 0.16) !important;
    transform: translateX(-100%) !important;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    will-change: transform;
  }
  body .userside.open {
    transform: translateX(0) !important;
  }
}

/* ---- [2] ≤768 用户标题 + 菜单 item 精修 ---- */
@media (max-width: 768px) {
  body .userside .usertitle {
    padding: 4px 6px 16px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  }
  body .userside .usertitle .edit-avatar {
    margin-bottom: 10px !important;
  }
  body .userside .usertitle .avatar {
    width: 56px !important;
    height: 56px !important;
    border: 2px solid rgba(0, 0, 0, 0.04) !important;
  }
  body .userside .usertitle h2 {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 6px 0 8px !important;
  }
  body .userside .usercheck {
    padding: 5px 16px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
    width: auto !important;
    min-width: 84px !important;
    display: inline-block !important;
  }
  body .userside .mobantu-check {
    margin-top: 4px !important;
  }
  body .userside .mobantu-check p {
    font-size: 11px !important;
    margin-top: 6px !important;
  }

  body .userside .usermenus {
    margin: 0 !important;
    padding: 4px 0 0 !important;
  }
  body .userside .usermenu {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  body .userside .usermenu li {
    margin: 0 0 2px !important;
    padding: 0 !important;
    position: relative;
    list-style: none !important;
  }
  body .userside .usermenu li a {
    display: flex !important;
    align-items: center !important;
    padding: 11px 14px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    border-radius: 10px !important;
    color: #2d2d35 !important;
    background-color: transparent !important;
    transition: background-color .18s ease, color .18s ease !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    transform: none !important;
    box-shadow: none !important;
    font-weight: 500 !important;
  }
  body .userside .usermenu li a i {
    display: inline-block !important;
    width: 22px !important;
    font-size: 17px !important;
    color: #9b9ba3 !important;
    margin-right: 12px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    top: 0 !important;
  }
  body .userside .usermenu li a i.icon-p {
    width: 22px !important;
    margin-right: 12px !important;
    top: 0 !important;
  }
  body .userside .usermenu li a:hover,
  body .userside .usermenu li a:active {
    background-color: rgba(0, 0, 0, 0.04) !important;
    color: #2d2d35 !important;
    transform: none !important;
    box-shadow: none !important;
  }
  body .userside .usermenu li.active a {
    background-color: rgba(214, 51, 132, 0.08) !important;
    color: var(--theme-color) !important;
    font-weight: 600 !important;
  }
  body .userside .usermenu li.active a i {
    color: var(--theme-color) !important;
  }
  body .userside .usermenu li.active::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 2px;
    background-color: var(--theme-color);
    z-index: 1;
  }
}

/* ---- [3] ≤768 抽屉打开背景遮罩 + Body 滚动锁（CSS-only :has）---- */
@media (max-width: 768px) {
  body:has(.userside.open)::after {
    content: "";
    position: fixed;
    inset: 0;
    background-color: rgba(15, 18, 24, 0.48);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 9995;
    pointer-events: none;
    animation: avbj-uc-mask-in .28s ease both;
  }
  @keyframes avbj-uc-mask-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  body:has(.userside.open) {
    overflow: hidden !important;
  }
}

/* ---- [4] ≤768 #mobile-sidebar-toggle：成熟移动端侧栏拉手（rev R5）---- */
/*   设计原则：                                                       *
 *   - 永远固定在屏幕左侧中部可见（不靠 hover / scroll 触发）；        *
 *   - 视觉是"抽屉边缘拉手"：浅色半透明卡片 + 低饱和品牌紫粉点缀；     *
 *   - 去掉持续 pulse / 呼吸动画，仅进入时一次轻微滑入，不抢页面主体； *
 *   - 视觉 34×60，::before 隐形扩展触控区到 ≥44px；                  *
 *   - 阴影减轻、不刺眼、不压住表单文字；箭头图标清晰可见；           *
 *   - 抽屉打开时淡出 + 平移（与 [3] 遮罩协同）。                      */
@media (max-width: 768px) {
  #mobile-sidebar-toggle {
    display: inline-flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 26px !important;
    height: 56px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    background-image: none !important;
    border: 1px solid rgba(140, 90, 170, 0.12) !important;
    border-left: none !important;
    border-radius: 0 13px 13px 0 !important;
    box-shadow: 1px 0 6px rgba(60, 30, 80, 0.07) !important;
    color: #9a6aa8 !important;
    z-index: 10000 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    filter: none !important;
    -webkit-backdrop-filter: saturate(1.1) blur(4px) !important;
    backdrop-filter: saturate(1.1) blur(4px) !important;
    opacity: 0.85 !important;
    transition:
      opacity .25s ease,
      transform .25s cubic-bezier(.4, 0, .2, 1),
      background-color .2s ease,
      box-shadow .2s ease !important;
    /* 仅进入页面一次轻微滑入，无回弹 / 无循环（已移除 pulse 呼吸）   */
    animation: avbj-uc-toggle-in .42s cubic-bezier(.2, .8, .2, 1) .35s 1 backwards !important;
    will-change: transform, opacity;
    overflow: visible !important;
  }
  /* 隐形触控区扩展：把可点击区扩到 ≥44×72，提升命中率 */
  #mobile-sidebar-toggle::before {
    content: "" !important;
    position: absolute !important;
    top: -10px !important;
    bottom: -10px !important;
    left: 0 !important;
    right: -18px !important;
    background: transparent !important;
    z-index: -1 !important;
  }
  /* 右侧 2px 低饱和品牌色细条：抽屉边缘语义点缀（不大面积着色） */
  #mobile-sidebar-toggle::after {
    content: "" !important;
    position: absolute !important;
    top: 13px !important;
    bottom: 13px !important;
    right: 4px !important;
    width: 2px !important;
    border-radius: 1px !important;
    background-color: rgba(150, 90, 175, 0.22) !important;
    transition: background-color .2s ease !important;
    z-index: 0 !important;
  }
  #mobile-sidebar-toggle:hover,
  #mobile-sidebar-toggle:active {
    opacity: 1 !important;
    background-color: #fff !important;
    transform: translate(1px, -50%) !important;
    box-shadow: 3px 0 10px rgba(60, 30, 80, 0.12) !important;
  }
  #mobile-sidebar-toggle:hover::after,
  #mobile-sidebar-toggle:active::after {
    background-color: rgba(150, 90, 175, 0.5) !important;
  }
  #mobile-sidebar-toggle i {
    font-size: 15px !important;
    color: #9a6aa8 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    transition: transform .2s ease, color .2s ease !important;
  }
  #mobile-sidebar-toggle:hover i,
  #mobile-sidebar-toggle:active i {
    color: #7d4f96 !important;
  }
  /* 关键帧：进入时一次性轻微滑入（无回弹、无循环，不抢主体） */
  @keyframes avbj-uc-toggle-in {
    from { transform: translate(-100%, -50%); opacity: 0; }
    to   { transform: translate(0, -50%);     opacity: 0.85; }
  }
  /* 抽屉打开时把手淡出 + 平移，避免遮挡内容与误触 */
  body:has(.userside.open) #mobile-sidebar-toggle {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-100%, -50%) !important;
  }
}

/* ---- [5] ≤768 内容区 + 表单移动适配 ---- */
@media (max-width: 768px) {
  body .container-user .content {
    padding: 0 !important;
  }
  body .user-main {
    padding: 14px 14px 24px !important;
    min-height: auto !important;
  }

  /* user-meta：label 上 / 输入框下，全宽 */
  body .user-meta {
    margin: 0 !important;
  }
  body .user-meta li {
    padding-left: 0 !important;
    margin-bottom: 14px !important;
  }
  body .user-meta label {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 6px !important;
    text-align: left !important;
    line-height: 1.4 !important;
    font-size: 13px !important;
    color: #666 !important;
    display: block !important;
  }
  body .user-meta .form-control,
  body .form-control.input-recharge {
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    line-height: normal !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
  }
  body textarea.form-control {
    height: auto !important;
    min-height: 100px !important;
    padding: 12px 14px !important;
    line-height: 1.5 !important;
  }

  /* 充值卡 + 通用按钮触控 ≥44px */
  body #charge-form .btn-recharge,
  body #charge-form2 .btn-card,
  body .ticket-new .btn,
  body .charge .btn {
    min-height: 44px !important;
    padding: 0 18px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    line-height: 44px !important;
  }

  /* 工单提交表单：label 上 + 输入框下 + 全宽 */
  body .ticket-new {
    padding: 4px 0 0 !important;
  }
  body .ticket-new ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  body .ticket-new li {
    padding-left: 0 !important;
    margin-bottom: 14px !important;
    list-style: none !important;
  }
  body .ticket-new .tit {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    text-align: left !important;
    padding: 0 0 6px !important;
    font-size: 13px !important;
    color: #666 !important;
    display: block !important;
  }
  body .ticket-new #email,
  body .ticket-new input[type="text"],
  body .ticket-new input[type="email"],
  body .ticket-new select,
  body .ticket-new textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
  }
  body .ticket-new input[type="text"],
  body .ticket-new input[type="email"],
  body .ticket-new select {
    height: 44px !important;
  }
  body .ticket-new textarea {
    min-height: 120px !important;
    padding: 12px 14px !important;
    line-height: 1.5 !important;
  }

  /* 工单：标题层级更清楚 */
  body .ticket-new h3 {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 2px 0 16px !important;
    padding: 0 0 0 0 !important;
    color: #1f2430 !important;
    border: none !important;
    background: transparent !important;
  }
  /* 工单：类别单选项不拥挤，做成可点标签（≥40px 触控） */
  body .ticket-new .radio-inline {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 40px !important;
    margin: 0 10px 0 0 !important;
    padding: 6px 2px !important;
    font-size: 14px !important;
    color: #2d2d35 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
  }
  body .ticket-new .radio-inline input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 7px 0 0 !important;
    vertical-align: middle !important;
    accent-color: var(--theme-color) !important;
    flex-shrink: 0 !important;
  }
  /* 工单：内容下方「图床」说明降为辅助文案，不抢主视觉 */
  body .ticket-new li > p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #9a9aa2 !important;
    margin: 8px 0 0 !important;
  }
  body .ticket-new li > p a {
    color: var(--theme-color) !important;
  }
  /* 工单：提交按钮区——撤销内联 float / 负边距，改为移动端主按钮布局 */
  body .ticket-new li:last-child {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }
  body .ticket-new li:last-child br {
    display: none !important;
  }
  body .ticket-new .ticket-new-submit {
    float: none !important;
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    line-height: 48px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  /* 工单：提交说明置于按钮下方居中，不再负边距浮动 */
  body .ticket-new li:last-child > p {
    float: none !important;
    margin: 10px 0 0 !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #9a9aa2 !important;
  }

  /* 工单回复气泡卡片化 */
  body .ticket-item {
    padding: 12px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
  }
  body .ticket-item-content dt {
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    left: 0 !important;
    margin-bottom: 8px !important;
  }
  body .ticket-item-content dl.ticket-item-reply dt {
    left: auto !important;
    right: 0 !important;
    text-align: right !important;
  }
  body .ticket-item-content dt img,
  body .ticket-item-content dt .avatar {
    width: 36px !important;
    height: 36px !important;
  }

  /* 列表项卡片化 */
  body .user-postlist {
    margin-top: 8px !important;
  }
  body .user-postlist li {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  }

  /* 警告条 */
  body .container-user-warning .warning {
    border-radius: 0 !important;
    margin-bottom: 12px !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  /* ---- 个人资料页（action=info）移动端分组卡片 ----
   * 用 :has(#bind-email) 精准命中个人资料页（其它用户中心子页无此元素，不受影响）。
   * 三个 <form> 天然对应：基本资料 / 邮件 / 密码 → CSS 形成分组卡片感，不改 HTML。 */
  body .user-main:has(#bind-email) {
    padding-left: 16px !important;
  }
  body .user-main:has(#bind-email) form {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    border-radius: 14px !important;
    padding: 16px 14px 18px !important;
    margin: 0 0 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
  }
  body .user-main:has(#bind-email) form .user-meta {
    margin: 0 !important;
  }
  body .user-main:has(#bind-email) form .user-meta > li {
    padding-left: 0 !important;
    margin-bottom: 14px !important;
  }
  body .user-main:has(#bind-email) form .user-meta > li:last-child {
    margin-bottom: 0 !important;
  }
  /* 只读信息行（用户名 / 注册时间）紧凑 */
  body .user-main:has(#bind-email) form .user-meta > li > label {
    float: none !important;
    width: 100% !important;
    margin: 0 0 6px !important;
    text-align: left !important;
    font-size: 13px !important;
    color: #666 !important;
    display: block !important;
    line-height: 1.4 !important;
  }
  /* 输入区域统一全宽 */
  body .user-main:has(#bind-email) form .form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }
  body .user-main:has(#bind-email) form input.form-control {
    height: 44px !important;
    padding: 0 14px !important;
  }
  body .user-main:has(#bind-email) form textarea.form-control {
    height: auto !important;
    min-height: 96px !important;
    padding: 12px 14px !important;
    line-height: 1.5 !important;
  }

  /* 验证码行：输入框 + 「获取验证码」做成一行，链接变轻量次级按钮 */
  body .user-main:has(#bind-email) form .user-meta > li:has(a[evt*="captcha"]) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
  }
  body .user-main:has(#bind-email) form .user-meta > li:has(a[evt*="captcha"]) > label {
    flex: 0 0 100% !important;
  }
  body .user-main:has(#bind-email) form .user-meta > li > input[name="captcha"].form-control {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: block !important;
  }
  body .user-main:has(#bind-email) form a[evt*="captcha"] {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: 44px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    background-color: rgba(214, 51, 132, 0.08) !important;
    color: var(--theme-color) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  body .user-main:has(#bind-email) form a[evt*="captcha"] i {
    font-size: 15px !important;
    color: var(--theme-color) !important;
  }

  /* 三个提交按钮：统一为移动端主按钮（全宽、同高、同圆角） */
  body .user-main:has(#bind-email) form .user-meta > li > .btn-primary {
    float: none !important;
    display: block !important;
    width: 100% !important;
    min-height: 46px !important;
    line-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  /* 按钮旁的辅助提示文字下移、降为辅助色，不抢主视觉 */
  body .user-main:has(#bind-email) form .user-meta > li > .form-tips {
    display: block !important;
    margin: 8px 0 0 !important;
    font-size: 12px !important;
    color: #9a9aa2 !important;
    line-height: 1.5 !important;
  }
}

/* ---- [6] ≤768 层级协调：底栏 z 低于遮罩，抽屉打开时被覆盖 ---- */
@media (max-width: 768px) {
  .footer-fixed-nav {
    z-index: 9994 !important;
  }
}

/* ---- [7] ≤768 夜间模式适配 ---- */
@media (max-width: 768px) {
  body.night .userside {
    background-color: #1c1c1f !important;
    box-shadow: 12px 0 32px rgba(0, 0, 0, 0.5) !important;
  }
  body.night .userside .usertitle {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }
  body.night .userside .usertitle .avatar {
    border-color: rgba(255, 255, 255, 0.06) !important;
  }
  body.night .userside .usermenu li a {
    color: #d8d8de !important;
  }
  body.night .userside .usermenu li a i {
    color: #6e6e74 !important;
  }
  body.night .userside .usermenu li a:hover,
  body.night .userside .usermenu li a:active {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #d8d8de !important;
  }
  body.night .userside .usermenu li.active a {
    background-color: rgba(214, 51, 132, 0.18) !important;
    color: #ff7eb6 !important;
  }
  body.night .userside .usermenu li.active a i {
    color: #ff7eb6 !important;
  }
  body.night:has(.userside.open)::after {
    background-color: rgba(0, 0, 0, 0.6) !important;
  }
  body.night #mobile-sidebar-toggle {
    background: rgba(30, 28, 34, 0.94) !important;
    background-color: rgba(30, 28, 34, 0.94) !important;
    background-image: none !important;
    border-color: rgba(180, 130, 200, 0.16) !important;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.42) !important;
    color: #c8a8d4 !important;
  }
  body.night #mobile-sidebar-toggle i {
    color: #c8a8d4 !important;
  }
  body.night #mobile-sidebar-toggle::after {
    background-color: rgba(190, 140, 210, 0.3) !important;
  }
  body.night .user-meta label,
  body.night .ticket-new .tit {
    color: #aaaab2 !important;
  }
  body.night .ticket-new h3 {
    color: #e8e8ee !important;
  }
  body.night .ticket-new .radio-inline {
    color: #d8d8de !important;
  }
  body.night .ticket-new li > p {
    color: #8a8a92 !important;
  }
  body.night .user-postlist li {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
  }
  body.night .ticket-item {
    background-color: #18181b !important;
  }
}
/* ========== END AVBJ User Center Mobile UX ========== */
/* ========== BEGIN AVBJ Mobile Login Popup ==========
 * 统一维护区：移动端登录/注册弹窗 - 成熟视频平台风格 hero 卡片
 * 设计目标：把「贴底表单」改造为「真正居中的高级登录卡片」。
 * 关键覆盖：base.css L2926（@media max-width:480px）把 .sign-box
 *   设为 bottom:0/top:auto/transform:none/12px 12px 0 0 圆角，
 *   强制成为底部贴边表单 —— 我们必须高优先级把它复位为居中卡片。
 * 子模块：
 *   [1] 遮罩层：黑度 + 重磅模糊（视频站「下层暗化、上层聚焦」）
 *   [2] 容器：覆盖 bottom-sheet，强制居中 hero card + 品牌晕染
 *   [3] Logo：缩成品牌 mark（克制），上下留白构建焦点
 *   [4] 表单内边距 + 项间距（视觉节奏）
 *   [5] 输入框：圆角 14、淡灰底、焦点态品牌色软光环
 *   [6] 验证码/邀请码：pill 反馈，平时不抢色
 *   [7] 主按钮：加权 52px + 品牌色光晕 + 按压沉降
 *   [8] 底部辅助：上方细分隔线、字号 12.5、灰阶克制
 *   [9] 错误提示条圆角对齐 hero 卡片
 *   [10] 超短屏 <=640h 二级压缩
 *   [11] 夜间模式适配
 * 边界：仅 ≤768px 生效；桌面零影响；不改 PHP/HTML/JS/接口/字段。
 * ============================================================ */

/* ---- [1] 遮罩层 ---- */
@media (max-width: 768px) {
  .sign .sign-mask {
    background-color: rgba(12, 14, 20, 0.62) !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-backdrop-filter: blur(8px) saturate(1.1);
    backdrop-filter: blur(8px) saturate(1.1);
  }
  body.night .sign .sign-mask {
    background-color: rgba(0, 0, 0, 0.72) !important;
  }
}

/* ---- [2] 容器：强制居中 hero card（覆盖 base.css 的 bottom-sheet 规则）---- */
@media (max-width: 768px) {
  .sign .sign-box,
  .sign .sign-box.has-left {
    /* 覆盖 base.css L2926 的 bottom-sheet 强制规则 */
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    /* 卡片尺寸：宽度收窄成 hero 比例，避免顶到屏幕边缘失去卡片感 */
    width: min(88vw, 380px) !important;
    max-width: 380px !important;
    max-height: min(86vh, 640px) !important;
    padding-left: 0 !important;
    /* 全圆角（不是 12px 12px 0 0），完整卡片轮廓 */
    border-radius: 22px !important;
    overflow: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
    /* 多层阴影：远阴影撑出空间感 + 近阴影体现卡片厚度 + 内描边强化高级感 */
    box-shadow:
      0 24px 64px rgba(0, 0, 0, 0.42),
      0 8px 24px rgba(0, 0, 0, 0.18),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
    /* 顶部品牌色微光晕（不大面积着色，仅作视觉锚点） */
    background:
      radial-gradient(ellipse 240px 140px at 50% -30px,
        rgba(214, 51, 132, 0.10), rgba(214, 51, 132, 0) 70%),
      #ffffff !important;
    background-color: #ffffff !important;
  }
  /* has-left 侧图退化：移动端不展示侧图，统一卡片形态 */
  .sign .sign-box.has-left .loginimage {
    display: none !important;
  }
  body.night .sign .sign-box,
  body.night .sign .sign-box.has-left {
    background:
      radial-gradient(ellipse 240px 140px at 50% -30px,
        rgba(255, 126, 182, 0.14), rgba(255, 126, 182, 0) 70%),
      #1c1c1f !important;
    background-color: #1c1c1f !important;
    box-shadow:
      0 24px 64px rgba(0, 0, 0, 0.65),
      0 8px 24px rgba(0, 0, 0, 0.35),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  }
}

/* ---- [3] Logo 弱化 + form 内边距（构建视觉重心）---- */
@media (max-width: 768px) {
  .sign form {
    padding: 30px 26px 22px !important;
  }
  .sign .logo-login {
    height: 42px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 8px rgba(214, 51, 132, 0.10));
  }
  .sign form > .form-item:first-child {
    margin-bottom: 26px !important;
    padding-top: 4px;
  }
}

/* ---- [4] 表单项间距 + 前缀图标 ---- */
@media (max-width: 768px) {
  .sign .form-item {
    margin-bottom: 12px !important;
  }
  .sign .form-item > i.icon {
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #b3b3b8 !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
  body.night .sign .form-item > i.icon {
    color: #6e6e74 !important;
  }
}

/* ---- [5] 输入框 ---- */
@media (max-width: 768px) {
  .sign .form-control {
    min-height: 50px !important;
    height: 50px !important;
    padding: 0 14px 0 42px !important;
    font-size: 15.5px !important;  /* 16 太大 / 15 太小，15.5 同样防 iOS 放大 */
    border-radius: 14px !important;
    background-color: #f5f5f8 !important;
    border: 1.5px solid transparent !important;
    color: #2d2d35 !important;
    transition: background-color .18s ease,
                border-color .18s ease,
                box-shadow .18s ease !important;
    box-shadow: none !important;
  }
  .sign .form-control::placeholder {
    color: #b3b3b8;
    font-size: 14.5px;
    font-weight: 400;
  }
  .sign .form-control:focus {
    background-color: #fff !important;
    border-color: rgba(214, 51, 132, 0.45) !important;
    box-shadow: 0 0 0 4px rgba(214, 51, 132, 0.12) !important;
    outline: none !important;
  }
  .sign .form-item:has(> .captcha-clk) .form-control,
  .sign .form-item:has(> .captcha-clk2) .form-control,
  .sign .form-item:has(> .captcha-sms-clk) .form-control,
  .sign .form-item:has(> .invitation-link) .form-control {
    padding-right: 110px !important;
  }
  body.night .sign .form-control {
    background-color: #2a2a2e !important;
    color: #d8d8de !important;
    border-color: transparent !important;
  }
  body.night .sign .form-control::placeholder {
    color: #6e6e74;
  }
  body.night .sign .form-control:focus {
    background-color: #232327 !important;
    border-color: rgba(255, 126, 182, 0.45) !important;
    box-shadow: 0 0 0 4px rgba(255, 126, 182, 0.16) !important;
  }
}

/* ---- [6] 验证码 / 邀请码（克制 pill）---- */
@media (max-width: 768px) {
  .sign .captcha-clk,
  .sign .captcha-clk2,
  .sign .captcha-sms-clk {
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 36px !important;
    line-height: 36px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    font-weight: 500;
    color: #777 !important;
    background-color: rgba(0, 0, 0, 0.04) !important;
    transition: background-color .15s ease, color .15s ease, transform .12s ease !important;
    user-select: none;
  }
  /* 与输入框焦点联动：当同行 input 获得焦点时，按钮变品牌色（克制只在交互时露出） */
  .sign .form-item:focus-within .captcha-clk,
  .sign .form-item:focus-within .captcha-clk2,
  .sign .form-item:focus-within .captcha-sms-clk {
    color: var(--theme-color) !important;
    background-color: rgba(214, 51, 132, 0.10) !important;
  }
  .sign .captcha-clk:active,
  .sign .captcha-clk2:active,
  .sign .captcha-sms-clk:active {
    background-color: rgba(214, 51, 132, 0.18) !important;
    color: var(--theme-color) !important;
    transform: translateY(-50%) scale(0.97) !important;
  }
  .sign .captcha-clk.disabled,
  .sign .captcha-sms-clk.disabled {
    color: #aaa !important;
    background-color: rgba(0, 0, 0, 0.04) !important;
    cursor: default !important;
  }
  /* 验证码图片：base.css 默认 position:relative;top:-9px;right:-8px;width:80px，
     在我们 50px 高的输入框里形成「白色矩形贴片飘出右上角」的不协调感。
     这里改成 absolute 居中嵌入 + pill 容器语言（圆角/描边/微投影），
     与同位置的 .captcha-clk2 pill 视觉同源，不再像贴片。 */
  .sign .captcha-img {
    position: absolute !important;
    height: 32px !important;
    width: auto !important;
    max-width: 108px !important;
    top: 50% !important;
    bottom: auto !important;
    right: 8px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    background-color: #fff !important;
    object-fit: cover;
    cursor: pointer !important;
    display: block !important;
  }
  body.night .sign .captcha-img {
    border-color: rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.30) !important;
  }
  .sign .invitation-link {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 12px !important;
    font-size: 12.5px !important;
  }
  body.night .sign .captcha-clk,
  body.night .sign .captcha-clk2,
  body.night .sign .captcha-sms-clk {
    color: #888892 !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
  }
  body.night .sign .form-item:focus-within .captcha-clk,
  body.night .sign .form-item:focus-within .captcha-clk2,
  body.night .sign .form-item:focus-within .captcha-sms-clk {
    color: #ff7eb6 !important;
    background-color: rgba(255, 126, 182, 0.16) !important;
  }
  body.night .sign .captcha-clk:active,
  body.night .sign .captcha-clk2:active,
  body.night .sign .captcha-sms-clk:active {
    color: #ff7eb6 !important;
    background-color: rgba(255, 126, 182, 0.24) !important;
  }
  body.night .sign .captcha-clk.disabled,
  body.night .sign .captcha-sms-clk.disabled {
    color: #6e6e74 !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
  }
}

/* ---- [7] 主按钮（hero 卡片的视觉确定性）---- */
@media (max-width: 768px) {
  .sign .sign-submit {
    margin-top: 14px !important;
    padding-bottom: 4px !important;
    border-bottom: none !important;
    /* base.css L1855 给 .sign-submit 设了 overflow:hidden，会把按钮向下扩散的
       彩色阴影在 padding-bottom 处直接切平，呈现为一道独立的红色横条。
       这里解除裁切，让阴影自然消散，避免视觉瑕疵。 */
    overflow: visible !important;
  }
  .sign .sign-submit .btn {
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 18px !important;
    line-height: 52px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 14px !important;
    border: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #e83a8a 0%, #c0307a 100%) !important;
    /* 阴影：纯中性，不带任何粉色调。
       若用粉色 rgba blend 白底会产生 #f5d2e3 浅粉 halo，视觉上反而比按钮
       深色底部更亮，导致「按钮下方红色色块」错觉。 */
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.10),
      0 1px 3px rgba(0, 0, 0, 0.06) !important;
    transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease !important;
    letter-spacing: 0.04em;
    cursor: pointer;
  }
  .sign .sign-submit .btn:hover {
    opacity: 1 !important;
  }
  .sign .sign-submit .btn:focus {
    outline: 0 !important;
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.10),
      0 1px 3px rgba(0, 0, 0, 0.06) !important;
  }
  .sign .sign-submit .btn:active {
    transform: translateY(1px) !important;
    box-shadow:
      0 1px 4px rgba(0, 0, 0, 0.10),
      0 1px 2px rgba(0, 0, 0, 0.06) !important;
    opacity: 0.96 !important;
  }
  body.night .sign .sign-submit .btn {
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.40),
      0 1px 3px rgba(0, 0, 0, 0.30) !important;
  }
  body.night .sign .sign-submit .btn:focus {
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.40),
      0 1px 3px rgba(0, 0, 0, 0.30) !important;
  }
  body.night .sign .sign-submit .btn:active {
    box-shadow:
      0 1px 4px rgba(0, 0, 0, 0.36),
      0 1px 2px rgba(0, 0, 0, 0.24) !important;
  }
}

/* ---- [8] 底部辅助链接：细分隔 + 安静收尾 ---- */
@media (max-width: 768px) {
  .sign .sign-trans,
  .sign-trans {
    margin-top: 18px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    text-align: center !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    color: #b3b3b8 !important;
  }
  .sign .sign-trans a,
  .sign-trans a {
    color: #888 !important;
    font-weight: 500;
    margin: 0 4px;
  }
  .sign .sign-trans a:hover,
  .sign .sign-trans a:active,
  .sign-trans a:hover,
  .sign-trans a:active {
    color: var(--theme-color) !important;
  }
  .form-policy {
    margin-top: 10px !important;
    font-size: 12px !important;
    color: #888 !important;
    line-height: 1.55 !important;
    text-align: center !important;
  }
  .sign .sign-notice {
    padding: 0 22px 16px !important;
    font-size: 11px !important;
    color: #b3b3b8 !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }
  .sign .expend-container:after {
    right: 1rem !important;
    top: 1rem !important;
    height: 5rem !important;
    width: 5rem !important;
  }
  body.night .sign .sign-trans,
  body.night .sign-trans {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
    color: #6e6e74 !important;
  }
  body.night .sign .sign-trans a,
  body.night .sign-trans a {
    color: #b8b8c0 !important;
  }
  body.night .sign .sign-trans a:hover,
  body.night .sign .sign-trans a:active,
  body.night .sign-trans a:hover,
  body.night .sign-trans a:active {
    color: #ff7eb6 !important;
  }
  body.night .form-policy {
    color: #888892 !important;
  }
  body.night .sign .sign-notice {
    color: #6e6e74 !important;
  }
}

/* ---- [9] 错误提示条现代化（修复：vertical padding 不撑空态 height:0） ---- */
@media (max-width: 768px) {
  /* base.css L1867 关键约束：.sign-tips 默认 height:0 + overflow:hidden
     由 JS 在错误时把 height 撑高显示，无错误时保持 height:0 不可见。
     之前给 padding-top/bottom: 8 撑出 16px 可见 padding box（背景色露出）
     即使父 height:0 也无济于事 —— 这里把 vertical padding 归零，
     用 line-height 撑非空态高度。空态严格隐形。 */
  .sign-tips {
    background-color: rgba(184, 32, 64, 0.94) !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 30px !important;
    padding: 0 18px 0 40px !important;
    border-radius: 0 0 22px 22px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    letter-spacing: 0.01em;
  }
  /* 双重保险：明确空态规则。:empty 仅在元素无任何子节点（含文本）时命中，
     base.css L6 login.php 输出 <div class="sign-tips"></div> 默认是 :empty。 */
  .sign-tips:empty {
    padding: 0 !important;
    height: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .sign-tips:empty::before {
    display: none !important;
  }
  /* 非空态：感叹号图标定位由 line-height 撑出的 30px 容器中央承载，
     overflow:hidden 在空态会同时裁切 absolute 定位的 ::before。 */
  .sign-tips:not(:empty)::before {
    content: "!";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    line-height: 13px;
    text-align: center;
    border: 1.5px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.96);
    font-size: 11px;
    font-weight: 700;
    box-sizing: border-box;
    pointer-events: none;
  }
  body.night .sign-tips:not(:empty) {
    background-color: rgba(150, 28, 56, 0.96) !important;
  }
}

/* ---- [10] 超短屏（横屏 / iPhone SE 等 max-height ≤640） ---- */
@media (max-width: 768px) and (max-height: 640px) {
  .sign .sign-box,
  .sign .sign-box.has-left {
    max-height: 92vh !important;
  }
  .sign form {
    padding: 22px 22px 16px !important;
  }
  .sign .logo-login {
    height: 36px !important;
  }
  .sign form > .form-item:first-child {
    margin-bottom: 18px !important;
  }
  .sign .form-item {
    margin-bottom: 10px !important;
  }
  .sign .form-control {
    min-height: 46px !important;
    height: 46px !important;
  }
  .sign .sign-submit .btn {
    min-height: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
  }
  .sign .sign-trans,
  .sign-trans {
    margin-top: 14px !important;
    padding-top: 12px !important;
  }
}
/* ========== END AVBJ Mobile Login Popup ========== */

/* ========== BEGIN AVBJ Key Entry State (rev 2026-05-29) ==========
 * 移动端底部固定导航 KEY 入口（「直达」按钮，href*="guest_recharge"）。
 *
 * 修订原因：之前版本（rev 1）在 .special 状态（未持 KEY）强制了品牌粉色
 * 文字 + 图标，结果"直达"按钮永远粉色，看起来像永远被选中，压制了其它
 * nav 项的视觉，用户反馈"点别处也没有选中"。
 *
 * 当前策略（rev 2）：
 *   • 完全不染色 → 「直达」与其它 4 个 nav 项视觉完全一致
 *   • 已持 KEY 时，右上角一个小绿点作为细节状态指示
 *     （不影响 active 视觉，不抢色块，不像"选中态"）
 *
 * 边界：仅 .footer-fixed-nav 内 a[href*="guest_recharge"] 受影响
 *      不动 PHP / JS / KEY 业务函数 / nav-vip 顶部入口
 *      绝不读 / 写 mbt_key_* 函数；视觉判断仅靠 .special class 是否存在
 * ============================================================ */

@media (max-width: 768px) {
  /* 建立定位上下文，承载已持 KEY 的绿点指示 */
  .footer-fixed-nav a[href*="guest_recharge"] {
    position: relative;
  }

  /* 已持 KEY（无 .special class）：右上小绿点 */
  .footer-fixed-nav a[href*="guest_recharge"]:not(.special)::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #29c46a;
    box-shadow:
      0 0 0 1.5px #fff,
      0 1px 2px rgba(0, 0, 0, 0.18);
    pointer-events: none;
  }

  /* 夜间模式：绿点描边换深色，跟夜间背景呼应 */
  body.night .footer-fixed-nav a[href*="guest_recharge"]:not(.special)::after {
    background-color: #2cd06f;
    box-shadow:
      0 0 0 1.5px #1c1c1f,
      0 1px 2px rgba(0, 0, 0, 0.45);
  }
}
/* ========== END AVBJ Key Entry State ========== */


/* ========== BEGIN AVBJ Toplist Page (2026-05-29) ==========
 * 「排行」页面（移动端底部导航 → /ranking/ 之类的 page）使用 shortcode
 *   [modown_toplist_tab]
 * 复用主题 widget_posttoptablist（周/月/总三 tab）。
 *
 * 此段仅对 .avbj-toplist-page 命名空间生效，**不影响桌面 sidebar**
 * 原有的 widget-postlist / widget-toplist / widget-tablist 样式。
 *
 * 桌面端：保持 widget 默认观感（在 page 主体内自然展示）。
 * 移动端：扩大点击区、增大字号、紧凑列表项、首三名突出。
 * ============================================================ */

/* [1] page 内的 widget 标题统一隐藏（page 主体本身已有 H1 标题，避免双标题） */
.avbj-toplist-page > .widget-title {
  display: none !important;
}

/* [2] 容器：让 widget 看起来像 page 内容主体，去掉 sidebar 卡片感 */
.avbj-toplist-page {
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* [3] 三 tab（周/月/总）：增强可点击度，对齐底部导航的视觉节奏 */
.avbj-toplist-page .posttoptab.tab-flex {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 4px;
  margin: 0 0 14px;
  padding: 4px;
  background: #f3f4f6;
  border-radius: 12px;
}
.avbj-toplist-page .posttoptab.tab-flex a {
  flex: 1 1 0;
  margin: 0;
  padding: 9px 6px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.2;
  color: #6b7280;
  background: transparent;
  text-align: center;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.avbj-toplist-page .posttoptab.tab-flex a.active {
  color: var(--theme-color);
  background: #fff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* [4] 列表容器：保留 base.css 已有的 .posttopcon 切换显隐逻辑 */
.avbj-toplist-page .posttopcon {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* [5] 列表项：纯文字行，紧凑可读，序号视觉强化 */
.avbj-toplist-page .posttopcon li {
  position: relative;
  padding: 11px 4px 11px 38px;
  margin: 0;
  border-bottom: 1px solid #f0f0f3;
  line-height: 1.45;
}
.avbj-toplist-page .posttopcon li:last-child {
  border-bottom: 0;
}
.avbj-toplist-page .posttopcon li .sort {
  position: absolute;
  left: 0;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 6px;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  text-align: center;
}
.avbj-toplist-page .posttopcon li:first-child .sort {
  background: var(--theme-color);
  color: #fff;
  opacity: 1;
}
.avbj-toplist-page .posttopcon li:nth-child(2) .sort {
  background: var(--theme-color);
  color: #fff;
  opacity: 0.82;
}
.avbj-toplist-page .posttopcon li:nth-child(3) .sort {
  background: var(--theme-color);
  color: #fff;
  opacity: 0.64;
}
.avbj-toplist-page .posttopcon li h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #1f2937;
}
.avbj-toplist-page .posttopcon li h4 a {
  display: block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avbj-toplist-page .posttopcon li h4 a:hover,
.avbj-toplist-page .posttopcon li h4 a:active {
  color: var(--theme-color);
}

/* [6] 移动端微调：更紧凑、更易点 */
@media (max-width: 768px) {
  .avbj-toplist-page .posttoptab.tab-flex a {
    font-size: 14px;
    padding: 10px 6px;
  }
  .avbj-toplist-page .posttopcon li {
    padding: 12px 2px 12px 36px;
  }
  .avbj-toplist-page .posttopcon li h4 {
    font-size: 14.5px;
  }
}

/* [7] 夜间模式适配 */
body.night .avbj-toplist-page .posttoptab.tab-flex {
  background: #1f1f23;
}
body.night .avbj-toplist-page .posttoptab.tab-flex a {
  color: #a8a8b3;
}
body.night .avbj-toplist-page .posttoptab.tab-flex a.active {
  background: #2a2a30;
  color: var(--theme-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
}
body.night .avbj-toplist-page .posttopcon li {
  border-bottom-color: #2a2a30;
}
body.night .avbj-toplist-page .posttopcon li .sort {
  background: #2e2e34;
  color: #a8a8b3;
}
body.night .avbj-toplist-page .posttopcon li h4 {
  color: #e5e5e8;
}

/* [8] 桌面端居中：排行页无侧栏，撤销 base.css 第57行给 .content 预留的
 *     margin-right:320px，改为限宽 + 水平居中。
 *     用 :has(.avbj-toplist-page) 精准命中本页，不影响其它 default 模板页面。
 *     仅桌面端生效（移动端本就满宽，无需处理）。 */
@media (min-width: 769px) {
  .content-wrap:has(.avbj-toplist-page) .content {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    max-width: 860px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ========== END AVBJ Toplist Page ========== */


/* ========== BEGIN AVBJ Sticky Footer (2026-05-29) ==========
 * 全站骨架收口：内容少时 footer 自动贴近视口底部，杜绝底部大块空白。
 * 经典 flex 列骨架，全站级、零 page-id 特判、纯 CSS。
 *
 * 结构（已实测）：body 直接子级 = header / search-wrap / [banner] / .main / .footer
 *   - body 设为 flex 列容器并撑满视口高度；
 *   - 仅 body 直接子级 .main 用 flex:1 伸展，把 .footer 顶到底部；
 *   - .footer 不收缩；其余子级取自然高度；position:fixed 元素脱流不受影响。
 *
 * 兼容：
 *   - body 已有 margin-top:70px（桌面）/60px（移动），用 calc 抵消避免恒定多滚动；
 *   - 100dvh 优先（排除移动端地址栏抖动），渐进回退 100vh；
 *   - 排除 body.guest-immersive（沉浸式收银台自带 .guest-immersive-wrap 骨架）。
 * 直接子级选择器（body > .main / body > .footer）避免误伤内部同名结构。
 * ============================================================ */
body:not(.guest-immersive) {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh;
  min-height: calc(100vh - 70px);
  min-height: calc(100dvh - 70px);
}
body:not(.guest-immersive) > .main {
  flex: 1 0 auto !important;
}
body:not(.guest-immersive) > .footer {
  flex-shrink: 0 !important;
}
@media (max-width: 768px) {
  body:not(.guest-immersive) {
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
  }
}
/* ========== END AVBJ Sticky Footer ========== */


/* ========== BEGIN AVBJ Title Polish (2026-05-30) ==========
 * 本地化标题前台视觉收口：仅展示层。中文有标题感、韩文清晰、英文/编号不破坏、
 * 超长安全换行/截断。仅作用于详情页 H1 与文章卡片标题，不碰布局尺寸/正文/按钮/菜单/下载卡。
 * 不改 PHP / 模板 / 业务 / 回退逻辑。
 * 中文优先高质量黑体，避免回退细体发虚；word-break 由 break-all 改 normal 防中文/编号乱断。
 * ============================================================ */

/* [1] 详情页文章标题：更有重量、干净换行、CJK 优先字体 */
.article-title {
  font-weight: 600 !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  letter-spacing: 0.01em;
  /* A 方案：移除系统字体栈，继承全站 Pretendard 网页字体（各设备同一字节，跨设备一致） */
}

/* [2] 文章卡片标题（网格 + 列表样式 + 搜索/相关复用同选择器）：
 *     仅加字重 + 去 break-all + 同字体栈；不动 height / line-clamp / 字号 → 布局不变。 */
.grids .grid h3,
.grids .grid h3 a,
.lists .grid h3 a,
.lists .list h3 a {
  font-weight: 500 !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  /* A 方案：移除系统字体栈，继承全站 Pretendard 网页字体（各设备同一字节，跨设备一致） */
}

/* [3] 夜间模式：仅沿用既有颜色，不额外改色（此处不覆盖颜色，保持 base.css 既定） */
/* ========== END AVBJ Title Polish ========== */


/* ========== BEGIN AVBJ Card Hierarchy (2026-05-30) ==========
 * 资源卡片内部信息层级收口（仅展示层，纯色值/字重）：
 *   标题=主信息（中黑、有点击欲） > 分类/日期=辅助（淡灰、克制） ；价格清楚但去促销感。
 * 仅改颜色/字重/去阴影，不动结构 / 高度 / 缩略图 / line-clamp / 字号 → 布局与移动端不变。
 * 不影响详情页标题（.article-title 归 Title Polish）。
 * ============================================================ */

/* [1] 标题 → 主信息：跨设备渲染稳定收口。
 *   不用 500/600（PingFang 有 Medium、Windows 的 YaHei 无 → 合成假粗、各浏览器分裂）；
 *   改用真实存在的 Regular(400)（PingFang/YaHei/Noto 都有 → Mac/Win 一致），
 *   主信息与点击欲改由"加深颜色"承担；font-synthesis:none 杜绝缺失字重时的假粗。
 *   覆盖网格 + 列表样式卡片标题，统一表现。悬停品牌色由 base.css 负责。 */
.grids .grid h3 a,
.lists .grid h3 a,
.lists .list h3 a {
  color: #333 !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  -webkit-font-synthesis: none !important;
}
body.night .grids .grid h3 a,
body.night .lists .grid h3 a,
body.night .lists .list h3 a {
  color: #dcdce2 !important;
}

/* [2] 分类 → 辅助：文字降淡、字重轻；品牌粉点保留但收一点存在感 */
.grids .grid .cat {
  color: #9aa0a8 !important;
  font-weight: 400 !important;
}
.grids .grid .cat:after {
  opacity: 0.7;
}
body.night .grids .grid .cat {
  color: #7c7c84 !important;
}

/* [3] 日期/计数 → 辅助：淡灰，不抢标题（grid-meta 内价格有独立色，不受影响） */
.grids .grid .grid-meta {
  color: #9aa0a8 !important;
}
body.night .grids .grid .grid-meta {
  color: #6f6f77 !important;
}

/* [4] 价格 → 清楚但克制：去促销感（去文字阴影、字重 600、字距归零），保留橙底圆角 */
.posts.grids .post .grid-meta .price .fee {
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}
/* [5] 免费价格标签(.fee.free-tag) → 绿色，与左上角免费角标(#5cb85c)一致；付费 .fee 仍橙色不动 */
.grid-meta .price .fee.free-tag,
.posts.grids .post .grid-meta .price .fee.free-tag {
  background: #5cb85c !important;
  background-image: none !important;
  color: #fff !important;
  text-shadow: none !important;
}
/* [6] 仅 /free/ 分类页(body.category-free)：隐藏图片左上角"免费"角标(.grid/.list 的直接子 .free-tag)；
 *     右下角价格 .fee.free-tag（非直接子）保留；其它页面角标不受影响 */
body.category-free .grids .grid > .free-tag,
body.category-free .lists .grid > .free-tag,
body.category-free .lists .list > .free-tag {
  display: none !important;
}
/* ========== END AVBJ Card Hierarchy ========== */


/* ========== BEGIN AVBJ Mobile & Dark Fixes (2026-06-04) ==========
 * 三处真实体验修复，纯 CSS、各自作用域隔离、不影响浅色模式与其它页面：
 *   [1] 移动端折叠菜单箭头(.explose)命中区放大，更易点击；
 *   [2] 详情页资源下载卡片暗黑模式价格/折扣可读；
 *   [3] 游客充值页 guest-immersive 暗黑模式容器转深、文字层级清晰。
 * 不改 PHP/JS/HTML/业务/数据库/回调；不动已冻结的卡片标题/标题本地化/KEY 逻辑。
 * ============================================================ */

/* ---- [1] 移动端折叠菜单：放大箭头命中区（点 .explose 展开，由 base.js 处理；此处仅扩大可点区域）---- */
@media (max-width: 768px) {
  .nav-mobile-show .nav-main > li.menu-item-has-children > a {
    position: relative !important;
    padding-right: 56px !important;
  }
  .nav-mobile-show .nav-main .explose {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 56px !important;
    height: auto !important;
    line-height: normal !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.6 !important;
    z-index: 2;
  }
  .nav-mobile-show .nav-main .explose .icon {
    font-size: 14px !important;
  }
  .nav-mobile-show .nav-main .explose:active {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.05) !important;
  }
  body.night .nav-mobile-show .nav-main .explose:active {
    background: rgba(255, 255, 255, 0.08) !important;
  }
}

/* ---- [2] 详情页资源下载卡片：暗黑模式价格/折扣可读（覆盖写死的 #111，仅夜间）---- */
body.night.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-num,
body.night.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-num,
body.night.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-unit,
body.night.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-unit {
  color: #f2f2f5 !important;
}
body.night.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-label,
body.night.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price:not(.erphpdown-free-price) .erphpdown-price-label {
  color: #a8adb5 !important;
}
body.night.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price,
body.night.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price,
body.night.single .single-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price .erphpdown-free-title,
body.night.single .article-content .erphpdown-box:not(.fixed) .erphpdown-price.erphpdown-free-price .erphpdown-free-title {
  color: #f2f2f5 !important;
}
body.night.single .erphpdown-box:not(.fixed) .speed-hint {
  background: rgba(255, 255, 255, 0.10) !important;
  color: #d6d9de !important;
}
body.night.single .erphpdown-box:not(.fixed) .vip {
  color: #cfcfd6 !important;
}

/* ---- [3] 游客充值页 guest-immersive：暗黑模式整体转深 + 文字层级清晰 ---- */
body.guest-immersive.night {
  background: #15121d !important;
}
body.guest-immersive.night .guest-immersive-wrap {
  background: linear-gradient(160deg, #1b1726 0%, #16131f 50%, #110e18 100%) !important;
}
body.guest-immersive.night .guest-immersive-topbar {
  background: rgba(22, 19, 31, 0.92) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
body.guest-immersive.night .guest-immersive-title {
  color: #b8b8c0 !important;
}
body.guest-immersive.night .guest-immersive-text-box,
body.guest-immersive.night .guest-recharge-form-wrap {
  background: #201b2d !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45) !important;
}
body.guest-immersive.night .guest-immersive-status,
body.guest-immersive.night .guest-immersive-desc,
body.guest-immersive.night .guest-immersive-cost,
body.guest-immersive.night .key-hero-title {
  color: #ededf2 !important;
}
body.guest-immersive.night .guest-immersive-tagline,
body.guest-immersive.night .key-hero-sub,
body.guest-immersive.night .key-hero-tagline {
  color: #adadb8 !important;
}
body.guest-immersive.night .guest-immersive-footer {
  background: rgba(22, 19, 31, 0.6) !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  color: #8a8a92 !important;
}
/* 信息折叠块 */
body.guest-immersive.night .guest-info-content-inner,
body.guest-immersive.night .guest-info-content-inner p,
body.guest-immersive.night .guest-info-key-section .guest-info-key-item {
  color: #adadb8 !important;
}
body.guest-immersive.night .guest-info-content-inner,
body.guest-immersive.night .guest-info-key-section,
body.guest-immersive.night .guest-info-safe-p,
body.guest-immersive.night .guest-info-contact-p {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}
body.guest-immersive.night .guest-info-key-section .guest-info-key-title,
body.guest-immersive.night .guest-info-key-section .guest-info-key-sub,
body.guest-immersive.night .guest-info-key-headline {
  color: #e4e4ea !important;
}
body.guest-immersive.night .guest-info-row .guest-info-toggle,
body.guest-immersive.night .guest-info-row .guest-back-link {
  color: #c8c8d0 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}
body.guest-immersive.night .guest-info-row .guest-info-toggle:hover,
body.guest-immersive.night .guest-info-row .guest-back-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #e0e0e8 !important;
}
/* 小套餐卡(700/3000/6000)夜间样式已统一到 AVBJ Recharge Dark Unify 块（全局 body.night，覆盖两充值页）*/
/* key-center 表单/提示 */
body.guest-immersive.night .key-center-key-form label {
  color: #d0d0d8 !important;
}
body.guest-immersive.night .key-center-key-form input[type="text"] {
  background: #1a1626 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #ededf2 !important;
}
body.guest-immersive.night .key-center-tip {
  color: #a0a0aa !important;
}
/* ========== END AVBJ Mobile & Dark Fixes ========== */


/* ========== BEGIN AVBJ Payment Tab Perf (2026-06-04) ==========
 * 支付方式选项卡点击卡顿优化（仅作用于 .payment-options 选择区域）：
 * 根因 = 选中态用 transform: scale 缩放（label + 图标 rotate），移动端触发重绘/合成抖动且无过渡。
 * 修复 = 去掉缩放，选中态仅用 border + box-shadow（廉价、无回流），加轻量 GPU 过渡 → 点击即时流畅。
 * 不改支付逻辑 / 通道 / 金额 / 订单 / KEY；浅色与暗黑模式选中观感保留（边框+描边）。
 * ============================================================ */
.payment-options label {
  transition: border-color .12s ease, background-color .12s ease, box-shadow .12s ease, color .12s ease !important;
}
.payment-options input[type="radio"]:checked + label {
  transform: none !important;
}
.payment-options label i {
  transition: color .12s ease !important;
}
.payment-options input[type="radio"]:checked + label i {
  transform: none !important;
}
/* ========== END AVBJ Payment Tab Perf ========== */


/* ========== BEGIN AVBJ Recharge Dark Unify (2026-06-04) ==========
 * 统一「登录用户中心充值页」与「游客 KEY 充值页」的暗黑模式视觉。
 * 两页共用 part-checkout-form，此处对共享组件用全局 body.night 统一（不再 guest-only），
 * 使两页在暗黑下属于同一套设计系统。仅夜间生效，浅色模式与业务逻辑不受影响。
 *   - 小套餐卡(700/3000/6000)：深色卡面、金额可读；
 *   - 支付方式按钮：文字不发灰、选中态清楚；
 *   - $100 主推卡 / 充值按钮沿用既有（两页本就一致，不改）。
 * ============================================================ */

/* 小套餐卡（非 $100）夜间：深色卡面 + 可读金额（全局，两页一致）*/
body.night .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) {
  background: #26222f !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
body.night .checkout-cards-wrap .checkout-cards.prices label.price-option:not(.checkout-card-slot-3) .amount {
  color: #d6d6de !important;
}
/* 小套餐卡选中态夜间：品牌色描边/底，清晰不刺眼 */
body.night .checkout-cards-wrap .checkout-cards.prices input[type="radio"]:checked + label.price-option:not(.checkout-card-slot-3) {
  background: rgba(255, 107, 53, 0.12) !important;
  border-color: var(--points-color, #ff6b35) !important;
}

/* 支付方式按钮夜间：未选中文字不发灰、选中态清楚（全局，两页一致）*/
body.night .payment-options label {
  color: #c2c2cc !important;
}
body.night .payment-options label i {
  color: #c2c2cc !important;
}
body.night .payment-options input[type="radio"]:checked + label {
  color: #ffffff !important;
}
body.night .payment-options input[type="radio"]:checked + label i {
  color: var(--warning-color, #f5a623) !important;
}
/* ========== END AVBJ Recharge Dark Unify ========== */


/* ========== BEGIN AVBJ Pagination Polish (2026-06-04) ==========
 * 分页视觉收口：更轻、更现代、品牌色统一；不改分页/页码/URL/跳转逻辑（纯外观）。
 * 收口既有 .pagination（flex 版）：去每按钮硬边框与上抬位移、降字重、柔化阴影；
 * 当前页保留品牌渐变(--gradient-neon)但去掉生硬上抬；普通页轻量、悬停品牌微染；
 * 跳转输入/按钮更协调；亮/暗模式都清晰。复用既有「跳轉」多语言占位，不新增文案。
 * ============================================================ */
@media all {
  /* 普通页码：轻量扁平，去边框/阴影，柔和填充 */
  .pagination li a,
  .pagination li span {
    border-color: transparent !important;
    background: rgba(0, 0, 0, 0.045) !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    border-radius: 10px !important;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease !important;
  }
  body.night .pagination li a,
  body.night .pagination li span {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #c2c2cc !important;
  }

  /* 悬停：品牌微染，不上抬不换整块渐变（排除跳转箭头 .page-jump） */
  .pagination li a:hover:not(.page-jump) {
    background: rgba(214, 51, 132, 0.10) !important;
    color: var(--theme-color) !important;
    box-shadow: none !important;
    transform: none !important;
    border-color: transparent !important;
  }
  body.night .pagination li a:hover:not(.page-jump) {
    background: rgba(214, 51, 132, 0.20) !important;
    color: #ff7eb6 !important;
  }

  /* 当前页（两种渲染：.active>span 与 .current）：数字强制纯白 + 字重 + 轻投影，一眼可见
   * 注意必须含 .active，否则被上方 .pagination li span 的灰色 !important 盖住 */
  .pagination li.active span,
  .pagination ul > .active > span,
  .pagination li span.current {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.30) !important;
    box-shadow: 0 2px 10px rgba(214, 51, 132, 0.26) !important;
    transform: none !important;
    border-color: transparent !important;
    font-weight: 800 !important;
  }

  /* 跳转按钮图标：纸飞机(ri-send-plane-fill \f0d9) → 同库右 chevron(ri-arrow-right-s-line \ea6e)，不动 HTML */
  .pagination .page-jump i.ri-send-plane-fill::before {
    content: "\ea6e" !important;
  }

  /* 省略号：纯文本、无填充 */
  .pagination .dots {
    background: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    color: var(--text-secondary) !important;
    opacity: .7;
  }

  /* 跳转区：更协调（去重阴影、轻边框、输入透明） */
  .pagination .pagination-jump-container {
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  .pagination .pagination-jump-container:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .pagination .pagination-jump-container:hover #jump_page {
    background: rgba(214, 51, 132, 0.06) !important;
  }
  body.night .pagination .pagination-jump-container:hover #jump_page {
    background: rgba(214, 51, 132, 0.10) !important;
  }
  body.night .pagination .pagination-jump-container {
    border-color: rgba(255, 255, 255, 0.12) !important;
  }
  .pagination #jump_page {
    background: transparent !important;
    font-weight: 600 !important;
  }
  .pagination .pagination-jump-container .page-jump {
    border-left: none !important;
    box-shadow: none !important;
    background-color: var(--primary-color) !important;
    background-image: none !important;
    transition: background-color 140ms ease !important;
  }
  .pagination .pagination-jump-container .page-jump:hover {
    background-color: var(--primary-hover) !important;
    background-image: none !important;
    filter: none !important;
    color: var(--button-text) !important;
  }
}
/* ========== END AVBJ Pagination Polish ========== */


/* ========== BEGIN AVBJ Image Layout Extensions (2026-06-07) ==========
 * 扩展两项图片布局能力（CSS-only，作用域精准；不动 22/33/44/55 已冻结规则）：
 *   [11]  单张竖图对齐辅助：仅手动给「单张图片块」加 class 11 时生效，覆盖默认居中→左对齐，
 *         与图库视觉一致；普通单图 / 横图 / 未加 class 的图片不受影响。
 *   [222] 三列竖图图库：仅手动给「图库块」加 class 222 时生效，整齐三列网格。
 * 用 [class~="11"] / [class~="222"] 属性选择器：避免数字类名转义，且只命中手动添加的块。
 * ============================================================ */

/* [11] 单张图对齐辅助（仅 figure.wp-block-image 加了 11）：按正文宽度铺满，
 *      覆盖旧 max-height:88vh 限制，消除"左小图右空白"。 */
body.single .article-content figure.wp-block-image[class~="11"] {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
/* img 选择器特异性必须 ≥ 4437 行的 :not()三连(0,6,2)，否则 max-height:88vh 仍生效导致竖图被压、letterbox 居中 */
body.single .article-content .wp-block-image[class~="11"]:not(.avatar):not(.icon):not(.logo) img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: fill !important;
}

/* [222] 三列竖图图库（仅 .wp-block-gallery 加了 222；特异性高于「单张大图」块的 display:block）*/
body.single .article-content .wp-block-gallery[class~="222"] {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  margin: 0 0 10px 0 !important;
}
body.single .article-content .wp-block-gallery[class~="222"] > figure.wp-block-image {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single .article-content .wp-block-gallery[class~="222"] > figure.wp-block-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  vertical-align: top !important;
}
@media (max-width: 768px) {
  body.single .article-content .wp-block-gallery[class~="222"] {
    gap: 6px !important;
  }
}
/* ========== END AVBJ Image Layout Extensions ========== */

/* ========== BEGIN AVBJ Listing Card Design System (2026-06-12) ==========
   列表卡片接入全站品牌令牌（白天/夜间），配套品牌占位图 thumb-placeholder.svg
   与 base.js 懒加载 fadeIn 过渡。不加 overflow:hidden（recommend-tag 需溢出顶部）。
   回滚：删除本块并恢复 /root/visual_upgrade_backup_20260612_024932/ 内文件 */

/* 卡片基底：令牌化背景/描边/阴影，替换 base.css 默认白卡灰阴影 */
.posts.grids .post.grid {
    background: var(--background-light);
    border: 1px solid var(--border-color-light);
    box-shadow: var(--subtle-shadow);
    border-radius: 8px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.posts.grids .post.grid:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(45, 27, 74, 0.14);
    border-color: var(--border-color);
}
body.night .posts.grids .post.grid {
    background: var(--background-light);
    border-color: rgba(142, 36, 170, 0.12);
    color: var(--text-dark-secondary);
}
body.night .posts.grids .post.grid:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(142, 36, 170, 0.3);
}

/* 图片容器与顶角随卡片 8px；品牌渐变底与占位 SVG 同色系，fadeIn 间隙不露白底 */
.posts.grids .post.grid .img,
.posts.grids .post.grid .thumb {
    border-radius: 8px 8px 0 0;
}
.posts.grids .post.grid .img {
    background: linear-gradient(135deg, #241838 0%, #2D1B4A 55%, #1C1230 100%);
}
.posts.grids .post.grid .thumb { background: transparent; }
body.night .grids .grid img { background: transparent; }

/* hover 图片缩放收敛为克制的 1.02 */
.grids .grid .thumb:hover { transform: scale(1.02); }

/* 文本层级令牌化 */
.posts.grids .post.grid h3 a { color: var(--text-primary); }
.posts.grids .post.grid h3 a:hover { color: var(--primary-color) !important; }
body.night .posts.grids .post.grid h3 a { color: var(--text-dark-primary); }
.posts.grids .post.grid .grid-meta { color: var(--text-secondary); opacity: .85; }
body.night .posts.grids .post.grid .grid-meta { color: var(--text-dark-secondary); opacity: .7; }

/* 左上分类章：统一为半透明深紫胶囊 */
.grids .grid .img .img-cat,
.grids .list .img .img-cat,
.lists .list .img .img-cat {
    background: rgba(45, 27, 74, 0.62);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border-radius: 4px;
    padding: 2px 8px 3px;
    letter-spacing: .3px;
}
/* ========== END AVBJ Listing Card Design System ========== */

/* （LQIP v1 lqip-wait 模糊方案已于 2026-06-12 全量替换为双层竞速架构，
    样式见 lqip.css；回滚备份 /root/backup-20260612-160507-fullrollout/ ） */

/* ========== BEGIN AVBJ Article Commercial Final (2026-06-13) ==========
   文章详情页商业视觉收口：对齐基线 / 标题区紧凑 / 移动端图片增宽 / 夜间购买区标签修正。
   不触碰：图片加载状态机、11/22/222/33/44/55 已冻结布局语义、价格支付下载逻辑。
   回滚：删除本块并恢复 /root/backup-20260612-190620-article-commercial-final/ */

/* 1. 对齐基线：标题区与正文图片同列。
      正文列为 960px 居中（见 4343 行"内容列收敛"），而标题/元信息此前横跨整张
      1160px 卡片，左缘比图片宽出 100px，标题与图片不同轴。收齐到同一列。 */
body.single .single-content .article-header {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* 2. 标题主次：图片平台的标题应当短促有力——24px/normal 偏弱且松，
      收为 26px/600/1.4；元信息与首图间距 15→12px，首屏更快进入图片 */
body.single h1.article-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
body.single .article-header .article-meta {
  margin-bottom: 12px;
}

/* 3. 面包屑减重：单行化，超长横向滑动，不再折成两行挤压首屏（移动端实测
      "Current location:…"固定折两行，占近 50px 首屏高度） */
.breadcrumbs {
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.breadcrumbs::-webkit-scrollbar { display: none; }

/* 4. 夜间购买区标签：base.css 2274 行给标签的底色是页面背景 #232323，
      浮在 #303030 卡片描边上呈一块突兀灰板；改随卡片底色并提亮可读性 */
body.night .erphpdown-box .erphpdown-title,
body.night .erphpdown-box-default .erphpdown-title {
  background: #303030;
  color: #b9b5c2;
}

/* 5. 移动端（最高优先级）：图片是绝对主体。
      宽度链 container 15px + content.nosidebar 12px = 两侧各 27px 装饰，
      收为 12px+0 → 内容列 336→366px，单图实显面积 +9%；标题更紧凑，
      超长标题（实测 7 行 ≈250px）压缩约 1/4 高度，首屏更早见图 */
@media (max-width: 768px) {
  body.single .main .container { padding-left: 12px; padding-right: 12px; }
  /* !important 对冲 2701 行 "body .content{padding:1rem 1rem 0!important}"，
     特异性 (0,3,0) > (0,2,0)，仅文章页生效；保留其 padding-top 节奏 */
  body.single .content.nosidebar { padding-left: 0 !important; padding-right: 0 !important; }
  body.single h1.article-title { font-size: 19px; line-height: 1.45; margin-bottom: 6px; }
  body.single .article-header .article-meta { margin-bottom: 10px; }
  .breadcrumbs { padding-bottom: 8px; }
}
/* ========== END AVBJ Article Commercial Final ========== */

/* === START: rollbar 业务高亮层级（排行=唯一主题强调色；客服恢复普通灰，与 VIP/返回顶部一致） === */
/* 复用现有值：粉色 var(--theme-color)（base.css .qq-li）、白色 #fff（base.css .qq-li a）、灰底 #e9eaea（base.css .rollbar li）、图标灰 #888（base.css .rollbar a）、夜间灰 #232323（base.css body.night .rollbar li） */
.rollbar .rank-li{background: var(--theme-color);}
.rollbar .rank-li a{color: #fff !important;}
.rollbar .qq-li{background: #e9eaea;}
.rollbar .qq-li a{color: #888 !important;}
body.night .rollbar .qq-li{background: #232323;}
/* === END: rollbar 业务高亮层级 === */
