
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@media (max-width: 768px) {
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.1s !important;
        animation-delay: 0s !important;
    }
    
    
    .skeleton-item, .skeleton-avatar, .skeleton-line,
    .loading, .updated, .recap-container,
    .activity-item, .leaderboard-item, .invitation-item {
        animation: none !important;
    }
    
    
    .leaderboard-button, .missing-ids-button,
    .activity-item, .leaderboard-item {
        transition: background-color 0.1s ease !important;
    }
}


body {
    font-family: Georgia, 'Times New Roman', serif;
    background-color: #f5f5dc;
    color: #333333;
    line-height: 1.4;
    font-size: 14px;
}

.recap-container {
    max-width: 1200px;
    margin: 20px auto;
    background-color: #ffffff;
    border: 3px solid #000000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #8B4513;
}

.left-section, .center-section, .right-section {
    flex: 1;
}

.center-section {
    display: flex;
    justify-content: center;
}


.leaderboard-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f5f5dc;
    color: #8B4513;
    text-decoration: none;
    border: 2px solid #8B4513;
    border-radius: 0;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.5),
        0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}


.leaderboard-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(139, 69, 19, 0.1) 1px,
        rgba(139, 69, 19, 0.1) 2px
    );
    pointer-events: none;
}

.leaderboard-button:hover {
    background: #8B4513;
    color: #f5f5dc;
    transform: translateY(-1px);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 3px 6px rgba(0,0,0,0.3);
}

.leaderboard-button:active {
    transform: translateY(0);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.2),
        0 1px 2px rgba(0,0,0,0.2);
}

.button-icon {
    font-size: 16px;
    filter: sepia(1) hue-rotate(20deg);
}


.leaderboard-button:hover .button-icon {
    filter: sepia(0) brightness(1.2);
}


.date-section {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #8B4513;
}

.calendar-icon {
    font-size: 16px;
}


.recap-header {
    background-color: #f8f8f8;
    border-bottom: 2px solid #000000;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.title-container h1 {
    font-size: 1.8em;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.subtitle {
    font-family: 'Times New Roman', serif;
    font-size: 14px;
    font-style: italic;
    color: #8B4513;
    letter-spacing: 0.3px;
    opacity: 0.85;
    font-weight: 400;
    margin-top: 1px;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.1);
    line-height: 1.2;
}



.date {
    font-size: 0.9em;
    color: #666666;
    font-weight: 600;
}

.date i {
    margin-right: 8px;
    color: #8b4513;
}


.recap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 20px;
}

.section {
    border: 2px solid #000000;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.section-header {
    background-color: #f0f0f0;
    border-bottom: 1px solid #000000;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 1em;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header i {
    color: #8b4513;
    font-size: 0.9em;
}

.count-badge {
    background-color: #8b4513;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 700;
}

.activity-list {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
    border-bottom: none;
}


.activity-avatars {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 80px;
}

.activity-avatars .avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333333;
    filter: none !important;
    display: block !important;
    background-color: #f0f0f0;
}

.activity-arrow {
    display: inline-block;
    width: 12px;
    height: 2px;
    background-color: #3FC380;
    position: relative;
    margin: 0 6px;
    flex-shrink: 0;
}

.activity-arrow::before,
.activity-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    width: 6px;
    height: 2px;
    background-color: #3FC380;
}

.activity-arrow::before {
    transform: rotate(45deg);
    top: -2px;
}

.activity-arrow::after {
    transform: rotate(-45deg);
    bottom: -2px;
}

.activity-item[data-type="vouch"] .activity-arrow,
.activity-item[data-type="vouch"] .activity-arrow::before,
.activity-item[data-type="vouch"] .activity-arrow::after {
    background-color: #4A90E2;
}

.activity-item[data-type="review"] .activity-arrow,
.activity-item[data-type="review"] .activity-arrow::before,
.activity-item[data-type="review"] .activity-arrow::after {
    background-color: #3FC380;
}

.activity-content {
    flex: 1;
    min-width: 0;
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 2px;
}

