
:root {
    --ws-primary: #2196F3;
    --ws-primary-dark: #1976D2;
    --ws-bg: #ffffff;
    --ws-page-bg: #f5f7fa;
    --ws-border: #e5e7eb;
    --ws-text: #1e293b;
    --ws-muted: #64748b;
    --ws-radius: 2px;
}
.zv-wrap,
.zv-play-wrap,
.zhiyin-vip-wrapper,
.zhiyin-key-page {
    background: var(--ws-bg) !important;
}
.zhiyin-key-page {
    min-height: calc(100vh - 210px);
    background: var(--ws-page-bg);
    padding-bottom: 60px;
}
    
    .zhiyin-key-topbar {
        background: #2196F3;
        padding: 44px 20px 52px;
        position: relative;
        overflow: hidden;
    }
    .zhiyin-key-topbar::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        pointer-events: none;
    }
    .zhiyin-key-topbar-inner {
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    .zhiyin-key-topbar-title {
        text-align: center;
        margin-bottom: 28px;
    }
    .zhiyin-key-topbar-title h1 {
        margin: 0 0 10px;
        font-size: 32px;
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.5px;
    }
    .zhiyin-key-topbar-title p {
        margin: 0;
        font-size: 15px;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.82);
    }
    .zhiyin-key-search-box {
        display: flex;
        align-items: stretch;
        max-width: 680px;
        margin: 0 auto;
        background:#fff;
        border-radius:2px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
        overflow: hidden;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    .zhiyin-key-search-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        color: #94a3b8;
        flex-shrink: 0;
    }
    .zhiyin-key-search-icon svg {
        width: 20px;
        height: 20px;
    }
    .zhiyin-key-search-input {
        flex: 1;
        border: none;
        outline: none;
        padding: 16px 0;
        font-size: 15px;
        color: #1e293b;
        background: transparent;
        min-width: 0;
    }
    .zhiyin-key-search-input::placeholder {
        color: #94a3b8;
    }
    .zhiyin-key-search-btn {
        flex-shrink: 0;
        padding: 0 28px;
        border: none;
        background: #2196F3;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }
    .zhiyin-key-search-btn:hover {
        background: #2196F3;
    }
    .zhiyin-key-search-hint {
        text-align: center;
        margin-top: 12px;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.65);
    }
    
    .zhiyin-key-order-panel {
        display: none;
        max-width: 1100px;
        margin: -16px auto 0;
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }
    .zhiyin-key-order-panel.is-show {
        display: block;
        animation: zhiyinKeySlideDown 0.35s ease;
    }
    @keyframes zhiyinKeySlideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .zhiyin-key-order-card {
        background:#fff;
        border-radius:2px;
        box-shadow: 0 4px 24px rgba(37, 99, 235, 0.12);
        border: 1px solid #e2e8f0;
        overflow: hidden;
    }
    .zhiyin-key-order-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        background:#fff;
        border-bottom: 1px solid #e2e8f0;
    }
    .zhiyin-key-order-card-head h3 {
        margin: 0;
        font-size: 15px;
        font-weight: 600;
        color: #334155;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .zhiyin-key-order-close {
        border: none;
        background: none;
        color: #94a3b8;
        font-size: 22px;
        cursor: pointer;
        line-height: 1;
        padding: 4px;
        transition: color 0.2s;
    }
    .zhiyin-key-order-close:hover { color: #64748b; }
    .zhiyin-key-order-body {
        padding: 20px;
    }
    .zhiyin-key-order-empty {
        text-align: center;
        padding: 30px 20px;
        color: #94a3b8;
    }
    .zhiyin-key-order-empty-icon {
        font-size: 40px;
        margin-bottom: 10px;
        opacity: 0.6;
    }
    .zhiyin-key-order-empty p {
        margin: 0;
        font-size: 14px;
    }
    .zhiyin-key-order-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 14px 0;
        border-bottom: 1px dashed #e2e8f0;
    }
    .zhiyin-key-order-item:last-child { border-bottom: none; }
    .zhiyin-key-order-item-cover {
        width: 80px;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
        background: #f1f5f9;
    }
    .zhiyin-key-order-item-info { flex: 1; min-width: 0; }
    .zhiyin-key-order-item-name {
        font-size: 15px;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 4px;
    }
    .zhiyin-key-order-item-meta {
        font-size: 12px;
        color: #64748b;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }
    .zhiyin-key-order-no-wrap {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }
    .zhiyin-key-order-no {
        font-family: 'Consolas', 'Monaco', monospace;
        color: #475569;
    }
    .zhiyin-key-copy-btn-sm {
        padding: 2px 8px;
        font-size: 11px;
    }
    .zhiyin-key-order-item-key-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .zhiyin-key-order-item-key {
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 13px;
        color: #2196F3;
        background: #eff6ff;
        padding: 6px 12px;
        border-radius: 6px;
        word-break: break-all;
    }
    .zhiyin-key-copy-btn {
        flex-shrink: 0;
        padding: 6px 12px;
        border: 1px solid #bfdbfe;
        border-radius: 6px;
        background:#fff;
        color: #2196F3;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    .zhiyin-key-copy-btn:hover {
        background: #2196F3;
        border-color: #2196F3;
        color: #fff;
    }
    .zhiyin-key-order-status {
        display: inline-flex;
        align-items: center;
        padding: 3px 10px;
        border-radius:2px;
        font-size: 12px;
        font-weight: 600;
    }
    .zhiyin-key-order-status.success {
        background: #dcfce7;
        color: #16a34a;
    }
    
    .zhiyin-key-main {
        max-width: 1200px;
        margin: 0 auto;
        padding: 36px 20px 0;
    }
    .zhiyin-key-section-head {
        text-align: center;
        margin-bottom: 32px;
    }
    .zhiyin-key-section-head h2 {
        margin: 0 0 8px;
        font-size: 22px;
        font-weight: 700;
        color: #1e293b;
    }
    .zhiyin-key-section-head p {
        margin: 0;
        font-size: 14px;
        color: #64748b;
    }
    .zhiyin-key-soft-section + .zhiyin-key-soft-section {
        margin-top: 52px;
        padding-top: 12px;
        border-top: 1px solid #e8eef5;
    }
    .zhiyin-key-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .zhiyin-key-product {
        background:#fff;
        border-radius:2px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
        border: 1px solid #e2e8f0;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    .zhiyin-key-product:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 36px rgba(37, 99, 235, 0.14);
    }
    .zhiyin-key-product-cover-wrap {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background: #e2e8f0;
    }
    .zhiyin-key-product-cover {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    .zhiyin-key-product:hover .zhiyin-key-product-cover {
        transform: scale(1.05);
    }
    .zhiyin-key-product-tag {
        position: absolute;
        top: 12px;
        left: 12px;
        padding: 4px 12px;
        border-radius: var(--ws-radius);
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        background: #ef4444;
        box-shadow: none;
    }
    .zhiyin-key-product-tag.tag-new {
        background: #8b5cf6;
    }
    .zhiyin-key-product-tag.tag-rec {
        background: #f59e0b;
    }
    .zhiyin-key-product-tag.tag-limit {
        background: #ec4899;
    }
    .zhiyin-key-product-body {
        padding: 18px 20px 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .zhiyin-key-product-name {
        margin: 0 0 8px;
        font-size: 17px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.35;
    }
    .zhiyin-key-product-desc {
        margin: 0 0 14px;
        font-size: 13px;
        color: #64748b;
        line-height: 1.55;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .zhiyin-key-product-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-top: 14px;
        border-top: 1px solid #f1f5f9;
    }
    .zhiyin-key-product-price-wrap {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }
    .zhiyin-key-product-price {
        font-size: 22px;
        font-weight: 800;
        color: #ef4444;
    }
    .zhiyin-key-product-price small {
        font-size: 14px;
        font-weight: 600;
    }
    .zhiyin-key-product-original {
        font-size: 13px;
        color: #94a3b8;
        text-decoration: line-through;
    }
    .zhiyin-key-product-stock {
        font-size: 11px;
        color: #22c55e;
        font-weight: 500;
    }
    .zhiyin-key-product-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .zhiyin-key-download-btn,
    .zhiyin-key-buy-btn {
        padding: 10px 18px;
        border-radius:2px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        text-decoration: none;
        text-align: center;
        box-sizing: border-box;
        transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    }
    .zhiyin-key-download-btn {
        border: 2px solid #2196F3;
        background:#fff;
        color: #2196F3;
    }
    .zhiyin-key-download-btn:hover {
        background: #2196F3;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 14px rgba(33, 150, 243, 0.35);
    }
    .zhiyin-key-buy-btn {
        border: none;
        background: #2196F3;
        color: #fff;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    }
    .zhiyin-key-buy-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    }
    
    .zhiyin-key-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
    }
    .zhiyin-key-modal-overlay.is-show {
        display: flex;
    }
    .zhiyin-key-modal {
        width: 100%;
        max-width: 580px;
        max-height: 90vh;
        background: #fff;
        border-radius: 4px;
        border: 1px solid #e5e5e5;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
    }
    .zhiyin-key-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 22px;
        background: #fff;
        border-bottom: 1px solid #e5e5e5;
        flex-shrink: 0;
    }
    .zhiyin-key-modal-header h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 500;
        color: #333;
    }
    .zhiyin-key-modal-close {
        width: 28px;
        height: 28px;
        border: none;
        border-radius: 0;
        background: transparent;
        color: #999;
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transition: color 0.2s;
    }
    .zhiyin-key-modal-close:hover {
        background: transparent;
        color: #333;
    }
    .zhiyin-key-modal-product {
        display: flex;
        gap: 16px;
        padding: 18px 22px;
        border-bottom: 1px solid #e5e5e5;
        align-items: center;
        background: #fff;
        flex-shrink: 0;
    }
    .zhiyin-key-modal-product-cover {
        width: 140px;
        aspect-ratio: 16 / 9;
        border-radius: var(--ws-radius);
        object-fit: cover;
        flex-shrink: 0;
        background: #f5f5f5;
        border: 1px solid #e5e5e5;
        box-shadow: none;
    }
    .zhiyin-key-modal-product-info h4 {
        margin: 0 0 10px;
        font-size: 18px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.4;
    }
    .zhiyin-key-modal-product-info .price {
        font-size: 22px;
        font-weight: 800;
        color: #ef4444;
    }
    .zhiyin-key-modal-product-info .price small {
        font-size: 14px;
        font-weight: 600;
    }
    .zhiyin-key-modal-product-info .price-unit {
        font-size: 13px;
        color: #9ca3af;
        margin-top: 4px;
    }
    .zhiyin-key-modal-body {
        padding: 20px 22px 22px;
        background: #f8f8f8;
        overflow-y: auto;
        flex: 1;
    }
    .zhiyin-key-form-group {
        margin-bottom: 18px;
    }
    .zhiyin-key-form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #334155;
    }
    .zhiyin-key-form-group label span {
        color: #ef4444;
        margin-left: 2px;
    }
    .zhiyin-key-form-input {
        width: 100%;
        padding: 10px 14px;
        border: 1px solid #d0d0d0;
        border-radius: var(--ws-radius);
        font-size: 14px;
        color: #333;
        background: #fff;
        box-sizing: border-box;
        transition: border-color 0.2s;
        outline: none;
    }
    .zhiyin-key-form-input:focus {
        border-color: var(--ws-primary);
        box-shadow: none;
    }
    .zhiyin-key-form-input-qty {
        width: 120px;
        text-align: center;
    }
    .zhiyin-key-duration-options {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .zhiyin-key-duration-option {
        position: relative;
    }
    .zhiyin-key-duration-option input {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
    }
    .zhiyin-key-duration-option label {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        margin: 0;
        padding: 10px 8px;
        border: 1px solid #d0d0d0;
        border-radius: var(--ws-radius);
        background: #fff;
        cursor: pointer;
        text-align: center;
        transition: border-color 0.2s, background 0.2s;
        pointer-events: none;
    }
    .zhiyin-key-duration-option label:hover {
        border-color: var(--ws-primary);
        background: #f0f7ff;
    }
    .zhiyin-key-duration-option input:checked + label {
        border-color: var(--ws-primary);
        background: #f0f7ff;
        box-shadow: none;
    }
    .zhiyin-key-duration-label {
        font-size: 13px;
        font-weight: 700;
        color: #334155;
    }
    .zhiyin-key-duration-price {
        font-size: 12px;
        font-weight: 600;
        color: #ef4444;
    }
    .zhiyin-key-duration-stock {
        font-size: 11px;
        font-weight: 600;
        color: #64748b;
    }
    .zhiyin-key-duration-option.is-disabled input {
        cursor: not-allowed;
        z-index: 0;
    }
    .zhiyin-key-duration-option.is-disabled label {
        opacity: 0.55;
        cursor: not-allowed;
        border-color: #e2e8f0;
        background:#fff;
    }
    .zhiyin-key-duration-option.is-disabled label:hover {
        border-color: #e2e8f0;
        background:#fff;
    }
    .zhiyin-key-duration-option.is-disabled .zhiyin-key-duration-stock {
        color: #ef4444;
    }
    .zhiyin-key-modal-total {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        margin-bottom: 16px;
        background: #fff;
        border-radius: var(--ws-radius);
        border: 1px solid #e5e5e5;
        font-size: 14px;
        color: #666;
    }
    .zhiyin-key-modal-total strong {
        font-size: 20px;
        font-weight: 800;
        color: #ef4444;
    }
    .zhiyin-key-form-input::placeholder {
        color: #94a3b8;
    }
    .zhiyin-key-form-hint {
        margin-top: 6px;
        font-size: 12px;
        color: #94a3b8;
        line-height: 1.5;
    }
    .zhiyin-key-form-tips {
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: var(--ws-radius);
        padding: 12px 14px;
        margin-bottom: 16px;
        font-size: 12px;
        color: #666;
        line-height: 1.6;
    }
    .zhiyin-key-form-tips strong {
        display: block;
        margin-bottom: 4px;
        font-size: 13px;
    }
    .zhiyin-key-submit-btn {
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: var(--ws-radius);
        background: var(--ws-primary);
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        box-shadow: none;
        transition: background 0.2s;
    }
    .zhiyin-key-submit-btn:hover {
        background: var(--ws-primary-dark);
        transform: none;
        box-shadow: none;
    }
    .zhiyin-key-submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }
    
    .zhiyin-key-notice {
        max-width: 1200px;
        margin: 40px auto 0;
        padding: 0 20px;
    }
    .zhiyin-key-notice-inner {
        background:#fff;
        border-radius:2px;
        padding: 20px 24px;
        border: 1px solid #e2e8f0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .zhiyin-key-notice-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }
    .zhiyin-key-notice-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: #eff6ff;
        color: #2196F3;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }
    .zhiyin-key-notice-item h4 {
        margin: 0 0 4px;
        font-size: 14px;
        font-weight: 700;
        color: #1e293b;
    }
    .zhiyin-key-notice-item p {
        margin: 0;
        font-size: 12px;
        color: #64748b;
        line-height: 1.5;
    }
    
    @media (max-width: 1024px) {
        .zhiyin-key-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 640px) {
        .zhiyin-key-topbar { padding: 32px 20px 36px; }
        .zhiyin-key-topbar-title h1 { font-size: 24px; }
        .zhiyin-key-search-box { flex-direction: column; border-radius: 12px; }
        .zhiyin-key-search-icon { display: none; }
        .zhiyin-key-search-input { padding: 14px 16px; }
        .zhiyin-key-search-btn { padding: 14px; }
        .zhiyin-key-grid { grid-template-columns: 1fr; gap: 18px; }
        .zhiyin-key-product-footer { flex-wrap: wrap; }
        .zhiyin-key-product-actions { width: 100%; }
        .zhiyin-key-download-btn,
        .zhiyin-key-buy-btn { flex: 1; min-width: 0; }
        .zhiyin-key-notice-inner { grid-template-columns: 1fr; }
        .zhiyin-key-order-item { flex-wrap: wrap; }
        .zhiyin-key-order-item-key-wrap { width: 100%; }
        .zhiyin-key-duration-options { grid-template-columns: repeat(2, 1fr); }
    }
.toast-notification {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10002;
    opacity: 0;
    transition: all 0.3s ease;
    display: none;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.toast-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); display: block; }
