/* ===== gamification ===== */

/* ============================================================
   GAMIFICATION DASHBOARD - PREMIUM DESIGN
   ============================================================ */

/* Dashboard Container */
#gamificationDashboard {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 800;
    align-items: center;
    justify-content: center;
    animation: gam-fade-in 0.2s ease-out;
}

#gamificationDashboard.active {
    display: flex;
}

@keyframes gam-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gam-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 95vw;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(88, 166, 255, 0.1),
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(88, 166, 255, 0.05);
    animation: gam-slide-up 0.25s ease-out;
}

@keyframes gam-slide-up {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.gam-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: linear-gradient(90deg, rgba(88, 166, 255, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-bottom: 1px solid var(--border);
}

.gam-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gam-logo {
    font-size: 32px;
    animation: gam-pulse 2s ease-in-out infinite;
}

@keyframes gam-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gam-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--info) 0%, var(--accent) 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gam-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.gam-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.gam-close:hover {
    background: rgba(248, 81, 73, 0.15);
    border-color: rgba(248, 81, 73, 0.3);
    color: var(--danger);
}

/* Body */
.gam-body {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: calc(90vh - 80px);
    overflow: hidden;
}

/* Left Sidebar - Stats */
.gam-sidebar {
    padding: 20px;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
}

/* XP / Level Card */
.gam-level-card {
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.gam-level-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 166, 255, 0.1) 0%, transparent 60%);
    animation: gam-shine 4s linear infinite;
}

@keyframes gam-shine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gam-level-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.gam-level-icon {
    font-size: 40px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.gam-level-info {
    flex: 1;
}

.gam-level-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.gam-level-num {
    font-size: 11px;
    color: var(--info);
    font-weight: 600;
    margin-top: 2px;
}

.gam-xp-display {
    text-align: right;
}

.gam-xp-total {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.gam-xp-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gam-level-progress {
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.gam-progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.gam-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--info) 0%, var(--accent) 50%, #f472b6 100%);
    border-radius: 4px;
    transition: width 0.5s ease-out;
    position: relative;
}

.gam-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: gam-progress-shine 2s ease-in-out infinite;
}

@keyframes gam-progress-shine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.gam-progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 10px;
    color: var(--text-secondary);
}

/* Streak Card */
.gam-streak-card {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(234, 179, 8, 0.15) 100%);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.gam-streak-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.gam-fire {
    font-size: 28px;
    animation: gam-fire 0.5s ease-in-out infinite alternate;
}

