        /* ========== 分类概览 ========== */
        .category-overview {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px 24px 0;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 10px;
        }
        .overview-card {
            background: linear-gradient(145deg, #111827, #161e2e);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 14px;
            padding: 14px 16px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        .overview-card:hover {
            border-color: rgba(240,194,127,0.2);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }
        .overview-card.active {
            border-color: rgba(240,194,127,0.4);
            background: linear-gradient(145deg, #1a2332, #1f2a3d);
        }
        .overview-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: var(--cat-color, #f0c27f);
            opacity: 0;
            transition: opacity 0.3s;
        }
        .overview-card.active::before { opacity: 1; }
        .overview-top {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 10px;
        }
        .overview-icon { font-size: 18px; }
        .overview-name { font-size: 13px; font-weight: 600; color: #ccc; }
        .overview-count {
            margin-left: auto;
            font-size: 11px;
            color: #888;
        }
        .overview-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 11px;
        }
        .overview-bottom .ov-stat {
            display: flex;
            gap: 8px;
        }
        .overview-bottom .ov-owned { color: #66bb6a; }
        .overview-bottom .ov-buying { color: #ffa726; }
        .overview-bottom .ov-price { color: #fc5c7d; font-weight: 600; font-size: 12px; }

        /* ========== Toolbar ========== */
        .toolbar {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }
        .btn-add {
            padding: 10px 24px;
            background: linear-gradient(135deg, #f0c27f, #fc5c7d);
            color: #0a0e17;
            border: none;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
        }
        .btn-add:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(252,92,125,0.3); }
        .btn-reset {
            padding: 10px 18px;
            background: rgba(255,255,255,0.05);
            color: #888;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
        }
        .btn-reset:hover { background: rgba(252,92,125,0.15); color: #fc5c7d; border-color: rgba(252,92,125,0.3); }
        .btn-export {
            padding: 10px 18px;
            background: rgba(102,187,106,0.1);
            color: #66bb6a;
            border: 1px solid rgba(102,187,106,0.3);
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
        }
        .btn-export:hover { background: rgba(102,187,106,0.2); }
        .btn-csv {
            padding: 10px 18px;
            background: rgba(240,194,127,0.1);
            color: #f0c27f;
            border: 1px solid rgba(240,194,127,0.3);
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
        }
        .btn-csv:hover { background: rgba(240,194,127,0.2); }
        .btn-import {
            padding: 10px 18px;
            background: rgba(255,152,0,0.1);
            color: #ffa726;
            border: 1px solid rgba(255,152,0,0.3);
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
        }
        .btn-import:hover { background: rgba(255,152,0,0.2); }
        .btn-file {
            padding: 10px 14px;
            background: rgba(102,187,106,0.1);
            color: #81c784;
            border: 1px solid rgba(102,187,106,0.3);
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 4px;
            max-width: 180px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .btn-file:hover { background: rgba(102,187,106,0.2); }
        .btn-file #file-status { font-size: 11px; }
        .btn-backup {
            padding: 10px 18px;
            background: rgba(240,194,127,0.15);
            color: #f0c27f;
            border: 1px solid rgba(240,194,127,0.4);
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
            position: relative;
        }
        .btn-backup:hover { background: rgba(240,194,127,0.25); transform: translateY(-1px); }
        .btn-backup .badge {
            position: absolute; top: -4px; right: -4px;
            background: #fc5c7d; color: #fff;
            font-size: 9px; padding: 2px 5px;
            border-radius: 8px; line-height: 1;
            display: none;
        }
        .btn-backup .badge.show { display: block; animation: pulse 2s infinite; }
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }
        .btn-view-toggle {
            padding: 10px 18px;
            background: rgba(255,255,255,0.05);
            color: #aaa;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .btn-view-toggle:hover { background: rgba(240,194,127,0.1); color: #f0c27f; border-color: rgba(240,194,127,0.3); }
        .btn-view-toggle.active { background: rgba(240,194,127,0.12); color: #f0c27f; border-color: rgba(240,194,127,0.3); }

        .search-box {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            padding: 0 12px;
        }
        .search-box input {
            background: transparent;
            border: none;
            color: #e0e0e0;
            font-size: 13px;
            font-family: inherit;
            padding: 8px 0;
            outline: none;
            width: 160px;
        }
        .search-box input::placeholder { color: #666; }
        .search-box .search-icon { color: #666; font-size: 14px; }
        .sort-select {
            padding: 8px 12px;
            background: rgba(255,255,255,0.05);
            color: #888;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
            font-family: inherit;
            outline: none;
        }
        .sort-select option { background: #141c2b; color: #e0e0e0; }
        .toolbar-right {
            margin-left: auto;
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .filter-section {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,0.04);
        }
        .filter-label { font-size: 12px; color: #666; margin-right: 4px; }
        .filter-group {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .filter-group .filter-title {
            font-size: 11px;
            color: #555;
            margin-right: 4px;
            align-self: center;
        }
        .filter-btn {
            padding: 6px 14px;
            border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.03);
            color: #888;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
        }
        .filter-btn:hover { border-color: rgba(240,194,127,0.3); color: #ccc; }
        .filter-btn.active {
            background: rgba(240,194,127,0.12);
            border-color: rgba(240,194,127,0.4);
            color: #f0c27f;
            font-weight: 600;
        }

        /* ========== Main ========== */
        .main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px 60px;
        }
        .page-section { display: none; position: relative; }
        .page-section.active { display: block; animation: fadeInUp 0.35s ease; }
        .content-bg {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(180deg, rgba(15, 32, 39, 0.4) 0%, rgba(10, 14, 23, 0) 300px);
            pointer-events: none;
            z-index: 0;
        }
        .page-section > *:not(.content-bg) { position: relative; z-index: 1; }

        /* Category Section */
        .category-section { margin-bottom: 36px; }
        .category-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 0;
            margin-bottom: 16px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .cat-icon { font-size: 20px; }
        .cat-name { font-size: 18px; font-weight: 700; color: #fff; }
        .cat-count {
            font-size: 11px;
            background: rgba(240,194,127,0.12);
            color: #f0c27f;
            padding: 2px 10px;
            border-radius: 20px;
            font-weight: 500;
        }
        .cat-price {
            margin-left: auto;
            font-size: 14px;
            color: #fc5c7d;
            font-weight: 600;
        }
        .cat-batch-btn {
            padding: 5px 12px;
            border-radius: 8px;
            border: 1px solid rgba(102,187,106,0.3);
            background: rgba(102,187,106,0.08);
            color: #66bb6a;
            font-size: 11px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
            margin-left: 8px;
        }
        .cat-batch-btn:hover { background: rgba(102,187,106,0.15); }

        /* Gear Grid */
        .gear-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 14px;
        }

        /* Gear Card */
        .gear-card {
            background: linear-gradient(145deg, #111827, #1a2332);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(255,255,255,0.06);
            transition: all 0.3s ease;
            position: relative;
            animation: fadeInUp 0.4s ease;
            overflow: hidden;
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .gear-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.35);
        }
        /* 已购装备 - 绿色系 */
        .gear-card.status-owned {
            border: 1px solid rgba(102,187,106,0.25);
            background: linear-gradient(145deg, #111827 0%, #132019 100%);
        }
        .gear-card.status-owned::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, #66bb6a, #42a5f5);
        }
        .gear-card.status-owned:hover {
            border-color: rgba(102,187,106,0.5);
            box-shadow: 0 10px 30px rgba(102,187,106,0.15), 0 10px 30px rgba(0,0,0,0.35);
        }
        /* 待购装备 - 橙色系 */
        .gear-card.status-buying {
            border: 1px solid rgba(255,167,38,0.25);
            background: linear-gradient(145deg, #111827 0%, #1d1b14 100%);
        }
        .gear-card.status-buying::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ffa726, #fc5c7d);
        }
        .gear-card.status-buying:hover {
            border-color: rgba(255,167,38,0.5);
            box-shadow: 0 10px 30px rgba(255,167,38,0.15), 0 10px 30px rgba(0,0,0,0.35);
        }

        .card-row1 {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        .card-name { font-size: 15px; font-weight: 700; color: #fff; }
        .card-brand { font-size: 11px; color: #f0c27f; margin-top: 2px; }
        .card-actions {
            display: flex;
            gap: 4px;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .gear-card:hover .card-actions { opacity: 1; }
        .card-actions button {
            width: 28px; height: 28px;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.05);
            color: #888;
            font-size: 13px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        .card-actions button:hover { background: rgba(255,255,255,0.1); color: #fff; }
        .card-actions .btn-del:hover { background: rgba(252,92,125,0.2); color: #fc5c7d; }
        .card-actions .btn-copy:hover { background: rgba(66,165,245,0.2); color: #42a5f5; }
        .card-actions .btn-link:hover { background: rgba(102,187,106,0.2); color: #66bb6a; }
        .card-actions .btn-pin.active {
            background: rgba(240,194,127,0.25);
            color: #f0c27f;
            box-shadow: 0 0 0 1px rgba(240,194,127,0.4);
        }
        .card-actions .btn-pin:hover { background: rgba(240,194,127,0.2); color: #f0c27f; }
        .card-actions .price-compare:hover { background: rgba(240,194,127,0.2); color: #f0c27f; }

        .card-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin: 10px 0;
        }
        .meta-tag {
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 10px;
            background: rgba(255,255,255,0.04);
            color: #777;
            border: 1px solid rgba(255,255,255,0.06);
        }
        .meta-tag.purchase-date { color: #ab47bc; }
        .card-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 12px;
            padding-top: 10px;
            border-top: 1px solid rgba(255,255,255,0.06);
        }
        .card-price {
            font-size: 20px;
            font-weight: 800;
            background: linear-gradient(135deg, #fc5c7d, #f0c27f);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .card-price .unit { font-size: 11px; color: #888; font-weight: 400; -webkit-text-fill-color: #888; }
        .status-owned .card-price {
            background: linear-gradient(135deg, #66bb6a, #42a5f5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .status-owned .card-price .unit { -webkit-text-fill-color: #888; }

        .status-toggle {
            padding: 7px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
            font-family: inherit;
            min-height: 32px;
        }
        .status-toggle.owned {
            background: linear-gradient(135deg, rgba(102,187,106,0.25), rgba(66,165,245,0.15));
            color: #66bb6a;
            border: 1px solid rgba(102,187,106,0.4);
            box-shadow: 0 2px 8px rgba(102,187,106,0.15);
        }
        .status-toggle.buying {
            background: linear-gradient(135deg, rgba(255,167,38,0.25), rgba(252,92,125,0.15));
            color: #ffa726;
            border: 1px solid rgba(255,167,38,0.4);
            box-shadow: 0 2px 8px rgba(255,167,38,0.15);
        }
        .status-toggle:hover { transform: scale(1.08); filter: brightness(1.2); }

        /* Checklist View */
        .checklist-view { display: none; }
        .checklist-view.show { display: block; }
        .card-view.hidden { display: none; }

        .checklist-section { margin-bottom: 28px; }
        .checklist-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            margin-bottom: 8px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .checklist-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            border-radius: 10px;
            transition: background 0.2s;
            cursor: pointer;
        }
        .checklist-item:hover { background: rgba(255,255,255,0.03); }
        .checklist-checkbox {
            width: 22px;
            height: 22px;
            border-radius: 6px;
            border: 2px solid rgba(255,255,255,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.2s;
            font-size: 13px;
        }
        .checklist-checkbox.checked {
            background: rgba(76,175,80,0.2);
            border-color: #66bb6a;
            color: #66bb6a;
        }
        .checklist-name {
            font-size: 14px;
            color: #ccc;
            flex: 1;
        }
        .checklist-name.checked {
            text-decoration: line-through;
            color: #555;
        }
        .checklist-info {
            font-size: 11px;
            color: #666;
            display: flex;
            gap: 8px;
        }
        .checklist-price {
            font-size: 13px;
            font-weight: 600;
            color: #fc5c7d;
            min-width: 60px;
            text-align: right;
        }
