/**
 * 筱菟姫 - 前台样式
 * Version: 1.0.0
 */

/* ====================
   全局样式
   ==================== */

/* 可爱主题色 */
:root {
    --xiaotuji-primary: #ff6b9d;
    --xiaotuji-secondary: #4ecdc4;
    --xiaotuji-pink: #fff0f5;
    --xiaotuji-coral: #ffe4e1;
}

/* 全局过渡效果 */
.xiaotuji-transition {
    transition: all 0.3s ease;
}

/* ====================
   动画效果
   ==================== */

/* 弹跳动画 */
@keyframes xiaotuji-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 摇摆动画 */
@keyframes xiaotuji-wiggle {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

/* 脉冲动画 */
@keyframes xiaotuji-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* 闪烁动画 */
@keyframes xiaotuji-twinkle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* 浮动动画 */
@keyframes xiaotuji-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* 旋转动画 */
@keyframes xiaotuji-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ====================
   特效元素
   ==================== */

/* 爱心特效 */
.xiaotuji-heart {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: xiaotuji-heart-float 1s ease-out forwards;
}

@keyframes xiaotuji-heart-float {
    0% {
        transform: translateY(0) scale(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}

/* 星星特效 */
.xiaotuji-star {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: xiaotuji-star-twinkle 0.8s ease-out forwards;
}

@keyframes xiaotuji-star-twinkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(2) rotate(180deg);
        opacity: 0;
    }
}

/* 气泡特效 */
.xiaotuji-bubble {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    background: rgba(255, 107, 157, 0.3);
    border-radius: 50%;
    animation: xiaotuji-bubble-rise 1.5s ease-out forwards;
}

@keyframes xiaotuji-bubble-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-150px) scale(0);
        opacity: 0;
    }
}

/* ====================
   可爱装饰
   ==================== */

/* 猫咪装饰 */
.xiaotuji-cat-decoration {
    position: relative;
}

.xiaotuji-cat-decoration::before {
    content: "🐱";
    position: absolute;
    font-size: 1.2em;
}

/* 猫爪装饰 */
.xiaotuji-paw-decoration::before {
    content: "🐾";
    margin-right: 5px;
}

/* 花朵装饰 */
.xiaotuji-flower-decoration::before {
    content: "🌸";
    margin-right: 5px;
}

/* 星星装饰 */
.xiaotuji-star-decoration::before {
    content: "⭐";
    margin-right: 5px;
}

/* ====================
   按钮样式
   ==================== */

/* 可爱按钮 */
.xiaotuji-btn-cute {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.xiaotuji-btn-cute:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* 圆形按钮 */
.xiaotuji-btn-round {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ecdc4 0%, #7fdbda 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xiaotuji-btn-round:hover {
    transform: scale(1.1) rotate(10deg);
}

/* ====================
   卡片样式
   ==================== */

/* 可爱卡片 */
.xiaotuji-card-cute {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.1);
    border: 2px solid #fff0f5;
    transition: all 0.3s ease;
}

.xiaotuji-card-cute:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.2);
}

/* 毛玻璃卡片 */
.xiaotuji-card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ====================
   输入框样式
   ==================== */

/* 可爱输入框 */
.xiaotuji-input-cute {
    border: 2px solid #ffe4e1;
    border-radius: 25px;
    padding: 12px 20px;
    outline: none;
    transition: all 0.3s ease;
}

.xiaotuji-input-cute:focus {
    border-color: #ff6b9d;
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.2);
}

/* ====================
   标签样式
   ==================== */

/* 可爱标签 */
.xiaotuji-tag-cute {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    margin: 2px;
}

