.sidebar_fulishe{
    --text-main:#1f2937;
    --text-desc:#9aa1ad;
    --border:rgba(0,0,0,.06);
    --hover:#f5f6f8;
    padding:14px;
    margin:0!important;
    border-radius:14px;
    background:linear-gradient(to right bottom,#f9ecc4 0%,#eadfab 100%);
    box-shadow:0 2px 8px rgba(15,23,42,.06);
    overflow:visible;
}
.sidebar_fulishe .dh-sidebar-block{
    background:#ffffff;
    color:var(--text-main);
    overflow:hidden;
    border-radius:16px;
    padding:8px 10px 10px;
}
.sidebar_fulishe .dh-welfare-head{
    padding:14px 8px 10px;
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.sidebar_fulishe .dh-welfare-title{
    font-size:17px;
    font-weight:500;
    color:#1f2937;
}
.sidebar_fulishe .dh-welfare-sub{
    font-size:12px;
    background:#e65c00;
    color:#fff;
    padding:2px 8px;
    border-radius:999px;
    white-space:nowrap;
}
.sidebar_fulishe .dh-welfare-list{
    list-style:none;
    margin:0;
    padding:0;
}
.sidebar_fulishe .dh-welfare-item a{
    display:flex;
    align-items:center;
    padding:9px 6px;
    gap:10px;
    color:inherit;
    text-decoration:none;
    border-radius:8px;
    transition:background .15s;
}
.sidebar_fulishe .dh-welfare-item a:hover{
    background:#f5f6f8;
}
.sidebar_fulishe .dh-welfare-icon{
    font-size:19px;
    flex-shrink:0;
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-style:normal;
    line-height:1;
}
.sidebar_fulishe .dh-welfare-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sidebar_fulishe .dh-welfare-name{
    font-size:14px;
    margin:0 0 2px;
    font-weight:400;
    color:#1f2937;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.sidebar_fulishe .dh-welfare-desc{
    font-size:12px;
    margin:0;
    color:#9aa1ad;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.sidebar_fulishe .dh-welfare-arrow{
    flex:none;
    width:14px;
    height:14px;
    position:relative;
    flex-shrink:0;
}
.sidebar_fulishe .dh-welfare-arrow::before{
    content:'';
    position:absolute;
    top:2px;
    left:4px;
    width:8px;
    height:8px;
    border-top:2px solid #c0c4cc;
    border-right:2px solid #c0c4cc;
    transform:rotate(45deg);
}
.sidebar_fulishe .dh-welfare-item:not(:last-child) a{
    border-bottom:1px solid var(--border);
}

@keyframes xwme-welfare-modal-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes xwme-welfare-modal-out {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.xwme-welfare-modal-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.38);
    opacity: 0;
    overscroll-behavior: contain;
    touch-action: none;
}

.xwme-welfare-modal-overlay.is-open,
.xwme-welfare-modal-overlay.is-closing {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
}

.xwme-welfare-modal-overlay.is-closing {
    animation: xwme-welfare-modal-out 0.1s ease forwards;
}

.xwme-welfare-modal-box {
    margin: 0 auto;
    width: 310px;
    max-width: calc(100vw - 32px);
    background: #283593;
    padding: 18px 10px 10px;
    border-radius: var(--xwme-radius-box, 18px);
    animation: xwme-welfare-modal-in 0.12s ease;
}

.xwme-welfare-modal-head {
    font-size: 20px;
    color: #ffc920;
    text-align: center;
    padding: 0 0 18px;
    font-weight: 400;
}

.xwme-welfare-modal-body {
    background: #fff;
    padding: 24px 20px;
    border-radius: var(--xwme-radius-card, 10px);
}

.xwme-welfare-qr-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
}

.xwme-welfare-qr-wrap canvas,
.xwme-welfare-qr-wrap img,
.xwme-welfare-qr-wrap table {
    width: 190px !important;
    height: 190px !important;
    border-radius: 8px;
}

.xwme-welfare-qr-wrap img {
    object-fit: contain;
}

.xwme-welfare-modal-desc {
    line-height: 1.7;
    margin: 24px -20px -20px;
    padding: 24px 20px;
    border-top: 1px dashed #283593;
    font-size: 14px;
    position: relative;
    color: rgba(0, 0, 0, 0.85);
    text-align: left;
}

.xwme-welfare-modal-desc::after,
.xwme-welfare-modal-desc::before {
    content: '';
    position: absolute;
    top: -8px;
    height: 16px;
    width: 8px;
    background: #283593;
}

.xwme-welfare-modal-desc::after {
    right: 0;
    border-radius: 50px 0 0 50px;
    box-shadow: inset 1px 0 1px 1px #2c346d;
}

.xwme-welfare-modal-desc::before {
    left: 0;
    border-radius: 0 50px 50px 0;
    box-shadow: inset -1px 0 1px 1px #2c346d;
}

@media (max-width: 400px) {
    .xwme-welfare-modal-box { width: calc(100vw - 24px); }
}