.activity-main {
    flex: 1;
    font-size: 1.0em !important;
    line-height: 1.4;
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.activity-header .author,
.activity-header .subject {
    font-weight: 700;
    color: #000000;
    font-size: 1.0em !important;
}

.activity-time-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.activity-time {
    font-size: 0.9em !important;
    color: #8b4513;
    font-weight: 600;
    white-space: nowrap;
}

.review-type-inline {
    font-weight: 700;
    font-size: 0.8em !important;
    white-space: nowrap;
}

.review-type-inline.positive {
    color: #4caf50 !important;
}

.review-type-inline.negative {
    color: #f44336 !important;
}

.review-type-inline.neutral {
    color: #ff9800 !important;
}

.activity-details {
    font-size: 0.9em !important;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.activity-details .review-type {
    display: none;
}

.activity-header .amount,
.activity-details .amount {
    color: #b21ce3 !important;
    font-weight: 700;
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95em !important;
}

.action[data-action="vouched"] {
    color: #4A90E2;
    font-weight: 700;
}

.action[data-action="reviewed"] {
    color: #3FC380;
    font-weight: 700;
}

.review-type {
    font-size: 0.8em !important;
    font-weight: 600;
    margin-top: 2px;
}

.review-type.positive {
    color: #3FC380;
}

.review-type.negative {
    color: #e74c3c;
}

.review-type.neutral {
    color: #666666;
}


.leaderboard-list {
    padding: 15px;              
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;                   
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 12px;                   
    padding: 10px 12px;          
    border-radius: 8px;          
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.leaderboard-item:hover {
    background-color: #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.leaderboard-item .avatar {
    width: 34px !important;      
    height: 34px !important;     
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333333;
    background-color: #f0f0f0;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 700;
    color: #000000;
    font-size: 0.95em !important;   
    text-transform: capitalize !important;
    margin-bottom: 3px;             
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.15;             
}

.user-score {
    font-size: 0.85em !important;   
    color: #8b4513;
    font-weight: 600;
}

.leaderboard-item .rank {
    font-size: 0 !important;
    font-weight: 900;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 28px;                
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaderboard-item .rank::after {
    font-size: 1.3rem !important;   
    font-weight: 900 !important;    
    color: inherit;
    opacity: 1 !important;          
}

.leaderboard-item.gold .rank::after {
    content: "1";
    color: #ffd700;
}

.leaderboard-item.silver .rank::after {
    content: "2";
    color: #c0c0c0;
}

.leaderboard-item.bronze .rank::after {
    content: "3";
    color: #cd7f32;
}

.leaderboard-item.rank-4 .rank::after {
    content: "4";
    color: #000000;                  
}

.leaderboard-item.rank-5 .rank::after {
    content: "5";
    color: #000000;                  
}


.leaderboard-item.gold .rank,
.leaderboard-item.silver .rank,
.leaderboard-item.bronze .rank,
.leaderboard-item.rank-4 .rank,
.leaderboard-item.rank-5 .rank {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}


.invitation-list {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invitation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.invitation-item:hover {
    background-color: #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.invitation-item .avatar {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333333;
    background-color: #f0f0f0;
}

.invitation-item .user-info {
    flex: 1;
}

.invitation-item .user-name {
    font-weight: 700;
    color: #000000;
    font-size: 0.95em !important;
    text-transform: capitalize !important;
    margin-bottom: 3px;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.15;
}

.invitation-item .user-score {
    font-size: 0.85em !important;
    color: #8b4513;
    font-weight: 600;
}

.invitation-count {
    background-color: #ff9800;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 700;
    flex-shrink: 0;
}


.activity-item.clickable {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.activity-item.clickable:hover {
    background-color: #f8f9fa;
}


.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.activity-time {
    margin-left: auto;
    flex-shrink: 0;
}


.activity-item::after,
.activity-item::before {
    display: none !important;
}


.activity-time-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.review-type-inline {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.review-type-inline.positive {
    background-color: #d4edda;
    color: #155724;
}

.review-type-inline.negative {
    background-color: #f8d7da;
    color: #721c24;
}

.review-type-inline.neutral {
    background-color: #e2e3e5;
    color: #495057;
}


.loading, .empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: #999999;
    font-style: italic;
    text-align: center;
}

.error-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: #e74c3c;
    font-style: italic;
    text-align: center;
}

.header-logo {
    height: 40px;
    width: auto;
    margin-left: 1px;
    vertical-align: top;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    transform: translateY(-12px);
}

.header-logo:hover {
    transform: scale(1.1);
}

.skeleton-item {
    animation: skeleton-loading 1.5s ease-in-out infinite alternate;
    pointer-events: none;
}

.skeleton-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-text {
    flex: 1;
    padding-left: 12px;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-name { width: 70%; }
.skeleton-score { width: 50%; }
.skeleton-activity { width: 90%; }
.skeleton-time { width: 30%; }

.skeleton-avatars {
    display: flex;
    gap: 8px;
    align-items: center;
}

@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes skeleton-loading {
    0% { opacity: 1; }
    100% { opacity: 0.7; }
}


@keyframes updateGlow {
    0% { box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 123, 255, 0.8); }
    100% { box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); }
}

.updated {
    animation: updateGlow 1s ease-in-out;
}


.loading {
    opacity: 0.6;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}


@media (max-width: 768px) {
    .header-logo {
        height: 30px;
        margin-left: 10px;
    }
}


@media (max-width: 1200px) {
    .recap-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .section {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .recap-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .section {
        min-height: 350px;
    }
    
    .recap-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section-header {
        padding: 10px 15px;
    }
    
    .activity-item {
        padding: 12px;
    }
    
    .activity-avatars .avatar {
        width: 28px !important;
        height: 28px !important;
    }
    
    .leaderboard-item .avatar {
        width: 28px !important;
        height: 28px !important;
    }
    
    .invitation-item .avatar {
        width: 28px !important;
        height: 28px !important;
    }
}


.recap-container {
    animation: gentleFlip 0.6s ease-out;
}

@keyframes gentleFlip {
    0% {
        transform: rotateY(30deg) translateX(20px);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg) translateX(0);
        opacity: 1;
    }
}


.leaderboard-button {
    transition: all 0.2s ease;
    position: relative;
}

.leaderboard-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.leaderboard-button:hover::before {
    transform: translateX(100%);
}

.leaderboard-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.3);
}

.leaderboard-button:active {
    transform: scale(0.95);
}


@media (max-width: 768px) {
    .header-logo {
        height: 30px; 
        transform: translateY(-8px); 
    }
    
    .title-container h1 {
        font-size: 1.4em; 
        align-items: flex-start; 
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    
    .header-logo {
        height: 25px;
        transform: translateY(-4px);
        margin-left: 0;
    }
}

.right-section {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}


.missing-ids-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f5f5dc;
    color: #8B4513;
    border: 2px solid #8B4513;
    border-radius: 0;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.5),
        0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden; 
    height: auto;
    text-decoration: none;
}


.missing-ids-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(139, 69, 19, 0.1) 1px,
        rgba(139, 69, 19, 0.1) 2px
    );
    pointer-events: none;
    z-index: 1;
}


