.zbeautify-vip-button {
    --zbeautify-vip-a: #ff7ac8;
    --zbeautify-vip-b: #8b7cff;
    --zbeautify-vip-c: #64e5ff;
    --zbeautify-vip-ink: #fff;
    --zbeautify-vip-shadow: rgba(255, 122, 200, .28);
    --zbeautify-vip-ink-shadow: rgba(24, 14, 54, .9);
    --zbeautify-vip-veil: rgba(32, 18, 66, .3);
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, .62), transparent 18%),
        linear-gradient(115deg, var(--zbeautify-vip-a), var(--zbeautify-vip-b) 52%, var(--zbeautify-vip-c));
    color: var(--zbeautify-vip-ink) !important;
    box-shadow: 0 8px 22px var(--zbeautify-vip-shadow), inset 0 1px 0 rgba(255, 255, 255, .62);
    text-shadow: 0 1px 1px rgba(91, 48, 136, .22);
    overflow: hidden;
    transform: translateZ(0);
}

.zbeautify-vip-button::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, var(--zbeautify-vip-veil), rgba(32, 18, 66, .16) 44%, rgba(32, 18, 66, .36)),
        linear-gradient(0deg, rgba(24, 14, 54, .16), rgba(24, 14, 54, .16));
}

.zbeautify-vip-button:hover,
.zbeautify-vip-button:focus {
    color: var(--zbeautify-vip-ink) !important;
    transform: translateY(-1px);
}

.zbeautify-vip-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .9);
    outline-offset: 2px;
}

.zbeautify-vip-icon {
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .24);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38);
    color: #fff;
    text-shadow: 0 1px 2px var(--zbeautify-vip-ink-shadow), 0 0 6px var(--zbeautify-vip-ink-shadow);
}

.zbeautify-vip-icon .fa {
    font-size: 13px;
}

.zbeautify-vip-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    color: #fff;
    line-height: 1.15;
    text-shadow:
        0 1px 2px var(--zbeautify-vip-ink-shadow),
        0 0 6px var(--zbeautify-vip-ink-shadow),
        0 0 1px rgba(24, 14, 48, .95);
    white-space: nowrap;
}

.zbeautify-vip-title,
.zbeautify-vip-subtitle {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zbeautify-vip-title {
    font-weight: 700;
    letter-spacing: 0;
    color: #fff;
    -webkit-text-stroke: .35px rgba(24, 14, 54, .46);
}

.zbeautify-vip-subtitle {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .96);
    opacity: 1;
}

.zbeautify-vip-glow,
.zbeautify-vip-sparkles,
.zbeautify-vip-button::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.zbeautify-vip-glow {
    inset: -36% auto auto -12%;
    z-index: 0;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .38);
    filter: blur(10px);
}

.zbeautify-vip-sparkles {
    z-index: 1;
    inset: 0;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .95) 0 1.5px, transparent 2px) 82% 28% / 18px 18px,
        radial-gradient(circle, rgba(255, 255, 255, .75) 0 1px, transparent 1.5px) 18% 74% / 22px 22px;
}

.zbeautify-vip-button::after {
    z-index: 1;
    inset: -80% -20%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .44) 50%, transparent 60%);
    transform: translateX(-55%) rotate(8deg);
}

.zbeautify-vip-sakura {
    --zbeautify-vip-a: #ff78bd;
    --zbeautify-vip-b: #a884ff;
    --zbeautify-vip-c: #78e7ff;
    --zbeautify-vip-shadow: rgba(255, 120, 189, .28);
    --zbeautify-vip-veil: rgba(48, 20, 70, .32);
}

.zbeautify-vip-aqua {
    --zbeautify-vip-a: #57d9ff;
    --zbeautify-vip-b: #6d8cff;
    --zbeautify-vip-c: #c28bff;
    --zbeautify-vip-shadow: rgba(87, 217, 255, .24);
    --zbeautify-vip-veil: rgba(15, 38, 92, .34);
}