/* 渐变标签 */
.xiaotuji-tag-gradient {
    display: inline-block;
    background: linear-gradient(90deg, #ff6b9d, #4ecdc4);
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    margin: 2px;
}

/* ====================
   提示框样式
   ==================== */

/* 可爱提示框 */
.xiaotuji-tooltip-cute {
    position: relative;
}

.xiaotuji-tooltip-cute::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b9d;
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.xiaotuji-tooltip-cute:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* ====================
   加载动画
   ==================== */

/* 可爱加载 */
.xiaotuji-loading-cute {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #ffe4e1;
    border-top-color: #ff6b9d;
    border-radius: 50%;
    animation: xiaotuji-spin 1s linear infinite;
}

/* 脉冲加载 */
.xiaotuji-loading-pulse {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #ff6b9d;
    border-radius: 50%;
    animation: xiaotuji-pulse 1s ease-in-out infinite;
}

/* ====================
   响应式适配
   ==================== */

@media (max-width: 768px) {
    .greeting-widget {
        left: 10px !important;
        bottom: 80px !important;
        font-size: 12px !important;
        padding: 10px 15px !important;
    }

    .footer-cat {
        font-size: 40px !important;
    }
}

/* ====================
   打印样式
   ==================== */

@media print {

    .greeting-widget,
    .footer-cat,
    .scroll-progress {
        display: none !important;
    }
}

/* ====================
   授权系统弹窗
   ==================== */

.xtj-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: xtjModalFadeIn .25s ease;
}

@keyframes xtjModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.xtj-modal-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(145deg, #fff5f8, #ffffff);
    border-radius: 28px;
    padding: 34px 30px 26px;
    box-shadow: 0 24px 70px rgba(255, 107, 157, .22), 0 0 0 1px rgba(255, 107, 157, .12);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    animation: xtjModalBounceIn .45s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes xtjModalBounceIn {
    from { opacity: 0; transform: scale(.85) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.xtj-modal-deco {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 107, 157, .18) 0%, transparent 70%);
    pointer-events: none;
}

.xtj-modal-deco::after {
    content: "";
    position: absolute;
    bottom: -90px;
    left: -90px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(183, 108, 253, .14) 0%, transparent 70%);
}

.xtj-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 107, 157, .1);
    color: #ff6b9d;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all .25s ease;
    z-index: 2;
}

.xtj-modal-close:hover {
    background: #ff6b9d;
    color: #fff;
    transform: rotate(90deg);
}

.xtj-modal-header {
    text-align: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.xtj-modal-avatar {
    width: 68px;
    height: 68px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 8px 24px rgba(255, 107, 157, .25);
    animation: xtjModalAvatar 3s ease-in-out infinite;
}

@keyframes xtjModalAvatar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.xtj-modal-header h2 {
    font-size: 22px;
    margin: 0 0 6px;
    background: linear-gradient(90deg, #ff6b9d, #b76cfd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.xtj-modal-header p {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.xtj-modal-body {
    position: relative;
    z-index: 1;
}

.xtj-license-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 14px;
}

.xtj-license-state.active {
    background: rgba(78, 205, 196, .1);
    color: #3a9e8f;
}

.xtj-license-state.inactive {
    background: rgba(255, 107, 107, .1);
    color: #d64545;
}

.xtj-state-icon {
    font-size: 18px;
}

.xtj-license-info {
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 107, 157, .12);
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 18px;
}

.xtj-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .06);
    font-size: 13px;
}

.xtj-info-row:last-child {
    border-bottom: none;
}

.xtj-info-row span {
    color: #888;
}

.xtj-info-row strong {
    color: #333;
    font-weight: 600;
}

.xtj-input-wrap {
    margin-bottom: 16px;
}

.xtj-input-wrap label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

#xtj-license-key {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 107, 157, .2);
    border-radius: 18px;
    font-size: 14px;
    background: #fff;
    color: #333;
    outline: none;
    transition: all .25s ease;
    letter-spacing: .5px;
}

#xtj-license-key:focus {
    border-color: #ff6b9d;
    box-shadow: 0 0 0 4px rgba(255, 107, 157, .12);
}

.xtj-input-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #aaa;
}

