        ::-webkit-scrollbar { width: 8px; height: 8px; }
        ::-webkit-scrollbar-track { background: #cbd5e1; border-radius: 4px; }
        ::-webkit-scrollbar-thumb { background: #0f172a; border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: #1e293b; }
        * { scrollbar-width: thin; scrollbar-color: #0f172a #cbd5e1; }
        .evo-scroll-emerald::-webkit-scrollbar, .evo-scroll-amber::-webkit-scrollbar, .evo-scroll-sky::-webkit-scrollbar, .evo-scroll-violet::-webkit-scrollbar { height: 8px; -webkit-appearance: none; }
        .evo-scroll-emerald::-webkit-scrollbar-track, .evo-scroll-amber::-webkit-scrollbar-track, .evo-scroll-sky::-webkit-scrollbar-track, .evo-scroll-violet::-webkit-scrollbar-track { background: rgba(148,163,184,0.25); border-radius: 4px; }
        .evo-scroll-emerald::-webkit-scrollbar-thumb { background: #10b981; border-radius: 4px; }
        .evo-scroll-amber::-webkit-scrollbar-thumb { background: #f59e0b; border-radius: 4px; }
        .evo-scroll-sky::-webkit-scrollbar-thumb { background: #0ea5e9; border-radius: 4px; }
        .evo-scroll-violet::-webkit-scrollbar-thumb { background: #8b5cf6; border-radius: 4px; }
        .evo-scroll-emerald { scrollbar-color: #10b981 rgba(148,163,184,0.25); scrollbar-width: thin; }
        .evo-scroll-amber { scrollbar-color: #f59e0b rgba(148,163,184,0.25); scrollbar-width: thin; }
        .evo-scroll-sky { scrollbar-color: #0ea5e9 rgba(148,163,184,0.25); scrollbar-width: thin; }
        .evo-scroll-violet { scrollbar-color: #8b5cf6 rgba(148,163,184,0.25); scrollbar-width: thin; }
        .evo-mob-wrap { scrollbar-width: none; -ms-overflow-style: none; }
        .evo-mob-wrap::-webkit-scrollbar { display: none; }
        .evo-mscroll { height: 5px; margin-top: 5px; border-radius: 999px; background: rgba(148,163,184,0.25); position: relative; cursor: pointer; touch-action: none; }
        .evo-mscroll-thumb { position: absolute; top: 0; left: 0; height: 100%; min-width: 14%; border-radius: 999px; }
           body.opacity-0 { 
            opacity: 0 !important; 
            visibility: hidden !important; 
        }        
        svg { max-width: 100%; }
        body { transition: opacity 0.3s ease-in; }
        body { top: 0 !important; }
        .goog-te-banner-frame, #\:1\.container, .skiptranslate { display: none !important; }
        .tag-dlc {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.7rem;
            font-weight: 800;
            color: #848482;
            background-color: #F5F5F5;
            padding: 1px 6px;
            border-radius: 4px;
            margin-left: 6px;
            border: 1px solid #DCDCDC;
        }        
        #comparison-modal .affinity-bar-container {
            width: 100%;
            height: 2.25rem;
            background-color: #f1f5f9;
            border-radius: 0.75rem;
            overflow: hidden;
            position: relative;
            border: 1px solid #e2e8f0;
        }
        #comparison-modal .affinity-bar-fill {
            height: 100%;
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .affinity-low { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
        .affinity-mid { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
        .affinity-high { background: linear-gradient(90deg, #10b981, #34d399); }
        .affinity-soulmate { background: linear-gradient(90deg, #ec4899, #f472b6); }
        .comparison-stat-row {
            display: grid;
            grid-template-columns: 1fr 116px 1fr;
            gap: 0.5rem;
            padding: 0.625rem 0.75rem;
            border-radius: 0.75rem;
            align-items: center;
        }
        .comparison-stat-row:nth-child(odd) { background-color: #f8fafc; }
        .comp-val { font-weight: 600; color: #475569; text-align: center; font-size: 0.875rem; }
        .comp-label { font-size: 0.6875rem; color: #94a3b8; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; text-align: center; }
        .comp-val.highlight { color: #2563eb; font-weight: 800; }
        .common-game-card {
            flex: 0 0 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }
        .common-game-img {
            width: 80px; height: 80px;
            object-fit: cover;
            border-radius: 12px;
            border: 2px solid #e2e8f0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        .common-rating-pill {
            font-size: 0.6rem;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 99px;
            white-space: nowrap;
        }
        .rating-match { background-color: #dcfce7; color: #166534; } 
        .rating-diff { background-color: #f1f5f9; color: #64748b; }        
        .game-card-list {
            display: flex;
            align-items: center;
            background-color: white;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 6px;
            gap: 12px;
            transition: all 0.2s ease;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            height: 100%; 
            min-height: 74px;
            cursor: pointer;
            overflow: hidden;
            position: relative;
            isolation: isolate;
        }
        .game-card-list:hover {
            transform: translateY(-2px); 
            border-color: #3b82f6;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }
        .list-img-container {
            width: 56px;
            height: 56px;
            flex-shrink: 0;
            border-radius: 6px;
            overflow: hidden;
            background-color: #f1f5f9;
        }
        .list-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }        
        .list-info {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 100%;
            min-width: 0;
            overflow: hidden;
            padding-right: 2px;
        }
        .list-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            line-height: 1.3;
            min-height: 24px;
        }
        .list-name-group {
            display: flex;
            align-items: center;
            min-width: 0;
            overflow: hidden;
            padding-right: 8px;
            flex: 1;
        }
        .list-title {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            color: #1e293b;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
            padding-bottom: 1px;
        }
        .list-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.7rem;
            color: #64748b;
            margin-top: 2px;
        }        
        .list-stats { display: none !important; }
        .list-badge {
            margin-left: auto;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 700;
            min-width: 24px;
            text-align: center;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .list-badge-rating { background-color: #F2F3F4; color: #8C92AC; }
        .list-badge-hours { background-color: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }
        .list-badges-right .list-badge { margin-left: 0; }
        .list-trophy-icon { width: 18px; height: 18px; }        
        .list-trophy-inline {
            width: 1.4em;
            height: 1.4em;
            margin-right: 6px;
            display: inline-block;
            flex-shrink: 0;
            vertical-align: sub;
            filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
        }
        .list-platform-top {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.7rem;
            font-weight: 600;
            color: #94a3b8;
            white-space: nowrap;
            flex-shrink: 0;
            margin-left: auto;
            padding-left: 8px;
        }
        .list-details-cells {
            display: flex;
            align-items: center;
            gap: 5px;
            flex-wrap: wrap;
            min-width: 0;
        }
        .list-cell {
            padding: 2px 8px;
            border-radius: 6px;
            font-size: 0.68rem;
            font-weight: 600;
            white-space: nowrap;
            line-height: 1.4;
        }
        .list-cell-rating { background-color: #f0f0f5; color: #8C92AC; }
        @keyframes gameLimitBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
        .list-cell-hours { background-color: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }
        .list-cell-date { background-color: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }
        .list-cell-dlc { background-color: #fef3c7; color: #92400e; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
        .trophy-progress-badge {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            padding: 2px 6px;
            border-radius: 4px;
            background-color: #fef3c7;
            color: #92400e;
            font-size: 0.65rem;
            font-weight: 700;
            white-space: nowrap;
            flex-shrink: 0;
            margin-left: 6px;
            line-height: 1;
            vertical-align: middle;
        }
        .trophy-progress-badge svg {
            width: 0.8em;
            height: 0.8em;
            flex-shrink: 0;
        }
        .trophy-progress-input {
            width: 48px;
            padding: 4px 6px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            text-align: center;
            outline: none;
            transition: border-color 0.2s;
        }
        .trophy-progress-input:focus {
            border-color: #f59e0b;
            box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
        }
        .trophy-progress-input:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        #game-form input[type="text"],
        #game-form input[type="number"],
        #game-form input[type="date"],
        #game-form select,
        #game-form textarea,
        #edit-game-form input[type="text"],
        #edit-game-form input[type="number"],
        #edit-game-form input[type="date"],
        #edit-game-form select,
        #edit-game-form textarea {
            border-radius: 0.75rem;
            border-color: #e5e7eb;
            background-color: rgba(249, 250, 251, 0.8);
            box-shadow: none;
            font-size: 0.8125rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        #game-form select,
        #edit-game-form select {
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }
        #game-form input[type="text"]:focus,
        #game-form input[type="number"]:focus,
        #game-form input[type="date"]:focus,
        #game-form select:focus,
        #game-form textarea:focus,
        #edit-game-form input[type="text"]:focus,
        #edit-game-form input[type="number"]:focus,
        #edit-game-form input[type="date"]:focus,
        #edit-game-form select:focus,
        #edit-game-form textarea:focus {
            border-color: #93c5fd;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
            background-color: #fff;
        }
        #game-form .form-label,
        #edit-game-form .form-label {
            display: block;
            font-size: 10px;
            font-weight: 700;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.375rem;
        }
        .form-checkbar {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            padding: 0.625rem 0.75rem;
            background: rgba(249, 250, 251, 0.8);
            border: 1px solid #f3f4f6;
            border-radius: 0.75rem;
        }
        @media (min-width: 768px) {
            .form-checkbar { gap: 1.5rem; }
        }
        .form-checkbar label {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            cursor: pointer;
            user-select: none;
        }
        .form-checkbar span {
            font-size: 0.6875rem;
            font-weight: 600;
            color: #4b5563;
        }
        .form-section-card {
            background: rgba(249, 250, 251, 0.8);
            border: 1px solid #f3f4f6;
            border-radius: 0.75rem;
            padding: 0.75rem;
        }
        .form-fields-container {
            background: #fff;
            padding: 1rem;
            border-radius: 1rem;
            border: 1px solid #f3f4f6;
        }
        #game-form .form-fields-container textarea#game-review {
            min-height: 100px;
            resize: none;
        }
        .field-error {
            border-color: #f87171 !important;
            box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
            animation: field-shake 0.4s ease;
        }
        @keyframes field-shake {
            0%, 100% { transform: translateX(0); }
            20% { transform: translateX(-4px); }
            40% { transform: translateX(4px); }
            60% { transform: translateX(-3px); }
            80% { transform: translateX(2px); }
        }
        #game-form .grid label.block.text-xs,
        #game-form .items-end label.block.text-xs,
        #game-form > div > label.block.text-xs,
        #edit-game-form .grid label.block.text-xs,
        #edit-game-form > .space-y-4 label.block.text-xs,
        #tab-content-review label.block.text-xs {
            font-size: 10px !important;
            font-weight: 700 !important;
            color: #6b7280 !important;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        @media (max-width: 640px) {
            .game-card-list { min-height: auto; padding: 8px; }
            .list-img-container { width: 48px; height: 48px; }
        }        
        .games-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
            gap: 2px;
            width: 100%;
            padding: 0 2px;
        }
        @media (min-width: 640px) {
            .games-gallery {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }
        .game-card-gallery {
            position: relative;
            aspect-ratio: 3/4;
            overflow: hidden;
            border-radius: 4px;
            cursor: pointer;
            transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            background-color: #1e293b;
            z-index: 1;
        }
        .game-card-gallery img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .game-card-gallery:hover {
            z-index: 10;
            transform: scale(1.15);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7);
            border-radius: 6px;
        }        
        .gallery-info {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            padding: 20px 6px 6px 6px;
            background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
            opacity: 0;
            transition: opacity 0.2s ease;
            pointer-events: none;
            display: flex;
            justify-content: center;
            align-items: flex-end;
        }
        .game-card-gallery:hover .gallery-info { opacity: 1; }
        .gallery-title {
            color: white; font-size: 0.75rem; font-weight: 700;
            text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
            text-shadow: 0 1px 3px black;
        }        
        .timeline-grid-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            pointer-events: none;
            z-index: 0;
        }
        .timeline-month-cell {
            position: relative;
            height: 12px;
            top: -4px;
            border-left: 1px solid #94a3b8;
            display: flex;
            justify-content: center;
        }        
        .timeline-month-cell:last-child {
            border-right: 1px solid #94a3b8; 
        }
        .timeline-month-label-cell {
            position: absolute;
            top: 16px;
            font-size: 0.65rem;
            color: #64748b;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }        
        .calendar-day:hover .cluster-tooltip {
            visibility: visible;
            opacity: 1;
            bottom: 120%;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }
        .calendar-day .cluster-tooltip {
            bottom: 120%;
            z-index: 100;
            min-width: 160px;
            visibility: hidden;
            opacity: 0;
            transition: all 0.2s ease;
            transform: translateX(-50%) translateY(10px);
        }        
        .cal-tooltip::after, .cluster-tooltip::after {
            display: none !important;
            content: none !important;
        }       
        .cal-tooltip, .cluster-tooltip {
            margin-bottom: 2px !important;
        }    
    .progress-viewport { overflow: hidden; width: 100%; }
    .progress-pages-container { 
        display: flex; 
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); 
        width: 200%; 
    }
    .progress-page { width: 50%; flex-shrink: 0; }
    .switch-dot { width: 8px; height: 8px; border-radius: 50%; background-color: #475569; transition: all 0.3s ease; }
    .switch-dot.active { background-color: #3b82f6; width: 24px; border-radius: 4px; }
    .stat-filter-dropdown {
        position: absolute;
        right: 0;
        top: calc(100% + 4px);
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 10px 25px -5px rgba(0,0,0,0.12), 0 4px 10px -2px rgba(0,0,0,0.05);
        z-index: 200;
        min-width: 190px;
        padding: 4px;
        animation: dropdownFadeIn 0.15s ease;
    }
    .stat-filter-dropdown.hidden { display: none; }
    .mob-stat-tab { color: #94a3b8; background: transparent; border-color: transparent; }
    .mob-stat-tab.active { background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border-color: #e2e8f0; }
    #tab-stat-platform.active, #todos-tab-platform.active { color: #2563eb; }
    #tab-stat-rating.active, #todos-tab-rating.active { color: #4f46e5; }
    #tab-stat-hours.active, #todos-tab-hours.active { color: #0284c7; }
    .mob-tab-funnel-btn { display: flex; align-items: center; justify-content: center; color: #94a3b8; background: white; border-color: #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.1); min-width: 28px; }
    .mob-stat-tab.active + .mob-tab-funnel-btn { border-left-color: #f1f5f9; }
    .mob-tab-funnel-btn.has-active-filter { color: #2563eb !important; }
    @keyframes dropdownFadeIn {
        from { opacity: 0; transform: translateY(-6px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .stat-dropdown-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 0.72rem;
        font-weight: 700;
        color: #475569;
        cursor: pointer;
        transition: background 0.15s, color 0.15s;
        white-space: nowrap;
    }
    .stat-dropdown-item:hover { background: #f1f5f9; color: #1e293b; }
    .stat-dropdown-item.active { background: #eff6ff; color: #2563eb; }
    .stat-dropdown-divider { height: 1px; background: #f1f5f9; margin: 2px 4px; }
    .stat-dropdown-section-label {
        font-size: 0.6rem;
        font-weight: 800;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        padding: 4px 10px 1px;
    }
    .btn-stat-filter-toggle.has-active-filter {
        background: #eff6ff !important;
        color: #2563eb !important;
        box-shadow: 0 0 0 1.5px #bfdbfe inset !important;
    }
    .filter-100-pill {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        margin-top: 4px;
        padding: 2px 8px;
        border-radius: 99px;
        font-size: 0.6rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        cursor: pointer;
        border: 1px solid #d1d5db;
        background: #f8fafc;
        color: #94a3b8;
        transition: all 0.2s ease;
        user-select: none;
    }
    .filter-100-pill:hover { border-color: #86efac; background: #f0fdf4; color: #16a34a; }
    .filter-100-pill.active { background: #dcfce7; color: #15803d; border-color: #86efac; }
