/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-qgsvw684bo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-qgsvw684bo] {
    flex: 1;
}

.sidebar[b-qgsvw684bo] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-qgsvw684bo] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-qgsvw684bo]  a, .top-row[b-qgsvw684bo]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-qgsvw684bo]  a:hover, .top-row[b-qgsvw684bo]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-qgsvw684bo]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-qgsvw684bo] {
        justify-content: space-between;
    }

    .top-row[b-qgsvw684bo]  a, .top-row[b-qgsvw684bo]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-qgsvw684bo] {
        flex-direction: row;
    }

    .sidebar[b-qgsvw684bo] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-qgsvw684bo] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-qgsvw684bo]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-qgsvw684bo], article[b-qgsvw684bo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-qgsvw684bo] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-qgsvw684bo] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-g8o6n169oq] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-g8o6n169oq] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-g8o6n169oq] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-g8o6n169oq] {
    font-size: 1.1rem;
}

.bi[b-g8o6n169oq] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-g8o6n169oq] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-g8o6n169oq] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-g8o6n169oq] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-g8o6n169oq] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-g8o6n169oq] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-g8o6n169oq] {
        padding-bottom: 1rem;
    }

    .nav-item[b-g8o6n169oq]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-g8o6n169oq]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-g8o6n169oq]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-g8o6n169oq] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-g8o6n169oq] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-g8o6n169oq] {
        display: none;
    }

    .nav-scrollable[b-g8o6n169oq] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-pphnjiao61],
.components-reconnect-repeated-attempt-visible[b-pphnjiao61],
.components-reconnect-failed-visible[b-pphnjiao61],
.components-pause-visible[b-pphnjiao61],
.components-resume-failed-visible[b-pphnjiao61],
.components-rejoining-animation[b-pphnjiao61] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-pphnjiao61],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-pphnjiao61],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-pphnjiao61],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-pphnjiao61],
#components-reconnect-modal.components-reconnect-retrying[b-pphnjiao61],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-pphnjiao61],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-pphnjiao61],
#components-reconnect-modal.components-reconnect-failed[b-pphnjiao61],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-pphnjiao61] {
    display: block;
}


#components-reconnect-modal[b-pphnjiao61] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-pphnjiao61 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-pphnjiao61 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-pphnjiao61 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-pphnjiao61]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-pphnjiao61 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-pphnjiao61 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-pphnjiao61 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-pphnjiao61 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-pphnjiao61] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-pphnjiao61] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-pphnjiao61] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-pphnjiao61] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-pphnjiao61] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-pphnjiao61] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-pphnjiao61] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-pphnjiao61 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-pphnjiao61] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-pphnjiao61 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Counter.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════════════
   COUNTER PAGE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

.win-toss[b-iv5kbw3v3o] {
    background-color: #d1fae5;
    color: #065f46;
}

.lost-toss[b-iv5kbw3v3o] {
    background-color: #fee2e2;
    color: #991b1b;
}

.lifetime-stats[b-iv5kbw3v3o] {
    border-left: 4px solid #3b82f6;
}

