@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
    --bg-primary: #0a0c14;
    --bg-secondary: #121624;
    --card-bg: rgba(22, 27, 46, 0.65);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(0, 240, 255, 0.4);
    
    --accent-cyan: #00f0ff;
    --accent-green: #00ff88;
    --accent-purple: #9d4edd;
    --accent-red: #ff3366;
    --accent-gold: #ffb703;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --header-height: 190px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(157, 78, 221, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 60%);
    background-attachment: fixed;
}

/* 顶部紧凑悬浮大屏 (Compact Sticky Dashboard) */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 12, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 0.6rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.header-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.35rem 0.7rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.1);
}

.profile-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tycoon-switch-badge {
    font-size: 0.7rem;
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.musk-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.musk-avatar img, .tycoon-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-info h1 {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-ctrl {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 0.4rem 0.85rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-ctrl:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    transform: translateY(-1px);
}

.btn-ctrl.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 255, 136, 0.2));
    border-color: var(--accent-green);
    color: #fff;
}

/* 紧凑资金大屏与数字滚动 */
.wealth-display {
    text-align: center;
    flex-grow: 1;
    min-width: 260px;
}

.wealth-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 0.1rem;
}

.wealth-counter-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wealth-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.45);
    letter-spacing: -1px;
    line-height: 1;
    transition: color 0.3s, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wealth-amount.pulse-down {
    transform: scale(1.06);
    color: var(--accent-gold);
    text-shadow: 0 0 25px rgba(255, 183, 3, 0.6);
}

.wealth-amount.pulse-up {
    transform: scale(1.06);
    color: var(--accent-cyan);
    text-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.wealth-amount.low {
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(255, 183, 3, 0.45);
}

.wealth-amount.zero {
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.6);
}

/* 浮动消费扣减特效 (Floating Deduction Badge) */
.diff-effects-pool {
    position: absolute;
    top: 0;
    right: -10px;
    pointer-events: none;
}

.diff-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0.2rem 0.65rem;
    border-radius: 12px;
    pointer-events: none;
    animation: floatDiff 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    z-index: 200;
}

.diff-badge.minus {
    color: #fff;
    background: rgba(255, 51, 102, 0.92);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.6);
    border: 1px solid #ff0055;
}

.diff-badge.plus {
    color: #000;
    background: rgba(0, 255, 136, 0.92);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
    border: 1px solid #00ff88;
}

@keyframes floatDiff {
    0% { opacity: 0; transform: translate(-50%, 15px) scale(0.7); }
    20% { opacity: 1; transform: translate(-50%, -5px) scale(1.1); }
    100% { opacity: 0; transform: translate(-50%, -40px) scale(0.9); }
}

/* 紧凑双向进度条区块 */
.header-progress-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    background: rgba(255, 255, 255, 0.025);
    padding: 0.3rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-label-left, .progress-label-right {
    white-space: nowrap;
}

.progress-bar-container {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green), var(--accent-gold), var(--accent-red));
    background-size: 200% 100%;
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    animation: gradientShift 3s infinite linear;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.spent-highlight {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* 主体内容区 */
.main-content {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* 过滤导航菜单 */
.category-filters {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.65rem 1.3rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(157, 78, 221, 0.15));
    border-color: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

/* 商品网格 */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 1.2rem;
    padding-bottom: 6rem;
}

/* 紧凑商品卡片设计 (Glassmorphism Compact Card) */
.item-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.07), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.item-card:hover::before {
    opacity: 1;
}

.item-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-hover-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(0, 240, 255, 0.15);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 商品缩略图容器 (实物图展示) */
.item-img-wrapper {
    position: relative;
    width: 100%;
    height: 170px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.item-card:hover .item-img {
    transform: scale(1.08);
}

.item-badge-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 19, 34, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.35);
    backdrop-filter: blur(8px);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.item-card:hover .item-badge-icon {
    transform: scale(1.15) rotate(6deg);
    border-color: var(--accent-cyan);
}

.card-top-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.item-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-green);
}

.item-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 紧凑卡片操作区 */
.card-controls-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.qty-control-group {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    flex-grow: 1;
    height: 38px;
}