.xtj-btn-activate,
.xtj-btn-deactivate {
    width: 100%;
    padding: 14px 22px;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

.xtj-btn-activate {
    background: linear-gradient(135deg, #ff6b9d, #b76cfd);
    color: #fff;
    box-shadow: 0 8px 22px rgba(255, 107, 157, .35);
}

.xtj-btn-activate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 157, .45);
}

.xtj-btn-activate.active {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    box-shadow: 0 8px 22px rgba(78, 205, 196, .35);
}

.xtj-btn-deactivate {
    background: rgba(255, 255, 255, .8);
    color: #888;
    border: 1px solid rgba(0, 0, 0, .08);
    margin-top: 12px;
}

.xtj-btn-deactivate:hover {
    background: rgba(255, 107, 107, .08);
    color: #d64545;
    border-color: rgba(255, 107, 107, .2);
}

.xtj-btn-icon {
    font-size: 16px;
}

.xtj-modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, .04);
    color: #bbb;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.xtj-license-tip {
    color: #888;
    font-size: 13px;
    text-align: center;
    padding: 16px;
}

.xtj-mini-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    background: #ffebee;
    color: #d64545;
    margin-left: 4px;
    font-weight: 500;
}

.xtj-mini-badge.active {
    background: #e0f7f5;
    color: #3a9e8f;
}

.xtj-user-center-license {
    position: relative;
}

/* 用户中心授权入口（JS 动态插入侧栏） */
.xtj-user-center-license-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-top: 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 245, 250, .85));
    border: 1px solid rgba(255, 107, 157, .18);
    box-shadow: 0 4px 14px rgba(255, 107, 157, .1);
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 14px;
    color: #555;
}

body.dark-theme .xtj-user-center-license-entry {
    background: linear-gradient(135deg, rgba(45, 40, 55, .9), rgba(55, 45, 65, .9));
    border-color: rgba(255, 107, 157, .25);
    color: #ddd;
}

.xtj-user-center-license-entry::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, .06), rgba(183, 108, 253, .06));
    opacity: 0;
    transition: opacity .25s ease;
}

.xtj-user-center-license-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 107, 157, .2);
    border-color: rgba(255, 107, 157, .35);
}

.xtj-user-center-license-entry:hover::before {
    opacity: 1;
}

.xtj-entry-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b9d, #b76cfd);
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 107, 157, .25);
}

.xtj-entry-text {
    flex: 1;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.xtj-entry-arrow {
    font-size: 18px;
    color: #ff6b9d;
    opacity: .7;
    transition: transform .25s ease;
    position: relative;
    z-index: 1;
}

.xtj-user-center-license-entry:hover .xtj-entry-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* 找不到侧栏时的浮动兜底 */
.xtj-user-center-license-entry.xtj-entry-floating {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 999;
    width: auto;
    min-width: 140px;
    margin: 0;
    border-radius: 50px;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 245, 250, .95));
    box-shadow: 0 6px 24px rgba(255, 107, 157, .25);
    animation: xtjEntryPulse 2.5s ease-in-out infinite;
}

@keyframes xtjEntryPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(255, 107, 157, .25); }
    50% { box-shadow: 0 6px 28px rgba(255, 107, 157, .4); }
}

