/* ==================== 基础重置 & 变量（亮色科技感） ==================== */
:root {
    --bg-primary: #f3f6fa;
    --bg-secondary: #e8edf5;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-card: rgba(79, 110, 247, 0.08);
    --text-primary: #1e2238;
    --text-secondary: #4a5568;
    --text-hint: #828c9e;
    --accent: #4f6ef7;
    --accent-glow: rgba(79, 110, 247, 0.18);
    --accent-hover: #3b5bdb;
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.18);
    --error: #ef4444;
    --error-glow: rgba(239, 68, 68, 0.15);
    --warning: #f59e0b;
    --radius: 20px;
    --radius-sm: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==================== 自定义滚动条 ==================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(79, 110, 247, 0.12);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 110, 247, 0.25);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79, 110, 247, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(124, 92, 245, 0.06) 0%, transparent 50%),
        linear-gradient(rgba(79, 110, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 110, 247, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
}

/* ==================== 背景画布 ==================== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ==================== 页面布局：三列 ==================== */
.page-layout-3col {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    gap: 4.5rem;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    align-items: flex-start;
}

/* ==================== 模块简介（Tab下方内嵌） ==================== */
.module-intro {
    position: relative;
    margin-bottom: 0.75rem;
    min-height: 2.2rem;
}

.intro-item {
    display: none;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(79, 110, 247, 0.06) 0%, rgba(124, 92, 245, 0.03) 100%);
    border: 1px solid rgba(79, 110, 247, 0.1);
    animation: introFadeIn 0.35s ease-out;
}

.intro-item.active {
    display: flex;
}

.intro-icon {
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.intro-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@keyframes introFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 使用规则卡片 ==================== */
.rules-card {
    margin-top: 10px;
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(79, 110, 247, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: fadeIn 1s ease-out 0.4s both;
}

.rules-panel {
    display: none;
    animation: introFadeIn 0.35s ease-out;
}

.rules-panel.active {
    display: block;
}

.rules-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(79, 110, 247, 0.08);
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.rules-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.1rem;
}

.rules-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #4f6ef7;
    font-size: 0.65rem;
    line-height: 1.6;
}

/* ==================== 左侧栏 ==================== */
.col-left {
    width: 280px;
    min-width: 250px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeSlideUp 0.6s ease-out 0.2s both;
}

.col-left .rules-card {
    margin-top: 10px;
}

/* ==================== 中间主操作区 ==================== */
.col-center {
    width: 100%;
    max-width: 520px;
    flex-shrink: 1;
    box-sizing: border-box;
}

/* ==================== 右侧栏 ==================== */
.col-right {
    width: 300px;
    min-width: 260px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeSlideUp 0.6s ease-out 0.3s both;
}

/* ==================== 售后交流群卡片 ==================== */
.support-group-card {
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, rgba(79, 110, 247, 0.06) 0%, rgba(124, 92, 245, 0.04) 100%);
    border: 1px solid rgba(79, 110, 247, 0.15);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow:
        0 2px 12px rgba(79, 110, 247, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: glowPulseBlue 3s ease-in-out infinite;
}