.btn-step {
    width: 58px;
    height: 100%;
    border: none;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-sell {
    background: rgba(255, 51, 102, 0.15);
    color: var(--accent-red);
}

.btn-sell:hover:not(:disabled) {
    background: var(--accent-red);
    color: #fff;
}

.btn-sell:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-buy {
    background: linear-gradient(135deg, var(--accent-cyan), #00b4d8);
    color: #000;
}

.btn-buy:hover:not(:disabled) {
    box-shadow: 0 0 12px var(--accent-cyan);
    transform: scale(1.04);
}

.btn-buy:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #334155;
    color: #94a3b8;
}

.qty-input {
    flex-grow: 1;
    width: 100%;
    min-width: 40px;
    height: 100%;
    background: transparent;
    border: none;
    text-align: center;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    padding: 0 0.2rem;
}

.qty-input:focus {
    background: rgba(0, 240, 255, 0.08);
    color: var(--accent-cyan);
}

/* 隐藏 input type="number" 默认上下箭头 */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-input[type=number],
input[type="number"] {
    -moz-appearance: textfield;
}

.btn-max {
    height: 38px;
    padding: 0 0.85rem;
    background: rgba(255, 183, 3, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-max:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-gold), #fb8500);
    color: #000;
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.5);
}

.btn-max:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 悬浮长账单收据栏 (Sticky Bottom Receipt Bar & Modal) */
.receipt-bar {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    background: linear-gradient(135deg, rgba(18, 22, 36, 0.95), rgba(22, 27, 46, 0.95));
    border: 1px solid var(--accent-cyan);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.25);
    backdrop-filter: blur(15px);
    transition: transform 0.3s;
}

.receipt-bar:hover {
    transform: translateY(-3px);
}

.receipt-bar-info {
    display: flex;
    flex-direction: column;
}

.receipt-bar-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.receipt-bar-total {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-green);
}

.btn-view-receipt {
    background: var(--accent-cyan);
    color: #000;
    font-weight: 800;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-receipt:hover {
    box-shadow: 0 0 15px var(--accent-cyan);
    transform: scale(1.05);
}

/* 长账单模态弹窗 (Receipt Drawer Modal) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.receipt-modal {
    background: #0f1322;
    border: 1px solid rgba(0, 240, 255, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .receipt-modal {
    transform: scale(1);
}

.receipt-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px dashed var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.receipt-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-close:hover {
    color: var(--accent-red);
}

.receipt-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    flex-grow: 1;
}

.receipt-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.receipt-item-name {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.receipt-item-cost {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--accent-green);
    text-align: right;
}

.receipt-footer {
    padding: 1.5rem 2rem;
    border-top: 1px dashed var(--card-border);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 800;
}

.receipt-total-val {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-cyan);
}

.receipt-comment {
    font-size: 0.9rem;
    color: var(--accent-gold);
    text-align: center;
    font-style: italic;
}

/* 里程碑横幅提醒彩蛋 */
.milestone-toast {
    position: fixed;
    top: 210px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-red));
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(255, 51, 102, 0.4);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.milestone-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .wealth-amount {
        font-size: 1.6rem;
    }
    .sticky-header {
        padding: 0.5rem 0.8rem;
    }
    .header-main-row {
        justify-content: center;
        gap: 0.5rem;
    }
    .header-progress-row {
        flex-wrap: wrap;
        gap: 0.4rem;
        font-size: 0.72rem;
    }
    .main-content {
        padding: 0 0.8rem;
    }
    .receipt-bar {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        justify-content: space-between;
    }
}

/* ==========================================
 * 终极挥霍大结局动画与庆功大卡片样式
 * ========================================== */

/* 1. 屏幕震动冲击波特效 */
@keyframes screenShake {
    0% { transform: translate(0, 0) rotate(0deg); }
    15% { transform: translate(-10px, 8px) rotate(-1deg); }
    30% { transform: translate(12px, -10px) rotate(1deg); }
    45% { transform: translate(-8px, -6px) rotate(-0.5deg); }
    60% { transform: translate(8px, 6px) rotate(0.5deg); }
    75% { transform: translate(-4px, 4px) rotate(0deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

body.shake-screen {
    animation: screenShake 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* 2. 大结局覆盖层背景 */
.finale-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 30%, #151a30 0%, #080a14 70%, #020307 100%);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.finale-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 星云流光 */
.finale-space-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.nebula-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(157, 78, 221, 0.12) 40%, transparent 70%);
    filter: blur(60px);
    animation: nebulaPulse 6s ease-in-out infinite alternate;
}

@keyframes nebulaPulse {
    0% { transform: translate(-50%, -50%) scale(0.8) rotate(0deg); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.2) rotate(45deg); opacity: 1; }
}

/* 3. 行星与星舰发射舞台 */
.finale-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.finale-planet {
    font-size: 15rem;
    filter: drop-shadow(0 0 50px rgba(255, 183, 3, 0.4));
    animation: planetFloat 12s ease-in-out infinite alternate;
    opacity: 0.35;
}

@keyframes planetFloat {
    0% { transform: translateY(-20px) rotate(-10deg) scale(0.95); }
    100% { transform: translateY(20px) rotate(15deg) scale(1.05); }
}

.finale-rocket-box {
    position: absolute;
    font-size: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(700px) scale(0.3) rotate(-30deg);
    opacity: 0;
    transition: all 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.finale-rocket-box.launching {
    transform: translateY(-200px) scale(1.8) rotate(15deg);
    opacity: 1;
}

.f-rocket-flame {
    font-size: 3rem;
    margin-top: -10px;
    animation: flameFlicker 0.15s infinite alternate;
}

@keyframes flameFlicker {
    0% { transform: scaleY(0.8) scaleX(0.9); opacity: 0.8; }
    100% { transform: scaleY(1.3) scaleX(1.1); opacity: 1; }
}

/* 4. 终极庆功卡片 */
.finale-card {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, rgba(18, 24, 44, 0.92), rgba(12, 15, 28, 0.95));
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 240, 255, 0.25), inset 0 0 30px rgba(255, 183, 3, 0.1);
    backdrop-filter: blur(25px);
    padding: 2.5rem 3rem;
    border-radius: 32px;
    max-width: 650px;
    width: 90%;
    text-align: center;
    transform: scale(0.7) translateY(60px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.finale-card.show {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.finale-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--accent-gold), #fb8500);
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 30px;
    margin-bottom: 1.2rem;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.5);
    letter-spacing: 1px;
}