.gam-fire.level-1 { animation-duration: 0.4s; }
.gam-fire.level-2 { animation-duration: 0.3s; filter: brightness(1.2); }
.gam-fire.level-3 { animation-duration: 0.2s; filter: brightness(1.4) drop-shadow(0 0 10px #f97316); }

@keyframes gam-fire {
    from { transform: scale(1) rotate(-5deg); }
    to { transform: scale(1.1) rotate(5deg); }
}

.gam-streak-count {
    font-size: 36px;
    font-weight: 800;
    color: var(--warning);
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.gam-streak-label {
    font-size: 11px;
    color: var(--warning);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gam-streak-message {
    font-size: 12px;
    color: var(--text);
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.gam-streak-risk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 10px;
    background: rgba(248, 81, 73, 0.15);
    border: 1px solid rgba(248, 81, 73, 0.3);
    border-radius: 6px;
    font-size: 11px;
    color: var(--danger);
    animation: gam-risk-pulse 1s ease-in-out infinite;
}

@keyframes gam-risk-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Points Today Card */
.gam-today-card {
    background: rgba(63, 185, 80, 0.1);
    border: 1px solid rgba(63, 185, 80, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.gam-today-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.gam-today-label {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.gam-today-points {
    font-size: 28px;
    font-weight: 800;
    color: var(--success);
}

.gam-today-breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gam-today-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.gam-today-item-label {
    color: var(--text-secondary);
}

.gam-today-item-value {
    color: var(--success);
    font-weight: 600;
}

/* ACTION COUNTERS - THE REAL METRICS */
.gam-counters-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.gam-counters-title {
    font-size: 11px;
    font-weight: 700;
    color: #06b6d4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gam-counters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gam-counter {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.gam-counter-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.gam-counter-label {
    font-size: 9px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gam-counter.highlight {
    background: rgba(63, 185, 80, 0.15);
    border: 1px solid rgba(63, 185, 80, 0.3);
}

.gam-counter.highlight .gam-counter-value {
    color: var(--success);
}

.gam-counter.gold {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.gam-counter.gold .gam-counter-value {
    color: var(--warning);
}

.gam-counters-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.gam-counters-tab {
    flex: 1;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.gam-counters-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.gam-counters-tab.active {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.15);
}

/* Multipliers */
.gam-multipliers {
    margin-bottom: 16px;
}

.gam-multipliers-title {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gam-multiplier-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    margin-bottom: 6px;
}

.gam-multiplier-name {
    font-size: 12px;
    color: var(--text);
}

.gam-multiplier-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

/* Main Content Area */
.gam-main {
    padding: 20px;
    overflow-y: auto;
}

/* Section */
.gam-section {
    margin-bottom: 24px;
}

.gam-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gam-section-icon {
    font-size: 16px;
}

/* Objectives Grid */
.gam-objectives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.gam-objective {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    transition: all 0.15s;
}

.gam-objective:hover {
    border-color: rgba(88, 166, 255, 0.3);
    background: var(--bg-card);
}

.gam-objective.completed {
    border-color: rgba(63, 185, 80, 0.4);
    background: rgba(63, 185, 80, 0.05);
}

.gam-objective-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.gam-objective-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.gam-objective-info {
    flex: 1;
}

.gam-objective-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.gam-objective-desc {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.gam-objective-bonus {
    font-size: 10px;
    font-weight: 700;
    color: var(--success);
    background: rgba(63, 185, 80, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
}

.gam-objective-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gam-objective-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    overflow: hidden;
}

.gam-objective-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease-out;
}

.gam-objective-stats {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 60px;
    text-align: right;
}

.gam-objective.completed .gam-objective-fill {
    background: linear-gradient(90deg, var(--success), #10b981) !important;
}

.gam-objective.completed .gam-objective-stats {
    color: var(--success);
}

/* Decay Alerts */
.gam-decay-section {
    border-color: rgba(248, 81, 73, 0.3) !important;
    background: rgba(248, 81, 73, 0.05) !important;
}

.gam-decay-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gam-decay-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid rgba(248, 81, 73, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.gam-decay-item:hover {
    background: rgba(248, 81, 73, 0.1);
    border-color: rgba(248, 81, 73, 0.4);
}

.gam-decay-rating {
    color: var(--warning);
    font-size: 12px;
    white-space: nowrap;
}

.gam-decay-info {
    flex: 1;
    min-width: 0;
}

.gam-decay-name {
    font-weight: 500;
    color: var(--text);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gam-decay-company {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gam-decay-status {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.gam-decay-status.never {
    background: rgba(248, 81, 73, 0.15);
    color: var(--danger);
}

.gam-decay-status.stale {
    background: rgba(210, 153, 34, 0.15);
    color: var(--warning);
}

/* Achievements */
.gam-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.gam-achievement {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gam-achievement:hover {
    transform: translateY(-2px);
    border-color: rgba(88, 166, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gam-achievement.locked {
    opacity: 0.5;
    filter: grayscale(0.8);
}

.gam-achievement.locked:hover {
    opacity: 0.7;
    filter: grayscale(0.5);
}

.gam-achievement.unlocked {
    border-color: rgba(63, 185, 80, 0.4);
}

.gam-achievement.rarity-common { border-color: rgba(139, 148, 158, 0.4); }
.gam-achievement.rarity-rare { border-color: rgba(88, 166, 255, 0.4); }
.gam-achievement.rarity-epic { border-color: rgba(210, 153, 34, 0.5); }
.gam-achievement.rarity-legendary {
    border-color: rgba(251, 191, 36, 0.5);
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.05) 0%, var(--bg-card) 100%);
}

.gam-achievement.rarity-legendary.unlocked::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, 0.1), transparent, rgba(251, 191, 36, 0.1), transparent);
    animation: gam-legendary-spin 4s linear infinite;
}

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

.gam-achievement-icon {
    font-size: 32px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.gam-achievement.unlocked .gam-achievement-icon {
    animation: gam-badge-bounce 0.5s ease-out;
}

@keyframes gam-badge-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.gam-achievement-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.gam-achievement-progress {
    font-size: 9px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.gam-achievement.unlocked .gam-achievement-progress {
    color: var(--success);
}

.gam-achievement-minibar {
    margin-top: 8px;
    height: 3px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.gam-achievement-minibar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease-out;
}

/* Date Navigator */
.gam-date-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.gam-date-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gam-date-btn:hover:not(:disabled) {
    background: rgba(88, 166, 255, 0.15);
    border-color: rgba(88, 166, 255, 0.3);
    color: var(--info);
}

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

.gam-date-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    min-width: 120px;
    text-align: center;
}

/* Tabs for objectives periods */
.gam-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 8px;
}

.gam-tab {
    flex: 1;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.gam-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.gam-tab.active {
    color: var(--text);
    background: rgba(88, 166, 255, 0.15);
}

/* Rules display */
.gam-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 8px;
}

.gam-rule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 11px;
}

.gam-rule-name {
    color: var(--text);
}

.gam-rule-points {
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.gam-rule-points.positive {
    color: var(--success);
    background: rgba(63, 185, 80, 0.15);
}

.gam-rule-points.negative {
    color: var(--danger);
    background: rgba(248, 81, 73, 0.15);
}

/* Notifications Toast */
.gam-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.gam-toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    min-width: 280px;
    max-width: 360px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    animation: gam-toast-in 0.3s ease-out;
    pointer-events: auto;
}

@keyframes gam-toast-in {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gam-toast.removing {
    animation: gam-toast-out 0.3s ease-in forwards;
}

@keyframes gam-toast-out {
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.gam-toast-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.gam-toast-icon {
    font-size: 20px;
}

.gam-toast-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    flex: 1;
}

.gam-toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    padding: 2px;
}

.gam-toast-close:hover {
    color: var(--text);
}

.gam-toast-message {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.gam-toast-bonus {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 4px 10px;
    background: rgba(63, 185, 80, 0.15);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--success);
}

.gam-toast.achievement {
    border-color: rgba(168, 85, 247, 0.4);
}

.gam-toast.level-up {
    border-color: rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, var(--bg-card) 100%);
}

.gam-toast.objective {
    border-color: rgba(63, 185, 80, 0.4);
}

/* Mini widget for header bar */
.gam-mini-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.gam-mini-widget:hover {
    border-color: rgba(88, 166, 255, 0.3);
    background: var(--bg-card);
}

.gam-mini-level {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gam-mini-level-icon {
    font-size: 18px;
}

.gam-mini-level-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}

.gam-mini-xp {
    font-size: 11px;
    color: var(--info);
    font-weight: 600;
}

.gam-mini-streak {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 12px;
    border-left: 1px solid var(--border);
}

.gam-mini-fire {
    font-size: 14px;
}

.gam-mini-streak-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--warning);
}

/* Scrollbar styling */
.gam-sidebar::-webkit-scrollbar,
.gam-main::-webkit-scrollbar {
    width: 6px;
}

.gam-sidebar::-webkit-scrollbar-track,
.gam-main::-webkit-scrollbar-track {
    background: transparent;
}

.gam-sidebar::-webkit-scrollbar-thumb,
.gam-main::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.gam-sidebar::-webkit-scrollbar-thumb:hover,
.gam-main::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Empty state */
.gam-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.gam-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.gam-empty-text {
    font-size: 13px;
}

/* Loading */
.gam-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.gam-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(88, 166, 255, 0.2);
    border-top-color: var(--info);
    border-radius: 50%;
    animation: gam-spin 0.8s linear infinite;
}

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