.lifetime-stats h4[b-iv5kbw3v3o] {
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.lifetime-stats p[b-iv5kbw3v3o] {
    margin-bottom: 0.25rem;
}

/* Responsive table for mobile */
@media (max-width: 500px) {
    .table[b-iv5kbw3v3o] {
        font-size: 0.85rem;
    }
    
    .table th[b-iv5kbw3v3o],
    .table td[b-iv5kbw3v3o] {
        padding: 0.4rem;
    }
}
/* /Components/Pages/CountryCompare.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════════════
   COUNTRY COMPARE - RESPONSIVE LAYOUT
   Designed to fit on iPhone SE (375x667) and all larger screens
   ═══════════════════════════════════════════════════════════════════════════ */

.game-container[b-8b6yc0bnch] {
    max-width: 600px;
    margin: 0 auto;
    padding: 0.5rem;
    text-align: center;
}

.game-title[b-8b6yc0bnch] {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.score-display[b-8b6yc0bnch] {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.score[b-8b6yc0bnch] {
    font-weight: bold;
}

.streak[b-8b6yc0bnch] {
    color: #f59e0b;
}

.best-streak[b-8b6yc0bnch] {
    color: #8b5cf6;
}

.question-text[b-8b6yc0bnch] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    min-height: 2em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPARISON CARDS - Side by side, fits on small screens
   ═══════════════════════════════════════════════════════════════════════════ */

.comparison-container[b-8b6yc0bnch] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin: 0.5rem 0;
}

.comparison-card[b-8b6yc0bnch] {
    flex: 1;
    max-width: 150px;
    min-width: 110px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.comparison-card.clickable[b-8b6yc0bnch] {
    cursor: pointer;
}

.comparison-card.clickable:hover[b-8b6yc0bnch] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.comparison-card.correct-answer[b-8b6yc0bnch] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 0 3px #34d399;
}

.comparison-card.wrong-answer[b-8b6yc0bnch] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 0 0 3px #f87171;
}

.country-flag[b-8b6yc0bnch] {
    font-size: 2rem;
    line-height: 1;
}

.country-name[b-8b6yc0bnch] {
    font-size: 0.75rem;
    opacity: 0.95;
    margin-top: 0.25rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.value-reveal[b-8b6yc0bnch] {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 0.5rem;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.vs-badge[b-8b6yc0bnch] {
    font-weight: bold;
    font-size: 1rem;
    color: #6b7280;
    padding: 0 0.25rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESULT AND CONTROLS
   ═══════════════════════════════════════════════════════════════════════════ */

.result-message[b-8b6yc0bnch] {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-radius: 6px;
}

.result-message.correct[b-8b6yc0bnch] {
    background: #d1fae5;
    color: #065f46;
}

.result-message.wrong[b-8b6yc0bnch] {
    background: #fee2e2;
    color: #991b1b;
}

.next-btn[b-8b6yc0bnch] {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    margin: 0.25rem 0;
}

.controls[b-8b6yc0bnch] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
}

.controls .btn[b-8b6yc0bnch] {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

.controls .btn .badge[b-8b6yc0bnch] {
    font-size: 0.6rem;
    padding: 0.1rem 0.25rem;
}

.lifetime-stats[b-8b6yc0bnch] {
    font-size: 0.8rem;
    color: #6b7280;
}

.alert[b-8b6yc0bnch] {
    margin: 1rem 0;
    padding: 0.75rem;
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE-SPECIFIC ADJUSTMENTS (iPhone SE: 375x667)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 400px) {
    .game-container[b-8b6yc0bnch] {
        padding: 0.25rem;
    }
    
    .game-title[b-8b6yc0bnch] {
        font-size: 1.1rem;
    }
    
    .comparison-card[b-8b6yc0bnch] {
        min-width: 95px;
        max-width: 130px;
        padding: 0.5rem 0.25rem;
    }
    
    .country-flag[b-8b6yc0bnch] {
        font-size: 1.75rem;
    }
    
    .country-name[b-8b6yc0bnch] {
        font-size: 0.65rem;
    }
    
    .value-reveal[b-8b6yc0bnch] {
        font-size: 0.7rem;
    }
    
    .question-text[b-8b6yc0bnch] {
        font-size: 0.9rem;
    }
    
    .controls .btn[b-8b6yc0bnch] {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
    
    .controls .btn .badge[b-8b6yc0bnch] {
        font-size: 0.55rem;
    }
}

/* Ensure content doesn't overflow viewport height */
@media (max-height: 700px) {
    .game-title[b-8b6yc0bnch] {
        margin-bottom: 0.25rem;
    }
    
    .score-display[b-8b6yc0bnch] {
        margin-bottom: 0.25rem;
    }
    
    .comparison-container[b-8b6yc0bnch] {
        margin: 0.25rem 0;
    }
    
    .result-message[b-8b6yc0bnch] {
        margin: 0.25rem 0;
        padding: 0.25rem;
    }
    
    .next-btn[b-8b6yc0bnch] {
        padding: 0.4rem 1rem;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════════════
   HOME PAGE - BEAUTIFUL DATA SHOWCASE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero Section */
.hero-section[b-7gt2111kuu] {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

    .hero-section h1[b-7gt2111kuu] {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .hero-section .lead[b-7gt2111kuu] {
        font-size: 1.2rem;
        opacity: 0.95;
        margin-bottom: 1.5rem;
    }

.hero-stats[b-7gt2111kuu] {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-pill[b-7gt2111kuu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.stat-icon[b-7gt2111kuu] {
    font-size: 1.5rem;
}

.stat-value[b-7gt2111kuu] {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label[b-7gt2111kuu] {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Quick Links */
.quick-links[b-7gt2111kuu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-link-card[b-7gt2111kuu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

    .quick-link-card:hover[b-7gt2111kuu] {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-color: #667eea;
        text-decoration: none;
        color: inherit;
    }

.card-icon[b-7gt2111kuu] {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.card-title[b-7gt2111kuu] {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.card-desc[b-7gt2111kuu] {
    font-size: 0.85rem;
    color: #666;
}

/* Data Sections */
.data-section[b-7gt2111kuu] {
    margin-bottom: 3rem;
}

    .data-section h2[b-7gt2111kuu] {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
        color: #333;
    }

.section-desc[b-7gt2111kuu] {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Tables */
.table-container[b-7gt2111kuu] {
    overflow-x: auto;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: white;
    margin-bottom: 1.5rem;
}

.data-table[b-7gt2111kuu] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

    .data-table th[b-7gt2111kuu] {
        background: #f8f9fa;
        padding: 0.875rem 1rem;
        text-align: left;
        font-weight: 600;
        color: #555;
        border-bottom: 2px solid #e9ecef;
        position: sticky;
        top: 0;
    }

    .data-table td[b-7gt2111kuu] {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .data-table tbody tr:hover[b-7gt2111kuu] {
        background: #f8f9ff;
    }

    .data-table .text-end[b-7gt2111kuu] {
        text-align: right;
    }

    .data-table .text-muted[b-7gt2111kuu] {
        color: #888;
        font-size: 0.85em;
    }

.total-row[b-7gt2111kuu] {
    background: #f0f4ff !important;
}

    .total-row td[b-7gt2111kuu] {
        border-top: 2px solid #667eea;
    }

.flag-emoji[b-7gt2111kuu] {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

/* Continent Tabs */
.continent-tabs[b-7gt2111kuu] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.continent-tab[b-7gt2111kuu] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

    .continent-tab:hover[b-7gt2111kuu] {
        border-color: #667eea;
        background: #f8f9ff;
    }

    .continent-tab.active[b-7gt2111kuu] {
        background: #667eea;
        border-color: #667eea;
        color: white;
    }

    .continent-tab .badge[b-7gt2111kuu] {
        background: rgba(0, 0, 0, 0.1);
        padding: 0.2rem 0.5rem;
        border-radius: 1rem;
        font-size: 0.8rem;
    }

    .continent-tab.active .badge[b-7gt2111kuu] {
        background: rgba(255, 255, 255, 0.3);
    }

/* Continent Summary */
.continent-summary[b-7gt2111kuu] {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

    .continent-summary h4[b-7gt2111kuu] {
        margin-bottom: 1rem;
        color: #333;
    }

.summary-grid[b-7gt2111kuu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.summary-item[b-7gt2111kuu] {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.summary-label[b-7gt2111kuu] {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.summary-value[b-7gt2111kuu] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

/* Rankings Grid */
.rankings-grid[b-7gt2111kuu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ranking-card[b-7gt2111kuu] {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .ranking-card h4[b-7gt2111kuu] {
        font-size: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #f0f0f0;
        color: #333;
    }

.ranking-list[b-7gt2111kuu] {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: ranking;
}

    .ranking-list li[b-7gt2111kuu] {
        display: flex;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f5f5f5;
        counter-increment: ranking;
    }

        .ranking-list li:last-child[b-7gt2111kuu] {
            border-bottom: none;
        }

        .ranking-list li[b-7gt2111kuu]::before {
            content: counter(ranking);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.5rem;
            height: 1.5rem;
            background: #f0f0f0;
            border-radius: 50%;
            font-size: 0.75rem;
            font-weight: 600;
            margin-right: 0.75rem;
            color: #666;
        }

        .ranking-list li:nth-child(1)[b-7gt2111kuu]::before {
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            color: #8b6914;
        }

        .ranking-list li:nth-child(2)[b-7gt2111kuu]::before {
            background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
            color: #666;
        }

        .ranking-list li:nth-child(3)[b-7gt2111kuu]::before {
            background: linear-gradient(135deg, #cd7f32, #e8a855);
            color: #5c3a1a;
        }

    .ranking-list .flag-emoji[b-7gt2111kuu] {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

.ranking-value[b-7gt2111kuu] {
    margin-left: auto;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Footer */
.home-footer[b-7gt2111kuu] {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid #e0e0e0;
    margin-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}

    .home-footer p[b-7gt2111kuu] {
        margin-bottom: 0.5rem;
    }

    .home-footer a[b-7gt2111kuu] {
        color: #667eea;
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1[b-7gt2111kuu] {
        font-size: 1.75rem;
    }

    .hero-stats[b-7gt2111kuu] {
        gap: 0.75rem;
    }

    .stat-pill[b-7gt2111kuu] {
        padding: 0.5rem 1rem;
    }

    .stat-value[b-7gt2111kuu] {
        font-size: 1.25rem;
    }

    .data-table[b-7gt2111kuu] {
        font-size: 0.8rem;
    }

        .data-table th[b-7gt2111kuu],
        .data-table td[b-7gt2111kuu] {
            padding: 0.5rem;
        }

    .rankings-grid[b-7gt2111kuu] {
        grid-template-columns: 1fr;
    }

    .continent-tabs[b-7gt2111kuu] {
        justify-content: center;
    }
}

/* Country Table Specific */
.country-table[b-7gt2111kuu] {
    min-width: 900px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .quick-link-card[b-7gt2111kuu],
    .data-table[b-7gt2111kuu],
    .table-container[b-7gt2111kuu],
    .ranking-card[b-7gt2111kuu],
    .summary-item[b-7gt2111kuu] {
        background: #1e1e1e;
        color: #e0e0e0;
    }

        .data-table th[b-7gt2111kuu] {
            background: #2d2d2d;
            color: #ccc;
        }

        .data-table tbody tr:hover[b-7gt2111kuu] {
            background: #2a2a2a;
        }

    .continent-summary[b-7gt2111kuu] {
        background: linear-gradient(135deg, #2d2d2d 0%, #1e1e1e 100%);
    }

    .card-desc[b-7gt2111kuu],
    .summary-label[b-7gt2111kuu],
    .ranking-value[b-7gt2111kuu] {
        color: #999;
    }
}
/* /Components/Pages/StateCompare.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════════════
   STATE COMPARE - RESPONSIVE LAYOUT
   Designed to fit on iPhone SE (375x667) and all larger screens
   ═══════════════════════════════════════════════════════════════════════════ */

.game-container[b-ena1merq8m] {
    max-width: 600px;
    margin: 0 auto;
    padding: 0.5rem;
    text-align: center;
}

.game-title[b-ena1merq8m] {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.score-display[b-ena1merq8m] {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.score[b-ena1merq8m] {
    font-weight: bold;
}

.streak[b-ena1merq8m] {
    color: #f59e0b;
}

.best-streak[b-ena1merq8m] {
    color: #8b5cf6;
}

.question-text[b-ena1merq8m] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    min-height: 2em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPARISON CARDS - Side by side, fits on small screens
   ═══════════════════════════════════════════════════════════════════════════ */

.comparison-container[b-ena1merq8m] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin: 0.5rem 0;
}

.comparison-card[b-ena1merq8m] {
    flex: 1;
    max-width: 140px;
    min-width: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.comparison-card.clickable[b-ena1merq8m] {
    cursor: pointer;
}

.comparison-card.clickable:hover[b-ena1merq8m] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.comparison-card.correct-answer[b-ena1merq8m] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 0 3px #34d399;
}

.comparison-card.wrong-answer[b-ena1merq8m] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 0 0 3px #f87171;
}

.state-abbrev[b-ena1merq8m] {
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1;
}

.state-name[b-ena1merq8m] {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.value-reveal[b-ena1merq8m] {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 0.5rem;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.vs-badge[b-ena1merq8m] {
    font-weight: bold;
    font-size: 1rem;
    color: #6b7280;
    padding: 0 0.25rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESULT AND CONTROLS
   ═══════════════════════════════════════════════════════════════════════════ */

.result-message[b-ena1merq8m] {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-radius: 6px;
}

.result-message.correct[b-ena1merq8m] {
    background: #d1fae5;
    color: #065f46;
}

.result-message.wrong[b-ena1merq8m] {
    background: #fee2e2;
    color: #991b1b;
}

.next-btn[b-ena1merq8m] {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    margin: 0.25rem 0;
}

.controls[b-ena1merq8m] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
}

.controls .btn[b-ena1merq8m] {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.lifetime-stats[b-ena1merq8m] {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE-SPECIFIC ADJUSTMENTS (iPhone SE: 375x667)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 400px) {
    .game-container[b-ena1merq8m] {
        padding: 0.25rem;
    }
    
    .game-title[b-ena1merq8m] {
        font-size: 1.1rem;
    }
    
    .comparison-card[b-ena1merq8m] {
        min-width: 90px;
        max-width: 120px;
        padding: 0.5rem 0.25rem;
    }
    
    .state-abbrev[b-ena1merq8m] {
        font-size: 1.5rem;
    }
    
    .state-name[b-ena1merq8m] {
        font-size: 0.65rem;
    }
    
    .value-reveal[b-ena1merq8m] {
        font-size: 0.7rem;
    }
    
    .question-text[b-ena1merq8m] {
        font-size: 0.9rem;
    }
    
    .controls .btn[b-ena1merq8m] {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Ensure content doesn't overflow viewport height */
@media (max-height: 700px) {
    .game-title[b-ena1merq8m] {
        margin-bottom: 0.25rem;
    }
    
    .score-display[b-ena1merq8m] {
        margin-bottom: 0.25rem;
    }
    
    .comparison-container[b-ena1merq8m] {
        margin: 0.25rem 0;
    }
    
    .result-message[b-ena1merq8m] {
        margin: 0.25rem 0;
        padding: 0.25rem;
    }
    
    .next-btn[b-ena1merq8m] {
        padding: 0.4rem 1rem;
    }
}