.toast-notification.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.toast-notification.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.toast-notification.warning { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }
.toast-notification.info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

.payment-method-modal,
.payment-qrcode-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.payment-qrcode-modal { z-index: 10001; }
.payment-method-modal.show,
.payment-qrcode-modal.show { display: flex; }
.payment-method-content,
.payment-qrcode-content {
    background: #fff;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 28px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.payment-qrcode-content { text-align: center; }
.payment-method-header,
.payment-qrcode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}
.payment-method-title,
.payment-qrcode-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ws-text);
    margin: 0;
}
.payment-method-close {
    background: none;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    width: 32px;
    height: 32px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: border-color 0.2s, color 0.2s;
}
.payment-method-close:hover {
    border-color: var(--ws-primary);
    color: var(--ws-primary);
}
.payment-method-price {
    text-align: center;
    padding: 18px;
    background: #f9fafb;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    margin-bottom: 20px;
}
.payment-method-price-label {
    font-size: 14px;
    color: var(--ws-muted);
    margin-bottom: 6px;
}
.payment-method-price-value {
    font-size: 32px;
    font-weight: 700;
    color: #ef4444;
}
.payment-method-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.payment-method-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
}
.payment-method-item:hover,
.payment-method-item.active {
    border-color: var(--ws-primary);
    background: #eff6ff;
}
.payment-method-icon { margin-right: 14px; flex-shrink: 0; }
.payment-method-info { flex: 1; }
.payment-method-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ws-text);
    margin-bottom: 4px;
}
.payment-method-desc {
    font-size: 13px;
    color: var(--ws-muted);
}
.payment-method-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}
.payment-method-item.active .payment-method-radio {
    border-color: var(--ws-primary);
}
.payment-method-item.active .payment-method-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--ws-primary);
    border-radius: 50%;
}
.payment-method-submit,
.payment-qrcode-close {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: var(--ws-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: var(--ws-primary);
    color: #fff;
    transition: background 0.2s;
}
.payment-method-submit:hover:not(:disabled),
.payment-qrcode-close:hover {
    background: var(--ws-primary-dark);
}
.payment-method-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.payment-qrcode-box {
    background: #f9fafb;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 22px;
    margin-bottom: 20px;
    text-align: center;
}
.payment-qrcode-img,
.payment-qrcode-loading {
    width: 200px;
    height: 200px;
    background: #fff;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 12px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-qrcode-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.payment-qrcode-subtitle,
.payment-qrcode-tips {
    font-size: 14px;
    color: var(--ws-muted);
}
.payment-qrcode-status {
    margin-top: 14px;
    padding: 10px;
    border-radius: var(--ws-radius);
    font-size: 14px;
}
.payment-qrcode-status.error {
    background: #fee2e2;
    color: #991b1b;
}
.payment-qrcode-close {
    background: #f3f4f6;
    color: #666;
}
.payment-qrcode-close:hover {
    background: #e5e7eb;
    color: #333;
}