.support-group-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(79, 110, 247, 0.25), rgba(124, 92, 245, 0.15), rgba(79, 110, 247, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

.support-group-card:hover {
    border-color: rgba(79, 110, 247, 0.3);
    box-shadow:
        0 4px 20px rgba(79, 110, 247, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

@keyframes glowPulseBlue {
    0%, 100% {
        box-shadow:
            0 2px 12px rgba(79, 110, 247, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow:
            0 4px 18px rgba(79, 110, 247, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.support-group-badge {
    flex-shrink: 0;
}

.support-group-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.support-group-detail {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.support-group-name {
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 600;
}

.support-group-qq {
    font-size: 0.78rem;
    color: #4f6ef7;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ==================== 小店跳转按钮 ==================== */
.shop-link-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.15rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.06) 0%, rgba(255, 159, 67, 0.04) 100%);
    border: 1px solid rgba(255, 107, 107, 0.15);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 12px rgba(255, 107, 107, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: glowPulseOrange 3s ease-in-out infinite;
}

.shop-link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(255, 159, 67, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.shop-link-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.25), rgba(255, 159, 67, 0.15), rgba(255, 107, 107, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.shop-link-btn:hover {
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow:
        0 4px 20px rgba(255, 107, 107, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.shop-link-btn:hover::before {
    opacity: 1;
}

@keyframes glowPulseOrange {
    0%, 100% {
        box-shadow:
            0 2px 12px rgba(255, 107, 107, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow:
            0 4px 18px rgba(255, 107, 107, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.shop-link-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.shop-link-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-link-arrow {
    margin-left: auto;
    font-size: 1.1rem;
    color: rgba(255, 107, 107, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}

.shop-link-btn:hover .shop-link-arrow {
    transform: translateX(4px);
    color: #ff6b6b;
}

/* ==================== 商品列表卡片 ==================== */
.shop-products-card {
    padding: 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(79, 110, 247, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.shop-products-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.shop-products-icon {
    font-size: 1.1rem;
}

.shop-products-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.shop-products-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(79, 110, 247, 0.08);
}

.shop-product-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.shop-product-item {
    padding: 0.75rem 0.85rem;
    background: rgba(79, 110, 247, 0.02);
    border: 1px solid rgba(79, 110, 247, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.shop-product-item:hover {
    background: rgba(79, 110, 247, 0.05);
    border-color: rgba(79, 110, 247, 0.15);
    box-shadow: 0 2px 12px rgba(79, 110, 247, 0.08);
}

a.shop-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.shop-product-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.product-emoji {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.shop-product-features {
    font-size: 0.72rem;
    color: var(--text-hint);
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.shop-product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(79, 110, 247, 0.06);
}

.price-range {
    font-size: 0.7rem;
    color: var(--text-hint);
    font-weight: 500;
}

.price-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ff6b6b;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-single {
    margin-left: auto;
}

.price-custom {
    font-size: 0.72rem;
    font-weight: 600;
}

/* ==================== 容器 ==================== */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

/* ==================== 返回链接 ==================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

.back-arrow {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.back-link:hover .back-arrow {
    transform: translateX(-3px);
}

/* ==================== 产品徽章 ==================== */
.product-badge-inline {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.badge-pro {
    background: linear-gradient(135deg, #6c5ce7, #8b5cf6);
    color: white;
    box-shadow: 0 2px 10px rgba(108, 92, 231, 0.3);
}

.badge-ultra {
    background: linear-gradient(135deg, #f0b90b, #fcd34d);
    color: #1a1a2e;
    box-shadow: 0 2px 10px rgba(240, 185, 11, 0.3);
}

/* ==================== Logo 区域 ==================== */
.logo-area {
    text-align: center;
    margin-bottom: 1.5rem;
    animation: fadeSlideDown 0.8s ease-out;
}

.logo-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: var(--accent);
    filter: drop-shadow(0 0 20px var(--accent-glow));
    animation: float 3s ease-in-out infinite;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1a1a2e 0%, #4f6ef7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ==================== 卡片 ==================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 1.75rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 4px 24px rgba(79, 110, 247, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: fadeSlideUp 0.6s ease-out;
}

/* ==================== Worker 在线状态 ==================== */
.worker-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-card);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.8s ease-out;
}

.worker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-hint);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.worker-dot.online {
    background: var(--success);
    box-shadow: 0 0 6px var(--success-glow);
    animation: pulse 2s ease-in-out infinite;
}

.worker-dot.offline {
    background: var(--error);
    box-shadow: 0 0 6px var(--error-glow);
    animation: pulse 1.5s ease-in-out infinite;
}

.worker-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.worker-label.online {
    color: var(--success);
}

.worker-label.offline {
    color: var(--error);
}

/* ==================== Tab 切换 ==================== */
.tab-bar {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    border: 1px solid var(--border-card);
    padding: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    animation: fadeSlideUp 0.5s ease-out;
}

.tab-btn {
    flex: 1;
    padding: 0.6rem 0.5rem;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(79, 110, 247, 0.06);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent) 0%, #7c5cf5 100%);
    color: white;
    box-shadow: 0 2px 12px var(--accent-glow);
}

/* ==================== 警告提示 ==================== */
.warning-msg {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 217, 61, 0.1);
    border: 1px solid rgba(255, 217, 61, 0.2);
    border-radius: var(--radius-sm);
    color: var(--warning);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* ==================== 质保按钮 ==================== */
#warranty-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 206, 201, 0.3);
}

#warranty-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 206, 201, 0.4);
}

#warranty-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== 输入组 ==================== */
.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(240, 242, 247, 0.8);
    border: 1px solid rgba(79, 110, 247, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.input-group input::placeholder {
    color: var(--text-hint);
}

.input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(255, 255, 255, 0.95);
}

.input-group input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px var(--error-glow);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-hint);
    margin-top: 0.35rem;
}

/* ==================== 按钮 ==================== */
button,
.btn-secondary {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

#submit-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #7c5cf5 100%);
    color: white;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px var(--accent-glow);
}

#submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--accent-glow);
    background: linear-gradient(135deg, var(--accent-hover) 0%, #6b4df5 100%);
}

#submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: rgba(79, 110, 247, 0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(79, 110, 247, 0.12);
    margin-top: 1rem;
}

.btn-secondary:hover {
    background: rgba(79, 110, 247, 0.1);
    color: var(--text-primary);
}

/* 按钮加载动画 */
.btn-loader {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

/* ==================== 错误提示 ==================== */
.error-msg {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: var(--radius-sm);
    color: var(--error);
    font-size: 0.85rem;
    animation: shake 0.4s ease;
}

/* ==================== 状态展示 ==================== */
.status-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-icon.pending {
    background: rgba(108, 92, 231, 0.15);
}

.status-icon.processing {
    background: rgba(108, 92, 231, 0.15);
}

.status-icon.success {
    background: rgba(0, 210, 160, 0.15);
}

.status-icon.failed {
    background: rgba(255, 107, 107, 0.15);
}

/* 旋转加载 */
.spinner {
    width: 24px;
    height: 24px;
    border: 2.5px solid rgba(108, 92, 231, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.status-icon.success .spinner,
.status-icon.failed .spinner {
    display: none;
}

.status-icon.success::after {
    content: '✓';
    font-size: 1.4rem;
    color: var(--success);
}

.status-icon.failed::after {
    content: '✗';
    font-size: 1.4rem;
    color: var(--error);
}

.status-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0.75rem 1rem;
    background: rgba(79, 110, 247, 0.04);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
}

.status-icon.success~.status-text {
    color: var(--success);
}

.status-icon.failed~.status-text {
    color: var(--error);
}

.status-email {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-hint);
}

/* ==================== 接受邀请教程（内嵌在状态区用） ==================== */

.tutorial-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tutorial-steps {
    list-style: disc;
    padding-left: 1.25rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.tutorial-steps li {
    margin-bottom: 0.3rem;
}

.tutorial-steps li.sub-note {
    list-style: none;
    margin-left: -1.25rem;
    padding-left: 0;
    font-size: 0.78rem;
    color: var(--text-hint);
    margin-bottom: 0.5rem;
}

.tutorial-steps a {
    color: #4f6ef7;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.tutorial-steps a:hover {
    color: #3a57e8;
    border-bottom-color: rgba(79, 110, 247, 0.4);
}

.tutorial-steps .highlight {
    color: #4f6ef7;
    font-weight: 600;
}

/* 内嵌在状态区的教程样式适配 */
.status-detail:has(.tutorial-inline) {
    background: transparent;
    padding: 0;
    border-left: 3px solid var(--success);
    padding-left: 1rem;
}

.tutorial-inline .tutorial-title {
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
}

/* ==================== 动画 ==================== */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    75% {
        transform: translateX(6px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ==================== 响应式 ==================== */
@media (max-width: 1350px) {
    .col-left {
        width: 240px;
        min-width: 220px;
    }

    .col-right {
        width: 260px;
        min-width: 230px;
    }
}

@media (max-width: 1100px) {
    .page-layout-3col {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .col-left,
    .col-right {
        position: static;
        width: 100%;
        max-width: 520px;
        min-width: 0;
    }

    .col-center {
        order: -1;
    }

    .col-left {
        order: 0;
    }

    .col-right {
        order: 1;
    }
}

@media (max-width: 768px) {
    .page-layout-3col {
        padding: 1.5rem 1rem;
        gap: 0.75rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .card {
        padding: 1.25rem;
    }

    .tab-btn {
        font-size: 0.75rem;
        padding: 0.55rem 0.3rem;
    }

    .intro-text {
        font-size: 0.72rem;
    }

    .rules-list {
        font-size: 0.78rem;
    }

    .shop-product-name {
        font-size: 0.78rem;
    }

    .shop-product-features {
        font-size: 0.68rem;
    }
}

/* ==================== 延期续费按钮 ==================== */
#extend-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.3);
}

#extend-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(243, 156, 18, 0.4);
}

#extend-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== 延期成功提示 ==================== */
.success-msg {
    margin-top: 1rem;
    padding: 1.25rem 1rem;
    background: rgba(0, 210, 160, 0.08);
    border: 1px solid rgba(0, 210, 160, 0.2);
    border-radius: var(--radius-sm);
    text-align: center;
    animation: fadeSlideUp 0.5s ease-out;
}

.extend-success-icon {
    font-size: 2rem;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.extend-success-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.extend-success-detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.extend-success-detail strong {
    color: var(--text-primary);
}

/* ==================== 账号查询按钮 ==================== */
#query-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

#query-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(52, 152, 219, 0.4);
}

#query-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== 查询结果 ==================== */
.query-result {
    margin-top: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    animation: fadeSlideUp 0.5s ease-out;
}

.query-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.query-email {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
}

.query-active-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 210, 160, 0.15);
    color: var(--success);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.query-expired-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 107, 107, 0.15);
    color: var(--error);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.query-expires,
.query-remaining {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.query-label {
    color: var(--text-secondary);
}

.query-value {
    color: var(--text-primary);
    font-weight: 600;
}

.query-value.highlight-green {
    color: var(--success);
}

.query-cards-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.query-cards-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.query-card-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.82rem;
}

.query-card-key {
    color: var(--text-hint);
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
}

.query-card-status {
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
}

.query-card-status.active {
    background: rgba(0, 210, 160, 0.15);
    color: var(--success);
}

.query-card-status.expired {
    background: rgba(255, 107, 107, 0.15);
    color: var(--error);
}

.query-card-remaining {
    margin-left: auto;
    color: var(--text-hint);
    font-size: 0.75rem;
}

/* ==================== 子选项卡（质保换绑内部） ==================== */
.sub-tab-bar {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3px;
}

.sub-tab-btn {
    flex: 1;
    padding: 0.5rem 0.5rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.sub-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.sub-tab-btn.active {
    background: rgba(0, 184, 148, 0.15);
    color: #00d2a0;
    box-shadow: 0 1px 6px rgba(0, 210, 160, 0.15);
}

/* ==================== 换绑按钮 ==================== */
#transfer-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, #e17055 0%, #d63031 100%);
    color: white;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(214, 48, 49, 0.3);
}

#transfer-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(214, 48, 49, 0.4);
}

#transfer-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== 换绑成功提示 ==================== */
.transfer-success-msg {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 210, 160, 0.08);
    border: 1px solid rgba(0, 210, 160, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--success);
    line-height: 1.7;
    text-align: center;
}

/* ==================== 进度条 ==================== */
.progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    margin: 1rem 0 0.75rem;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), #8b5cf6, var(--accent));
    background-size: 200% 100%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar-fill.animating {
    animation: progressShimmer 1.5s ease-in-out infinite;
}

.progress-bar-fill.success {
    background: linear-gradient(90deg, var(--success), #00e6b0);
    animation: none;
}

.progress-bar-fill.failed {
    background: linear-gradient(90deg, var(--error), #ff8a8a);
    animation: none;
}

@keyframes progressShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ==================== 进度步骤 ==================== */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    position: relative;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.progress-step.active .step-dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    animation: stepPulse 2s ease-in-out infinite;
}

.progress-step.done .step-dot {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 6px var(--success-glow);
    animation: none;
}

.progress-step.failed .step-dot {
    background: var(--error);
    border-color: var(--error);
    box-shadow: 0 0 6px var(--error-glow);
    animation: none;
}

.step-label {
    font-size: 0.7rem;
    color: var(--text-hint);
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.progress-step.active .step-label {
    color: var(--accent);
    font-weight: 600;
}

.progress-step.done .step-label {
    color: var(--success);
}

.progress-step.failed .step-label {
    color: var(--error);
}

@keyframes stepPulse {

    0%,
    100% {
        box-shadow: 0 0 6px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 14px var(--accent-glow), 0 0 20px rgba(108, 92, 231, 0.15);
    }
}

/* ==================== （已废弃的详细介绍样式 — 保留空占位） ==================== */

/* ==================== 等待页邀请码奖励预告 ==================== */
.invite-reward-info {
    margin: 0.75rem 0;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-sm);
    animation: fadeSlideUp 0.5s ease-out;
}

.reward-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.reward-title-icon {
    font-size: 1.1rem;
}

.reward-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reward-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.reward-item-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-top: 1px;
}

.reward-item-icon.gift {
    background: rgba(0, 210, 160, 0.15);
    color: var(--success);
}

.reward-item-icon.time {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.reward-item-icon.share {
    background: rgba(86, 184, 255, 0.15);
    color: #56b8ff;
}

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

.reward-highlight {
    color: var(--success);
    font-weight: 700;
}

.reward-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0.25rem 0;
}

.reward-rule {
    font-size: 0.73rem;
    color: var(--text-hint);
    line-height: 1.5;
    padding-left: 0.25rem;
}

/* ==================== 邀请码结果展示 ==================== */
.referral-codes-result {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-sm);
}

.referral-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.referral-code-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 0.35rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.referral-code-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.referral-code-text {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.referral-copy-btn {
    font-size: 0.72rem;
    color: var(--text-hint);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.referral-copy-btn:hover {
    background: rgba(108, 92, 231, 0.2);
    color: var(--accent);
}

.referral-desc {
    font-size: 0.75rem;
    color: var(--text-hint);
    margin-top: 0.35rem;
    line-height: 1.5;
}

/* 邀请码验证状态 */
.referral-status {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
}

.referral-status.valid {
    color: var(--success);
    background: rgba(0, 210, 160, 0.08);
}

.referral-status.invalid {
    color: var(--error);
    background: rgba(255, 107, 107, 0.08);
}

.optional-tag {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-hint);
    text-transform: none;
    letter-spacing: 0;
}

/* 查询页邀请码 */
.query-referral-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
}

.referral-desc-mini {
    margin-left: auto;
    color: var(--text-hint);
    font-size: 0.72rem;
}

/* ==================== 查询验证提示 ==================== */
.query-verify-warn {
    margin-top: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: rgba(243, 156, 18, 0.08);
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 8px;
    color: #f39c12;
    font-size: 0.8rem;
    line-height: 1.5;
}

.query-verify-hint {
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.06) 0%, rgba(52, 152, 219, 0.06) 100%);
    border: 1px dashed rgba(108, 92, 231, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.query-verify-hint-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.query-verify-hint-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 邀请码黄金期标签 ==================== */
.golden-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0.12rem 0.45rem;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2) 0%, rgba(241, 196, 15, 0.15) 100%);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.25);
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    animation: goldenPulse 2s ease-in-out infinite;
}

@keyframes goldenPulse {

    0%,
    100% {
        box-shadow: 0 0 4px rgba(241, 196, 15, 0.15);
    }

    50% {
        box-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
    }
}

/* 邀请码有效期剩余天数 */
.referral-expires-hint {
    font-size: 0.68rem;
    color: var(--text-hint);
    white-space: nowrap;
    opacity: 0.8;
}

/* ==================== 小店跳转按钮 ==================== */
.shop-link-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.15rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 159, 67, 0.08) 100%);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.shop-link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 159, 67, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.shop-link-btn:hover {
    border-color: rgba(255, 107, 107, 0.4);
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.15);
    transform: translateY(-2px);
}

.shop-link-btn:hover::before {
    opacity: 1;
}

.shop-link-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.shop-link-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.shop-link-text {
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-link-subtitle {
    font-size: 0.7rem;
    color: var(--text-hint);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.shop-link-arrow {
    margin-left: auto;
    font-size: 1.1rem;
    color: rgba(255, 107, 107, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}

.shop-link-btn:hover .shop-link-arrow {
    transform: translateX(4px);
    color: #ff6b6b;
}

/* ==================== 商品列表卡片 ==================== */
.shop-products-card {
    padding: 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(79, 110, 247, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.shop-products-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(79, 110, 247, 0.08);
}

.shop-products-icon {
    font-size: 1.1rem;
}

.shop-products-title {
    font-size: 0.92rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(79, 110, 247, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-product-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.shop-product-item {
    padding: 0.7rem 0.85rem;
    background: rgba(79, 110, 247, 0.02);
    border: 1px solid rgba(79, 110, 247, 0.06);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.shop-product-item:hover {
    background: rgba(79, 110, 247, 0.05);
    border-color: rgba(79, 110, 247, 0.15);
    box-shadow: 0 4px 16px rgba(79, 110, 247, 0.08);
    transform: translateX(2px);
}

/* 热卖高亮卡片 */
.shop-product-item.item-highlight {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.04) 0%, rgba(255, 159, 67, 0.03) 100%);
    border-color: rgba(255, 107, 107, 0.12);
}

.shop-product-item.item-highlight:hover {
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.08);
}

/* 商品头部：emoji + 名称 + badge */
.shop-product-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.product-emoji {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.shop-product-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.product-badge {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.12rem 0.4rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-left: auto;
}

.product-badge.hot {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 159, 67, 0.1) 100%);
    color: #ff7675;
    border: 1px solid rgba(255, 159, 67, 0.25);
    box-shadow: 0 0 6px rgba(255, 159, 67, 0.15);
}

.product-badge.new {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.12) 0%, rgba(38, 222, 129, 0.08) 100%);
    color: #2bcbba;
    border: 1px solid rgba(46, 213, 115, 0.25);
    box-shadow: 0 0 6px rgba(46, 213, 115, 0.15);
}

.product-badge.shield {
    background: linear-gradient(135deg, rgba(86, 184, 255, 0.12) 0%, rgba(54, 153, 255, 0.08) 100%);
    color: #4f6ef7;
    border: 1px solid rgba(86, 184, 255, 0.25);
    box-shadow: 0 0 6px rgba(86, 184, 255, 0.15);
}

.product-badge.stable {
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.12) 0%, rgba(72, 219, 251, 0.08) 100%);
    color: #0abde3;
    border: 1px solid rgba(72, 219, 251, 0.25);
    box-shadow: 0 0 6px rgba(72, 219, 251, 0.15);
}

.product-badge.custom {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%);
    color: #9c88ff;
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 6px rgba(139, 92, 246, 0.15);
}

.shop-product-features {
    font-size: 0.7rem;
    color: var(--text-hint);
    line-height: 1.55;
    margin-bottom: 0.35rem;
}

.shop-product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(79, 110, 247, 0.06);
}

.price-range {
    font-size: 0.68rem;
    color: var(--text-hint);
    font-weight: 500;
}

.price-value {
    font-size: 0.82rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-single {
    margin-left: auto;
}

.price-custom {
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
}

/* ==================== 三列响应式 ==================== */
@media (max-width: 1350px) {
    .col-left { width: 240px; min-width: 220px; }
    .col-right { width: 260px; min-width: 230px; }
}

@media (max-width: 1100px) {
    .page-layout-3col {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .col-left, .col-right {
        position: static;
        width: 100%;
        max-width: 520px;
        min-width: 0;
    }
    .col-center { order: -1; }
    .col-left { order: 0; }
    .col-right { order: 1; }
}

@media (max-width: 768px) {
    .page-layout-3col {
        padding: 1.5rem 1rem;
        gap: 0.75rem;
    }
    .shop-product-name { font-size: 0.78rem; }
    .shop-product-features { font-size: 0.68rem; }
}