       .order-page { min-height: 100vh; background: #f1f5f9; padding-top: 60px; }
        .order-header { background: linear-gradient(135deg, #5b21b6 0%, #8b5cf6 100%); padding: 2rem 0; }
        .order-header-inner { max-width: 1000px; margin: 0 auto; padding: 0 1rem; }
        .order-title { text-align: center; color: #fff; margin-bottom: 1.5rem; }
        .order-title h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
        .order-title p { opacity: 0.8; font-size: 0.85rem; }
        .steps { display: flex; justify-content: center; align-items: center; background: rgba(255,255,255,0.1); border-radius: 16px; padding: 1rem 1.5rem; }
        .step-item { display: flex; align-items: center; }
        .step-num { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: #fff; }
        .step-item.active .step-num { background: #fff; color: #8b5cf6; }
        .step-item.done .step-num { background: #22c55e; color: #fff; }
        .step-label { margin-left: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 500; }
        .step-item.active .step-label, .step-item.done .step-label { color: #fff; }
        .step-line { width: 50px; height: 2px; background: rgba(255,255,255,0.3); margin: 0 1rem; }
        .step-line.done { background: #22c55e; }
        .order-container { max-width: 1320px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
        .order-main { display: flex; gap: 1.5rem; }
        .order-content { flex: 1; min-width: 0; }
        .order-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: hidden; }
        .card-section { padding: 1.25rem 1.5rem; border-bottom: 1px solid #f1f5f9; }
        .card-section:last-child { border-bottom: none; }
        .section-title { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.5rem; text-align: center; }
        .section-subtitle { font-size: 1.1rem; color: var(--text-muted); text-align: center; margin-bottom: 3rem; }
        .product-info { display: flex; gap: 1rem; align-items: center; }
        .product-img { width: 72px; height: 72px; background: linear-gradient(135deg, #faf8ff, #e2e8f0); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .product-img img { max-width: 54px; max-height: 54px; object-fit: contain; }
        .product-img i { font-size: 2rem; color: #94a3b8; }
        .product-detail { flex: 1; min-width: 0; }
        .product-name { font-size: 1rem; font-weight: 600; color: #1e293b; margin-bottom: 0.2rem; }
        .product-tag { display: inline-block; padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.65rem; font-weight: 600; background: #ede9fe; color: #7c3aed; }
        .product-tag.gp { background: #fef3c7; color: #b45309; }
        .product-price { text-align: right; }
        .price-label { font-size: 0.7rem; color: #94a3b8; }
        .price-value { font-size: 1.4rem; font-weight: 700; color: #f59e0b; }
        .price-unit { font-size: 0.75rem; color: #94a3b8; font-weight: 400; }
        .action-section { padding: 1.25rem 1.5rem; }
        .action-row { display: flex; gap: 1rem; align-items: center; }
        .btn-back { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1.2rem; border: 1px solid #e2e8f0; border-radius: 10px; color: #64748b; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
        .btn-back:hover { border-color: #94a3b8; color: #1e293b; }
        .btn-pay { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 2rem; background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; border: none; border-radius: 10px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
        .btn-pay:hover { background: linear-gradient(135deg, #7c3aed, #6d28d9); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(124,58,237,0.3); }
        .btn-pay:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }
        .order-tips { text-align: center; margin-top: 1.5rem; font-size: 0.85rem; color: #64748b; }
        .order-tips i { margin-right: 0.3rem; }
        .msg-box { padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1rem; display: none; }
        .msg-error { background: #fef3c7; color: #d97706; display: block; }
        .order-sidebar { width: 280px; flex-shrink: 0; }
        .user-panel { background: #fff; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); padding: 1.25rem; position: sticky; top: 80px; }
        .user-panel-header { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid #f1f5f9; margin-bottom: 1rem; }
        .user-panel-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #7c3aed); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; }
        .user-panel-info { flex: 1; }
        .user-panel-name { font-size: 1rem; font-weight: 600; color: #1e293b; }
        .user-panel-id { font-size: 0.75rem; color: #94a3b8; }
        .user-panel-balance { display: flex; flex-direction: column; gap: 0.75rem; }
        .balance-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem; background: #faf8ff; border-radius: 10px; }
        .balance-item-label { font-size: 0.8rem; color: #64748b; }
        .balance-item-value { font-size: 1.1rem; font-weight: 700; }
        .balance-item-value.cfp { color: #8b5cf6; }
        .balance-item-value.gp { color: #f59e0b; }
        .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; justify-content: center; align-items: center; }
        .modal-overlay.show { display: flex; }
        .modal-box { background: #fff; border-radius: 16px; padding: 2rem; text-align: center; max-width: 340px; width: 90%; animation: modalIn 0.3s ease; }
        @keyframes modalIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
        .modal-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #22c55e, #16a34a); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
        .modal-icon.error { background: linear-gradient(135deg, #f59e0b, #d97706); }
        .modal-icon i { font-size: 1.8rem; color: #fff; }
        .modal-box h3 { font-size: 1.2rem; font-weight: 700; color: #1e293b; margin: 0 0 0.5rem; }
        .modal-box p { font-size: 0.9rem; color: #64748b; margin: 0 0 1.5rem; }
        .modal-btn { background: #8b5cf6; color: #fff; border: none; padding: 0.7rem 2rem; border-radius: 10px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; }
        .modal-btn:hover { background: #7c3aed; }
        @media (max-width: 992px) { .order-sidebar { display: none; } }
        @media (max-width: 576px) { .product-info { flex-wrap: wrap; } .product-price { width: 100%; text-align: left; margin-top: 0.5rem; } .action-row { flex-direction: column; } .btn-back { width: 100%; justify-content: center; } }
        .auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 5rem 1rem 2rem; background: linear-gradient(135deg, #ede9fe 0%, #faf8ff 50%, #f5f3ff 100%); }
        .auth-card { width: 100%; max-width: 460px; background: var(--bg-white); border-radius: 24px; padding: 2.5rem 2rem; box-shadow: 0 20px 60px rgba(124,58,237,0.12); border: 2px solid var(--border-color); }
        .auth-logo { text-align: center; margin-bottom: 1.75rem; }
        .auth-logo .logo-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; font-size: 1.8rem; color: white; }
        .auth-logo h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin: 0; }
        .auth-logo p { font-size: 0.85rem; color: var(--text-muted); margin: 0.25rem 0 0; }
        .form-group { margin-bottom: 1rem; }
        .form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.3rem; }
        .input-wrap { position: relative; }
        .input-wrap i { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1rem; }
        .form-input {
            width: 100%; padding: 0.65rem 1rem 0.65rem 2.5rem; border: 2px solid var(--border-color); border-radius: 10px;
            font-size: 0.9rem; color: var(--text-dark); transition: border-color 0.3s; outline: none; background: var(--bg-light);
        }
        .form-input:focus { border-color: var(--primary); background: var(--bg-white); }
        .form-submit {
            width: 100%; background: var(--primary); color: white; border: none; padding: 0.8rem; border-radius: 10px;
            font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s; margin-top: 0.5rem;
        }
        .form-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.3); }
        .auth-footer { text-align: center; margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-muted); }
        .auth-footer a { color: var(--primary); text-decoration: none; font-weight: 600; }
        .auth-footer a:hover { text-decoration: underline; }
        .msg-box { padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; display: none; }
        .msg-success { background: #dcfce7; color: #16a34a; display: block; }
        .msg-error { background: #fef3c7; color: #d97706; display: block; }
        .captcha-trigger { width:100%; padding:0.8rem; border:2px dashed var(--border-color); border-radius:10px; background:var(--bg-light); cursor:pointer; display:flex; align-items:center; justify-content:center; gap:0.5rem; color:var(--text-muted); font-size:0.9rem; transition:all 0.3s; }
        .captcha-trigger:hover { border-color:var(--primary); color:var(--primary); }

        /* 主题切换按钮 */
        .theme-toggle-btn {
            background: transparent;
            border: none;
            color: var(--bs-body-color);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .theme-toggle-btn:hover {
            background: rgba(var(--bs-primary-rgb), 0.1);
            color: var(--bs-primary);
        }
        [data-bs-theme="dark"] .theme-toggle-btn {
            color: #f8f9fa;
        }
        [data-bs-theme="dark"] .theme-toggle-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }


/* === 页面: download === */
/* 来源: download.html */

.page-header {
            padding: 7rem 0 3rem;
            background: linear-gradient(135deg, #ede9fe 0%, #faf8ff 100%);
            text-align: center;
        }
        .page-header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        .page-header p {
            color: var(--text-muted);
            font-size: 1.1rem;
        }
        
        /* Download Section */
        .dl-section {
            padding: 3rem 0 4rem;
            background: var(--bg-light);
        }
        .dl-cards {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 3rem;
        }
        .dl-card {
            background: var(--bg-white);
            border-radius: 16px;
            border: 2px solid var(--border-color);
            padding: 2.5rem 2rem;
            text-align: center;
            width: 100%;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }
        .dl-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
            border-color: var(--primary);
        }
        .dl-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2.5rem;
            color: white;
        }
        .dl-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }
        .dl-version {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        .dl-size {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }
        .dl-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.8rem 2rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
        }
        .dl-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
        }
        .dl-btn i {
            font-size: 1.2rem;
        }
        
        /* System Requirements */
        .dl-req {
            background: var(--bg-white);
            border-radius: 16px;
            border: 2px solid var(--border-color);
            padding: 2rem;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        }
        .dl-req h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            text-align: center;
        }
        .req-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }
        .req-box {
            background: var(--bg-light);
            border-radius: 16px;
            padding: 1.5rem;
            border: 2px solid var(--border-color);
        }
        .req-box h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .req-box h4 i {
            color: var(--primary);
            font-size: 1.3rem;
        }
        .req-box ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .req-box li {
            padding: 0.5rem 0;
            font-size: 0.9rem;
            color: var(--text-dark);
            border-bottom: 1px solid var(--border-color);
        }
        .req-box li:last-child {
            border-bottom: none;
        }
        .req-box li span {
            font-weight: 600;
            color: var(--text-muted);
            margin-right: 0.5rem;
        }
        
        @media (max-width: 768px) {
            .dl-cards {
                flex-direction: column;
                align-items: center;
            }
            .dl-card {
                max-width: 100%;
            }
            .req-grid {
                grid-template-columns: 1fr;
            }
        }


/* === 页面: login-logs === */
/* 来源: login-logs.html */

* { margin: 0; padding: 0; box-sizing: border-box; }
        .top-logo { position: fixed; top: 1rem; left: 1rem; z-index: 1000; }
        .top-logo img { width: 44px; height: 44px; object-fit: contain; }
        :root { --primary: #7c3aed; --bg: #faf8ff; --text: #1e293b; --border: #e2e8f0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
        .container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
        .header { background: white; padding: 1.5rem 2rem; border-radius: 16px; margin-bottom: 2rem; box-shadow: 0 4px 16px rgba(124,58,237,0.06); }
        .header h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
        .header p { color: #64748b; }
        .back-btn { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); text-decoration: none; margin-bottom: 1rem; }
        .back-btn:hover { text-decoration: underline; }
        .logs-container { background: white; border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 16px rgba(124,58,237,0.06); }
        .log-item { padding: 1rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
        .log-item:last-child { border-bottom: none; }
        .log-content { flex: 1; }
        .log-time { color: #64748b; font-size: 0.875rem; }
        .log-ip { color: #64748b; font-size: 0.875rem; margin-left: 1rem; }
        .empty { text-align: center; padding: 3rem; color: #94a3b8; }


/* === 页面: login === */
/* 来源: login.html */

.top-logo { position: fixed; top: 1rem; left: 1rem; z-index: 1000; }
        .top-logo img { width: 44px; height: 44px; object-fit: contain; }
        .auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 5rem 1rem 2rem; background: linear-gradient(135deg, #ede9fe 0%, #faf8ff 50%, #f5f3ff 100%); }
        .auth-card { width: 100%; max-width: 460px; background: var(--bg-white); border-radius: 24px; padding: 2.5rem 2rem; box-shadow: 0 20px 60px rgba(124,58,237,0.12); border: 2px solid var(--border-color); }
        .auth-logo { text-align: center; margin-bottom: 1.75rem; }
        .auth-logo .logo-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; font-size: 1.8rem; color: white; }
        .auth-logo h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin: 0; }
        .auth-logo p { font-size: 0.85rem; color: var(--text-muted); margin: 0.25rem 0 0; }
        .form-group { margin-bottom: 1rem; }
        .form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.3rem; }
        .input-wrap { position: relative; }
        .input-wrap i { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1rem; }
        .form-input {
            width: 100%; padding: 0.65rem 1rem 0.65rem 2.5rem; border: 2px solid var(--border-color); border-radius: 10px;
            font-size: 0.9rem; color: var(--text-dark); transition: border-color 0.3s; outline: none; background: var(--bg-light);
        }
        .form-input:focus { border-color: var(--primary); background: var(--bg-white); }
        .form-submit {
            width: 100%; background: var(--primary); color: white; border: none; padding: 0.8rem; border-radius: 10px;
            font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s; margin-top: 0.5rem;
        }
        .form-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.3); }
        .auth-footer { text-align: center; margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-muted); }
        .auth-footer a { color: var(--primary); text-decoration: none; font-weight: 600; }
        .auth-footer a:hover { text-decoration: underline; }
        .msg-box { padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; display: none; }
        .msg-success { background: #dcfce7; color: #16a34a; display: block; }
        .msg-error { background: #fef3c7; color: #d97706; display: block; }
        .captcha-trigger { width:100%; padding:0.8rem; border:2px dashed var(--border-color); border-radius:10px; background:var(--bg-light); cursor:pointer; display:flex; align-items:center; justify-content:center; gap:0.5rem; color:var(--text-muted); font-size:0.9rem; transition:all 0.3s; }
        .captcha-trigger:hover { border-color:var(--primary); color:var(--primary); }
        .captcha-trigger.verified { border-color:#22c55e; background:#dcfce7; color:#16a34a; border-style:solid; }
        .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:9999; justify-content:center; align-items:center; }
        .modal-overlay.show { display:flex; }
        .modal-box { background:#fff; border-radius:16px; padding:2.5rem 2rem 2rem; text-align:center; max-width:360px; width:90%; box-shadow:0 20px 60px rgba(0,0,0,0.15); animation:modalIn .3s ease; }
        @keyframes modalIn { from { opacity:0; transform:scale(0.85) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
        .modal-icon { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,#22c55e,#16a34a); display:inline-flex; align-items:center; justify-content:center; margin-bottom:1.2rem; }
        .modal-icon.error { background:linear-gradient(135deg,#f59e0b,#d97706); }
        .modal-icon i { font-size:2rem; color:#fff; }
        .modal-box h3 { font-size:1.3rem; font-weight:700; color:var(--text-dark); margin:0 0 0.5rem; }
        .modal-box p { font-size:0.9rem; color:var(--text-muted); margin:0 0 1.5rem; }
        .modal-btn { display:inline-block; background:var(--primary); color:#fff; border:none; padding:0.7rem 2.5rem; border-radius:8px; font-weight:700; font-size:0.95rem; cursor:pointer; transition:all .3s; }
        .modal-btn:hover { background:var(--primary-dark); transform:translateY(-2px); box-shadow:0 8px 20px rgba(124,58,237,0.3); }
        .captcha-modal { max-width:400px; padding:1.5rem; }
        .captcha-modal h3 { margin-bottom:1rem; }
        .captcha-container { position:relative; margin-bottom:1rem; }
        .captcha-image { width:100%; border-radius:8px; display:block; }
        .captcha-thumb { position:absolute; cursor:grab; user-select:none; }
        .captcha-thumb:active { cursor:grabbing; }
        .slide-track { width:100%; height:50px; background:var(--bg-light); border-radius:25px; position:relative; margin-top:0.75rem; border:2px solid var(--border-color); }
        .slide-thumb { width:56px; height:46px; background:var(--primary); border-radius:23px; position:absolute; left:0; top:0; cursor:grab; display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.4rem; }
        .slide-thumb:active { cursor:grabbing; }
        .slide-text { width:100%; text-align:center; line-height:46px; color:var(--text-muted); font-size:0.85rem; pointer-events:none; }
        .click-hint { background:var(--bg-light); padding:0.5rem 1rem; border-radius:8px; margin-bottom:0.75rem; font-size:0.85rem; }
        .click-hint img { height:30px; vertical-align:middle; margin-left:0.5rem; }


/* === 页面: news_detail === */
/* 来源: news_detail.html */

body {
            background: var(--bg-light);
        }
        .news-detail-page {
            padding: 7rem 0 4rem;
        }
        .news-detail-shell {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 1.25rem;
        }
        .news-detail-topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }
        .news-detail-channel {
            font-size: 2rem;
            font-weight: 800;
            color: #222;
            margin: 0;
            letter-spacing: 0.02em;
        }
        .news-detail-home {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.45rem 0.9rem;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            background: #fafafa;
            color: #666;
            text-decoration: none;
            font-size: 0.85rem;
        }
        .news-detail-home:hover {
            color: #8b5cf6;
            border-color: #8b5cf6;
            background: #fff;
        }
        .news-detail-breadcrumb {
            font-size: 0.85rem;
            color: #9a9a9a;
            margin-bottom: 1.1rem;
        }
        .news-detail-breadcrumb a {
            color: #9a9a9a;
            text-decoration: none;
        }
        .news-detail-breadcrumb a:hover {
            color: #8b5cf6;
        }
        .news-detail-breadcrumb .current {
            color: #8b5cf6;
        }
        .news-detail-card {
            background: #fff;
            border: 1px solid #ececec;
            border-radius: 14px;
            padding: 2.25rem 2rem 2.75rem;
        }
        .news-detail-heading {
            text-align: center;
            padding-bottom: 1.15rem;
            border-bottom: 1px solid #ededed;
            margin-bottom: 1.5rem;
        }
        .news-detail-title {
            font-size: 2rem;
            font-weight: 700;
            line-height: 1.45;
            color: #8b5cf6;
            margin: 0 0 0.7rem;
        }
        .news-detail-time {
            color: #9b9b9b;
            font-size: 0.82rem;
        }
        .news-detail-content {
            color: #666;
            font-size: 0.95rem;
            line-height: 2.3;
            word-break: break-word;
            min-height: 360px;
            padding: 0.5rem 0.5rem 0;
        }
        .news-detail-content > *:first-child {
            margin-top: 0;
        }
        .news-detail-content > *:last-child {
            margin-bottom: 0;
        }
        .news-detail-content p {
            margin: 0 0 2rem;
            text-indent: 2em;
        }
        .news-detail-content p.news-detail-signature,
        .news-detail-content p.news-detail-date,
        .news-detail-content p:last-child,
        .news-detail-content p:nth-last-child(2) {
            text-indent: 0;
            text-align: left;
            margin-bottom: 0.75rem;
        }
        .news-detail-content p.news-detail-signature,
        .news-detail-content p:nth-last-child(2) {
            margin-top: 2.5rem;
        }
        .news-detail-content img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 1.5rem auto;
        }
        .news-detail-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.25rem 0;
        }
        .news-detail-content th,
        .news-detail-content td {
            border: 1px solid #e6e6e6;
            padding: 0.75rem;
        }
        .news-detail-content a {
            color: #8b5cf6;
        }
        .news-detail-content pre {
            background: #f7f7f7;
            color: #444;
            padding: 1rem;
            border: 1px solid #ececec;
            border-radius: 4px;
            overflow-x: auto;
            line-height: 1.7;
        }
        .news-detail-content blockquote {
            margin: 1.25rem 0;
            padding: 0.9rem 1rem;
            border-left: 4px solid #8b5cf6;
            background: #fff7f0;
            color: #666;
        }
        .news-detail-content .news-detail-empty-space {
            height: 5rem;
        }
        .news-detail-footer {
            margin-top: 2.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            color: #999;
            font-size: 0.9rem;
        }
        .news-detail-footer-links {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }
        .news-detail-footer a {
            color: #777;
            text-decoration: none;
        }
        .news-detail-footer a:hover {
            color: #8b5cf6;
        }
        @media (max-width: 768px) {
            .news-detail-page {
                padding-top: 6rem;
            }
            .news-detail-topbar {
                flex-direction: column;
                align-items: flex-start;
            }
            .news-detail-channel {
                font-size: 1.6rem;
            }
            .news-detail-card {
                padding: 1.4rem 1rem 1.8rem;
            }
            .news-detail-title {
                font-size: 1.4rem;
            }
            .news-detail-content {
                min-height: auto;
                line-height: 2;
                padding: 0.25rem 0;
            }
            .news-detail-content p {
                margin-bottom: 1.4rem;
            }
            .news-detail-footer {
                flex-direction: column;
                align-items: flex-start;
            }
        }


/* === 页面: redeem-logs === */
/* 来源: redeem-logs.html */

* { margin: 0; padding: 0; box-sizing: border-box; }
        .top-logo { position: fixed; top: 1rem; left: 1rem; z-index: 1000; }
        .top-logo img { width: 44px; height: 44px; object-fit: contain; }
        :root { --primary: #7c3aed; --bg: #faf8ff; --text: #1e293b; --border: #e2e8f0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
        .container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
        .header { background: white; padding: 1.5rem 2rem; border-radius: 16px; margin-bottom: 2rem; box-shadow: 0 4px 16px rgba(124,58,237,0.06); }
        .header h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
        .header p { color: #64748b; }
        .back-btn { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); text-decoration: none; margin-bottom: 1rem; }
        .back-btn:hover { text-decoration: underline; }
        .logs-container { background: white; border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 16px rgba(124,58,237,0.06); }
        .log-item { padding: 1rem; border-bottom: 1px solid var(--border); }
        .log-item:last-child { border-bottom: none; }
        .log-content { margin-bottom: 0.5rem; }
        .log-time { color: #64748b; font-size: 0.875rem; }
        .empty { text-align: center; padding: 3rem; color: #94a3b8; }


/* === 页面: cdk === */
/* 来源: cdk.html */

.uc-header { padding: 7rem 0 3rem; background: linear-gradient(135deg, #ede9fe 0%, #faf8ff 100%); text-align: center; }
        .uc-header h1 { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem; }
        .uc-header p { color: var(--text-muted); font-size: 1.1rem; }
        .uc-section { padding: 3rem 0 4rem; }
        
        /* Tab Navigation */
        .uc-tabs {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0;
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 2rem;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 1rem;
        }
        .uc-tab {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem 1.5rem;
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            gap: 0.5rem;
        }
        .uc-tab:hover {
            color: var(--primary);
        }
        .uc-tab.active {
            color: var(--primary);
        }
        .uc-tab.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 3px;
            background: var(--primary);
        }
        .uc-tab i {
            font-size: 1.2rem;
        }
        
        /* User Info Header */
        .uc-user-info {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 1rem;
        }
        .uc-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            flex-shrink: 0;
        }
        .uc-user-details {
            text-align: left;
        }
        .uc-uid {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.25rem;
        }
        .uc-nick {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        /* Main Content */
        .uc-main { background: var(--bg-white); border-radius: 16px; padding: 2rem; border: 2px solid var(--border-color); box-shadow: 0 8px 30px rgba(124,58,237,0.08); max-width: 1000px; margin: 0 auto; overflow: hidden; }
        .uc-main h2 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border-color); }
        .form-group { margin-bottom: 1.25rem; }
        .form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.4rem; }
        .form-input {
            width: 100%; padding: 0.7rem 1rem; border: 2px solid var(--border-color); border-radius: 10px;
            font-size: 0.9rem; color: var(--text-dark); transition: border-color 0.3s; outline: none; background: var(--bg-light);
        }
        .form-input:focus { border-color: var(--primary); background: var(--bg-white); }
        .form-submit {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: white; border: none; padding: 0.7rem 1.8rem; border-radius: 10px;
            font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(124,58,237,0.2);
            white-space: nowrap;
        }
        .form-submit:hover {
            background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(124,58,237,0.35);
        }
        .form-submit:active { transform: translateY(0); }
        .cdk-input-wrap {
            display: block;
            width: 100%;
            max-width: 460px;
            margin-bottom: 1rem;
        }
        .cdk-input-wrap .form-input {
            font-family: 'Courier New', monospace;
            font-size: 1.1rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            width: 100%;
            padding: 1rem 1.2rem;
            border: 2px solid var(--border-color);
            border-radius: 10px;
            background: var(--bg-white);
            transition: all 0.3s ease;
            height: 48px;
            box-sizing: border-box;
        }
        .cdk-input-wrap .form-input:focus {
            border-color: var(--primary);
            background: var(--bg-white);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
            outline: none;
        }
        .cdk-input-wrap .form-input::placeholder {
            color: var(--text-muted);
            letter-spacing: 1.5px;
            font-size: 0.95rem;
        }
        .cdk-submit-btn {
            width: 100%;
            max-width: 600px;
            padding: 1rem 2rem;
            font-size: 1rem;
            font-weight: 700;
        }
        .cdk-history { margin-top: 2rem; }
        .cdk-history h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
        .cdk-table { width: 100%; border-collapse: collapse; }
        .cdk-table th { text-align: left; padding: 0.6rem 0.75rem; font-size: 0.8rem; color: var(--text-muted); border-bottom: 2px solid var(--border-color); }
        .cdk-table td { padding: 0.6rem 0.75rem; font-size: 0.85rem; color: var(--text-dark); border-bottom: 1px solid var(--border-color); }
        .cdk-table tr:last-child td { border-bottom: none; }
        .cdk-code { font-family: 'Courier New', monospace; font-weight: 600; color: var(--primary); letter-spacing: 1px; }
        .cdk-reward { display: inline-flex; align-items: center; gap: 0.3rem; background: #fef3c7; color: #b45309; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
        .cdk-tips { background: var(--bg-light); border-radius: 10px; padding: 1rem 1.25rem; margin-top: 1.5rem; }
        .cdk-tips h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
        .cdk-tips ul { list-style: none; padding: 0; margin: 0; }
        .cdk-tips li { font-size: 0.8rem; color: var(--text-muted); padding: 0.2rem 0; }
        .cdk-tips li i { color: var(--primary); margin-right: 0.4rem; }
        .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:9999; justify-content:center; align-items:center; }
        .modal-overlay.show { display:flex; }
        .modal-box { background:#fff; border-radius:16px; padding:2.5rem 2rem 2rem; text-align:center; max-width:360px; width:90%; box-shadow:0 20px 60px rgba(0,0,0,0.15); animation:modalIn .3s ease; }
        @keyframes modalIn { from { opacity:0; transform:scale(0.85) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
        .modal-icon { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,#22c55e,#16a34a); display:inline-flex; align-items:center; justify-content:center; margin-bottom:1.2rem; }
        .modal-icon.error { background:linear-gradient(135deg,#f59e0b,#d97706); }
        .modal-icon i { font-size:2rem; color:#fff; }
        .modal-box h3 { font-size:1.3rem; font-weight:700; color:var(--text-dark); margin:0 0 0.5rem; }
        .modal-box p { font-size:0.9rem; color:var(--text-muted); margin:0 0 1.5rem; }
        .modal-btn { display:inline-block; background:var(--primary); color:#fff; border:none; padding:0.7rem 2.5rem; border-radius:8px; font-weight:700; font-size:0.95rem; cursor:pointer; transition:all .3s; }
        .modal-btn:hover { background:var(--primary-dark); transform:translateY(-2px); box-shadow:0 8px 20px rgba(124,58,237,0.3); }
        @media (max-width: 768px) {
            .uc-tabs {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .uc-tab {
                font-size: 1rem;
                padding: 0.85rem 1rem;
            }
            .uc-user-info {
                flex-direction: column;
                text-align: center;
            }
            .uc-user-details {
                text-align: center;
            }
            .cdk-input-wrap { flex-direction: column; }
        }


/* === 页面: index === */
/* 来源: index.html */

/* Game Features Section */
        .features-section {
            padding: 5rem 0;
            background: var(--bg-white);
        }
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        .feature-card {
            background: var(--bg-light);
            border: 2px solid var(--border-color);
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }
        .feature-card:hover::before {
            transform: scaleX(1);
        }
        .feature-card:hover {
            border-color: var(--primary);
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
        }
        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2.5rem;
            color: white;
            transition: transform 0.4s ease;
        }
        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
        }
        .feature-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
        }
        .feature-desc {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Carousel and News Combined Section */
        .carousel-news-section {
            padding: 5rem 0;
            background: var(--bg-white);
        }
        .carousel-news-wrapper {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 2rem;
            align-items: start;
            max-width: 1400px;
            margin: 2rem auto 0;
            padding: 0 1rem;
            box-sizing: border-box;
            width: 100%;
            overflow: hidden;
        }
        .carousel-news-wrapper > * {
            min-width: 0;
        }

        /* Carousel Container */
        .carousel-container {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            background: var(--bg-white);
            max-width: 100%;
            min-width: 0;
        }
        .carousel-slides {
            position: relative;
            width: 100%;
            height: 400px;
            max-width: 100%;
        }
        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            pointer-events: none;
            z-index: 1;
            transition: opacity 0.8s ease-in-out;
        }
        .carousel-slide.active {
            opacity: 1;
            pointer-events: auto;
            z-index: 2;
        }
        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            max-width: 100%;
        }
        .carousel-slide a {
            display: block;
            width: 100%;
            height: 100%;
        }
        .carousel-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }
        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid white;
        }
        .carousel-dot.active {
            background: white;
            transform: scale(1.2);
        }
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.5rem;
            color: var(--primary);
            transition: all 0.3s ease;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .carousel-nav:hover {
            background: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        .carousel-prev { left: 20px; }
        .carousel-next { right: 20px; }

        /* Rank Preview Section */
        .rank-preview-section {
            padding: 5rem 0;
            background: #f8f9fa;
        }
        .rank-preview-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            max-width: 900px;
            margin: 2rem auto 0;
        }
        .rank-preview-card {
            background: var(--bg-light);
            border: 2px solid var(--border-color);
            border-radius: 16px;
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
        }
        .rank-preview-card.rank-1 {
            background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
            border-color: #ffd700;
        }
        .rank-preview-card.rank-2 {
            background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
            border-color: #c0c0c0;
        }
        .rank-preview-card.rank-3 {
            background: linear-gradient(135deg, #fff4e6 0%, #ffffff 100%);
            border-color: #cd7f32;
        }
        .rank-preview-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        .rank-preview-badge {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 800;
            color: white;
        }
        .rank-1 .rank-preview-badge {
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
        }
        .rank-2 .rank-preview-badge {
            background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
            box-shadow: 0 4px 12px rgba(192, 192, 192, 0.4);
        }
        .rank-3 .rank-preview-badge {
            background: linear-gradient(135deg, #cd7f32, #daa06d);
            box-shadow: 0 4px 12px rgba(205, 127, 50, 0.4);
        }
        .rank-preview-level {
            width: 60px;
            height: 60px;
            margin: 1.5rem auto 1rem;
        }
        .rank-preview-level img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .rank-preview-stats {
            display: flex;
            justify-content: center;
            gap: 1rem;
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        .rank-preview-stat {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        .rank-preview-stat i {
            color: var(--primary);
        }

        /* News Container in Combined Section */
        .news-container {
            background: var(--bg-white);
            border-radius: 24px;
            padding: 1.5rem;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }
        .news-container-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .news-container-title i {
            color: var(--primary);
        }

        /* News filter tabs styling */
        .news-filters {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 0;
            border-bottom: 1px solid #d9d9d9;
            margin-bottom: 1.75rem;
            overflow: hidden;
        }
        .news-filter-btn {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 1rem 1.2rem;
            background: none;
            border: none;
            color: #7e8794;
            font-size: 1rem;
            font-weight: 700;
            line-height: 1;
            cursor: pointer;
            transition: color 0.2s ease;
            min-width: 0;
            overflow: hidden;
        }
        .news-filter-btn:hover {
            color: #8b5cf6;
        }
        .news-filter-btn.active {
            color: #8b5cf6;
        }
        .news-filter-btn.active::before {
            content: "";
            position: absolute;
            left: 18%;
            right: 18%;
            bottom: -1px;
            height: 2px;
            background: #8b5cf6;
        }
        .news-filter-btn.active::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -8px;
            width: 10px;
            height: 10px;
            border-right: 2px solid #8b5cf6;
            border-bottom: 2px solid #8b5cf6;
            background: #fff;
            transform: translateX(-50%) rotate(45deg);
        }
        @media (max-width: 992px) {
            .carousel-news-wrapper {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .news-filters {
                display: grid;
                grid-template-columns: repeat(5, minmax(0, 1fr));
            }
            .news-filter-btn {
                padding: 0 0.5rem 0.85rem;
                font-size: 0.85rem;
                white-space: nowrap;
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .rank-preview-grid {
                grid-template-columns: 1fr;
                max-width: 300px;
            }
            .carousel-slides {
                height: 300px;
            }
        }
        @media (max-width: 576px) {
            .carousel-news-wrapper {
                padding: 0 0.25rem;
                gap: 1rem;
            }
            .carousel-container {
                border-radius: 16px;
            }
            .carousel-slides {
                height: 200px;
            }
            .news-filters {
                grid-template-columns: repeat(3, 1fr);
            }
            .news-filter-btn {
                padding: 0 0.25rem 0.75rem;
                font-size: 0.75rem;
            }
            .news-row-link {
                gap: 0.5rem;
                padding: 0.75rem;
            }
            .news-badge {
                padding: 0.2rem 0.5rem;
                font-size: 0.7rem;
            }
            .news-title {
                font-size: 0.9rem;
            }
            .news-time {
                font-size: 0.75rem;
            }
            .features-grid {
                grid-template-columns: 1fr;
            }
        }


/* === 页面: order === */
/* 来源: order.html */

        body.order-reference-page {
            background: #fff;
        }
        .order-page {
            min-height: calc(100vh - 72px);
            padding: 102px 0 56px;
            background: #fff;
            color: #111827;
        }
        .order-shell {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px 72px;
        }
        .order-heading {
            margin-top: 30px;
            margin-bottom: 36px;
        }
        .order-heading h1 {
            margin: 0;
            color: #111827;
            font-size: 1.8rem;
            line-height: 1.2;
            font-weight: 800;
            letter-spacing: 0;
        }
        .order-heading p {
            margin: 8px 0 0;
            color: #7b8494;
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .order-empty,
        .order-error {
            padding: 56px 24px;
            text-align: center;
            color: #6b7280;
            border-radius: 12px;
            background: #f8f7fc;
        }
        .order-error {
            color: #dc2626;
            background: #fff5f5;
        }
        .order-section {
            background: #f8f7fc;
            border-radius: 12px;
            padding: 32px;
            margin-bottom: 20px;
        }
        .order-section h2 {
            margin: 0;
            color: #111827;
            font-size: 18px;
            line-height: 1.35;
            font-weight: 800;
            letter-spacing: 0;
        }
        .order-divider {
            height: 1px;
            background: #e4e6ef;
            margin: 14px 0 28px;
        }
        .order-items {
            display: grid;
            gap: 18px;
        }
        .order-item {
            min-height: 52px;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 24px;
        }
        .order-product {
            display: flex;
            align-items: center;
            gap: 16px;
            min-width: 0;
        }
        .order-product-thumb {
            width: 48px;
            height: 48px;
            border-radius: 7px;
            background: #e4e4ef;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
        }
        .order-product-thumb img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            display: block;
        }
        .order-product-thumb span {
            width: 100%;
            height: 100%;
            display: block;
            background: #e4e4ef;
        }
        .order-product-thumb span[hidden] {
            display: none;
        }
        .order-product-name {
            color: #111827;
            font-size: 14px;
            line-height: 1.5;
            font-weight: 800;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .order-item-meta {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 14px;
            white-space: nowrap;
        }
        .order-item-price {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 18px;
            color: #9ca3af;
            font-size: 13px;
            white-space: nowrap;
        }
        .order-item-price strong {
            min-width: 64px;
            color: #ef6a5a;
            font-size: 13px;
            line-height: 1.4;
            font-weight: 800;
            text-align: right;
        }
        .order-item-delete {
            width: 34px;
            height: 34px;
            border: 0;
            border-radius: 8px;
            background: transparent;
            color: #9ca3af;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: color 0.2s ease, background 0.2s ease;
            flex-shrink: 0;
        }
        .order-item-delete:hover {
            color: #ef6a5a;
            background: rgba(239, 106, 90, 0.1);
        }
        .order-item-delete:disabled {
            opacity: 0.45;
            cursor: not-allowed;
        }
        .order-price-lines {
            display: grid;
            gap: 14px;
            padding-bottom: 14px;
            border-bottom: 1px solid #e4e6ef;
        }
        .order-price-line,
        .order-total-line {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            color: #374151;
            font-size: 14px;
            line-height: 1.6;
        }
        .order-price-line strong {
            color: #374151;
            font-weight: 500;
        }
        .order-total-line {
            margin-top: 12px;
            color: #111827;
            font-size: 20px;
            font-weight: 800;
        }
        .order-total-line strong {
            color: #ef6a5a;
            font-size: 20px;
            line-height: 1.2;
            font-weight: 800;
        }
        .order-pay-section {
            margin-bottom: 0;
        }
        .order-pay-section .order-divider {
            margin-bottom: 16px;
        }
        .order-pay-options {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
        .order-pay-option {
            min-width: 94px;
            height: 50px;
            padding: 0 20px;
            border: 1px solid #e4e6ef;
            border-radius: 8px;
            background: #fbfbff;
            color: #374151;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
            line-height: 1;
            cursor: default;
        }
        .order-pay-option i {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            border: 1px solid #9ca3af;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .order-pay-option i::after {
            content: "";
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: transparent;
        }
        .order-pay-option.active {
            border-color: #6856ff;
            background: #f7f5ff;
            color: #6856ff;
        }
        .order-pay-option.active i {
            border-color: #6856ff;
        }
        .order-pay-option.active i::after {
            background: #6856ff;
        }
        .order-submit-bar {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 500;
            height: 72px;
            background: rgba(255, 255, 255, 0.98);
            border-top: 1px solid #e5e7eb;
            box-shadow: 0 -6px 24px rgba(17, 24, 39, 0.04);
        }
        .order-submit-inner {
            width: min(1152px, calc(100% - 32px));
            height: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 24px;
        }
        .order-submit-total {
            display: flex;
            align-items: baseline;
            gap: 10px;
            color: #6b7280;
            font-size: 14px;
            line-height: 1;
        }
        .order-submit-total strong {
            color: #df6a5b;
            font-size: 24px;
            line-height: 1;
            font-weight: 800;
        }
        .order-btn {
            height: 48px;
            border: 0;
            border-radius: 8px;
            padding: 0 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 800;
            cursor: pointer;
        }
        .order-btn.primary {
            min-width: 116px;
            background: #806cf2;
            color: #fff;
            box-shadow: 0 8px 16px rgba(104, 86, 255, 0.22);
        }
        .order-btn.primary:hover {
            background: #735ce9;
        }
        @media (max-width: 768px) {
            .order-page {
                padding-top: 92px;
            }
            .order-shell {
                padding-left: 16px;
                padding-right: 16px;
            }
            .order-heading {
                margin-bottom: 32px;
            }
            .order-heading h1 {
                font-size: 1.8rem;
            }
            .order-section {
                padding: 24px 18px;
            }
            .order-item {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            .order-item-price {
                justify-content: space-between;
            }
            .order-item-meta {
                justify-content: space-between;
                padding-left: 64px;
            }
            .order-submit-bar {
                height: auto;
                padding: 12px 0;
            }
            .order-submit-inner {
                align-items: stretch;
                flex-direction: column;
                gap: 10px;
            }
            .order-submit-total {
                justify-content: space-between;
            }
            .order-btn.primary {
                width: 100%;
            }
        }
        @media (max-width: 480px) {
            .order-shell {
                padding-left: 12px;
                padding-right: 12px;
            }
            .order-submit-inner {
                width: min(100% - 24px, 1152px);
            }
            .order-heading h1 {
                font-size: 1.35rem;
            }
            .order-pay-option {
                flex: 1;
                min-width: 0;
                padding: 0 12px;
            }
        }


/* === 页面: order_success === */
/* 来源: order_success.html */

body.order-success-reference-page {
            background: #fff;
        }
        .trade-success,
        .success-page {
            flex: 1;
            padding: 102px 0 56px;
            background: #fff;
            color: #1a1a2e;
        }
        .success-shell {
            width: min(780px, calc(100% - 32px));
            margin: 0 auto;
        }
        .trade-success-card,
        .success-card {
            width: 100%;
            border-radius: 16px;
            background: #f8f8fc;
            padding: 48px;
            text-align: center;
        }
        .trade-success-icon,
        .success-icon {
            width: 72px;
            height: 72px;
            margin: 0 auto 24px;
            border-radius: 50%;
            background: linear-gradient(135deg, #00b894, #55efc4);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 20px rgba(0, 184, 148, 0.25);
            font-size: 32px;
            line-height: 1;
        }
        .trade-success-icon i,
        .success-icon i {
            line-height: 1;
        }
        .trade-success-title,
        .success-card h1 {
            margin: 0 0 8px;
            color: #1a1a2e;
            font-size: 24px;
            line-height: 1.25;
            font-weight: 800;
            letter-spacing: 0;
        }
        .trade-success-sub,
        .success-subtitle {
            margin: 0 0 32px;
            color: #aaa;
            font-size: 14px;
            line-height: 1.7;
        }
        .trade-detail,
        .success-detail-card {
            border-radius: 12px;
            background: #fff;
            padding: 24px 28px;
            margin: 0 0 32px;
            text-align: left;
        }
        .trade-detail-row,
        .success-detail-row {
            min-height: 42px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            border-bottom: 1px solid #f0f0f5;
            color: #888;
            font-size: 14px;
            line-height: 1.6;
        }
        .trade-detail-row:last-child,
        .success-detail-row:last-child {
            border-bottom: 0;
        }
        .trade-detail-label,
        .success-detail-row span {
            flex-shrink: 0;
            color: #888;
        }
        .trade-detail-value,
        .success-detail-row strong {
            min-width: 0;
            color: #1a1a2e;
            font-size: 14px;
            line-height: 1.6;
            font-weight: 600;
            text-align: right;
            overflow-wrap: anywhere;
        }
        .trade-detail-value.price,
        .success-amount {
            color: #e17055;
            font-size: 18px;
            font-weight: 800;
        }
        .trade-detail-value.success-state,
        .success-state {
            color: #00b894;
        }
        .trade-goods-list {
            border-radius: 12px;
            background: #fff;
            padding: 0 28px;
            margin-bottom: 32px;
            text-align: left;
            overflow: hidden;
        }
        .trade-goods-header,
        .trade-goods-row,
        .trade-goods-footer {
            display: flex;
            align-items: center;
        }
        .trade-goods-header {
            padding: 14px 0;
            border-bottom: 2px solid #e8e8f0;
            color: #888;
            font-size: 13px;
            line-height: 1.5;
            font-weight: 600;
        }
        .trade-goods-row {
            padding: 14px 0;
            border-bottom: 1px solid #f0f0f5;
            color: #1a1a2e;
            font-size: 14px;
            line-height: 1.5;
        }
        .trade-goods-footer {
            padding: 16px 0;
            color: #888;
            font-size: 14px;
            line-height: 1.5;
            font-weight: 600;
        }
        .tg-col {
            display: inline-block;
            min-width: 0;
        }
        .tg-name {
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .tg-price {
            width: 88px;
            text-align: center;
            white-space: nowrap;
        }
        .tg-qty {
            width: 60px;
            text-align: center;
            white-space: nowrap;
        }
        .tg-subtotal {
            width: 98px;
            text-align: right;
            font-weight: 700;
            white-space: nowrap;
        }
        .trade-goods-footer .tg-subtotal.price {
            color: #e17055;
            font-size: 18px;
            font-weight: 800;
        }
        .success-empty {
            min-height: 96px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #7b8494;
            font-size: 14px;
        }
        .trade-success-actions,
        .success-actions {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            margin-top: 0;
        }
        .trade-success-actions .btn,
        .success-btn {
            min-width: 140px;
            height: 44px;
            padding: 0 28px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 15px;
            line-height: 1;
            font-weight: 600;
            transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
        }
        .trade-success-actions .btn-secondary,
        .success-btn {
            border: 1.5px solid #6c5ce7;
            background: #fff;
            color: #6c5ce7;
        }
        .trade-success-actions .btn-secondary:hover,
        .success-btn:hover {
            background: #f8f7ff;
            color: #6c5ce7;
            text-decoration: none;
        }
        .trade-success-actions .btn-primary,
        .success-btn.primary {
            border-color: transparent;
            background: linear-gradient(135deg, #6c5ce7, #a29bfe);
            color: #fff;
            box-shadow: 0 4px 15px rgba(108, 92, 231, 0.35);
        }
        .trade-success-actions .btn-primary:hover,
        .success-btn.primary:hover {
            color: #fff;
            box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
            transform: translateY(-1px);
        }
        @media (max-width: 576px) {
            .trade-success,
            .success-page {
                padding: 92px 0 56px;
            }
            .success-shell {
                width: min(100% - 24px, 780px);
            }
            .trade-success-card,
            .success-card {
                padding: 34px 16px 30px;
            }
            .trade-success-icon,
            .success-icon {
                width: 62px;
                height: 62px;
                margin-bottom: 18px;
                font-size: 28px;
            }
            .trade-success-title,
            .success-card h1 {
                font-size: 24px;
            }
            .trade-detail,
            .success-detail-card {
                padding: 16px;
                margin-bottom: 24px;
            }
            .trade-detail-row,
            .success-detail-row {
                min-height: 40px;
                gap: 14px;
            }
            .trade-goods-list {
                padding: 0 14px;
                margin-bottom: 24px;
            }
            .trade-goods-header,
            .trade-goods-row,
            .trade-goods-footer {
                font-size: 12px;
            }
            .tg-price {
                width: 64px;
            }
            .tg-qty {
                width: 42px;
            }
            .tg-subtotal {
                width: 72px;
            }
            .trade-success-actions,
            .success-actions {
                flex-direction: column;
                gap: 10px;
            }
            .trade-success-actions .btn,
            .success-btn {
                width: 100%;
            }
        }


/* === 页面: passx === */
/* 来源: passx.html */

.pass-header { padding: 7rem 0 3rem; background: linear-gradient(135deg, #1e3a5f 0%, #7c3aed 50%, #8b5cf6 100%); text-align: center; position: relative; overflow: hidden; }
        .pass-header::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
        .pass-header h1 { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 0.5rem; position: relative; }
        .pass-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; position: relative; }
        .pass-section { padding: 3rem 0 4rem; }
        .pass-info { display: flex; justify-content: center; gap: 2rem; margin-top: 1.5rem; position: relative; }
        .pass-info-item { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: 10px; padding: 0.6rem 1.5rem; color: white; font-size: 0.9rem; font-weight: 600; }
        .pass-info-item span { color: #fbbf24; font-weight: 800; }
        .pass-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
        .pass-tab { padding: 0.6rem 1.5rem; border-radius: 10px; border: 2px solid var(--border-color); background: var(--bg-white); color: var(--text-muted); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; }
        .pass-tab:hover { border-color: var(--primary); color: var(--primary); }
        .pass-tab.active { background: var(--primary); color: white; border-color: var(--primary); }
        .pass-container { max-width: 1000px; margin: 0 auto; }
        .pass-progress { background: var(--bg-white); border-radius: 16px; padding: 1.5rem 2rem; border: 2px solid var(--border-color); margin-bottom: 2rem; display: flex; align-items: center; gap: 1.5rem; box-shadow: 0 8px 30px rgba(124,58,237,0.08); }
        .pass-level { text-align: center; min-width: 80px; }
        .pass-level .lv { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
        .pass-level .lv-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
        .pass-bar-wrap { flex: 1; }
        .pass-bar-info { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.4rem; font-weight: 600; }
        .pass-bar { height: 12px; background: var(--bg-light); border-radius: 6px; overflow: hidden; }
        .pass-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), #8b5cf6); border-radius: 6px; transition: width 0.6s ease; }
        .pass-exp-btn { background: var(--primary); color: white; border: none; padding: 0.5rem 1.2rem; border-radius: 10px; font-weight: 600; font-size: 0.85rem; cursor: pointer; white-space: nowrap; }
        .day-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; margin-bottom: 2rem; }
        .day-card { background: var(--bg-white); border-radius: 16px; border: 2px solid var(--border-color); padding: 1rem 0.5rem; text-align: center; transition: all 0.3s; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
        .day-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
        .day-card .day-num { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-bottom: 0.5rem; }
        .day-card .day-icon { font-size: 1.8rem; margin-bottom: 0.4rem; display: block; }
        .day-card .day-reward { font-size: 0.7rem; color: var(--text-dark); font-weight: 600; margin-bottom: 0.6rem; line-height: 1.3; min-height: 2rem; display: flex; align-items: center; justify-content: center; }
        .day-card .day-btn { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 6px; font-size: 0.7rem; font-weight: 700; border: none; cursor: pointer; transition: all 0.3s; }
        .btn-claim { background: var(--primary); color: white; }
        .btn-claim:hover { background: var(--primary-dark); }
        .btn-claimed { background: #dcfce7; color: #16a34a; cursor: default; }
        .btn-locked { background: var(--bg-light); color: var(--text-muted); cursor: not-allowed; }
        .day-card.claimed { border-color: #86efac; background: #f0fdf4; }
        .day-card.claimed::after { content: '\2713'; position: absolute; top: 6px; right: 8px; color: #16a34a; font-weight: 800; font-size: 0.8rem; }
        .day-card.today { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
        .day-card.locked { opacity: 0.55; }
        .day-card.premium { border-color: #f59e0b; }
        .day-card.premium .day-num { color: #b45309; }
        .premium-badge { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #f59e0b, #fbbf24); color: white; font-size: 0.6rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 4px; white-space: nowrap; }
        .week-label { grid-column: 1 / -1; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); padding: 0.5rem 0; margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
        .week-label i { color: var(--primary); }
        .pass-footer-tip { background: var(--bg-light); border-radius: 10px; padding: 1rem 1.25rem; }
        .pass-footer-tip h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
        .pass-footer-tip ul { list-style: none; padding: 0; margin: 0; }
        .pass-footer-tip li { font-size: 0.8rem; color: var(--text-muted); padding: 0.2rem 0; }
        .pass-footer-tip li i { color: var(--primary); margin-right: 0.4rem; }
        @media (max-width: 768px) {
            .day-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
            .pass-info { flex-direction: column; align-items: center; gap: 0.5rem; }
            .pass-progress { flex-direction: column; text-align: center; }
        }
        @media (max-width: 480px) { .day-grid { grid-template-columns: repeat(3, 1fr); } }


/* === 页面: register === */
/* 来源: register.html */

.top-logo { position: fixed; top: 1rem; left: 1rem; z-index: 1000; }
        .top-logo img { width: 44px; height: 44px; object-fit: contain; }
        .auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 5rem 1rem 2rem; background: linear-gradient(135deg, #ede9fe 0%, #faf8ff 50%, #f5f3ff 100%); }
        .auth-card { width: 100%; max-width: 460px; background: var(--bg-white); border-radius: 24px; padding: 2.5rem 2rem; box-shadow: 0 20px 60px rgba(124,58,237,0.12); border: 2px solid var(--border-color); }
        .auth-logo { text-align: center; margin-bottom: 1.75rem; }
        .auth-logo .logo-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; font-size: 1.8rem; color: white; }
        .auth-logo h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin: 0; }
        .auth-logo p { font-size: 0.85rem; color: var(--text-muted); margin: 0.25rem 0 0; }
        .form-group { margin-bottom: 1rem; }
        .form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.3rem; }
        .form-group label .required { color: #d97706; margin-left: 2px; }
        .input-wrap { position: relative; }
        .input-wrap i { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1rem; }
        .form-input {
            width: 100%; padding: 0.65rem 1rem 0.65rem 2.5rem; border: 2px solid var(--border-color); border-radius: 10px;
            font-size: 0.9rem; color: var(--text-dark); transition: border-color 0.3s; outline: none; background: var(--bg-light);
        }
        .form-input:focus { border-color: var(--primary); background: var(--bg-white); }
        .form-select {
            width: 100%; padding: 0.65rem 1rem 0.65rem 2.5rem; border: 2px solid var(--border-color); border-radius: 10px;
            font-size: 0.9rem; color: var(--text-dark); transition: border-color 0.3s; outline: none; background: var(--bg-light);
            appearance: none; cursor: pointer;
        }
        .form-select:focus { border-color: var(--primary); background: var(--bg-white); }
        .form-submit {
            width: 100%; background: var(--primary); color: white; border: none; padding: 0.8rem; border-radius: 10px;
            font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s; margin-top: 0.5rem;
        }
        .form-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.3); }
        .auth-footer { text-align: center; margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-muted); }
        .auth-footer a { color: var(--primary); text-decoration: none; font-weight: 600; }
        .auth-footer a:hover { text-decoration: underline; }
        .msg-box { padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; display: none; }
        .msg-success { background: #dcfce7; color: #16a34a; display: block; }
        .msg-error { background: #fef3c7; color: #d97706; display: block; }
        .captcha-wrap { display: flex; gap: 0.75rem; align-items: center; }
        .captcha-wrap .form-input { flex: 1; }
        .captcha-box {
            width: 120px; height: 40px; border-radius: 10px; cursor: pointer; flex-shrink: 0;
            border: 2px solid var(--border-color); overflow: hidden;
        }
        .captcha-box:hover { border-color: var(--primary); }
        .captcha-box img { width: 100%; height: 100%; display: block; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
        .send-code-btn { padding:0.65rem 1rem; background:var(--primary); color:white; border:none; border-radius:10px; font-size:0.85rem; cursor:pointer; white-space:nowrap; transition:all 0.3s; font-weight:600; }
        .send-code-btn:hover { background:var(--primary-dark); }
        .send-code-btn:disabled { background:#ccc; cursor:not-allowed; }
        @media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } .captcha-wrap { flex-direction: column; } .captcha-box { width: 100%; } }
        .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:9999; justify-content:center; align-items:center; }
        .modal-overlay.show { display:flex; }
        .modal-box { background:#fff; border-radius:16px; padding:2.5rem 2rem 2rem; text-align:center; max-width:360px; width:90%; box-shadow:0 20px 60px rgba(0,0,0,0.15); animation:modalIn .3s ease; }
        @keyframes modalIn { from { opacity:0; transform:scale(0.85) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
        .modal-icon { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,#22c55e,#16a34a); display:inline-flex; align-items:center; justify-content:center; margin-bottom:1.2rem; }
        .modal-icon.error { background:linear-gradient(135deg,#f59e0b,#d97706); }
        .modal-icon i { font-size:2rem; color:#fff; }
        .modal-box h3 { font-size:1.3rem; font-weight:700; color:var(--text-dark); margin:0 0 0.5rem; }
        .modal-box p { font-size:0.9rem; color:var(--text-muted); margin:0 0 1.5rem; }
        .modal-btn { display:inline-block; background:var(--primary); color:#fff; border:none; padding:0.7rem 2.5rem; border-radius:8px; font-weight:700; font-size:0.95rem; cursor:pointer; transition:all .3s; }
        .modal-btn:hover { background:var(--primary-dark); transform:translateY(-2px); box-shadow:0 8px 20px rgba(124,58,237,0.3); }
        /* 行为验证码样式 */
        .captcha-trigger { width:100%; padding:0.8rem; border:2px dashed var(--border-color); border-radius:10px; background:var(--bg-light); cursor:pointer; display:flex; align-items:center; justify-content:center; gap:0.5rem; color:var(--text-muted); font-size:0.9rem; transition:all 0.3s; }
        .captcha-trigger:hover { border-color:var(--primary); color:var(--primary); }
        .captcha-trigger.verified { border-color:#22c55e; background:#dcfce7; color:#16a34a; border-style:solid; }
        .captcha-modal { max-width:400px; padding:1.5rem; }
        .captcha-modal h3 { margin-bottom:1rem; }
        .captcha-container { position:relative; margin-bottom:1rem; }
        .captcha-image { width:100%; border-radius:8px; display:block; }
        .captcha-thumb { position:absolute; cursor:grab; user-select:none; }
        .captcha-thumb:active { cursor:grabbing; }
        .slide-track { width:100%; height:50px; background:var(--bg-light); border-radius:25px; position:relative; margin-top:0.75rem; border:2px solid var(--border-color); }
        .slide-thumb { width:56px; height:46px; background:var(--primary); border-radius:23px; position:absolute; left:0; top:0; cursor:grab; display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.4rem; }
        .slide-thumb:active { cursor:grabbing; }
        .slide-text {width:100%; text-align:center; line-height:46px; color:var(--text-muted); font-size:0.85rem; pointer-events:none; }
        .rotate-container { display:flex; flex-direction:column; align-items:center; }
        .rotate-image { width:200px; height:200px; border-radius:50%; object-fit:cover; }
        .rotate-slider { width:100%; margin-top:1rem; }
        .click-hint { background:var(--bg-light); padding:0.5rem 1rem; border-radius:8px; margin-bottom:0.75rem; font-size:0.85rem; }
        .click-hint img { height:30px; vertical-align:middle; margin-left:0.5rem; }


/* === 页面: shop-logs === */
/* 来源: shop-logs.html */

body.shop-logs-reference-page {
            background: #fff;
        }
        .order-log-page {
            min-height: calc(100vh - 72px);
            padding: 102px 0 56px;
            background: #fff;
            color: #111827;
        }
        .order-log-shell {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .order-log-heading {
            margin-top: 48px;
            margin-bottom: 36px;
        }
        .order-log-title {
            margin: 0;
            color: #111827;
            font-size: 1.8rem;
            line-height: 1.2;
            font-weight: 800;
            letter-spacing: 0;
        }
        .order-log-subtitle {
            margin: 8px 0 0;
            color: #7b8494;
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .order-log-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .order-log-filter {
            min-width: 78px;
            height: 40px;
            padding: 0 20px;
            border: 1px solid #dbe0ec;
            border-radius: 999px;
            background: #fff;
            color: #334155;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            line-height: 1;
            font-weight: 700;
            cursor: pointer;
            transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }
        .order-log-filter:hover {
            border-color: #7d67f1;
            color: #6856ff;
        }
        .order-log-filter.active {
            border-color: #7d67f1;
            background: linear-gradient(135deg, #7d67f1, #8b76ff);
            color: #fff;
            box-shadow: 0 8px 18px rgba(104, 86, 255, 0.18);
        }
        .order-log-divider {
            height: 1px;
            background: #e7e9f2;
            margin: 30px 0 34px;
        }
        .order-log-table-wrap {
            border: 1px solid #e7e9f2;
            border-radius: 14px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
            overflow-x: auto;
        }
        .order-log-table {
            width: 100%;
            min-width: 1200px;
            border-collapse: collapse;
            text-align: left;
        }
        .order-log-table thead th {
            padding: 16px 28px;
            background: #f3f1ff;
            color: #6b7280;
            font-size: 14px;
            line-height: 1.5;
            font-weight: 700;
            white-space: nowrap;
        }
        .order-log-table tbody td {
            padding: 17px 28px;
            border-top: 1px solid #eef0f6;
            color: #1f2937;
            font-size: 14px;
            line-height: 1.5;
            vertical-align: middle;
        }
        .order-log-table tbody tr {
            background: #fff;
        }
        .order-log-table tbody tr:hover {
            background: #fcfbff;
        }
        .order-log-empty {
            text-align: center;
            color: #8b93a7;
            padding: 42px 24px;
        }
        .order-log-status {
            min-width: 68px;
            height: 28px;
            padding: 0 12px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            line-height: 1;
            font-weight: 700;
            white-space: nowrap;
        }
        .order-log-status.completed {
            background: rgba(56, 189, 148, 0.14);
            color: #10b981;
        }
        .order-log-status.pending {
            background: rgba(251, 146, 60, 0.14);
            color: #f97316;
        }
        .order-log-status.cancelled {
            background: #eef2f7;
            color: #94a3b8;
        }
        .order-log-actions {
            white-space: nowrap;
        }
        .order-log-action {
            display: inline-flex;
            align-items: center;
            margin-right: 14px;
            color: #6856ff;
            text-decoration: none;
            font-size: 14px;
            line-height: 1.4;
            font-weight: 500;
        }
        .order-log-action:last-child {
            margin-right: 0;
        }
        .order-log-action:hover {
            color: #4f3ef4;
            text-decoration: underline;
        }
        @media (max-width: 900px) {
            .order-log-shell {
                padding-left: 16px;
                padding-right: 16px;
            }
        }
        @media (max-width: 576px) {
            .order-log-page {
                padding: 92px 0 56px;
            }
            .order-log-shell {
                padding-left: 12px;
                padding-right: 12px;
            }
            .order-log-title {
                font-size: 1.35rem;
            }
            .order-log-table-wrap {
                border-radius: 12px;
            }
            .order-log-filter {
                min-width: 68px;
                height: 38px;
                padding: 0 14px;
            }
        }


/* === 页面: shop === */
/* 来源: shop.html */

body.shop-reference-page {
            background: #fff;
            overflow-x: hidden;
            overflow-x: clip;
        }
        .shop-page {
            width: 100%;
            max-width: 100%;
            min-height: calc(100vh - 72px);
            padding: 102px 0 56px;
            background: #fff;
            overflow-x: hidden;
            overflow-x: clip;
        }
        .shop-shell {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            overflow-x: hidden;
            overflow-x: clip;
        }
        .shop-page-intro {
            margin-top: 30px;
            margin-bottom: 56px;
        }
        .shop-page-intro h1 {
            margin: 0;
            color: var(--text-dark);
            font-size: 1.8rem;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: 0;
        }
        .shop-page-intro p {
            margin: 8px 0 0;
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .shop-layout {
            display: grid;
            min-width: 0;
            max-width: 100%;
            grid-template-columns: 200px minmax(0, 1fr);
            align-items: start;
            gap: 28px;
        }
        .shop-sidebar {
            display: block;
            min-width: 0;
            max-width: 100%;
            margin: 0;
        }
        .shop-sidebar h2 {
            margin: 0;
            padding: 0 0 12px;
            border-bottom: 1px solid #e1e3eb;
            color: var(--text-dark);
            font-size: 1rem;
            font-weight: 700;
            line-height: 1.4;
        }
        .shop-category-list {
            display: flex;
            min-width: 0;
            max-width: 100%;
            flex-direction: column;
            gap: 4px;
            margin-top: 16px;
        }
        .shop-category-link {
            display: flex;
            min-height: 42px;
            align-items: center;
            padding: 0 16px;
            border-radius: 8px;
            color: #475467;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            line-height: 1;
            transition: color 0.2s ease, background 0.2s ease;
        }
        .shop-category-link:hover {
            color: var(--primary);
            background: #f8f8fc;
        }
        .shop-category-link.active {
            background: linear-gradient(135deg, #7564ed, #9384f7);
            color: #fff;
        }
        .shop-content {
            min-width: 0;
            max-width: 100%;
        }
        .shop-toolbar {
            display: flex;
            max-width: 100%;
            min-height: 40px;
            align-items: center;
            gap: 12px;
            margin-bottom: 22px;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
        }
        .shop-search {
            width: 240px;
            flex: 0 0 240px;
        }
        .shop-search input {
            display: block;
            width: 100%;
            height: 40px;
            padding: 0 14px;
            border: 1px solid #e1e3eb;
            border-radius: 8px;
            outline: none;
            background: #fff;
            color: var(--text-dark);
            font-size: 0.8rem;
            line-height: 1;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .shop-search input::placeholder {
            color: #98a2b3;
        }
        .shop-search input:focus {
            border-color: #9384f7;
            box-shadow: 0 0 0 3px rgba(117, 100, 237, 0.1);
        }
        .shop-currency-filters {
            display: flex;
            min-width: 0;
            max-width: 100%;
            align-items: center;
            gap: 8px;
        }
        .shop-currency-filter {
            display: inline-flex;
            min-width: 56px;
            min-height: 34px;
            align-items: center;
            justify-content: center;
            padding: 0 14px;
            border-radius: 8px;
            background: #f8f8fc;
            color: #667085;
            font-size: 0.8rem;
            font-weight: 500;
            line-height: 1;
            text-decoration: none;
            transition: color 0.2s ease, background 0.2s ease;
        }
        .shop-currency-filter:hover {
            color: var(--primary);
            background: #f1efff;
        }
        .shop-currency-filter.active {
            background: linear-gradient(135deg, #7564ed, #9384f7);
            color: #fff;
        }
        .shop-cart-link {
            position: relative;
            display: inline-flex;
            width: 40px;
            height: 40px;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            border: 1px solid #e1e3eb;
            border-radius: 8px;
            color: #667085;
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }
        .shop-cart-link:hover {
            border-color: var(--primary-light);
            background: #f8f8fc;
            color: var(--primary);
        }
        .shop-cart-count {
            position: absolute;
            top: -7px;
            right: -7px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            border: 2px solid #fff;
            border-radius: 999px;
            background: #7564ed;
            color: #fff;
            font-size: 0.65rem;
            font-weight: 700;
            line-height: 1;
        }
        .shop-list {
            display: grid;
            max-width: 100%;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
        }
        .shop-item {
            display: flex;
            min-width: 0;
            min-height: 456px;
            flex-direction: column;
            border-radius: 14px;
            overflow: hidden;
            background: #f8f8fc;
            text-decoration: none;
            color: inherit;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .shop-item:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 22px rgba(38, 45, 94, 0.08);
        }
        .shop-card-link {
            display: flex;
            min-width: 0;
            max-width: 100%;
            flex: 1;
            flex-direction: column;
            color: inherit;
            text-decoration: none;
        }
        .shop-thumb {
            position: relative;
            width: 100%;
            max-width: 100%;
            height: 294px;
            flex: 0 0 294px;
            overflow: hidden;
            background: #e2e1f1;
        }
        .shop-thumb img {
            display: block;
            width: 100%;
            height: 100%;
            padding: 18px;
            object-fit: contain;
        }
        .shop-thumb-empty {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #98a2b3;
            font-size: 0.85rem;
        }
        .shop-thumb-empty[hidden] {
            display: none;
        }
        .shop-card-body {
            display: flex;
            min-width: 0;
            max-width: 100%;
            min-height: 96px;
            flex: 1;
            flex-direction: column;
            padding: 20px;
            background: #f8f8fc;
            text-align: left;
        }
        .shop-card-title {
            min-height: 24px;
            margin: 0 0 10px;
            overflow: hidden;
            color: var(--text-dark);
            font-size: 0.9rem;
            font-weight: 700;
            line-height: 1.5;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .shop-card-price {
            display: flex;
            align-items: baseline;
            gap: 3px;
            margin-bottom: 16px;
            color: #ed604a;
            line-height: 1.2;
        }
        .shop-card-price span {
            font-size: 0.7rem;
            font-weight: 700;
        }
        .shop-card-price strong {
            font-size: 1.15rem;
            font-weight: 800;
        }
        .shop-card-actions {
            display: grid;
            min-width: 0;
            max-width: 100%;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            padding: 0 20px 20px;
            background: #f8f8fc;
        }
        .shop-add-cart-btn,
        .shop-buy-btn {
            display: flex;
            min-height: 46px;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 500;
            line-height: 1;
            text-decoration: none;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: color 0.2s ease, background 0.2s ease;
        }
        .shop-add-cart-btn {
            border: 1px solid #e1e3eb;
            background: #fff;
            color: #475467;
            cursor: pointer;
        }
        .shop-add-cart-btn:hover,
        .shop-add-cart-btn.is-loading,
        .shop-add-cart-btn.is-added {
            border-color: #7564ed;
            background: #f1efff;
            color: #7564ed;
        }
        .shop-add-cart-btn:disabled {
            cursor: default;
        }
        .shop-buy-btn {
            border: 1px solid #7564ed;
            background: #7564ed;
            color: #fff;
        }
        .shop-buy-btn:hover {
            background: #6654df;
            color: #fff;
        }
        .shop-empty {
            grid-column: 1 / -1;
            padding: 4rem 1rem;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .shop-filter-empty {
            padding: 4rem 1rem;
            color: var(--text-muted);
            font-size: 0.9rem;
            text-align: center;
        }
        .shop-filter-empty[hidden] {
            display: none;
        }
        .shop-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 52px;
        }
        .shop-pagination-pages {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .shop-page-btn,
        .shop-page-nav {
            display: inline-flex;
            min-width: 38px;
            height: 38px;
            align-items: center;
            justify-content: center;
            padding: 0 12px;
            border: 1px solid #e1e3eb;
            border-radius: 8px;
            background: #fff;
            color: #475467;
            text-decoration: none;
            font-size: 0.8rem;
            line-height: 1;
            transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }
        .shop-page-btn:hover,
        .shop-page-nav:hover {
            border-color: var(--primary-light);
            color: var(--primary);
        }
        .shop-page-btn.active {
            border-color: transparent;
            background: linear-gradient(135deg, #7564ed, #9384f7);
            color: #fff;
        }
        .shop-page-nav.disabled {
            background: #fafafa;
            color: #c5cad4;
            pointer-events: none;
        }
        @media (max-width: 992px) {
            .shop-layout {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .shop-sidebar h2 {
                padding-bottom: 10px;
            }
            .shop-category-list {
                flex-direction: row;
                flex-wrap: nowrap;
                width: 100%;
                overflow-x: auto;
                overflow-y: hidden;
                padding-bottom: 4px;
                overscroll-behavior-inline: contain;
                scrollbar-width: none;
            }
            .shop-category-list::-webkit-scrollbar {
                display: none;
            }
            .shop-category-link {
                min-width: 0;
                flex: 0 0 auto;
                white-space: nowrap;
            }
            .shop-thumb {
                height: 250px;
                flex-basis: 250px;
            }
        }
        @media (max-width: 768px) {
            .shop-page {
                padding-top: 92px;
            }
            .shop-shell {
                padding: 0 16px;
                overflow-x: hidden;
                overflow-x: clip;
            }
            .shop-page-intro {
                margin-top: 32px;
                margin-bottom: 36px;
            }
            .shop-toolbar {
                display: grid;
                grid-template-columns: minmax(0, 1fr) 40px;
                align-items: center;
                gap: 12px;
                width: 100%;
                overflow: hidden;
            }
            .shop-search {
                width: 100%;
                min-width: 0;
                grid-column: 1 / -1;
            }
            .shop-currency-filters {
                min-width: 0;
                overflow-x: auto;
                overscroll-behavior-inline: contain;
                scrollbar-width: none;
            }
            .shop-currency-filters::-webkit-scrollbar {
                display: none;
            }
            .shop-cart-link {
                justify-self: end;
                margin-left: 0;
            }
            .shop-cart-count {
                right: 0;
            }
            .shop-list {
                width: 100%;
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .shop-item {
                width: 100%;
                max-width: 100%;
                min-height: 390px;
            }
            .shop-thumb {
                height: 220px;
                flex-basis: 220px;
            }
            .shop-card-actions {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 520px) {
            .shop-shell {
                padding: 0 14px;
            }
            .shop-category-list {
                flex-wrap: wrap;
                overflow-x: visible;
                gap: 8px;
                padding-bottom: 0;
            }
            .shop-category-link {
                min-height: 38px;
                padding: 0 12px;
            }
            .shop-currency-filters {
                display: grid;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                width: 100%;
                gap: 6px;
                overflow: visible;
            }
            .shop-currency-filter {
                min-width: 0;
                padding: 0 6px;
            }
            .shop-list {
                grid-template-columns: 1fr;
            }
            .shop-item {
                min-height: 430px;
            }
            .shop-thumb {
                height: 270px;
                flex-basis: 270px;
            }
            .shop-pagination {
                gap: 6px;
                margin-top: 36px;
            }
            .shop-page-btn,
            .shop-page-nav {
                min-width: 34px;
                height: 36px;
                padding: 0 9px;
            }
        }


/* === 页面: rank === */
/* 来源: rank.html */

.rank-page {
            width: calc(100% - 48px);
            max-width: 1150px;
            margin: 0 auto;
            padding: 102px 0 56px;
        }
        .rank-page .container {
            width: 100%;
            max-width: none;
            padding-right: 0;
            padding-left: 0;
        }

        .rank-page .rank-page-header {
            margin-top: 30px;
            margin-bottom: 0px;
        }
        .rank-page .rank-page-header h1 {
            margin: 0;
            color: var(--vip-text, var(--text-dark));
            font-size: 1.8rem;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: 0;
        }
        .rank-page .rank-page-header p {
            margin: 8px 0 0;
            color: var(--vip-muted, var(--text-muted));
            font-size: 0.9rem;
        }
        .rank-header {
            padding: 7rem 0 3rem;
            background: linear-gradient(135deg, #ede9fe 0%, #faf8ff 100%);
            text-align: center;
        }
        .rank-header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        .rank-header p {
            color: var(--text-muted);
            font-size: 1.1rem;
        }
        .rank-section {
            padding: 0 0 4rem;
        }
        .rank-tabs {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0;
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 2rem;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }
        .tab-btn {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem 1.5rem;
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .tab-btn:hover {
            color: var(--primary);
        }
        .tab-btn.active {
            color: var(--primary);
        }
        .tab-btn.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 3px;
            background: var(--primary);
        }
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
        }
        .rank-card {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.25rem;
            background: var(--bg-white);
            border: 2px solid var(--border-color);
            border-radius: 16px;
            margin-bottom: 0.75rem;
            transition: all 0.3s ease;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }
        .rank-card:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
            transform: translateY(-2px);
        }
        .rank-card.rank-gold {
            background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
            border-color: #ffd700;
        }
        .rank-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 3rem;
            height: 3rem;
            background: var(--bg-light);
            color: var(--text-muted);
            font-weight: 700;
            font-size: 1.2rem;
            border-radius: 10px;
        }
        .rank-card.rank-gold .rank-badge {
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            color: white;
        }
        .rank-level {
            display: flex;
            align-items: center;
        }
        .rank-level img {
            width: 48px;
            height: 48px;
            object-fit: contain;
        }
        .rank-player {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--text-dark);
        }
        .rank-player i {
            color: #ffd700;
            font-size: 1.2rem;
        }
        .rank-stats {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin-left: auto;
        }
        .rank-stat {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
        }
        .rank-stat-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            font-weight: 600;
        }
        .rank-stat-value {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-dark);
        }
        .ban-card {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.25rem;
            background: var(--bg-white);
            border: 2px solid var(--border-color);
            border-radius: 16px;
            margin-bottom: 0.75rem;
            transition: all 0.3s ease;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }
        .ban-card:hover {
            border-color: #d97706;
            box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
            transform: translateY(-2px);
        }
        .ban-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 3rem;
            height: 3rem;
            background: #fef3c7;
            color: #d97706;
            font-weight: 700;
            font-size: 1.2rem;
            border-radius: 10px;
        }
        .ban-player {
            flex: 1;
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--text-dark);
        }
        .ban-duration {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1.2rem;
            background: #fef3c7;
            color: #d97706;
            font-weight: 700;
            border-radius: 10px;
            white-space: nowrap;
        }
        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-muted);
            font-size: 1.1rem;
        }
        @media (max-width: 768px) {
            .rank-page {
                width: calc(100% - 32px);
                padding-top: 92px;
            }
            .rank-card, .ban-card {
                flex-wrap: wrap;
                gap: 0.75rem;
            }
            .rank-stats {
                width: 100%;
                justify-content: space-around;
                margin-left: 0;
                gap: 1rem;
            }
            .rank-tabs {
                grid-template-columns: 1fr 1fr;
            }
            .tab-btn {
                font-size: 1rem;
                padding: 0.85rem 1rem;
            }
        }
        @media (max-width: 480px) {
            .rank-page .vip-page-header {
                margin-bottom: 26px;
            }
            .rank-page .vip-page-header h1 {
                font-size: 1.35rem;
            }
        }


/* === 页面: shop_detail === */
/* 来源: shop_detail.html */

body.shop-detail-reference-page {
            background: #fff;
        }
        .shop-detail-page {
            padding: 102px 0 56px;
            background: #fff;
            color: #111827;
        }
        .shop-detail-shell {
            width: min(1154px, calc(100% - 32px));
            margin: 0 auto;
        }
        .shop-detail-back {
            display: inline-flex;
            align-items: center;
            color: #5b47ff;
            font-size: 14px;
            line-height: 1;
            text-decoration: none;
            margin-bottom: 66px;
        }
        .shop-detail-back:hover {
            color: #4f36e8;
            text-decoration: none;
        }
        .shop-detail-hero {
            display: grid;
            grid-template-columns: 630px minmax(0, 444px);
            gap: 80px;
            align-items: start;
        }
        .shop-detail-media {
            width: 630px;
            height: 300px;
            border-radius: 12px;
            background: #dddded;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .shop-detail-media img {
            max-width: 88%;
            max-height: 80%;
            object-fit: contain;
            display: block;
        }
        .shop-detail-media-empty {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #8c8a9d;
            font-size: 16px;
        }
        .shop-detail-media-empty[hidden] {
            display: none;
        }
        .shop-detail-summary {
            padding-top: 2px;
            min-width: 0;
        }
        .shop-detail-title {
            margin: 0 0 12px;
            color: #111827;
            font-size: 28px;
            line-height: 1.22;
            font-weight: 800;
            letter-spacing: 0;
        }
        .shop-detail-desc {
            margin: 0;
            color: #6b7280;
            font-size: 14px;
            line-height: 1.9;
        }
        .shop-detail-price {
            margin: 26px 0 28px;
            color: #df6a5b;
            line-height: 1;
            display: flex;
            align-items: baseline;
            gap: 3px;
        }
        .shop-detail-price span {
            font-size: 14px;
            font-weight: 600;
        }
        .shop-detail-price strong {
            font-size: 32px;
            line-height: 1;
            font-weight: 800;
        }
        .shop-detail-option-row {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 0;
        }
        .shop-detail-label {
            width: 56px;
            flex-shrink: 0;
            color: #6b7280;
            font-size: 14px;
            line-height: 38px;
        }
        .shop-detail-qty {
            display: inline-flex;
            align-items: center;
            height: 38px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            overflow: hidden;
            background: #f8f8ff;
        }
        .shop-detail-qty button,
        .shop-detail-qty input {
            height: 38px;
            border: 0;
            background: transparent;
            color: #111827;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            line-height: 1;
        }
        .shop-detail-qty button {
            width: 38px;
            cursor: pointer;
        }
        .shop-detail-qty input {
            width: 48px;
            text-align: center;
            outline: none;
            -moz-appearance: textfield;
        }
        .shop-detail-qty input::-webkit-outer-spin-button,
        .shop-detail-qty input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .shop-detail-qty button + input,
        .shop-detail-qty input + button {
            border-left: 1px solid #e5e7eb;
        }
        .shop-detail-actions {
            display: grid;
            grid-template-columns: 216px 216px;
            gap: 14px;
            margin-top: 24px;
        }
        .shop-btn-primary,
        .shop-btn-danger {
            height: 42px;
            border-radius: 8px;
            border: 1px solid #6856ff;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
        }
        .shop-btn-primary {
            background: #fff;
            color: #6856ff;
        }
        .shop-btn-danger {
            background: #806cf2;
            color: #fff;
            box-shadow: 0 8px 16px rgba(104, 86, 255, 0.22);
        }
        .shop-btn-primary:hover {
            background: #f7f5ff;
        }
        .shop-btn-danger:hover {
            background: #735ce9;
        }
        .shop-detail-meta {
            margin-top: 22px;
            color: #7b8494;
            font-size: 13px;
            line-height: 1.9;
        }
        .shop-detail-meta p {
            margin: 0;
            font-size: inherit;
            line-height: inherit;
            color: inherit;
        }
        .shop-detail-content {
            margin-top: 202px;
            padding-top: 38px;
            border-top: 1px solid #e5e7eb;
        }
        .shop-detail-content h2 {
            margin: 0 0 22px;
            color: #111827;
            font-size: 22px;
            line-height: 1.3;
            font-weight: 800;
            letter-spacing: 0;
        }
        .shop-detail-content p {
            margin: 0 0 18px;
            color: #4b5563;
            font-size: 14px;
            line-height: 1.9;
        }
        .shop-detail-content p:last-child {
            margin-bottom: 0;
        }
        @media (max-width: 1100px) {
            .shop-detail-hero {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .shop-detail-media {
                width: 100%;
                height: auto;
                aspect-ratio: 2.1 / 1;
            }
            .shop-detail-actions {
                grid-template-columns: repeat(2, minmax(0, 216px));
            }
            .shop-detail-content {
                margin-top: 72px;
            }
        }
        @media (max-width: 576px) {
            .shop-detail-page {
                padding: 34px 0 36px;
            }
            .shop-detail-shell {
                width: min(100% - 24px, 1154px);
            }
            .shop-detail-back {
                margin-bottom: 32px;
            }
            .shop-detail-media {
                border-radius: 10px;
                aspect-ratio: 1.55 / 1;
            }
            .shop-detail-title {
                font-size: 24px;
            }
            .shop-detail-actions {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            .shop-btn-primary,
            .shop-btn-danger {
                width: 100%;
            }
            .shop-detail-content {
                margin-top: 48px;
                padding-top: 28px;
            }
        }


/* === 页面: user === */
/* 来源: user.html */

.uc-header { padding: 7rem 0 3rem; background: linear-gradient(135deg, #ede9fe 0%, #faf8ff 100%); text-align: center; }
        .uc-header h1 { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem; }
        .uc-header p { color: var(--text-muted); font-size: 1.1rem; }
        .uc-section { padding: 3rem 0 4rem; }
        
        /* Tab Navigation */
        .uc-tabs {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0;
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 2rem;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 1rem;
        }
        .uc-tab {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem 1.5rem;
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            gap: 0.5rem;
        }
        .uc-tab:hover {
            color: var(--primary);
        }
        .uc-tab.active {
            color: var(--primary);
        }
        .uc-tab.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 3px;
            background: var(--primary);
        }
        .uc-tab i {
            font-size: 1.2rem;
        }
        
        /* User Info Header */
        .uc-user-info {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 1rem;
        }
        .uc-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            flex-shrink: 0;
        }
        .uc-user-details {
            text-align: left;
        }
        .uc-uid {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.25rem;
        }
        .uc-nick {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        /* Main Content */
        .uc-main {
            background: var(--bg-white);
            border-radius: 16px;
            padding: 2rem;
            border: 2px solid var(--border-color);
            box-shadow: 0 8px 30px rgba(124,58,237,0.08);
            max-width: 1000px;
            margin: 0 auto;
        }
        .uc-main h2 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--border-color);
        }
        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
        }
        .info-item {
            padding: 1rem;
            background: var(--bg-light);
            border-radius: 10px;
        }
        .info-item label {
            display: block;
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.25rem;
            font-weight: 600;
        }
        .info-item span {
            font-size: 1rem;
            color: var(--text-dark);
            font-weight: 600;
        }
        
        @media (max-width: 768px) {
            .uc-tabs {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .uc-tab {
                font-size: 1rem;
                padding: 0.85rem 1rem;
            }
            .info-grid {
                grid-template-columns: 1fr;
            }
            .uc-user-info {
                flex-direction: column;
                text-align: center;
            }
            .uc-user-details {
                text-align: center;
            }
        }


/* === 页面: activity === */
/* 来源: activity.html */

body.activity-reference-page {
            background: #fff;
        }
        .activity-page {
            min-height: calc(100vh - 72px);
            padding: 102px 0 56px;
            background: #fff;
        }
        .activity-page-shell {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .activity-page-intro {
            margin-top: 30px;
            margin-bottom: 26px;
        }
        .activity-page-intro h1 {
            margin: 0;
            color: var(--text-dark);
            font-size: 1.8rem;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: 0;
        }
        .activity-page-intro p {
            margin: 8px 0 0;
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .activity-tabs {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 30px;
            padding-bottom: 31px;
            border-bottom: 1px solid #e1e3eb;
        }
        .activity-tab {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            min-height: 40px;
            padding: 0 20px;
            border: 1px solid #e1e3eb;
            border-radius: 999px;
            background: #fff;
            color: #667085;
            font-size: 0.85rem;
            font-weight: 500;
            line-height: 1;
            text-decoration: none;
            cursor: pointer;
            transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }
        .activity-tab:hover {
            border-color: var(--primary-light);
            color: var(--primary);
        }
        .activity-tab.active {
            border-color: transparent;
            background: linear-gradient(135deg, #7564ed, #9384f7);
            color: #fff;
            box-shadow: 0 6px 14px rgba(117, 100, 237, 0.2);
        }
        .activity-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
        }
        .activity-card {
            display: flex;
            min-width: 0;
            flex-direction: column;
            overflow: hidden;
            border-radius: 14px;
            background: #f8f8fc;
            color: inherit;
            text-decoration: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .activity-card:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 22px rgba(38, 45, 94, 0.08);
        }
        .activity-banner {
            position: relative;
            height: 180px;
            flex: 0 0 180px;
            overflow: hidden;
        }
        .activity-banner-image {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .activity-image-empty {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #98a2b3;
            font-size: 0.85rem;
            line-height: 1;
        }
        .activity-image-empty[hidden] {
            display: none;
        }
        .banner-ongoing {
            background: #f0f0f0;
        }
        .banner-upcoming {
            background: #cddcf3;
        }
        .banner-ended {
            background: #e5e7eb;
        }
        .activity-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 0 12px;
            border-radius: 7px;
            color: #fff;
            font-size: 0.75rem;
            font-weight: 700;
            line-height: 1;
        }
        .badge-ongoing {
            background: #20cba8;
        }
        .badge-upcoming {
            background: linear-gradient(135deg, #6e5bed, #9482fa);
        }
        .badge-ended {
            background: #98a2b3;
        }
        .activity-content {
            display: flex;
            min-height: 228px;
            flex-direction: column;
            padding: 22px 28px 28px;
            background: #f8f8fc;
        }
        .activity-title {
            margin: 0 0 8px;
            overflow: hidden;
            color: var(--text-dark);
            font-size: 1rem;
            font-weight: 700;
            line-height: 1.5;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .activity-date {
            margin-bottom: 14px;
            color: #98a2b3;
            font-size: 0.75rem;
            line-height: 1.5;
        }
        .activity-desc {
            display: -webkit-box;
            margin: 0;
            overflow: hidden;
            color: #7c8798;
            font-size: 0.8rem;
            line-height: 1.8;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }
        .activity-footer-row {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            margin-top: auto;
        }
        .activity-enter-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 104px;
            min-height: 42px;
            padding: 0 18px;
            border-radius: 10px;
            background: linear-gradient(135deg, #7564ed, #9384f7);
            box-shadow: 0 6px 14px rgba(117, 100, 237, 0.2);
            color: #fff;
            font-size: 0.85rem;
            font-weight: 700;
            line-height: 1;
            transition: background 0.2s ease, box-shadow 0.2s ease;
        }
        .activity-card:hover .activity-enter-btn {
            background: linear-gradient(135deg, #6855df, #8876f1);
            box-shadow: 0 8px 18px rgba(117, 100, 237, 0.28);
        }
        .activity-empty {
            grid-column: 1 / -1;
            padding: 4rem 2rem;
            border-radius: 14px;
            background: #f8f8fc;
            color: var(--text-muted);
            text-align: center;
        }
        .activity-empty i {
            display: block;
            margin-bottom: 1rem;
            color: #c5cad4;
            font-size: 3rem;
        }
        @media (max-width: 768px) {
            .activity-page {
                padding-top: 92px;
            }
            .activity-page-shell {
                padding: 0 16px;
            }
            .activity-page-intro {
                margin-top: 32px;
            }
            .activity-grid {
                grid-template-columns: 1fr;
            }
            .activity-banner {
                height: 150px;
                flex-basis: 150px;
            }
            .activity-content {
                min-height: 218px;
                padding: 20px 22px 24px;
            }
        }


/* === 页面: news === */
/* 来源: news.html */

body {
            background: #ffffff;
        }
        .page-header {
            padding: 7rem 0 3rem;
            background: linear-gradient(135deg, #ede9fe 0%, #faf8ff 100%);
            text-align: center;
        }
        .page-header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        .page-header p {
            color: var(--text-muted);
            font-size: 1.1rem;
        }
        .news-page {
            padding: 102px 0 56px;
        }
        .news-page-shell {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 1.25rem;
        }
        .news-page-topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }
        .news-page-channel {
            font-size: 2rem;
            font-weight: 800;
            color: #222;
            margin: 0;
            letter-spacing: 0.02em;
        }
        .news-page-home {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.45rem 0.9rem;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            background: #fafafa;
            color: #666;
            text-decoration: none;
            font-size: 0.85rem;
        }
        .news-page-home:hover {
            color: #8b5cf6;
            border-color: #8b5cf6;
            background: #fff;
        }
        .news-page-breadcrumb {
            font-size: 0.85rem;
            color: #9a9a9a;
            margin-bottom: 1.85rem;
        }
        .news-page-breadcrumb a {
            color: #9a9a9a;
            text-decoration: none;
        }
        .news-page-breadcrumb a:hover {
            color: #8b5cf6;
        }
        .news-page-breadcrumb .current {
            color: #8b5cf6;
        }
        .news-page-panel {
            background: #fff;
            border: 1px solid #ececec;
            border-radius: 14px;
            padding: 1.75rem 3.5rem 2.25rem;
        }
        .news-page-filters {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 0;
            border-bottom: 1px solid #d9d9d9;
            margin-bottom: 1.75rem;
        }
        .news-page-filter {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 1rem 1.2rem;
            color: #7e8794;
            text-decoration: none;
            font-size: 1rem;
            font-weight: 700;
            line-height: 1;
            transition: color 0.2s ease;
        }
        .news-page-filter:hover {
            color: #8b5cf6;
        }
        .news-page-filter.active {
            color: #8b5cf6;
        }
        .news-page-filter.active::before {
            content: "";
            position: absolute;
            left: 18%;
            right: 18%;
            bottom: -1px;
            height: 2px;
            background: #8b5cf6;
        }
        .news-page-filter.active::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -8px;
            width: 10px;
            height: 10px;
            border-right: 2px solid #8b5cf6;
            border-bottom: 2px solid #8b5cf6;
            background: #fff;
            transform: translateX(-50%) rotate(45deg);
        }
        .news-page-result {
            margin: 0 0 1rem;
            color: #a0a0a0;
            font-size: 0.85rem;
        }
        .news-page-list {
            display: flex;
            flex-direction: column;
        }
        .news-page-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 1.5rem;
            padding: 1.45rem 0;
            border-bottom: 1px solid #e9e9e9;
            text-decoration: none;
        }
        .news-page-row:hover .news-page-row-title {
            color: #8b5cf6;
        }
        .news-page-row-title {
            color: #222;
            font-size: 1rem;
            line-height: 1.6;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: color 0.2s ease;
        }
        .news-page-row-date {
            color: #7f8ea3;
            font-size: 0.95rem;
            white-space: nowrap;
        }
        .news-page-tag {
            color: #7f8ea3;
        }
        .news-page-empty {
            text-align: center;
            color: #999;
            padding: 3rem 1rem 2rem;
        }
        .news-page-pagination {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .news-page-pagination a,
        .news-page-pagination span {
            min-width: 40px;
            height: 40px;
            padding: 0 0.9rem;
            border: 1px solid #dddddd;
            background: #fff;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #7f8ea3;
            text-decoration: none;
            font-size: 0.9rem;
        }
        .news-page-pagination a:hover {
            color: #8b5cf6;
            border-color: #8b5cf6;
        }
        .news-page-pagination .active {
            color: #fff;
            background: #8b5cf6;
            border-color: #8b5cf6;
        }
        .news-page-pagination .disabled {
            color: #c4c4c4;
            background: #fafafa;
        }
        @media (max-width: 768px) {
            .news-page {
                padding-top: 6rem;
            }
            .news-page-topbar {
                flex-direction: column;
                align-items: flex-start;
            }
            .news-page-channel {
                font-size: 1.6rem;
            }
            .news-page-panel {
                padding: 1.25rem 1rem 1.5rem;
            }
            .news-page-filters {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                row-gap: 0.9rem;
                padding-bottom: 0.7rem;
            }
            .news-page-filter {
                padding-bottom: 0.85rem;
            }
            .news-page-row {
                grid-template-columns: 1fr;
                gap: 0.45rem;
                padding: 1rem 0;
            }
            .news-page-row-title {
                white-space: normal;
            }
            .news-page-row-date {
                font-size: 0.85rem;
            }
        }


/* === 新闻公告参考图排版 === */
        body.news-reference-page {
            background: #fff;
        }
        .news-page {
            min-height: calc(100vh - 72px);
            padding: 102px 0 56px;
            background: #fff;
        }
        .news-page-shell {
            width: calc(100% - 48px);
            max-width: 1150px;
            margin: 0 auto;
            padding: 0;
        }
        .news-page-intro {
            margin-top: 30px;
            margin-bottom: 36px;
        }
        .news-page-intro h1 {
            margin: 0;
            color: var(--text-dark);
            font-size: 1.8rem;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: 0;
        }
        .news-page-intro p {
            margin: 8px 0 0;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .news-page-filters {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            margin-bottom: 2rem;
            padding-bottom: 1.95rem;
            border-bottom: 1px solid var(--border-color);
        }
        .news-page-filter {
            position: static;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            padding: 0.65rem 1.1rem;
            border: 1px solid #e1e3eb;
            border-radius: 999px;
            background: transparent;
            color: #667085;
            font-size: 0.85rem;
            font-weight: 500;
            line-height: 1;
            text-decoration: none;
            transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }
        .news-page-filter:hover {
            border-color: var(--primary-light);
            color: var(--primary);
            background: #fff;
        }
        .news-page-filter.active {
            border-color: transparent;
            background: linear-gradient(135deg, #7564ed, #9384f7);
            color: #fff;
            box-shadow: 0 6px 14px rgba(117, 100, 237, 0.2);
        }
        .news-page-filter.active::before,
        .news-page-filter.active::after {
            display: none;
        }
        .news-page-result {
            display: none;
        }
        .news-page-list {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }
        .news-page-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: stretch;
            gap: 1rem;
            min-height: 148px;
            padding: 2rem 2rem 1.65rem;
            border: 0;
            border-radius: 14px;
            background: #f8f8fc;
            text-decoration: none;
            transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }
        .news-page-row:hover {
            background: #f7f6ff;
            box-shadow: 0 8px 22px rgba(38, 45, 94, 0.05);
            transform: translateY(-1px);
        }
        .news-page-row-main {
            display: flex;
            min-width: 0;
            flex-direction: column;
            justify-content: space-between;
            gap: 1rem;
        }
        .news-page-row-title {
            margin: 0;
            overflow: hidden;
            color: var(--text-dark);
            font-size: 1rem;
            font-weight: 700;
            line-height: 1.5;
            white-space: nowrap;
            text-overflow: ellipsis;
            transition: color 0.2s ease;
        }
        .news-page-row:hover .news-page-row-title {
            color: var(--primary);
        }
        .news-page-row-meta {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .news-page-row-date {
            color: #8a96a8;
            font-size: 0.75rem;
            line-height: 1.4;
            white-space: nowrap;
        }
        .news-page-tag {
            display: inline-flex;
            align-items: center;
            min-height: 24px;
            padding: 0.2rem 0.65rem;
            border: 0;
            border-radius: 999px;
            background: #eeecff;
            color: var(--primary);
            font-size: 0.7rem;
            line-height: 1;
            white-space: nowrap;
        }
        .news-page-row-detail {
            align-self: end;
            color: var(--primary);
            font-size: 0.75rem;
            line-height: 1.4;
            white-space: nowrap;
            transition: color 0.2s ease, transform 0.2s ease;
        }
        .news-page-row-detail i {
            margin-left: 0.2rem;
            font-size: 0.7rem;
        }
        .news-page-row:hover .news-page-row-detail {
            color: var(--primary-dark);
            transform: translateX(2px);
        }
        .news-page-empty {
            padding: 3rem 1rem;
            border-radius: 14px;
            background: #f8f8fc;
            color: var(--text-muted);
            text-align: center;
        }
        .news-page-pagination {
            margin-top: 2rem;
        }
        .news-page-pagination a,
        .news-page-pagination span {
            min-width: 40px;
            height: 40px;
            border-radius: 999px;
        }
        @media (max-width: 768px) {
            .news-page {
                padding: 3.5rem 0 3rem;
            }
            .news-page-shell {
                width: calc(100% - 32px);
            }
            .news-page-intro h1 {
                font-size: 1.8rem;
            }
            .news-page-filters {
                gap: 0.5rem;
                flex-wrap: wrap;
                padding-bottom: 1.4rem;
            }
            .news-page-filter {
                min-height: 36px;
                padding: 0.55rem 0.9rem;
                font-size: 0.8rem;
            }
            .news-page-row {
                grid-template-columns: 1fr;
                min-height: 0;
                padding: 1.25rem;
            }
            .news-page-row-title {
                white-space: normal;
            }
            .news-page-row-detail {
                align-self: start;
            }
        }
        @media (max-width: 480px) {
            .news-page-intro {
                margin-bottom: 26px;
            }
            .news-page-intro h1 {
                font-size: 1.35rem;
            }
        }


/* === 页面: password === */
/* 来源: password.html */

/* Tab Navigation */
        .uc-tabs {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0;
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 2rem;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 1rem;
        }
        .uc-tab {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem 1.5rem;
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            gap: 0.5rem;
        }
        .uc-tab:hover {
            color: var(--primary);
        }
        .uc-tab.active {
            color: var(--primary);
        }
        .uc-tab.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 3px;
            background: var(--primary);
        }
        .uc-tab i {
            font-size: 1.2rem;
        }
        
        /* User Info Header */
        .uc-user-info {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 1rem;
        }
        .uc-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            flex-shrink: 0;
        }
        .uc-user-details {
            text-align: left;
        }
        .uc-uid {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.25rem;
        }
        .uc-nick {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        /* Main Content */
        
        .uc-main {
            max-width: 1000px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        /* Password Tips */
        .pwd-tips {
            background: var(--bg-light);
            border-radius: 10px;
            padding: 1rem 1.25rem;
            margin-top: 2rem;
        }
        .pwd-tips h4 {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }
        .pwd-tips ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .pwd-tips li {
            font-size: 0.8rem;
            color: var(--text-muted);
            padding: 0.2rem 0;
        }
        .pwd-tips li i {
            color: var(--primary);
            margin-right: 0.4rem;
        }
        
        @media (max-width: 768px) {
            .uc-tabs {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
            .uc-tab {
                font-size: 0rem;
                padding: 0.85rem 1rem;
            }
            .uc-user-info {
                flex-direction: column;
                text-align: center;
            }
            .uc-user-details {
                text-align: center;
            }
        }


/* === 页面: wheel === */
/* 来源: wheel.html */

/* 中奖滚动展示卡片 */
        .winner-scroll-card { background: var(--bg-white); border-radius: 16px; border: 2px solid var(--border-color); padding: 1.5rem; box-shadow: 0 8px 30px rgba(0,0,0,0.08); margin-bottom: 2rem; }
        .winner-scroll-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--bg-light); font-size: 1.1rem; font-weight: 700; color: var(--text-dark); }
        .winner-scroll-header i { color: #f59e0b; font-size: 1.3rem; }
        .winner-scroll-container { padding: 0.8rem 1rem; overflow: hidden; position: relative; height: 150px; }
        .winner-scroll-container::before, .winner-scroll-container::after { content: ''; position: absolute; left: 0; right: 0; height: 25px; z-index: 10; pointer-events: none; background: linear-gradient(180deg, var(--bg-white) 0%, transparent 100%); }
        .winner-scroll-container::before { top: 0; }
        .winner-scroll-container::after { bottom: 0; background: linear-gradient(180deg, transparent 0%, var(--bg-white) 100%); }
        .winner-scroll-wrapper { display: flex; flex-direction: column; align-items: center; animation: scrollWinnersVertical 30s linear infinite; }
        .winner-scroll-wrapper:hover { animation-play-state: paused; }
        @keyframes scrollWinnersVertical { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
        .winner-item { display: flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; white-space: nowrap; width: 100%; min-height: 30px; }
        .winner-text { color: var(--text-dark); font-size: 0.9rem; font-weight: 500; }
        .winner-item .winner-name { color: #f59e0b; font-weight: 700; }
        .winner-item .winner-prize { color: #8b5cf6; font-weight: 700; }

        .wheel-header { padding: 10rem 0 3rem; background: linear-gradient(135deg, #1e3a5f 0%, #7c3aed 50%, #8b5cf6 100%); text-align: center; position: relative; overflow: hidden; }
        .wheel-header::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
        .wheel-header h1 { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 0.5rem; position: relative; }
        .wheel-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; position: relative; }
        .wheel-info { display: flex; justify-content: center; gap: 2rem; margin-top: 1.5rem; position: relative; }
        .wheel-info-item { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: 10px; padding: 0.6rem 1.5rem; color: white; font-size: 0.9rem; font-weight: 600; }
        .wheel-info-item span { color: #fbbf24; font-weight: 800; }
        .wheel-section { padding: 3rem 0 4rem; }
        .wheel-container { max-width: 1300px; margin: 0 auto; }

        /* 用户信息卡片 */
        .user-card { background: var(--bg-white); border-radius: 16px; border: 2px solid var(--border-color); padding: 1.5rem; box-shadow: 0 8px 30px rgba(0,0,0,0.08); margin-bottom: 2rem; }
        .user-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--bg-light); }
        .user-info { display: flex; align-items: center; gap: 1rem; }
        .user-card-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: white; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }
        .user-details h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.3rem; }
        .user-details p { font-size: 0.85rem; color: var(--text-muted); }
        .user-stats { display: flex; gap: 1.5rem; }
        .user-stat-item { text-align: center; }
        .user-stat-value { font-size: 0.75rem; font-weight: 800; color: red; }
        .user-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

        .purchase-section { display: flex; gap: 1rem; align-items: center; }
        .purchase-title { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.8rem; }
        .purchase-options { display: flex; gap: 1rem; flex: 1; }
        .purchase-card { flex: 1; background: linear-gradient(135deg, #faf8ff 0%, #e2e8f0 100%); border: 2px solid transparent; border-radius: 16px; padding: 1.2rem; text-align: center; cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden; }
        .purchase-card:hover { border-color: #f59e0b; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2); }
        .purchase-card.selected { border-color: #f59e0b; background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); }
        .purchase-card-icon { font-size: 2rem; margin-bottom: 0.5rem; }
        .purchase-card-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.3rem; }
        .purchase-card-desc { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
        .purchase-card-price { font-size: 1.1rem; font-weight: 800; color: #f59e0b; }
        .purchase-card-price span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
        .purchase-btn { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); color: white; border: none; padding: 0.8rem 2rem; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); white-space: nowrap; }
        .purchase-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5); }
        .purchase-btn:disabled { background: #94a3b8; cursor: not-allowed; box-shadow: none; }

        /* 用户状态信息卡片 */
        .user-status-card {border-radius: 16px; margin-bottom: 2rem; display: flex; gap: 2rem;}
        .status-item { flex: 1; display: flex; align-items: center; gap: 1rem; background: white; border-radius: 16px; padding: 1.2rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
        .status-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; flex-shrink: 0; }
        .status-item:first-child .status-icon { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
        .status-item:last-child .status-icon { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3); }
        .status-info { flex: 1; }
        .status-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.3rem; font-weight: 500; }
        .status-value { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); }
        
        /* 带购买按钮的状态项 */
        .status-item-with-purchase { flex-wrap: wrap; }
        .purchase-buttons { display: flex; gap: 0.5rem; margin-top: 0.5rem; width: 100%; }
        .purchase-mini-btn { flex: 1; background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); color: white; border: none; padding: 0.6rem 1rem; border-radius: 10px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 0.3rem; box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3); }
        .purchase-mini-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4); }
        .purchase-mini-btn:active { transform: translateY(0); }
        .purchase-mini-btn i { font-size: 0.9rem; }
        .purchase-mini-price { font-size: 0.75rem; opacity: 0.9; margin-left: 0.2rem; }
        
        @media (max-width: 768px) {
            .user-status-card { flex-direction: column; gap: 1rem; }
            .status-item { padding: 1rem; }
            .status-value { font-size: 1.5rem; }
            .purchase-buttons { flex-direction: column; }
            .purchase-mini-btn { padding: 0.8rem 1rem; }
        }

        /* 长方形抽奖区域 */
        .lottery-box { background: var(--bg-white); border-radius: 16px; border: 2px solid var(--border-color); padding: 1.5rem; box-shadow: 0 8px 30px rgba(0,0,0,0.08); margin-bottom: 2rem; }
        .lottery-title { text-align: center; font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
        .lottery-grid { display: flex; flex-direction: column; gap: 1rem; }
        .lottery-row { display: flex; gap: 1rem; justify-content: center; }
        .lottery-item { background: linear-gradient(135deg, #faf8ff 0%, #e2e8f0 100%); border-radius: 10px; padding: 0.8rem; text-align: center; border: 2px solid transparent; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 120px; flex: 1; max-width: 200px; }
        .lottery-item .item-icon { font-size: 2rem; margin-bottom: 0.3rem; display: block; }
        .lottery-item .item-name { font-size: 0.85rem; color: var(--text-dark); font-weight: 600; }
        .lottery-item.rare { border: 2px solid #fbbf24; background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
        .lottery-item.rare .item-icon { color: #f59e0b; }
        .lottery-item.rare .item-name { color: #b45309; }
        .lottery-item .rare-badge { position: absolute; top: 0.15rem; right: 0.15rem; background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); color: #1a1a1a; font-size: 0.5rem; padding: 0.1rem 0.3rem; border-radius: 3px; font-weight: 700; }
        
        /* 抽奖滚动动画高亮 */
        .lottery-item.rolling-active { 
            border: 3px solid #8b5cf6 !important; 
            background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important; 
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.8), 0 0 40px rgba(139, 92, 246, 0.4) !important; 
            z-index: 10; 
        }
        .lottery-item.rolling-active .item-icon { 
            color: #8b5cf6; 
            transform: scale(1.15); 
            transition: transform 0.1s ease;
        }
        .lottery-item.rolling-active .item-name { 
            color: #5b21b6; 
            font-weight: 800; 
        }

        /* 抽奖按钮 - 位于下方 */
        .lottery-btn-wrap { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
        .lottery-btn { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); color: white; border: none; padding: 1rem 2rem; border-radius: 16px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); min-width: 180px; }
        .lottery-btn:hover:not(:disabled) { transform: scale(1.05); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5); }
        .lottery-btn:disabled { background: #94a3b8; cursor: not-allowed; box-shadow: none; }
        .lottery-btn i { margin-right: 0.5rem; }
        .lottery-btn-ten { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4); }
        .lottery-btn-ten:hover:not(:disabled) { box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5); }
        .lottery-btn-price { font-size: 0.75rem; opacity: 0.9; margin-left: 0.3rem; }

        /* 抽奖记录 */
        .records-section { background: var(--bg-white); border-radius: 16px; border: 2px solid var(--border-color); padding: 1.5rem; margin-bottom: 2rem; }
        .records-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
        .records-title i { color: var(--primary); }
        .records-list { max-height: 300px; overflow-y: auto; }
        .record-item { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; background: var(--bg-light); border-radius: 10px; margin-bottom: 0.5rem; }
        .record-item:last-child { margin-bottom: 0; }
        .record-info { display: flex; align-items: center; gap: 0.8rem; }
        .record-icon { width: 36px; height: 36px; background: var(--bg-white); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); }
        .record-detail .record-name { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; }
        .record-detail .record-time { font-size: 0.75rem; color: var(--text-muted); }
        .record-status { padding: 0.3rem 0.8rem; border-radius: 6px; font-size: 0.75rem; font-weight: 600; }
        .status-pending { background: #fef3c7; color: #b45309; cursor: pointer; }
        .status-pending:hover { background: #fde68a; }
        .status-claimed { background: #dcfce7; color: #16a34a; }
        .status-empty { background: #f1f5f9; color: #94a3b8; }
        .records-empty { text-align: center; padding: 2rem; color: var(--text-muted); }
        .records-empty i { font-size: 2.5rem; margin-bottom: 0.5rem; display: block; opacity: 0.5; }

        /* 活动说明 */
        .wheel-tips { background: var(--bg-light); border-radius: 10px; padding: 1rem 1.25rem; }
        .wheel-tips h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
        .wheel-tips ul { list-style: none; padding: 0; margin: 0; }
        .wheel-tips li { font-size: 0.8rem; color: var(--text-muted); padding: 0.2rem 0; }
        .wheel-tips li i { color: var(--primary); margin-right: 0.4rem; }

        /* 结果弹窗 */
        .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s; }
        .modal-overlay.show { opacity: 1; visibility: visible; }
        .modal-content { background: white; border-radius: 16px; padding: 2rem; text-align: center; max-width: 360px; width: 90%; transform: scale(0.8); transition: all 0.3s; }
        .modal-overlay.show .modal-content { transform: scale(1); }
        .modal-icon { font-size: 4rem; margin-bottom: 1rem; }
        .modal-icon.win { color: #f59e0b; }
        .modal-icon.lose { color: #94a3b8; }
        .modal-title { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
        .modal-prize { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; }
        .modal-btn { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); color: white; border: none; padding: 0.8rem 2rem; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
        .modal-btn:hover { transform: scale(1.05); }
        .modal-btn.secondary { background: var(--bg-light); color: var(--text-muted); margin-left: 0.5rem; }

        /* 响应式 */
        @media (max-width: 768px) {
            .lottery-row { gap: 0.5rem; }
            .lottery-item { padding: 0.6rem; min-width: 80px; }
            .lottery-item .item-icon { font-size: 1.5rem; }
            .lottery-item .item-name { font-size: 0.7rem; }
            .wheel-info { flex-direction: column; align-items: center; gap: 0.5rem; }
        }
        @media (max-width: 480px) {
            .lottery-row { gap: 0.3rem; }
            .lottery-item { padding: 0.5rem; min-width: 60px; }
            .lottery-item .item-icon { font-size: 1.2rem; }
            .lottery-item .item-name { font-size: 0.6rem; }
            .lottery-btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; min-width: 100px; }
        }

        /* 暂存箱样式 */
        .storage-section { background: var(--bg-white); border-radius: 16px; border: 2px solid var(--border-color); padding: 1.5rem; margin-bottom: 2rem; }
        .storage-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-color); }
        .storage-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 0.5rem; }
        .storage-title i { color: #f59e0b; }
        .storage-count { background: #fef3c7; color: #b45309; padding: 0.3rem 0.8rem; border-radius: 16px; font-size: 0.85rem; font-weight: 600; }
        .storage-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
        .storage-action-btn { padding: 0.4rem 1rem; border: 1px solid #ddd; background: #fff; color: #666; border-radius: 6px; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
        @media (max-width: 576px) {
            .storage-actions { gap: 0.35rem; }
            .storage-action-btn { padding: 0.35rem 0.6rem; font-size: 0.75rem; }
        }
        .storage-action-btn:hover { border-color: #f59e0b; color: #f59e0b; }
        .storage-action-btn.primary { background: #f59e0b; border-color: #f59e0b; color: white; }
        .storage-action-btn.primary:hover { background: #d97706; }
        .storage-action-btn.danger { background: #f59e0b; border-color: #f59e0b; color: white; }
        .storage-action-btn.danger:hover { background: #d97706; border-color: #d97706; }
        .storage-action-btn.warning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); border-color: #f59e0b; color: white; }
        .storage-action-btn.warning:hover { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); border-color: #d97706; }
        .storage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }
        .storage-item { background: var(--bg-light); border: 2px solid transparent; border-radius: 10px; padding: 1rem; text-align: center; cursor: pointer; transition: all 0.3s; }
        .storage-item:hover { border-color: #f59e0b; transform: translateY(-2px); }
        .storage-item.selected { border-color: #f59e0b; background: #fef3c7; }
        .storage-item-img { font-size: 2.5rem; margin-bottom: 0.5rem; }
        .storage-item-name { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.3rem; }
        .storage-item-expire { font-size: 0.7rem; color: var(--text-muted); }
        .storage-empty { text-align: center; padding: 3rem; color: var(--text-muted); grid-column: 1 / -1; }
        .storage-empty i { font-size: 3rem; margin-bottom: 0.5rem; display: block; opacity: 0.3; }
        .storage-action-btn.danger:hover { background: #d97706; border-color: #d97706; }
        .storage-grid { padding-top: 5px;display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; max-height: 300px; overflow-y: auto; }
        .storage-item { background: #f8f9fa; border: 2px solid #e8e8e8; border-radius: 10px; padding: 0.75rem; text-align: center; position: relative; cursor: pointer; transition: all 0.2s; }
        .storage-item:hover { border-color: #f59e0b; box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2); }
        .storage-item.selected { border-color: #f59e0b; background: #fffbeb; }
        .storage-item.rare { border-color: #fbbf24; background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); box-shadow: 0 0 12px rgba(251, 191, 36, 0.4); }
        .storage-item.rare:hover { border-color: #f59e0b; box-shadow: 0 0 16px rgba(251, 191, 36, 0.6); }
        .storage-item.rare.selected { border-color: #f59e0b; background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
        .storage-item .rare-badge { position: absolute; top: 0.2rem; left: 0.2rem; background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); color: #1a1a1a; font-size: 0.6rem; padding: 0.1rem 0.4rem; border-radius: 4px; font-weight: 700; }
        .storage-item-icon { font-size: 2rem; margin-bottom: 0.3rem; }
        #scoreExchangeGrid .storage-item-icon img { width: 113px; height: 58px; object-fit: contain; }
        .storage-item-name { font-size: 0.75rem; color: #333; font-weight: 600; margin-bottom: 0.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .storage-item-time { font-size: 0.65rem; color: #999; }
        .storage-item-checkbox { position: absolute; top: 0.3rem; right: 0.3rem; width: 18px; height: 18px; border: 2px solid #ddd; border-radius: 4px; background: white; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
        .storage-item.selected .storage-item-checkbox { border-color: #f59e0b; background: #f59e0b; color: white; }
        .storage-empty { text-align: center; padding: 2rem; color: var(--text-muted); }
        .storage-empty i { font-size: 2.5rem; margin-bottom: 0.5rem; display: block; opacity: 0.5; }

        /* 十连抽结果弹窗 */
        .gacha-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; justify-content: center; align-items: center; padding: 1rem; }
        .gacha-modal.show { display: flex; }
        .gacha-modal-content { background: white; border-radius: 16px; max-width: 600px; width: 100%; max-height: 80vh; overflow-y: auto; animation: modalSlideIn 0.3s ease; }
        @keyframes modalSlideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
        .gacha-modal-header { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); color: white; padding: 1.5rem; text-align: center; border-radius: 16px 16px 0 0; }
        .gacha-modal-header h3 { margin: 0; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
        .gacha-modal-body { padding: 1.5rem; }
        .gacha-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }
        .gacha-result-item { background: #f8f9fa; border: 2px solid #e8e8e8; border-radius: 16px; padding: 1rem; text-align: center; animation: resultFadeIn 0.5s ease; }
        @keyframes resultFadeIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
        .gacha-result-item.rarity-legendary { border-color: #fbbf24; background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); }
        .gacha-result-item.rarity-epic { border-color: #a855f7; background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%); }
        .gacha-result-item.rarity-rare { border-color: #8b5cf6; background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); }
        .gacha-result-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
        .gacha-result-name { font-size: 0.9rem; font-weight: 600; color: #333; margin-bottom: 0.25rem; }
        .gacha-result-rarity { font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 10px; display: inline-block; }
        .rarity-legendary .gacha-result-rarity { background: #fbbf24; color: #1a1a1a; }
        .rarity-epic .gacha-result-rarity { background: #a855f7; color: white; }
        .rarity-rare .gacha-result-rarity { background: #8b5cf6; color: white; }
        .gacha-modal-footer { padding: 1rem 1.5rem; border-top: 1px solid #e8e8e8; display: flex; justify-content: center; gap: 1rem; }
        .gacha-modal-btn { padding: 0.7rem 2rem; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
        .gacha-modal-btn.primary { background: #f59e0b; color: white; }
        .gacha-modal-btn.primary:hover { background: #d97706; }
        .gacha-modal-btn.secondary { background: #f3f4f6; color: #666; }
        .gacha-modal-btn.secondary:hover { background: #e5e7eb; }

        /* 错误和成功提示框样式 */
        .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:9999; justify-content:center; align-items:center; }
        .modal-overlay.show { display:flex; }
        .modal-box { background:#fff; border-radius:16px; padding:2.5rem 2rem 2rem; text-align:center; max-width:360px; width:90%; box-shadow:0 20px 60px rgba(0,0,0,0.15); animation:modalIn .3s ease; }
        @keyframes modalIn { from { opacity:0; transform:scale(0.85) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
        .modal-icon { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,#22c55e,#16a34a); display:inline-flex; align-items:center; justify-content:center; margin-bottom:1.2rem; }
        .modal-icon.error { background:linear-gradient(135deg,#f59e0b,#d97706); }
        .modal-icon i { font-size:2rem; color:#fff; }
        .modal-box h3 { font-size:1.3rem; font-weight:700; color:#1f2937; margin:0 0 0.5rem; }
        .modal-box p { font-size:0.9rem; color:#6b7280; margin:0 0 1.5rem; }
        .modal-btn { display:inline-block; background:#f59e0b; color:#fff; border:none; padding:0.7rem 2.5rem; border-radius:8px; font-weight:700; font-size:0.95rem; cursor:pointer; transition:all .3s; }
        .modal-btn:hover { background:#d97706; transform:translateY(-2px); box-shadow:0 8px 20px rgba(245,158,11,0.3); }

        /* 确保导航栏样式一致 */
        .navbar { background: var(--bg-white) !important; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); padding: 1rem 0; }
        .nav-link { color: var(--text-muted) !important; font-weight: 500; font-size: 1rem; padding: 0.5rem 1rem !important; }
        .nav-link:hover { color: var(--primary) !important; }

        /* 用户中心双栏布局 */
        .user-center-layout {
            display: flex;
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .sidebar {
            width: 280px;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .user-card {
            background: var(--bg-white);
            border-radius: 16px;
            padding: 2rem 1.5rem;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border: 2px solid var(--border-color);
        }


        .user-name {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-dark);
        }

        .menu-card {
            background: var(--bg-white);
            border-radius: 16px;
            padding: 1rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border: 2px solid var(--border-color);
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .menu-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            border-radius: 10px;
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s;
        }

        .menu-item:hover {
            background: var(--bg-light);
            color: var(--primary);
        }

        .menu-item.active {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
        }

        .menu-item i {
            font-size: 1.2rem;
        }

        .menu-item.logout {
            color: #ef4444;
            margin-top: 0.5rem;
        }

        .menu-item.logout:hover {
            background: #fee2e2;
            color: #dc2626;
        }

        .main-content {
            flex: 1;
            min-width: 0;
        }

        .profile-card {
            background: var(--bg-white);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border: 2px solid var(--border-color);
        }

        .card-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--border-color);
        }

        @media (max-width: 992px) {
            .user-center-layout {
                flex-direction: column;
            }

            .sidebar {
                width: 100%;
            }

            .menu-card {
                flex-direction: row;
                flex-wrap: wrap;
            }

            .menu-item {
                flex: 1;
                min-width: 150px;
                justify-content: center;
            }
        }

        @media (max-width: 576px) {
            .menu-item {
                min-width: 100%;
            }

            .profile-card {
                padding: 1.5rem;
            }
        }

/* === 页面: 用户中心参考版 === */
body.uc-reference-page {
    background: #fff;
    color: #1a1a2e;
}

.uc-reference-page .page-header {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0 0;
    background: none;
    text-align: left;
}

.uc-reference-page .page-header .container,
.uc-reference-page .uc-layout .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.uc-reference-page .page-header h1 {
    margin: 0;
    color: var(--vip-text, var(--text-dark));
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}

.uc-reference-page .page-header .page-subtitle,
.uc-reference-page .page-header p {
    margin: 8px 0 24px;
    color: var(--vip-muted, var(--text-muted));
    font-size: 0.9rem;
}

.uc-reference-page .uc-layout {
    width: calc(100% - 48px);
    max-width: 1150px;
    margin: 0 auto;
}

.uc-reference-page .uc-layout .container {
    display: flex;
    gap: 32px;
}

.uc-reference-page .uc-sidebar {
    flex: 0 0 260px;
}

.uc-reference-page .uc-sidebar-card {
    margin-bottom: 20px;
    padding: 28px 24px;
    border-radius: 14px;
    background: #f8f8fc;
    text-align: center;
}

.uc-reference-page .uc-avatar {
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

.uc-reference-page .uc-sidebar-name {
    margin-bottom: 4px;
    color: #1a1a2e;
    font-size: 18px;
    font-weight: 700;
}

.uc-reference-page .uc-sidebar-id {
    color: #aaa;
    font-size: 13px;
}

.uc-reference-page .uc-menu {
    overflow: hidden;
    border-radius: 14px;
    background: #f8f8fc;
}

.uc-reference-page .uc-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-left: 3px solid transparent;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.uc-reference-page .uc-menu-item:hover,
.uc-reference-page .uc-menu-item.active {
    background: #f0eff9;
    color: #6c5ce7;
}

.uc-reference-page .uc-menu-item.active {
    border-left-color: #6c5ce7;
    font-weight: 600;
}

.uc-reference-page .uc-menu-icon {
    display: flex;
    width: 20px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.uc-reference-page .uc-main {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.uc-reference-page .uc-section {
    padding: 0;
    margin-bottom: 24px;
    background: transparent;
}

.uc-reference-page .uc-section-title {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8ef;
    color: #1a1a2e;
    font-size: 18px;
    font-weight: 700;
}

.uc-reference-page .uc-profile-card,
.uc-reference-page .uc-form-card {
    overflow: hidden;
    border-radius: 14px;
    background: #f8f8fc;
}

.uc-reference-page .uc-profile-card {
    padding: 32px;
}

.uc-reference-page .uc-profile-row {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f5;
}

.uc-reference-page .uc-profile-row:last-child {
    border-bottom: none;
}

.uc-reference-page .uc-profile-label {
    flex: 0 0 120px;
    color: #888;
    font-size: 14px;
    font-weight: 600;
}

.uc-reference-page .uc-profile-value {
    flex: 1;
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 600;
}

.uc-reference-page .uc-profile-value .uc-edit,
.uc-reference-page .uc-profile-value .uc-recharge {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.uc-reference-page .uc-profile-value .uc-edit {
    color: #6c5ce7;
}

.uc-reference-page .uc-profile-value .uc-edit:hover {
    color: #5a4bd1;
}

.uc-reference-page .uc-profile-value .uc-recharge {
    color: #e17055;
}

.uc-reference-page .uc-profile-value .uc-recharge:hover {
    color: #d35445;
}

.uc-reference-page .uc-profile-value.highlight {
    color: #6c5ce7;
    font-size: 20px;
    font-weight: 800;
}

.uc-reference-page .uc-profile-value.gold {
    color: #f0932b;
}

.uc-reference-page .uc-profile-value.orange {
    color: #e17055;
}

.uc-reference-page .uc-actions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.uc-reference-page .uc-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    border-radius: 14px;
    background: #f8f8fc;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s;
}

.uc-reference-page .uc-action-card:hover {
    background: #f0eff9;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.08);
    transform: translateY(-2px);
}

.uc-reference-page .uc-action-icon {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(162, 155, 254, 0.12));
    color: #6c5ce7;
    font-size: 20px;
}

.uc-reference-page .uc-action-name {
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 600;
}

.uc-reference-page .uc-form-card {
    padding: 36px 40px;
}

.uc-reference-page .uc-form-group {
    margin-bottom: 24px;
}

.uc-reference-page .uc-form-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.uc-reference-page .uc-form-input,
.uc-reference-page .uc-form-textarea {
    width: 100%;
    max-width: 420px;
    border: 1px solid #e8e8ef;
    border-radius: 10px;
    background: #fff;
    color: #1a1a2e;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.uc-reference-page .uc-form-input {
    height: 44px;
    padding: 0 16px;
}

.uc-reference-page .uc-form-textarea {
    min-height: 120px;
    padding: 12px 16px;
    resize: vertical;
}

.uc-reference-page .uc-form-input:focus,
.uc-reference-page .uc-form-textarea:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.08);
}

.uc-reference-page .uc-form-hint {
    margin-top: 6px;
    color: #aaa;
    font-size: 12px;
}

.uc-reference-page .uc-form-static {
    color: #1a1a2e;
    font-size: 16px;
    font-weight: 600;
}

.uc-reference-page .uc-form-static.is-balance {
    color: #e17055;
    font-size: 24px;
    font-weight: 800;
}

.uc-reference-page .uc-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.uc-reference-page .uc-btn,
.uc-reference-page .form-submit {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.uc-reference-page .uc-form-actions .uc-btn,
.uc-reference-page .uc-form-actions .form-submit {
    flex: 0 0 auto;
    min-width: 96px;
}

.uc-reference-page .uc-btn-primary,
.uc-reference-page .form-submit {
    background: #6c5ce7;
    color: #fff;
}

.uc-reference-page .uc-btn-primary:hover,
.uc-reference-page .form-submit:hover {
    background: #5a4bd1;
    color: #fff;
}

.uc-reference-page .uc-btn-secondary {
    border-color: #e8e8ef;
    background: #fff;
    color: #555;
}

.uc-reference-page .uc-btn-secondary:hover {
    border-color: #d9d6f2;
    background: #f0eff9;
    color: #6c5ce7;
}

.uc-reference-page .uc-btn:disabled,
.uc-reference-page .form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.uc-reference-page .msg-box {
    max-width: 620px;
}

.uc-reference-page .uc-balance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.uc-reference-page .uc-balance-card {
    padding: 18px 20px;
    border: 1px solid #e8e8ef;
    border-radius: 12px;
    background: #fff;
}

.uc-reference-page .uc-balance-label {
    display: block;
    margin-bottom: 6px;
    color: #888;
    font-size: 13px;
    font-weight: 600;
}

.uc-reference-page .uc-balance-value {
    color: #1a1a2e;
    font-size: 24px;
    font-weight: 800;
}

.uc-reference-page .uc-balance-value.orange {
    color: #e17055;
}

.uc-reference-page .uc-pay-tabs,
.uc-reference-page .uc-amount-grid,
.uc-reference-page .uc-category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.uc-reference-page .uc-pay-tabs {
    margin-bottom: 24px;
}

.uc-reference-page .uc-pay-tab {
    flex: 1 1 180px;
    min-height: 86px;
    padding: 16px 14px;
    border: 1px solid #e8e8ef;
    border-radius: 12px;
    background: #fff;
    color: #555;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.uc-reference-page .uc-pay-tab:hover,
.uc-reference-page .uc-pay-tab.active {
    border-color: #6c5ce7;
    background: #f0eff9;
    color: #6c5ce7;
}

.uc-reference-page .uc-pay-tab i {
    display: block;
    margin-bottom: 6px;
    font-size: 22px;
}

.uc-reference-page .uc-pay-tab strong {
    display: block;
    color: inherit;
    font-size: 14px;
}

.uc-reference-page .uc-pay-tab span {
    display: block;
    margin-top: 4px;
    color: #aaa;
    font-size: 12px;
}

.uc-reference-page .uc-pay-panel {
    display: none;
}

.uc-reference-page .uc-pay-panel.active {
    display: block;
}

.uc-reference-page .uc-amount-grid {
    margin-top: 10px;
}

.uc-reference-page .uc-amount-option {
    min-height: 40px;
    padding: 0 18px;
}

.uc-reference-page .uc-qrcode-placeholder {
    display: flex;
    width: 200px;
    height: 200px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px auto;
    border: 2px dashed #dcd9f1;
    border-radius: 12px;
    color: #aaa;
}

.uc-reference-page .uc-qrcode-placeholder i {
    font-size: 48px;
}

.uc-reference-page .uc-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.uc-reference-page .uc-data-table {
    width: 100%;
    min-width: 640px;
    overflow: hidden;
    border: 1px solid #e8e8ef;
    border-radius: 12px;
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
}

.uc-reference-page .uc-data-table th,
.uc-reference-page .uc-data-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #f0f0f5;
    color: #555;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

.uc-reference-page .uc-data-table th {
    background: #f4f3fb;
    color: #888;
    font-weight: 700;
}

.uc-reference-page .uc-data-table tr:last-child td {
    border-bottom: none;
}

.uc-reference-page .uc-status,
.uc-reference-page .uc-log-badge,
.uc-reference-page .uc-item-cat {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.uc-reference-page .uc-status.pending,
.uc-reference-page .uc-log-badge.type-convert {
    background: #fff3cd;
    color: #b45309;
}

.uc-reference-page .uc-status.approved,
.uc-reference-page .uc-log-badge.type-recharge {
    background: #dcfce7;
    color: #166534;
}

.uc-reference-page .uc-status.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.uc-reference-page .uc-status.cancelled {
    background: #f3f4f6;
    color: #6b7280;
}

.uc-reference-page .uc-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.uc-reference-page .uc-pagination a,
.uc-reference-page .uc-pagination span {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #e8e8ef;
    border-radius: 8px;
    background: #fff;
    color: #555;
    font-size: 13px;
    text-decoration: none;
}

.uc-reference-page .uc-pagination .active {
    border-color: #6c5ce7;
    background: #6c5ce7;
    color: #fff;
}

.uc-reference-page .uc-pagination .disabled {
    color: #bbb;
    pointer-events: none;
}

.uc-reference-page .uc-inline-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid #e8e8ef;
}

.uc-reference-page .uc-inline-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    color: #888;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.uc-reference-page .uc-inline-tab:hover,
.uc-reference-page .uc-inline-tab.active {
    color: #6c5ce7;
}

.uc-reference-page .uc-inline-tab.active::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: #6c5ce7;
    content: "";
}

.uc-reference-page .uc-inventory-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.uc-reference-page .uc-inventory-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #1a1a2e;
    font-size: 16px;
    font-weight: 700;
}

.uc-reference-page .uc-inventory-count {
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
}

.uc-reference-page .uc-category-bar {
    margin-bottom: 20px;
}

.uc-reference-page .uc-category-btn {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #e8e8ef;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.uc-reference-page .uc-category-btn:hover,
.uc-reference-page .uc-category-btn.active {
    border-color: #6c5ce7;
    background: #6c5ce7;
    color: #fff;
}

.uc-reference-page .uc-wh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.uc-reference-page .uc-wh-card {
    padding: 16px;
    border: 1px solid #e8e8ef;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    transition: all 0.2s;
}

.uc-reference-page .uc-wh-card:hover {
    border-color: #6c5ce7;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.08);
}

.uc-reference-page .uc-wh-icon {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8e8ef, #d5d3f0);
    color: #6c5ce7;
}

.uc-reference-page .uc-wh-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.uc-reference-page .uc-wh-name {
    margin-bottom: 4px;
    overflow: hidden;
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-reference-page .uc-wh-desc {
    min-height: 18px;
    color: #aaa;
    font-size: 12px;
}

.uc-reference-page .uc-item-cat {
    margin-bottom: 6px;
    background: #f0eff9;
    color: #6c5ce7;
}

.uc-reference-page .uc-item-delete {
    min-height: 32px;
    margin-top: 12px;
    padding: 0 14px;
    border: none;
    border-radius: 6px;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.uc-reference-page .uc-item-delete:hover:not(:disabled) {
    background: #d97706;
}

.uc-reference-page .uc-item-delete:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.uc-reference-page .uc-empty {
    padding: 42px 12px;
    color: #aaa;
    font-size: 14px;
    text-align: center;
}

.uc-reference-page .inv-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 9999;
    padding: 14px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    font-size: 15px;
    font-weight: 600;
    pointer-events: none;
    transform: translateX(-50%);
    animation: toastIn 0.35s ease, toastOut 0.35s ease 2.6s forwards;
}

.uc-reference-page .inv-toast.success {
    border: 1px solid #86efac;
    background: #dcfce7;
    color: #166534;
}

.uc-reference-page .inv-toast.error {
    border: 1px solid #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-16px);
    }
}

@media (max-width: 992px) {
    .uc-reference-page .uc-layout .container {
        flex-direction: column;
    }

    .uc-reference-page .uc-sidebar {
        flex: none;
    }

    .uc-reference-page .uc-menu {
        display: flex;
        flex-wrap: wrap;
    }

    .uc-reference-page .uc-menu-item {
        flex: 0 0 auto;
        border-bottom: 3px solid transparent;
        border-left: none;
        padding: 10px 16px;
        font-size: 13px;
    }

    .uc-reference-page .uc-menu-item.active {
        border-bottom-color: #6c5ce7;
        border-left-color: transparent;
    }

    .uc-reference-page .uc-actions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .uc-reference-page .page-header,
    .uc-reference-page .uc-layout {
        width: calc(100% - 32px);
    }

    .uc-reference-page .page-header {
        padding-top: 0px;
    }

    .uc-reference-page .page-header h1 {
        font-size: 1.35rem;
    }

    .uc-reference-page .uc-sidebar-card {
        padding: 20px 16px;
    }

    .uc-reference-page .uc-avatar {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .uc-reference-page .uc-profile-card,
    .uc-reference-page .uc-form-card {
        padding: 24px 16px;
    }

    .uc-reference-page .uc-profile-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 0;
    }

    .uc-reference-page .uc-profile-label {
        flex: none;
        font-size: 12px;
    }

    .uc-reference-page .uc-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .uc-reference-page .uc-action-card {
        padding: 16px 10px;
    }

    .uc-reference-page .uc-balance-grid,
    .uc-reference-page .uc-inline-tabs {
        grid-template-columns: 1fr;
    }

    .uc-reference-page .uc-wh-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uc-reference-page .uc-form-actions .uc-btn,
    .uc-reference-page .uc-form-actions .form-submit {
        flex: 0 0 auto;
        width: auto;
    }
}
        

/* === 新闻详情参考图排版 === */
        body.news-detail-reference-page {
            background: #fff;
        }
        .news-detail-page {
            min-height: 100vh;
            padding: 102px 0 80px;
            background: #fff;
        }
        .news-detail-shell {
            width: calc(100% - 48px);
            max-width: 1200px;
            margin: 0 auto;
            padding: 0;
        }
        .news-detail-back {
            display: inline-flex;
            align-items: center;
            margin-bottom: 32px;
            color: var(--primary);
            font-size: 0.85rem;
            line-height: 20px;
            text-decoration: none;
        }
        .news-detail-back:hover {
            color: var(--primary-dark);
        }
        .news-detail-article {
            margin: 0;
        }
        .news-detail-heading {
            padding: 0 0 30px;
            border-bottom: 1px solid #e5e7ef;
            margin: 0;
            text-align: left;
        }
        .news-detail-title {
            margin: 0;
            color: var(--text-dark);
            font-size: 1.5rem;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: 0;
        }
        .news-detail-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-top: 12px;
            color: #98a2b3;
            font-size: 0.75rem;
            line-height: 20px;
        }
        .news-detail-tag {
            display: inline-flex;
            align-items: center;
            min-height: 24px;
            padding: 0 10px;
            border-radius: 999px;
            background: #eeecff;
            color: var(--primary);
            line-height: 24px;
        }
        .news-detail-content {
            min-height: 0;
            max-width: 1100px;
            margin: 40px auto 0;
            padding: 0;
            color: #344054;
            font-size: 0.95rem;
            line-height: 1.85;
            word-break: break-word;
        }
        .news-detail-content > *:first-child {
            margin-top: 0;
        }
        .news-detail-content > *:last-child {
            margin-bottom: 0;
        }
        .news-detail-content p {
            margin: 0 0 1.75rem;
            text-indent: 0;
        }
        .news-detail-content p.news-detail-signature,
        .news-detail-content p.news-detail-date,
        .news-detail-content p:last-child,
        .news-detail-content p:nth-last-child(2) {
            margin-top: 0;
            margin-bottom: 1.75rem;
            text-align: left;
            text-indent: 0;
        }
        .news-detail-content h2 {
            margin: 2.8rem 0 1.2rem;
            color: var(--text-dark);
            font-size: 1.35rem;
            font-weight: 800;
            line-height: 1.45;
        }
        .news-detail-content h3 {
            margin: 2.2rem 0 1rem;
            color: var(--text-dark);
            font-size: 1.15rem;
            font-weight: 800;
            line-height: 1.5;
        }
        .news-detail-content ul,
        .news-detail-content ol {
            margin: 0 0 1.75rem;
            padding-left: 1.4rem;
        }
        .news-detail-content li {
            margin-bottom: 0.75rem;
        }
        .news-detail-content img {
            display: block;
            max-width: 100%;
            height: auto;
            margin: 1.5rem auto;
        }
        .news-detail-content table {
            width: 100%;
            margin: 1.25rem 0;
            border-collapse: collapse;
        }
        .news-detail-content th,
        .news-detail-content td {
            padding: 0.75rem;
            border: 1px solid #e5e7ef;
        }
        .news-detail-content a {
            color: var(--primary);
        }
        .news-detail-content pre {
            overflow-x: auto;
            padding: 1rem;
            border: 1px solid #e5e7ef;
            border-radius: 4px;
            background: #f8f8fc;
            color: #344054;
            line-height: 1.7;
        }
        .news-detail-content blockquote {
            margin: 1.25rem 0;
            padding: 0.9rem 1rem;
            border-left: 4px solid var(--primary);
            background: #faf8ff;
            color: #667085;
        }
        .news-detail-adjacent {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px;
            margin-top: 40px;
            padding-top: 32px;
            border-top: 1px solid #e5e7ef;
        }
        .news-detail-adjacent-card {
            display: flex;
            min-height: 88px;
            flex-direction: column;
            justify-content: center;
            gap: 8px;
            padding: 20px 24px;
            border-radius: 10px;
            background: #f8f8fc;
            color: var(--text-dark);
            text-decoration: none;
            transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }
        .news-detail-adjacent-card:hover {
            background: #f7f6ff;
            box-shadow: 0 8px 22px rgba(38, 45, 94, 0.05);
            transform: translateY(-1px);
        }
        .news-detail-adjacent-card.is-next {
            align-items: flex-end;
            text-align: right;
        }
        .news-detail-adjacent-card.is-disabled {
            cursor: default;
            opacity: 0.62;
        }
        .news-detail-adjacent-card.is-disabled:hover {
            background: #f8f8fc;
            box-shadow: none;
            transform: none;
        }
        .news-detail-adjacent-label {
            color: #98a2b3;
            font-size: 0.75rem;
            line-height: 1.4;
        }
        .news-detail-adjacent-card strong {
            display: block;
            max-width: 100%;
            overflow: hidden;
            color: var(--text-dark);
            font-size: 0.95rem;
            font-weight: 700;
            line-height: 1.45;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        @media (max-width: 768px) {
            .news-detail-page {
                padding: 92px 0 56px;
            }
            .news-detail-shell {
                width: calc(100% - 32px);
            }
            .news-detail-back {
                margin-bottom: 24px;
            }
            .news-detail-title {
                font-size: 1.8rem;
            }
            .news-detail-meta {
                flex-wrap: wrap;
                gap: 8px 12px;
            }
            .news-detail-heading {
                padding-bottom: 24px;
            }
            .news-detail-content {
                margin-top: 32px;
                font-size: 0.95rem;
                line-height: 1.85;
            }
            .news-detail-content h2 {
                margin-top: 2.2rem;
            }
            .news-detail-adjacent {
                grid-template-columns: 1fr;
                margin-top: 32px;
                padding-top: 24px;
            }
            .news-detail-adjacent-card.is-next {
                align-items: flex-start;
                text-align: left;
            }
        }
        @media (max-width: 480px) {
            .news-detail-title {
                font-size: 1.5rem;
            }
        }


/* === 页面: download reference === */
        body.download-reference-page {
            background: #fff;
            overflow-x: hidden;
            overflow-x: clip;
        }
        .download-reference-page .download-page {
            width: 100%;
            max-width: 100%;
            min-height: calc(100vh - 72px);
            padding: 102px 0 56px;
            background: #fff;
            overflow-x: hidden;
            overflow-x: clip;
        }
        .download-reference-page .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }
        .download-reference-page .download-page-intro {
            margin-bottom: 36px;
            padding: 0;
            background: #fff;
            text-align: left;
        }
        .download-reference-page .download-page-intro h1 {
            margin: 0;
            color: #1a1a2e;
            font-size: 1.8rem;
            font-weight: 800;
            line-height: 1.2;
        }
        .download-reference-page .download-page-intro .page-subtitle {
            margin: 8px 0 0;
            color: #888;
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .download-program-section {
            padding: 0 0 48px;
        }
        .download-config-section {
            padding: 0;
        }
        .download-reference-page .rank-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 0;
            margin: 0 0 20px;
            background: transparent;
            text-align: left;
        }
        .download-reference-page .rank-header h2 {
            color: #1a1a2e;
            font-size: 22px;
            font-weight: 700;
            line-height: 1.35;
            margin: 0;
        }
        .download-reference-page .rank-header .rank-note {
            color: #aaa;
            font-size: 13px;
            line-height: 1.5;
            white-space: nowrap;
        }
        .download-reference-page .download-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 20px;
            margin-bottom: 12px;
        }
        .download-reference-page .dl-card {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 0;
            width: 100%;
            padding: 28px 24px 24px;
            border: 2px solid transparent;
            border-radius: 14px;
            background: #f8f8fc;
            box-shadow: none;
            text-align: center;
            transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
        }
        .download-reference-page .dl-card:hover {
            transform: translateY(-2px);
            background: #f0eff9;
            border-color: transparent;
            box-shadow: 0 8px 25px rgba(108, 92, 231, 0.08);
        }
        .download-reference-page .dl-card.recommended {
            border-color: #6c5ce7;
            background: #f8f7ff;
        }
        .download-reference-page .dl-card.recommended:hover {
            box-shadow: 0 8px 25px rgba(108, 92, 231, 0.15);
        }
        .download-reference-page .dl-card-badge {
            position: absolute;
            top: -1px;
            right: 16px;
            padding: 4px 14px;
            border-radius: 0 0 8px 8px;
            background: #6c5ce7;
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            line-height: 1.4;
        }
        .download-reference-page .dl-platform-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 64px;
            height: 64px;
            margin: 0 auto 18px;
            border-radius: 18px;
            background: #fff;
            color: #6c5ce7;
            font-size: 28px;
        }
        .download-reference-page .dl-card.recommended .dl-platform-icon {
            background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(162, 155, 254, 0.15));
        }
        .download-reference-page .dl-platform-name {
            max-width: 100%;
            margin: 0 0 14px;
            color: #1a1a2e;
            font-size: 18px;
            font-weight: 700;
            line-height: 1.35;
            overflow-wrap: anywhere;
        }
        .download-reference-page .dl-meta {
            color: #888;
            font-size: 13px;
            line-height: 1.7;
        }
        .download-reference-page .dl-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            width: 100%;
            min-height: 42px;
            margin-top: 18px;
            padding: 10px 16px;
            border: 1px solid #e1def5;
            border-radius: 8px;
            background: #fff;
            color: #6c5ce7;
            box-shadow: none;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.35;
            text-decoration: none;
            transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
        }
        .download-reference-page .dl-btn:hover {
            color: #6c5ce7;
            background: #fbfaff;
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(108, 92, 231, 0.12);
        }
        .download-reference-page .dl-card.recommended .dl-btn {
            border-color: transparent;
            background: linear-gradient(135deg, #6c5ce7, #a29bfe);
            color: #fff;
            box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
        }
        .download-reference-page .dl-card.recommended .dl-btn:hover {
            color: #fff;
            box-shadow: 0 6px 18px rgba(108, 92, 231, 0.45);
        }
        .download-reference-page .dl-footnote {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 8px;
            color: #bbb;
            font-size: 12px;
        }
        .download-reference-page .dl-footnote a {
            color: #5a4bd1;
            text-decoration: none;
        }
        .download-reference-page .dl-footnote a:hover {
            text-decoration: underline;
        }
        .download-reference-page .config-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px;
            margin-bottom: 12px;
        }
        .download-reference-page .config-card {
            min-width: 0;
            padding: 24px;
            border: 2px solid transparent;
            border-radius: 14px;
            background: #f8f8fc;
        }
        .download-reference-page .config-card.recommended {
            border-color: #6c5ce7;
            background: #f8f7ff;
        }
        .download-reference-page .config-card-header {
            margin-bottom: 18px;
        }
        .download-reference-page .config-card-title {
            color: #1a1a2e;
            font-size: 18px;
            font-weight: 700;
            line-height: 1.35;
        }
        .download-reference-page .config-card-sub {
            margin-top: 4px;
            color: #aaa;
            font-size: 13px;
        }
        .download-reference-page .config-row {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
            padding: 10px 0;
            border-bottom: 1px solid rgba(108, 92, 231, 0.08);
        }
        .download-reference-page .config-row:last-child {
            border-bottom: 0;
        }
        .download-reference-page .config-label {
            flex: 0 0 92px;
            color: #888;
            font-size: 13px;
        }
        .download-reference-page .config-value {
            min-width: 0;
            color: #1a1a2e;
            font-size: 13px;
            font-weight: 600;
            line-height: 1.55;
            text-align: right;
            overflow-wrap: anywhere;
        }
        .download-reference-page .config-footnote,
        .download-reference-page .download-empty {
            border-radius: 14px;
            background: #f8f8fc;
            color: #888;
            font-size: 13px;
            line-height: 1.7;
        }
        .download-reference-page .config-footnote {
            padding: 18px 20px;
        }
        .download-reference-page .download-empty {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 180px;
            padding: 32px;
            text-align: center;
        }
        .download-reference-page .download-empty i {
            color: #c7c2e8;
            font-size: 28px;
        }
        @media (max-width: 992px) {
            .download-reference-page .download-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .download-reference-page .config-grid {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 576px) {
            .download-reference-page .container {
                padding-left: 16px;
                padding-right: 16px;
            }
            .download-reference-page .download-page {
                padding-top: 92px;
            }
            .download-reference-page .download-page-intro h1 {
                font-size: 1.35rem;
            }
            .download-reference-page .rank-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 6px;
            }
            .download-reference-page .rank-header .rank-note {
                white-space: normal;
            }
            .download-reference-page .download-grid {
                grid-template-columns: 1fr;
            }
            .download-reference-page .config-card {
                padding: 20px;
            }
            .download-reference-page .config-row {
                flex-direction: column;
                gap: 4px;
            }
            .download-reference-page .config-label {
                flex-basis: auto;
            }
            .download-reference-page .config-value {
                text-align: left;
            }
        }

/* === Page: vip === */
    :root {
        --vip-primary: #6d5cf5;
        --vip-primary-light: #9184ff;
        --vip-primary-soft: #eeecff;
        --vip-gold: #f6ad1b;
        --vip-text: #101828;
        --vip-muted: #667085;
        --vip-border: #e9eaf4;
        --vip-surface: #f8f8fc;
        --vip-shadow: 0 12px 28px rgba(38, 45, 94, 0.06);
    }

    .vip-body {
        background: #fff;
        color: var(--vip-text);
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    }

    .vip-page {
        width: calc(100% - 48px);
        max-width: 1150px;
        margin: 0 auto;
        padding: 102px 0 56px;
    }

    .vip-page-header {
        margin-top: 30px;
        margin-bottom: 36px;
    }

    .vip-page-header h1 {
        margin: 0;
        color: var(--vip-text);
        font-size: 1.8rem;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .vip-page-header p {
        margin: 8px 0 0;
        color: var(--vip-muted);
        font-size: 0.9rem;
    }

    .vip-summary-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 190px;
        gap: 28px;
        padding: 28px 32px;
        background: var(--vip-surface);
        border: 1px solid #f0f0f6;
        border-radius: 14px;
        box-shadow: var(--vip-shadow);
    }

    .vip-summary-main {
        min-width: 0;
    }

    .vip-summary-title {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .vip-level-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        border-radius: 12px;
        background: linear-gradient(135deg, #ffbd2a, #f29a0c);
        color: #fff;
        font-size: 1rem;
        font-weight: 800;
        box-shadow: 0 5px 12px rgba(246, 173, 27, 0.22);
    }

    .vip-level-badge.is-muted {
        background: linear-gradient(135deg, #98a2b3, #667085);
        box-shadow: none;
    }

    .vip-summary-title h2 {
        margin: 0;
        color: var(--vip-text);
        font-size: 1.4rem;
        font-weight: 800;
        line-height: 1.25;
    }

    .vip-summary-description {
        margin: 12px 0 18px;
        color: var(--vip-muted);
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .vip-summary-extra {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-left: 8px;
        color: #98a2b3;
        white-space: nowrap;
    }

    .vip-progress-info {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 7px;
        color: #98a2b3;
        font-size: 0.78rem;
    }

    .vip-progress-info span:last-child {
        text-align: right;
        white-space: nowrap;
    }

    .vip-progress-bar {
        height: 8px;
        overflow: hidden;
        background: #e5e6ee;
        border-radius: 999px;
    }

    .vip-progress-fill {
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, var(--vip-primary), #9a8cff);
        border-radius: inherit;
        transition: width 0.55s ease;
    }

    .vip-summary-side {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        min-width: 0;
        text-align: right;
    }

    .vip-expire-label {
        color: #98a2b3;
        font-size: 0.72rem;
    }

    .vip-expire-date {
        margin-top: 5px;
        color: var(--vip-text);
        font-size: 1rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .vip-expire-meta {
        min-height: 20px;
        margin-top: 5px;
        color: var(--vip-muted);
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .vip-summary-action,
    .package-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 0;
        font-weight: 700;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .vip-summary-action {
        min-width: 104px;
        margin-top: 14px;
        padding: 10px 20px;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--vip-primary), #8f83ff);
        color: #fff;
        font-size: 0.85rem;
        box-shadow: 0 8px 16px rgba(109, 92, 245, 0.22);
    }

    .vip-summary-action:hover,
    .package-action:hover {
        transform: translateY(-1px);
    }

    .vip-summary-action:hover {
        box-shadow: 0 10px 20px rgba(109, 92, 245, 0.28);
    }

    .vip-section {
        margin-top: 34px;
    }

    .vip-section-heading {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 16px;
    }

    .vip-section-heading h2 {
        margin: 0;
        color: var(--vip-text);
        font-size: 1.05rem;
        font-weight: 800;
    }

    .vip-section-heading p {
        margin: 0;
        color: #98a2b3;
        font-size: 0.75rem;
        text-align: right;
    }

    .vip-packages {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .vip-package-card {
        position: relative;
        display: flex;
        min-width: 0;
        min-height: 320px;
        flex-direction: column;
        padding: 24px 20px 18px;
        overflow: hidden;
        background: #f8f8fc;
        border: 1px solid transparent;
        border-radius: 11px;
        cursor: pointer;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

    .vip-package-card:hover {
        transform: translateY(-2px);
        border-color: #c8c3ff;
        box-shadow: 0 9px 20px rgba(109, 92, 245, 0.10);
    }

    .vip-package-card.selected {
        background: #fbfaff;
        border-color: var(--vip-primary);
        box-shadow: 0 0 0 1px var(--vip-primary), 0 10px 22px rgba(109, 92, 245, 0.12);
    }

    .vip-package-tag {
        position: absolute;
        top: 0;
        right: 8px;
        padding: 3px 7px;
        border-radius: 0 0 4px 4px;
        background: #ff9d89;
        color: #fff;
        font-size: 0.65rem;
        font-weight: 700;
    }

    .vip-package-tag.recommended {
        background: var(--vip-primary-light);
    }

    .vip-package-name {
        color: var(--vip-text);
        font-size: 1rem;
        font-weight: 800;
        line-height: 1.4;
    }

    .vip-package-price {
        display: flex;
        align-items: baseline;
        gap: 3px;
        margin-top: 10px;
        color: var(--vip-text);
        font-size: 1.6rem;
        font-weight: 850;
        line-height: 1;
    }

    .vip-package-price small {
        color: var(--vip-muted);
        font-size: 0.72rem;
        font-weight: 500;
    }

    .vip-package-duration {
        margin-top: 5px;
        color: #98a2b3;
        font-size: 0.8rem;
    }

    .vip-package-benefits {
        display: grid;
        gap: 9px;
        margin: 24px 0 20px;
        padding: 0;
        list-style: none;
        color: var(--vip-muted);
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .vip-package-benefits li {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vip-package-benefits i {
        margin-right: 5px;
        color: var(--vip-primary-light);
        font-size: 0.7rem;
    }

    .vip-package-card:not(.selected) .vip-package-benefits i {
        color: #8b84f6;
    }

    .package-action {
        width: 100%;
        margin-top: auto;
        padding: 10px 12px;
        border: 1px solid var(--vip-primary);
        border-radius: 7px;
        background: transparent;
        color: var(--vip-primary);
        font-size: 0.8rem;
    }

    .vip-package-card.selected .package-action {
        background: linear-gradient(135deg, var(--vip-primary), #8f83ff);
        color: #fff;
        box-shadow: 0 7px 14px rgba(109, 92, 245, 0.20);
    }

    .package-action:disabled {
        cursor: not-allowed;
        opacity: 0.58;
        transform: none;
    }

    .package-message {
        display: none;
        min-height: 22px;
        margin-top: 10px;
        color: var(--vip-muted);
        font-size: 0.78rem;
        text-align: center;
    }

    .vip-level-table-wrap {
        overflow: hidden;
        border: 1px solid #eeeeF5;
        border-radius: 10px;
        background: #fbfbfd;
    }

    .vip-level-table {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
    }

    .vip-level-table th,
    .vip-level-table td {
        padding: 13px 18px;
        text-align: left;
        border-bottom: 1px solid #ececf3;
        font-size: 0.78rem;
        vertical-align: middle;
    }

    .vip-level-table th {
        color: #667085;
        background: #f0f0fa;
        font-weight: 700;
    }

    .vip-level-table td {
        color: var(--vip-text);
    }

    .vip-level-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .vip-level-table tbody tr.is-current td {
        background: #eeedff;
        color: #1d1b42;
        font-weight: 700;
    }

    .vip-level-table th:nth-child(1),
    .vip-level-table td:nth-child(1) {
        width: 18%;
    }

    .vip-level-table th:nth-child(2),
    .vip-level-table td:nth-child(2) {
        width: 26%;
    }

    .vip-level-table th:nth-child(3),
    .vip-level-table td:nth-child(3) {
        width: 28%;
    }

    .vip-level-table th:nth-child(4),
    .vip-level-table td:nth-child(4) {
        width: 28%;
    }

    .vip-level-mark {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 24px;
        height: 22px;
        padding: 0 6px;
        border-radius: 5px;
        background: #e9eaf1;
        color: #667085;
        font-size: 0.68rem;
        font-weight: 800;
    }

    .vip-level-mark.is-current {
        background: var(--vip-gold);
        color: #fff;
    }

    .vip-level-name {
        font-weight: 700;
    }

    .vip-level-perk {
        color: var(--vip-muted);
    }

    .vip-secondary-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 12px;
        margin-top: 20px;
    }

    .vip-secondary-card {
        padding: 18px;
        border: 1px solid var(--vip-border);
        border-radius: 10px;
        background: var(--vip-surface);
    }

    .vip-secondary-card h3 {
        margin: 0 0 12px;
        color: var(--vip-text);
        font-size: 0.8rem;
        font-weight: 800;
    }

    .vip-log {
        max-height: 190px;
        overflow-y: auto;
    }

    .vip-log-item {
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px solid var(--vip-border);
        color: var(--vip-muted);
        font-size: 0.75rem;
    }

    .vip-log-item:last-child {
        border-bottom: 0;
    }

    .vip-log-val {
        color: var(--vip-primary);
        font-weight: 700;
    }

    .vip-empty {
        padding: 14px 0 4px;
        color: #98a2b3;
        font-size: 0.78rem;
        text-align: center;
    }

    .vip-tips {
        display: grid;
        gap: 9px;
        margin: 0;
        padding: 0;
        list-style: none;
        color: var(--vip-muted);
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .vip-tips i {
        margin-right: 5px;
        color: var(--vip-primary-light);
    }

    [data-bs-theme="dark"] .vip-body {
        background: #11111a;
    }

    [data-bs-theme="dark"] .vip-summary-card,
    [data-bs-theme="dark"] .vip-package-card,
    [data-bs-theme="dark"] .vip-secondary-card {
        background: #1b1b28;
        border-color: #2b2b3d;
    }

    [data-bs-theme="dark"] .vip-package-card.selected {
        background: #202039;
    }

    [data-bs-theme="dark"] .vip-level-table-wrap,
    [data-bs-theme="dark"] .vip-level-table th {
        background: #1b1b28;
        border-color: #2b2b3d;
    }

    [data-bs-theme="dark"] .vip-level-table th {
        color: #a3a3b5;
    }

    [data-bs-theme="dark"] .vip-level-table td,
    [data-bs-theme="dark"] .vip-level-table tbody tr.is-current td {
        border-color: #2b2b3d;
        color: #f1f1f8;
    }

    [data-bs-theme="dark"] .vip-level-table tbody tr.is-current td {
        background: #2b2a4d;
    }

    [data-bs-theme="dark"] .vip-progress-bar {
        background: #2d2d3e;
    }

    [data-bs-theme="dark"] .vip-package-price,
    [data-bs-theme="dark"] .vip-package-name,
    [data-bs-theme="dark"] .vip-summary-title h2,
    [data-bs-theme="dark"] .vip-page-header h1,
    [data-bs-theme="dark"] .vip-section-heading h2,
    [data-bs-theme="dark"] .vip-level-table td,
    [data-bs-theme="dark"] .vip-secondary-card h3,
    [data-bs-theme="dark"] .vip-expire-date {
        color: #f1f1f8;
    }

    [data-bs-theme="dark"] .vip-level-table,
    [data-bs-theme="dark"] .vip-level-table tbody tr.is-current td {
        color: #f1f1f8;
    }

    @media (max-width: 760px) {
        .vip-page {
            width: min(100% - 24px, 620px);
            padding-top: 92px;
        }

        .vip-summary-card {
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 22px 20px;
        }

        .vip-summary-side {
            align-items: flex-start;
            text-align: left;
        }

        .vip-summary-action {
            margin-top: 10px;
        }

        .vip-packages {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .vip-section-heading {
            align-items: flex-start;
            flex-direction: column;
            gap: 5px;
        }

        .vip-section-heading p {
            text-align: left;
        }

        .vip-secondary-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .vip-page-header {
            margin-bottom: 26px;
        }

        .vip-page-header h1 {
            font-size: 1.35rem;
        }

        .vip-summary-extra {
            display: block;
            margin: 3px 0 0;
        }

        .vip-packages {
            grid-template-columns: 1fr;
        }

        .vip-package-card {
            min-height: 0;
        }

        .vip-level-table-wrap {
            overflow-x: auto;
        }

        .vip-level-table {
            min-width: 560px;
        }
    }
+

/* Shared activity storage presentation, aligned with the Bingo activity. */
.activity-storage-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}
.activity-storage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0;
    border: 0;
    flex-wrap: wrap;
}
.activity-storage-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
}
.activity-storage-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.activity-storage-btn {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: .45rem .75rem;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
}
.activity-storage-btn.primary {
    background: var(--primary, #0d6efd);
    border-color: var(--primary, #0d6efd);
    color: #fff;
}
.activity-storage-btn.danger {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}
.activity-storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .85rem;
    max-height: none;
    overflow: visible;
    padding-top: 0;
}
.activity-storage-item {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: .75rem;
    background: rgba(248, 250, 252, .72);
    cursor: pointer;
    text-align: center;
    color: var(--text-dark);
    box-shadow: none;
}
.activity-storage-item:hover {
    border-color: var(--primary, #0d6efd);
    transform: none;
    box-shadow: none;
}
.activity-storage-item.selected {
    border-color: var(--primary, #0d6efd);
    background: rgba(248, 250, 252, .72);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .14);
}
.activity-storage-check {
    position: absolute;
    top: .45rem;
    right: .45rem;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: transparent;
    display: grid;
    place-items: center;
}
.activity-storage-item.selected .activity-storage-check {
    background: var(--primary, #0d6efd);
    color: #fff;
    border-color: var(--primary, #0d6efd);
}
.activity-storage-img {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: .5rem;
    font-size: 2rem;
}
.activity-storage-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.activity-storage-img i {
    font-size: 2rem;
    color: var(--primary, #0d6efd);
}
.activity-storage-name {
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
    min-height: 2.2em;
    margin: 0;
    color: var(--text-dark);
    white-space: normal;
}
.activity-storage-time {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: .25rem;
}
.activity-storage-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 1.5rem;
}
.activity-storage-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: .5rem;
}
[data-bs-theme="dark"] .activity-storage-section {
    background: #151a22;
    border-color: rgba(255, 255, 255, .12);
    color: #edf2f7;
}
[data-bs-theme="dark"] .activity-storage-title,
[data-bs-theme="dark"] .activity-storage-item,
[data-bs-theme="dark"] .activity-storage-name {
    color: #edf2f7;
}
[data-bs-theme="dark"] .activity-storage-btn,
[data-bs-theme="dark"] .activity-storage-check {
    background: rgba(15, 23, 42, .55);
    border-color: rgba(255, 255, 255, .14);
    color: #edf2f7;
}
[data-bs-theme="dark"] .activity-storage-item,
[data-bs-theme="dark"] .activity-storage-item.selected {
    background: rgba(96, 165, 250, .08);
    border-color: rgba(255, 255, 255, .12);
}
[data-bs-theme="dark"] .activity-storage-time,
[data-bs-theme="dark"] .activity-storage-empty {
    color: #aeb8c6;
}
@media (max-width: 680px) {
    .activity-storage-section {
        border-radius: 10px;
        padding: 1rem;
    }
    .activity-storage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }
}