@media (max-width: 480px) {
    .xtj-user-center-license-entry.xtj-entry-floating {
        right: 12px;
        bottom: 80px;
        min-width: 120px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .xtj-entry-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .xtj-modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .xtj-modal-box {
        border-radius: 24px 24px 20px 20px;
        padding: 28px 22px 22px;
        max-width: 100%;
        animation: xtjModalSlideUp .4s cubic-bezier(.34, 1.56, .64, 1);
    }

    @keyframes xtjModalSlideUp {
        from { opacity: 0; transform: translateY(100%); }
        to { opacity: 1; transform: translateY(0); }
    }

    .xtj-modal-avatar {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .xtj-modal-header h2 {
        font-size: 19px;
    }

    .xtj-info-row {
        font-size: 12px;
    }

    .xtj-btn-activate,
    .xtj-btn-deactivate {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ===== 授权购买模块 ===== */
.xtj-license-purchase-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255,105,180,0.3);
}
.xtj-license-purchase-section .xtj-license-section-title {
    font-size: 15px;
    color: #ff69b4;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.xtj-license-purchase-section .xtj-license-section-desc {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}
.xtj-license-purchase-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}
.xtj-purchase-card {
    background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
    border: 1px solid rgba(255,105,180,0.25);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.xtj-purchase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255,105,180,0.18);
}
.xtj-purchase-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 6px;
}
.xtj-purchase-type-name {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.xtj-purchase-badge {
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 8px;
    background: #e0e0e0;
    color: #666;
}
.xtj-purchase-badge.hot {
    background: #ff69b4;
    color: #fff;
}
.xtj-purchase-card-price {
    margin: 8px 0;
    color: #ff4081;
}
.xtj-price-symbol {
    font-size: 13px;
}
.xtj-price-num {
    font-size: 22px;
    font-weight: 700;
}
.xtj-purchase-btn {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-radius: 20px;
    background: linear-gradient(90deg, #ff69b4, #ff4081);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: opacity .2s;
}
.xtj-purchase-btn:hover {
    opacity: .88;
}
.xtj-purchase-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.xtj-license-purchase-order {
    margin-top: 16px;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(255,105,180,0.2);
    border-radius: 12px;
    text-align: center;
}
.xtj-purchase-order-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}
.xtj-purchase-order-no {
    font-weight: 600;
    color: #ff4081;
}
.xtj-purchase-order-amount {
    margin-left: 8px;
    color: #ff69b4;
}
.xtj-purchase-h5-wrap {
    margin: 10px 0;
}
.xtj-purchase-h5-tip,
.xtj-purchase-h5-after {
    font-size: 12px;
    color: #888;
    margin: 6px 0;
}
.xtj-purchase-h5-link {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 24px;
    background: linear-gradient(90deg, #1677ff, #4096ff);
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    margin: 6px 0;
}
.xtj-purchase-qr-wrap {
    margin: 10px auto;
    width: 180px;
}
.xtj-purchase-qr img,
.xtj-purchase-qr canvas {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}
.xtj-purchase-qr-tip {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}
.xtj-purchase-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}
.xtj-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,105,180,0.3);
    border-top-color: #ff69b4;
    border-radius: 50%;
    animation: xtj-spin 1s linear infinite;
}
@keyframes xtj-spin {
    to { transform: rotate(360deg); }
}
.xtj-purchase-result {
    margin-top: 10px;
}
.xtj-purchase-success {
    color: #4caf50;
}
.xtj-purchase-success i {
    font-size: 28px;
    display: block;
    margin-bottom: 4px;
}
.xtj-purchase-success p {
    font-size: 13px;
    color: #555;
    margin: 4px 0;
}
.xtj-purchase-license-key {
    display: block;
    margin: 8px auto;
    padding: 8px 12px;
    background: #f8f8f8;
    border: 1px dashed #ff69b4;
    border-radius: 6px;
    font-size: 13px;
    color: #ff4081;
    word-break: break-all;
}
.xtj-purchase-activate-btn {
    margin-top: 8px;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(90deg, #4caf50, #81c784);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

/* 自定义金额购买 */
.xtj-license-purchase-custom {
    margin-top: 12px;
}
.xtj-custom-input-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ffd1e8;
    border-radius: 12px;
    padding: 0 12px;
    margin-bottom: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.xtj-custom-input-wrap:focus-within {
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.12);
}
.xtj-custom-symbol {
    font-size: 18px;
    color: #ff69b4;
    font-weight: 600;
    margin-right: 6px;
}
.xtj-custom-amount {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 16px;
    color: #333;
    outline: none;
}
.xtj-custom-amount::placeholder {
    color: #bbb;
    font-size: 14px;
}
.xtj-purchase-custom-btn {
    width: 100%;
    margin-bottom: 8px;
}
.xtj-custom-hint {
    font-size: 12px;
    color: #888;
    text-align: center;
    line-height: 1.5;
}