.zbeautify-vip-dream {
    --zbeautify-vip-a: #ff9ac7;
    --zbeautify-vip-b: #ffc86b;
    --zbeautify-vip-c: #8df0da;
    --zbeautify-vip-shadow: rgba(255, 154, 199, .26);
    --zbeautify-vip-veil: rgba(58, 32, 74, .38);
}

.navbar-top .navbar-form.navbar-right.navbar-but {
    display: inline-flex !important;
    align-items: center !important;
    height: var(--zbeautify-nav-align-height, 33px);
    min-height: var(--zbeautify-nav-align-height, 33px);
    line-height: 1;
}

.navbar-top .navbar-form.navbar-right.navbar-but > .but,
.navbar-top .navbar-form.navbar-right.navbar-but > .hover-show {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.navbar-top .navbar-form.navbar-right.navbar-but > .hover-show {
    display: inline-block !important;
    height: 34px;
    min-height: 34px;
    line-height: 0;
    vertical-align: middle;
}

.navbar-top .navbar-form.navbar-right.navbar-but > .hover-show > .sub-vip-card {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    line-height: 1.4;
}

.navbar-top .zbeautify-vip-nav {
    min-width: 92px;
    height: 34px;
    min-height: 34px;
    padding: 0 14px !important;
    border-radius: 999px !important;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.navbar-top .zbeautify-vip-nav.zbeautify-vip-size-compact {
    min-width: 82px;
    height: 32px;
    min-height: 32px;
    padding: 0 12px !important;
}

.navbar-top .zbeautify-vip-nav.zbeautify-vip-size-large {
    min-width: 108px;
    height: 38px;
    min-height: 38px;
    padding: 0 16px !important;
}

.navbar-top .zbeautify-vip-nav .zbeautify-vip-copy {
    flex-direction: row;
    align-items: center;
}

.sub-user-box .zbeautify-vip-panel {
    width: 100%;
    min-height: 58px;
    padding: 9px 14px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
}

.sub-user-box .zbeautify-vip-panel.zbeautify-vip-size-compact {
    min-height: 50px;
    padding: 8px 12px !important;
}

.sub-user-box .zbeautify-vip-panel.zbeautify-vip-size-large {
    min-height: 66px;
    padding: 10px 16px !important;
}

.sub-user-box .zbeautify-vip-panel .zbeautify-vip-copy {
    flex: 1;
    text-align: left;
}

.sub-user-box .zbeautify-vip-panel .zbeautify-vip-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
}

.zbeautify-vip-button.payvip-icon::before {
    display: block !important;
}

body.dark-theme .zbeautify-vip-button {
    border-color: rgba(255, 255, 255, .22) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24), 0 0 20px var(--zbeautify-vip-shadow), inset 0 1px 0 rgba(255, 255, 255, .22);
}

@media (prefers-reduced-motion: no-preference) {
    .zbeautify-vip-button.zbeautify-vip-motion {
        transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    }

    .zbeautify-vip-button.zbeautify-vip-motion::after {
        animation: zbeautify-vip-shine 3.8s ease-in-out infinite;
    }

    .zbeautify-vip-button.zbeautify-vip-motion .zbeautify-vip-icon {
        animation: zbeautify-vip-float 2.8s ease-in-out infinite;
    }
}

@keyframes zbeautify-vip-shine {
    0%, 42% {
        transform: translateX(-62%) rotate(8deg);
        opacity: 0;
    }
    58% {
        opacity: 1;
    }
    100% {
        transform: translateX(62%) rotate(8deg);
        opacity: 0;
    }
}

@keyframes zbeautify-vip-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1px);
    }
}

@media (max-width: 767px) {
    .navbar-top .zbeautify-vip-nav {
        min-width: 0;
        width: 38px;
        padding: 0 !important;
    }

    .navbar-top .zbeautify-vip-nav .zbeautify-vip-copy {
        display: none;
    }
}