.finale-title {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.finale-subtitle {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.finale-subtitle b {
    color: var(--accent-cyan);
}

.finale-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.f-stat-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.f-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.f-stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finale-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-f-action {
    padding: 0.9rem 1.6rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-f-receipt {
    background: var(--accent-cyan);
    color: #000;
}

.btn-f-receipt:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.btn-f-fireworks {
    background: linear-gradient(135deg, var(--accent-gold), #fb8500);
    color: #000;
}

.btn-f-fireworks:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.6);
}

.btn-f-reset {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-f-reset:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .finale-card {
        padding: 1.8rem 1.4rem;
    }
    .finale-title {
        font-size: 1.6rem;
    }
    .finale-stats-grid {
        grid-template-columns: 1fr;
    }
    .btn-f-action {
        width: 100%;
        justify-content: center;
    }
}

/* 富豪切换列表样式 */
.tycoon-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tycoon-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tycoon-card:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--accent-cyan);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
}

.tycoon-card.active {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.tycoon-card-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tycoon-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-cyan);
    overflow: hidden;
    flex-shrink: 0;
}

.tycoon-card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.tycoon-card-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tycoon-card-wealth {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-green);
    text-align: right;
}

/* ==========================================================================
   品牌赞助商与商业化专属样式 (Sponsors & Monetization Styles)
   ========================================================================== */

/* 分类与入驻申请按钮行 */
.category-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-header-row .category-filters {
    margin-bottom: 0;
    flex-grow: 1;
}

/* 赞助商尊贵淡金色全息流光卡片 (VIP Sponsor Card) */
.item-card.sponsor-card {
    background: linear-gradient(145deg, rgba(28, 26, 22, 0.85), rgba(22, 27, 46, 0.9));
    border: 1.5px solid rgba(255, 230, 150, 0.55);
    box-shadow: 0 8px 25px rgba(255, 225, 130, 0.1), inset 0 0 20px rgba(255, 225, 130, 0.03);
    position: relative;
}

.item-card.sponsor-card:hover {
    border-color: #fff2b2;
    box-shadow: 0 15px 35px rgba(255, 230, 150, 0.25), 0 0 25px rgba(255, 230, 150, 0.15);
    transform: translateY(-6px);
}