.missing-ids-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 65, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: 2;
}


.missing-ids-button:hover::after {
    transform: translateX(100%);
}


.missing-ids-button:hover {
    background: #8B4513;
    color: #f5f5dc;
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.3); 
}


.missing-ids-button:active {
    transform: scale(0.95); 
}


.missing-ids-button .button-icon {
    font-size: 16px;
    filter: sepia(1) hue-rotate(20deg);
    position: relative;
    z-index: 3; 
}

.missing-ids-button:hover .button-icon {
    filter: sepia(0) brightness(1.2);
}


.missing-ids-button span {
    position: relative;
    z-index: 3; 
}



.missing-ids-button span {
    position: relative;
    z-index: 2;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 0;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 2px solid #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-family: 'Times New Roman', serif;
    font-size: 1.3em;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #8B4513;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: #ff4444;
    color: #fff;
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}


.simple-missing-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #000;
    background: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.9em;
}

.simple-missing-table th {
    background: #f8f9fa;
    border: 1px solid #000;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}

.simple-missing-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    vertical-align: middle;
    background: #fff;
}

.simple-missing-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.simple-missing-table tbody tr:hover {
    background: #f0f8ff;
    transition: background-color 0.2s ease;
}

.simple-user-cell {
    min-width: 250px;
}

.simple-user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.simple-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    background: #f0f0f0;
    flex-shrink: 0;
}
.simple-user-avatar[src=""], 
.simple-user-avatar:not([src]) {
    background: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: bold;
    font-size: 16px;
}


.simple-user-avatar::before {
    content: attr(alt);
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    line-height: 36px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
}

.simple-user-info {
    flex: 1;
}

.simple-user-name {
    font-weight: bold;
    color: #000;
    font-size: 1em;
    margin-bottom: 2px;
}

.simple-action-cell {
    text-align: center;
    width: 80px;
}


.simple-x-profile-link {
    background: #f5f5dc;
    border: 2px solid #1DA1F2;
    color: #1DA1F2;
    padding: 8px 16px;
    border-radius: 0;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 36px;
    font-family: 'Times New Roman', serif;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.5),
        0 1px 2px rgba(0,0,0,0.2);
    vertical-align: middle;
    line-height: 1;
    white-space: nowrap;
}