.item-card.sponsor-card .item-name {
    color: #ffe89e;
    text-shadow: 0 0 10px rgba(255, 230, 150, 0.25);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* 标题旁的跳转图标 */
.sponsor-link-icon {
    font-size: 0.9em;
    color: var(--accent-cyan);
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.item-card.sponsor-card:hover .sponsor-link-icon {
    transform: translate(3px, -3px) scale(1.15);
    color: #fff;
    text-shadow: 0 0 8px var(--accent-cyan);
}

/* 右上角品牌赞助专属徽标（浅灰色高级质感） */
.sponsor-badge-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #e8e8ed, #cfcfd6);
    color: #222;
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: sponsorGlow 2.5s infinite alternate;
}

@keyframes sponsorGlow {
    0% { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
    100% { box-shadow: 0 2px 12px rgba(255, 255, 255, 0.4), 0 0 8px rgba(200, 200, 210, 0.5); }
}

/* 品牌入驻申请模态弹窗样式 */
.sponsor-modal {
    max-width: 620px !important;
}

.sponsor-hero {
    text-align: center;
    padding: 1.2rem 1rem;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.1), rgba(255, 51, 102, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(255, 183, 3, 0.25);
    margin-bottom: 1.2rem;
}

.sponsor-hero-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.3rem;
}

.sponsor-hero h3 {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.sponsor-hero p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sponsor-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.sponsor-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sponsor-feature-item .sf-icon {
    font-size: 1.5rem;
    margin-bottom: 0.1rem;
}

.sponsor-feature-item h4 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.1rem;
}

.sponsor-feature-item p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* 赞赏标准对照表 (Tiers Box) */
.sponsor-tiers-box {
    background: rgba(255, 183, 3, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 12px;
    padding: 0.9rem;
    margin-bottom: 1.2rem;
    text-align: left;
}

.step-tiers-box {
    margin-top: 0.6rem;
    margin-bottom: 0.4rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 183, 3, 0.3);
}

.sponsor-tiers-box h4 {
    font-size: 0.88rem;
    color: var(--accent-gold);
    margin-bottom: 0.65rem;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.tier-tag {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.45rem 0.4rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 600;
}

.tier-tag span {
    color: #fff;
    font-weight: 800;
}

.tier-tag.tier-best {
    border-color: var(--accent-gold);
    background: rgba(255, 183, 3, 0.15);
    color: #fff;
}

.tier-tag.tier-best span {
    color: var(--accent-gold);
}

.inline-tiers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: #b8e6ff;
}

.inline-tiers-list span {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-weight: 700;
}

.inline-tiers-list .tier-highlight {
    background: rgba(255, 183, 3, 0.18);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.sponsor-action-box {
    text-align: center;
    padding-top: 0.2rem;
}

.sponsor-action-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.btn-sponsor-form {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), #ff8800);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 183, 3, 0.4);
    transition: all 0.3s;
}

.btn-sponsor-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 183, 3, 0.6);
}

.btn-sponsor-form {
    cursor: pointer;
    border: none;
}

/* ==========================================================================
   站内品牌入驻申请与微信打赏支付三步向导 (Sponsor Application Wizard)
   ========================================================================== */
.sponsor-wizard-modal {
    max-width: 680px !important;
    max-height: 90vh !important;
}

.wizard-steps-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wizard-step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: all 0.3s;
}

.wizard-step-item.active {
    opacity: 1;
}

.wizard-step-item.completed {
    opacity: 0.9;
}

.wizard-step-item .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
}

.wizard-step-item.active .step-num {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.6);
}

.wizard-step-item.completed .step-num {
    background: #07c160;
    color: #fff;
}

.wizard-step-item .step-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.wizard-step-line {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 1rem;
    transition: background 0.3s;
}

.wizard-step-line.completed {
    background: #07c160;
}

.wizard-body-content {
    padding: 1.5rem 2rem !important;
    overflow-y: auto !important;
    flex-grow: 1;
}

/* Step 1: 表单字段样式 */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group label .required {
    color: var(--accent-red);
}

.form-group label .optional {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: normal;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.25s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.2);
}

/* 按钮组合 */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.step-2-actions {
    justify-content: space-between !important;
}

.btn-wizard-next,
.btn-wizard-finish {
    background: linear-gradient(135deg, var(--accent-gold), #ff8800);
    color: #000;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.35);
    transition: all 0.25s;
}

.btn-wizard-next:hover,
.btn-wizard-finish:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 183, 3, 0.55);
}

.btn-wizard-back {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-wizard-back:hover {
    background: rgba(255, 255, 255, 0.18);
}

.btn-wizard-confirm-pay {
    background: #07c160;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(7, 193, 96, 0.4);
    transition: all 0.25s;
}

.btn-wizard-confirm-pay:hover {
    background: #06ad56;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(7, 193, 96, 0.6);
}

/* Step 2: 微信支付与备注编号指南 */
.order-id-banner {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.12), rgba(0, 240, 255, 0.08));
    border: 1.5px solid var(--accent-gold);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.15);
}

.order-id-label {
    font-size: 0.82rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.4rem;
}

.order-id-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.order-id-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.6);
    letter-spacing: 2px;
}

.btn-copy-id {
    background: var(--accent-gold);
    color: #000;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy-id:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.8);
}

.order-id-tip {
    font-size: 0.85rem;
    color: #ffda73;
    font-weight: 600;
    display: block;
}

.wechat-pay-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.wechat-qr-container {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(7, 193, 96, 0.3);
    border: 3px solid #07c160;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#wechat-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wechat-qr-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0f1322;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 0.6rem;
}