.simple-x-profile-link:hover {
    background: #1DA1F2;
    color: #f5f5dc;
    transform: translateY(-1px);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.3);
}

.simple-x-profile-link:active {
    transform: translateY(0);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.2),
        0 1px 2px rgba(0,0,0,0.2);
}


.simple-missing-alert {
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}


.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.error-state {
    text-align: center;
    padding: 40px;
    color: #ff4444;
    font-weight: bold;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-state i {
    display: block;
    margin-bottom: 15px;
}


@media (max-width: 768px) {
    .right-section {
        flex-direction: column;
        gap: 5px;
    }
    
    .missing-ids-button {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .modal-content {
        max-width: 95%;
        width: 95%;
    }
    
    .simple-missing-table {
        font-size: 0.8em;
    }
    
    .simple-user-avatar {
        width: 32px;
        height: 32px;
    }
    
    .simple-x-profile-link {
        width: 32px;
        height: 32px;
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .recap-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .logo-container {
        width: 100%;
        order: 1;
    }
    
    .center-section {
        width: 100%;
        order: 2;
        display: flex;
        justify-content: center;
    }
    
    .right-section {
        width: 100%;
        order: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    
    .missing-ids-button {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 14px;
        text-align: center;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    
    .leaderboard-button {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 14px;
        text-align: center;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
   
    .date {
        font-size: 12px;
        padding: 8px 16px;
        margin-top: 5px;
    }
    
  
    .missing-ids-button .button-icon,
    .leaderboard-button .button-icon {
        font-size: 16px;
    }
    
    
    .missing-ids-button span,
    .leaderboard-button span {
        font-size: 14px;
        font-weight: bold;
        letter-spacing: 0.5px;
    }
}


@media (max-width: 480px) {
    .missing-ids-button,
    .leaderboard-button {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 42px;
        max-width: 280px;
    }
    
    .missing-ids-button .button-icon,
    .leaderboard-button .button-icon {
        font-size: 14px;
    }
    
    .missing-ids-button span,
    .leaderboard-button span {
        font-size: 13px;
    }
    
    .date {
        font-size: 11px;
        padding: 6px 12px;
    }
}


@media (max-width: 1024px) and (min-width: 769px) {
    .recap-header {
        padding: 20px;
    }
    
    .missing-ids-button,
    .leaderboard-button {
        padding: 10px 18px;
        font-size: 13px;
        min-height: 40px;
    }
    
    .missing-ids-button .button-icon,
    .leaderboard-button .button-icon {
        font-size: 15px;
    }
}


.dashboard-card {
    transition: all 0.3s ease;
    position: relative;
}

.dashboard-card:hover {
    background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff);
    background-size: 300% 300%;
    animation: retro-wave 4s ease infinite;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes retro-wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.activity-item, 
.leaderboard-item, 
.gigachad-item,
.invitation-item,
.section .activity-list > div,
.section .leaderboard-list > div,
.section .invitation-list > div,
.activity-list .activity-item,
.leaderboard-list .leaderboard-item,
.invitation-list .invitation-item {
    transition: all 0.3s ease;
    padding: 12px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
    background-color: #f8f8f8 !important;
    border: 1px solid #e0e0e0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 60px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}



.section[data-section="vouches"] .activity-item,
.section:has([data-section="vouches"]) .activity-item,
.activity-item:has(.eth-amount) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 60px !important;
    max-height: 60px !important;
    padding: 12px !important;
}


.vouch-amount {
    font-size: 12px !important;
    color: #4A90E2 !important;  
    font-weight: bold !important;
    text-align: right !important;
   padding-right: 0 !important;  
}




.activity-item .vouch-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
}

.activity-item .vouch-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 1 !important;
}

.activity-item .vouch-main {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.activity-item .vouch-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    color: #666 !important;
}




.activity-item:hover,
.leaderboard-item:hover,
.gigachad-item:hover,
.invitation-item:hover,
.section .activity-list > div:hover,
.section .leaderboard-list > div:hover,
.section .invitation-list > div:hover,
.activity-list .activity-item:hover,
.leaderboard-list .leaderboard-item:hover,
.invitation-list .invitation-item:hover {
    background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc6 50%, #f5f1e8 100%) !important;
    border: 1px solid #d4af37 !important;
    box-shadow: 
        0 4px 8px rgba(139, 69, 19, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(212, 175, 55, 0.3) !important;
    animation: vintage-highlight 3s ease-in-out infinite;
    transform: translateY(-1px) !important;
}



.avatar {
    transition: all 0.3s ease;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.activity-item:hover .avatar, 
.leaderboard-item:hover .avatar, 
.gigachad-item:hover .avatar,
.invitation-item:hover .avatar,
.section .activity-list > div:hover .avatar,
.section .leaderboard-list > div:hover .avatar,
.section .invitation-list > div:hover .avatar {
    animation: vintage-avatar 2s ease-in-out infinite;
    border: 2px solid #d4af37 !important;
    box-shadow: 
        0 0 0 3px rgba(212, 175, 55, 0.2),
        0 2px 4px rgba(139, 69, 19, 0.3) !important;
    filter: sepia(0.2) contrast(1.1) brightness(1.05) !important;
}

.activity-item:hover,
.leaderboard-item:hover,
.invitation-item:hover {
    background: #f0f0f0 !important;
    border: 1px solid #d4af37 !important;
    transform: translateY(-1px) !important;
   
}


.activity-item:hover .username,
.leaderboard-item:hover .username,
.gigachad-item:hover .username,
.invitation-item:hover .username {
    color: #8b4513 !important;
    text-shadow: 1px 1px 2px rgba(212, 175, 55, 0.3) !important;
    font-weight: bold !important;
}

.activity-item:hover .timestamp,
.leaderboard-item:hover .timestamp,
.gigachad-item:hover .timestamp,
.invitation-item:hover .timestamp {
    color: #a0522d !important;
    text-shadow: 0.5px 0.5px 1px rgba(212, 175, 55, 0.2) !important;
}


.activity-item .username,
.leaderboard-item .username,
.gigachad-item .username,
.invitation-item .username {
    font-weight: bold !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.activity-item .timestamp,
.leaderboard-item .timestamp,
.gigachad-item .timestamp,
.invitation-item .timestamp {
    font-size: 12px !important;
    color: #666 !important;
}


.date-ranking-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 5px;
    min-width: 200px; 
}

.date {
    font-size: 0.9em;
    color: #666666;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Georgia, 'Times New Roman', serif;
}

.date i {
    color: #8b4513;
}

.ranking-system-container {
    position: relative;
    display: inline-block;
    align-self: flex-end;
}

.ranking-system-text {
    font-size: 12px; 
    color: #666666;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: Georgia, 'Times New Roman', serif;
    white-space: nowrap; 
}

.ranking-system-text:hover {
    color: #8b4513;
    transform: translateY(-1px);
}

.ranking-system-text i {
    color: #8b4513;
    font-size: 0.8em;
}

.ranking-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 3px solid #000000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    font-family: Georgia, 'Times New Roman', serif;
    margin-top: 8px;
}

.ranking-system-container:hover .ranking-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-header {
    background-color: #f8f8f8;
    border-bottom: 2px solid #000000;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tooltip-header i {
    color: #8b4513;
    font-size: 0.9em;
}

.tooltip-content {
    padding: 15px;
    background-color: #ffffff;
}

.tooltip-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85em;
    position: relative;
}

.tooltip-line:last-child {
    border-bottom: none;
}

.tooltip-line:first-child .points-value {
    color: #8b4513;
    font-weight: 900;
    position: relative;
}

.action-type {
    color: #333333;
    font-weight: 600;
    font-family: Georgia, 'Times New Roman', serif;
}

.points-value {
    color: #8b4513;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', serif;
}

.tooltip-footer {
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    padding: 10px 15px;
    text-align: center;
    font-size: 0.8em;
    color: #8b4513;
    font-style: italic;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tooltip-footer i {
    color: #8b4513;
    font-size: 0.8em;
}


.ranking-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #000000;
}

.ranking-tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 22px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
}


@media (max-width: 768px) {
    .date-ranking-container {
        align-items: center;
        min-width: auto;
    }
    
    .ranking-tooltip {
        right: -50px;
        min-width: 250px;
    }
}


@media (max-width: 768px) {
    .date-ranking-container {
        align-items: center !important; 
        min-width: auto !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .ranking-system-container {
        align-self: center !important; 
    }
    
    .ranking-system-text {
        justify-content: center !important; 
        white-space: normal !important; 
    }
    
    .date {
        justify-content: center !important;
        text-align: center !important;
    }
    
   
    .ranking-tooltip {
        right: 50% !important;
        transform: translateX(50%) translateY(-10px) !important;
        min-width: 250px !important;
    }
    
    .ranking-system-container:hover .ranking-tooltip {
        transform: translateX(50%) translateY(0) !important;
    }
}