.wechat-qr-fallback .fallback-icon {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

.wechat-qr-fallback .fallback-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #07c160;
    margin-bottom: 0.3rem;
}

.wechat-qr-fallback .fallback-desc {
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.payment-steps-desc {
    flex-grow: 1;
}

.payment-steps-desc h4 {
    font-size: 1.05rem;
    color: #07c160;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.payment-steps-desc ol {
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hl-code {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-gold);
    font-weight: 800;
    background: rgba(255, 183, 3, 0.15);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}

.payment-subtip {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 0.6rem;
}

/* Step 3: 提交成功与档案凭证 */
.success-receipt-box {
    text-align: center;
    padding: 0.5rem 0;
}

.success-icon-badge {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: bounceScale 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceScale {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-receipt-box h3 {
    font-size: 1.35rem;
    color: #07c160;
    margin-bottom: 0.4rem;
}

.success-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.summary-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-align: left;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.5rem;
}

.summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-row span:first-child {
    color: var(--text-muted);
}

.audit-notice {
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.audit-notice .audit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.audit-notice p {
    font-size: 0.84rem;
    color: #b8e6ff;
    line-height: 1.5;
}

/* 云端同步指示条与一键复制按钮 */
.cloud-sync-badge {
    background: rgba(7, 193, 96, 0.12);
    border: 1px solid #07c160;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #07c160;
    transition: all 0.3s;
}

.cloud-sync-badge.error {
    background: rgba(255, 183, 3, 0.12);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-wizard-copy-record {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s;
}

.btn-wizard-copy-record:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.step-3-actions {
    justify-content: space-between !important;
}

/* 外链安全免责提示弹窗 */
.external-link-modal {
    max-width: 500px !important;
    height: auto !important;
    max-height: 85vh !important;
}

.external-body {
    padding: 1.2rem 1.5rem 0.5rem 1.5rem !important;
    flex-grow: 0 !important;
}

.external-warning-box {
    text-align: center;
}

.external-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 0.5rem;
}

.external-warning-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.external-url-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    padding: 0.8rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    margin-bottom: 1rem;
}

.external-disclaimer-text {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    line-height: 1.5;
    background: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 0 !important;
}

.receipt-footer.external-footer,
.external-footer {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
    padding: 1rem 1.5rem 1.5rem 1.5rem !important;
}

.btn-external-cancel {
    flex: 1 !important;
    width: 50% !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 0.8rem 1rem !important;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.btn-external-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-external-proceed {
    flex: 1 !important;
    width: 50% !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    background: var(--accent-cyan);
    color: #000;
    padding: 0.8rem 1rem !important;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
    box-sizing: border-box !important;
    margin: 0 !important;
}

.btn-external-proceed:hover {
    background: #4debee;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
}

/* ==========================================================================
   顶部广告位招募卡片（+号卡片） (Ad Placeholder / Invitation Card)
   ========================================================================== */
.item-card.ad-placeholder-card {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.08), rgba(255, 51, 102, 0.05), rgba(0, 240, 255, 0.05));
    border: 2px dashed rgba(255, 183, 3, 0.6);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-card.ad-placeholder-card:hover {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), rgba(255, 51, 102, 0.12), rgba(0, 240, 255, 0.1));
    border-color: var(--accent-gold);
    border-style: solid;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 183, 3, 0.3), 0 0 25px rgba(255, 183, 3, 0.2);
}

.ad-plus-wrapper {
    width: 100%;
    height: 170px;
    border-radius: 14px;
    background: rgba(255, 183, 3, 0.05);
    border: 1px dashed rgba(255, 183, 3, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    transition: all 0.3s;
}

.item-card.ad-placeholder-card:hover .ad-plus-wrapper {
    background: rgba(255, 183, 3, 0.12);
    border-color: var(--accent-gold);
}

.ad-plus-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb703, #ff8800);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.item-card.ad-placeholder-card:hover .ad-plus-circle {
    transform: scale(1.18);
    box-shadow: 0 0 30px rgba(255, 183, 3, 0.8), 0 0 10px #fff;
}

.plus-icon {
    font-size: 2.8rem;
    font-weight: 300;
    color: #000;
    line-height: 1;
}

.ad-title {
    color: var(--accent-gold) !important;
    font-size: 1.15rem !important;
}

.ad-price {
    color: #00ff88 !important;
    font-size: 0.95rem !important;
    font-weight: 700;
}

.btn-ad-apply-card {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--accent-gold), #ff8800);
    color: #000;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}

.item-card.ad-placeholder-card:hover .btn-ad-apply-card {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.6);
    background: linear-gradient(135deg, #ffe875, #ffb703);
}
