/* /Pages/About.cshtml.rz.scp.css */
/* --- About Us Page Styles --- */

/* Main Container */
.about-us-container[b-e61l1vz6p9] {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    color: var(--text-primary);
    line-height: var(--line-height-normal);
}

/* Header */
.about-header[b-e61l1vz6p9] {
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

    .about-header h1[b-e61l1vz6p9] {
        font-size: var(--font-size-3xl);
        font-weight: var(--font-weight-bold);
        letter-spacing: var(--heading-letter-spacing);
        margin-bottom: 0.625rem;
    }

    .about-header .subtitle[b-e61l1vz6p9] {
        font-size: 1.25rem;
        color: #555;
        font-weight: 300;
    }

/* General Content Sections */
.content-section[b-e61l1vz6p9] {
    margin-bottom: 40px;
}

    .content-section h2[b-e61l1vz6p9] {
        font-size: var(--font-size-2xl);
        font-weight: var(--font-weight-semibold);
        letter-spacing: var(--heading-letter-spacing);
        margin-bottom: 1.25rem;
        text-align: center;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.625rem;
    }

    .content-section p[b-e61l1vz6p9] {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

/* Process Steps */
.process-section .process-steps[b-e61l1vz6p9] {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.process-section .step-card[b-e61l1vz6p9] {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.step-card .step-icon[b-e61l1vz6p9] {
    margin-bottom: 15px;
}

.step-card .step-number[b-e61l1vz6p9] {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-card h3[b-e61l1vz6p9] {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Mission Statement Blockquote */
.mission-statement blockquote[b-e61l1vz6p9] {
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    border-left: 5px solid #333;
    background-color: #f9f9f9;
    color: #222;
}

/* Call to Action Button */
.cta-section[b-e61l1vz6p9] {
    text-align: center;
    margin-top: 30px;
}

    .cta-section p[b-e61l1vz6p9] {
        font-size: 1.1rem;
        font-weight: 500;
    }

.cta-button[b-e61l1vz6p9] {
    display: inline-block;
    background-color: #007bff; /* Example blue - change to your site's color */
    color: #ffffff;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

    .cta-button:hover[b-e61l1vz6p9] {
        background-color: #0056b3; /* Darker blue on hover */
        color: #fff;
    }

/* Responsive for mobile */
@media (max-width: 768px) {
    .process-section .process-steps[b-e61l1vz6p9] {
        flex-direction: column;
    }
}
/* /Pages/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand[b-timd94dbjh] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a[b-timd94dbjh] {
  color: #0077cc;
}

.btn-primary[b-timd94dbjh] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active[b-timd94dbjh], .nav-pills .show > .nav-link[b-timd94dbjh] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top[b-timd94dbjh] {
  border-top: 1px solid #e5e5e5;
}
.border-bottom[b-timd94dbjh] {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow[b-timd94dbjh] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-timd94dbjh] {
  font-size: 1rem;
  line-height: inherit;
}

.footer[b-timd94dbjh] {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}
/* /Pages/U/Games/Game.cshtml.rz.scp.css */
/* Scoped CSS for Game Detail page */

/* Player cards */
.player-card .player-row[b-64rvexwqf6] {
    transition: background-color 0.2s ease;
}

.player-card .player-row:hover[b-64rvexwqf6] {
    background-color: rgba(0, 0, 0, 0.02);
}

.winner-highlight[b-64rvexwqf6] {
    background-color: rgba(25, 135, 84, 0.08);
}

.avatar-img[b-64rvexwqf6] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

.avatar-placeholder[b-64rvexwqf6] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.25rem;
    border: 2px solid #dee2e6;
}

.piece-icon[b-64rvexwqf6] {
    font-size: 1.25rem;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Time class badges */
.time-class-badge[b-64rvexwqf6] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-class-bullet[b-64rvexwqf6] {
    background-color: #dc3545;
    color: white;
}

.time-class-blitz[b-64rvexwqf6] {
    background-color: #ffc107;
    color: #212529;
}

.time-class-rapid[b-64rvexwqf6] {
    background-color: #198754;
    color: white;
}

.time-class-daily[b-64rvexwqf6] {
    background-color: #0dcaf0;
    color: #212529;
}

.time-class-unknown[b-64rvexwqf6] {
    background-color: #6c757d;
    color: white;
}

/* ECO badge */
.eco-badge[b-64rvexwqf6] {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.opening-name[b-64rvexwqf6] {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Move list styles */
.move-list-container[b-64rvexwqf6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.85rem;
}

.move-pair[b-64rvexwqf6] {
    white-space: nowrap;
}

.move-number[b-64rvexwqf6] {
    min-width: 2rem;
    text-align: right;
}

.move-item[b-64rvexwqf6] {
    cursor: pointer;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease;
}

.move-item:hover[b-64rvexwqf6] {
    background-color: #e9ecef;
}

.move-item.active[b-64rvexwqf6] {
    background-color: #0d6efd;
    color: white;
}

.move-white[b-64rvexwqf6] {
    min-width: 3.5rem;
}

.move-black[b-64rvexwqf6] {
    min-width: 3.5rem;
}

/* Move counter badge */
.move-counter[b-64rvexwqf6] {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8rem;
}

/* Game navigation buttons */
.btn-outline-primary:disabled[b-64rvexwqf6],
.btn-outline-secondary:disabled[b-64rvexwqf6] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Card styling improvements */
.card-header h6[b-64rvexwqf6] {
    font-weight: 600;
}

.card-header .bi[b-64rvexwqf6] {
    color: #6c757d;
}

/* Actions card buttons */
.d-grid.gap-2 .btn[b-64rvexwqf6] {
    text-align: left;
    display: flex;
    align-items: center;
}

.d-grid.gap-2 .btn i[b-64rvexwqf6] {
    min-width: 1.25rem;
}

/* Flip board and auto-play buttons */
#flipBoardBtn[b-64rvexwqf6],
#autoPlayBtn[b-64rvexwqf6] {
    transition: transform 0.2s ease;
}

#flipBoardBtn:hover:not(:disabled)[b-64rvexwqf6],
#autoPlayBtn:hover:not(:disabled)[b-64rvexwqf6] {
    transform: scale(1.1);
}

#autoPlayBtn.playing[b-64rvexwqf6] {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

/* Rating difference display */
.player-row .text-success[b-64rvexwqf6],
.player-row .text-danger[b-64rvexwqf6] {
    font-weight: 600;
    font-size: 0.75rem;
}

/* Keyboard hint in footer */
.card-footer .bi-keyboard[b-64rvexwqf6] {
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .player-card .player-row[b-64rvexwqf6] {
        padding: 0.75rem !important;
    }

    .avatar-img[b-64rvexwqf6],
    .avatar-placeholder[b-64rvexwqf6] {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .piece-icon[b-64rvexwqf6] {
        font-size: 1rem;
        width: 20px;
    }

    .move-list-container[b-64rvexwqf6] {
        max-height: 200px;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .btn-group .btn[b-64rvexwqf6] {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }

    .badge.fs-6[b-64rvexwqf6] {
        font-size: 0.875rem !important;
    }

    .move-list-container[b-64rvexwqf6] {
        font-size: 0.75rem;
    }

    .move-number[b-64rvexwqf6] {
        min-width: 1.5rem;
    }

    .move-white[b-64rvexwqf6],
    .move-black[b-64rvexwqf6] {
        min-width: 3rem;
    }
}

/* Collapsible move list animation */
#moveListCollapse[b-64rvexwqf6] {
    transition: height 0.3s ease;
}

/* Scrollbar styling for move list */
.move-list-container[b-64rvexwqf6]::-webkit-scrollbar {
    width: 6px;
}

.move-list-container[b-64rvexwqf6]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.move-list-container[b-64rvexwqf6]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.move-list-container[b-64rvexwqf6]::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Link styling in player cards */
.player-row a[b-64rvexwqf6] {
    color: inherit;
}

.player-row a:hover[b-64rvexwqf6] {
    color: #0d6efd;
}

/* Trophy icon animation */
.bi-trophy-fill[b-64rvexwqf6] {
    animation: trophy-glow-b-64rvexwqf6 2s ease-in-out infinite;
}

@keyframes trophy-glow-b-64rvexwqf6 {
    0%, 100% {
        filter: drop-shadow(0 0 2px rgba(255, 193, 7, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(255, 193, 7, 0.8));
    }
}
/* /Pages/U/Games/Recent.cshtml.rz.scp.css */
/* Scoped CSS for Recent Games page */

/* Games list container */
.games-list[b-aqb610flfz] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Game card */
.game-card[b-aqb610flfz] {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid;
}

.game-card:hover[b-aqb610flfz] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.game-card.border-success[b-aqb610flfz] {
    border-left-color: #198754;
}

.game-card.border-danger[b-aqb610flfz] {
    border-left-color: #dc3545;
}

.game-card.border-secondary[b-aqb610flfz] {
    border-left-color: #6c757d;
}

/* Game card link */
.game-card-link[b-aqb610flfz] {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    min-height: 90px;
}

.game-card-link:hover[b-aqb610flfz] {
    color: inherit;
}

/* Outcome indicator (left side) */
.game-outcome[b-aqb610flfz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    min-width: 70px;
    gap: 0.25rem;
}

.game-outcome i[b-aqb610flfz] {
    font-size: 1.25rem;
}

.game-outcome .outcome-text[b-aqb610flfz] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-outcome .piece-color[b-aqb610flfz] {
    margin-top: 0.25rem;
}

.game-outcome .piece-color i[b-aqb610flfz] {
    font-size: 0.75rem;
}

.piece-white[b-aqb610flfz] {
    color: #f8f9fa;
    -webkit-text-stroke: 1px #333;
}

.piece-black[b-aqb610flfz] {
    color: #333;
}

.outcome-success[b-aqb610flfz] {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(25, 135, 84, 0.05));
    color: #198754;
}

.outcome-danger[b-aqb610flfz] {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    color: #dc3545;
}

.outcome-secondary[b-aqb610flfz] {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1), rgba(108, 117, 125, 0.05));
    color: #6c757d;
}

/* Main content area */
.game-content[b-aqb610flfz] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.75rem 1rem;
    gap: 0.375rem;
    min-width: 0;
    border-left: 1px solid #e9ecef;
}

/* Header row */
.game-header[b-aqb610flfz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.opponent-info[b-aqb610flfz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.opponent-name[b-aqb610flfz] {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opponent-rating[b-aqb610flfz] {
    font-size: 0.8rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid #dee2e6;
    white-space: nowrap;
}

.game-date[b-aqb610flfz] {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Details row */
.game-details[b-aqb610flfz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Time badge with color coding */
.time-badge[b-aqb610flfz] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.time-badge i[b-aqb610flfz] {
    font-size: 0.7rem;
}

.time-bullet[b-aqb610flfz] {
    background-color: #dc3545;
    color: white;
}

.time-blitz[b-aqb610flfz] {
    background-color: #ffc107;
    color: #212529;
}

.time-rapid[b-aqb610flfz] {
    background-color: #198754;
    color: white;
}

.time-daily[b-aqb610flfz] {
    background-color: #0dcaf0;
    color: #212529;
}

.time-unknown[b-aqb610flfz] {
    background-color: #6c757d;
    color: white;
}

/* ECO badge */
.eco-badge[b-aqb610flfz] {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.7rem;
    font-weight: 600;
    background: #e9ecef;
    color: #495057;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    letter-spacing: 0.5px;
}

/* Opening name */
.opening-name[b-aqb610flfz] {
    font-size: 0.8rem;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Termination row */
.game-termination[b-aqb610flfz] {
    font-size: 0.7rem;
    color: #868e96;
    display: flex;
    align-items: center;
}

.game-termination i[b-aqb610flfz] {
    font-size: 0.65rem;
    opacity: 0.7;
}

/* Arrow indicator */
.game-arrow[b-aqb610flfz] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    color: #dee2e6;
    font-size: 1.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.game-card:hover .game-arrow[b-aqb610flfz] {
    color: #0d6efd;
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .game-card-link[b-aqb610flfz] {
        min-height: 80px;
    }

    .game-outcome[b-aqb610flfz] {
        min-width: 55px;
        padding: 0.5rem;
    }

    .game-outcome i[b-aqb610flfz] {
        font-size: 1rem;
    }

    .game-outcome .outcome-text[b-aqb610flfz] {
        font-size: 0.6rem;
    }

    .game-content[b-aqb610flfz] {
        padding: 0.5rem 0.75rem;
    }

    .opponent-name[b-aqb610flfz] {
        font-size: 0.9rem;
    }

    .game-date[b-aqb610flfz] {
        display: none;
    }

    .opening-name[b-aqb610flfz] {
        max-width: 150px;
    }

    .game-arrow[b-aqb610flfz] {
        padding: 0 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .game-outcome[b-aqb610flfz] {
        min-width: 50px;
        padding: 0.375rem;
    }

    .game-outcome .outcome-text[b-aqb610flfz] {
        display: none;
    }

    .game-outcome .piece-color[b-aqb610flfz] {
        margin-top: 0.5rem;
    }

    .opponent-rating[b-aqb610flfz] {
        display: none;
    }

    .time-badge .time-text[b-aqb610flfz] {
        display: none;
    }

    .time-badge[b-aqb610flfz] {
        padding: 0.25rem;
    }

    .time-badge i[b-aqb610flfz] {
        font-size: 0.85rem;
    }

    .opening-name[b-aqb610flfz] {
        max-width: 120px;
        font-size: 0.75rem;
    }

    .game-termination[b-aqb610flfz] {
        display: none;
    }
}
/* /Pages/U/Games/Vs.cshtml.rz.scp.css */
/* Scoped CSS for Vs Games page */

/* ── Compact Head-to-Head Record ── */
.h2h-record[b-xlpbcqudwj] {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
}

.h2h-stats[b-xlpbcqudwj] {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.h2h-stat[b-xlpbcqudwj] {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.h2h-count[b-xlpbcqudwj] {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.h2h-label[b-xlpbcqudwj] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.h2h-wins .h2h-count[b-xlpbcqudwj],
.h2h-wins .h2h-label[b-xlpbcqudwj] {
    color: #198754;
}

.h2h-draws .h2h-count[b-xlpbcqudwj],
.h2h-draws .h2h-label[b-xlpbcqudwj] {
    color: #6c757d;
}

.h2h-losses .h2h-count[b-xlpbcqudwj],
.h2h-losses .h2h-label[b-xlpbcqudwj] {
    color: #dc3545;
}

.h2h-bar[b-xlpbcqudwj] {
    display: flex;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    background: #e9ecef;
}

.h2h-segment[b-xlpbcqudwj] {
    transition: width 0.5s ease;
    min-width: 0;
}

.win-segment[b-xlpbcqudwj] {
    background: #198754;
}

.draw-segment[b-xlpbcqudwj] {
    background: #6c757d;
}

.loss-segment[b-xlpbcqudwj] {
    background: #dc3545;
}

/* ── Filters Toolbar ── */
.filters-toolbar[b-xlpbcqudwj] {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.filters-toolbar-header[b-xlpbcqudwj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filters-toolbar-header i[b-xlpbcqudwj] {
    font-size: 0.8rem;
    color: #6c757d;
}

.filters-reset-btn[b-xlpbcqudwj] {
    margin-left: auto;
    background: none;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #6c757d;
    padding: 0.125rem 0.5rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.15s ease;
}

.filters-reset-btn:hover[b-xlpbcqudwj] {
    background: #e9ecef;
    color: #212529;
    border-color: #adb5bd;
}

.filters-toolbar-body[b-xlpbcqudwj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
}

.filter-separator[b-xlpbcqudwj] {
    width: 1px;
    height: 1.5rem;
    background: #dee2e6;
    flex-shrink: 0;
}

.filter-group[b-xlpbcqudwj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label[b-xlpbcqudwj] {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #868e96;
    white-space: nowrap;
}

.filter-chips[b-xlpbcqudwj] {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.filter-chip[b-xlpbcqudwj] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.filter-chip:hover[b-xlpbcqudwj] {
    background: #f1f3f5;
    border-color: #adb5bd;
}

.filter-chip.active[b-xlpbcqudwj] {
    background: #212529;
    color: white;
    border-color: #212529;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.filter-chip i[b-xlpbcqudwj] {
    font-size: 0.65rem;
}

/* Colored active states for outcome chips */
.filter-chip.chip-win.active[b-xlpbcqudwj] {
    background: #198754;
    border-color: #198754;
}

.filter-chip.chip-loss.active[b-xlpbcqudwj] {
    background: #dc3545;
    border-color: #dc3545;
}

.filter-chip.chip-draw.active[b-xlpbcqudwj] {
    background: #6c757d;
    border-color: #6c757d;
}

/* Colored active states for time class chips */
.filter-chip.chip-bullet.active[b-xlpbcqudwj] {
    background: #dc3545;
    border-color: #dc3545;
}

.filter-chip.chip-blitz.active[b-xlpbcqudwj] {
    background: #d4a106;
    border-color: #d4a106;
}

.filter-chip.chip-rapid.active[b-xlpbcqudwj] {
    background: #198754;
    border-color: #198754;
}

.filter-chip.chip-daily.active[b-xlpbcqudwj] {
    background: #0aa2c0;
    border-color: #0aa2c0;
}

/* Color chips */
.filter-chip.chip-white i[b-xlpbcqudwj] {
    color: #ccc;
    -webkit-text-stroke: 1px #999;
}

.filter-chip.chip-white.active i[b-xlpbcqudwj] {
    color: #f8f9fa;
    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
}

.filter-chip.chip-black i[b-xlpbcqudwj] {
    color: #333;
}

.filter-chip.chip-black.active[b-xlpbcqudwj] {
    background: #333;
    border-color: #333;
}

.filter-chip.chip-black.active i[b-xlpbcqudwj] {
    color: #fff;
}

.filter-chip.chip-white.active[b-xlpbcqudwj] {
    background: #555;
    border-color: #555;
}

/* ── Games list container ── */
.games-list[b-xlpbcqudwj] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ── Game card ── */
.game-card[b-xlpbcqudwj] {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid;
}

.game-card:hover[b-xlpbcqudwj] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.game-card.border-success[b-xlpbcqudwj] {
    border-left-color: #198754;
}

.game-card.border-danger[b-xlpbcqudwj] {
    border-left-color: #dc3545;
}

.game-card.border-secondary[b-xlpbcqudwj] {
    border-left-color: #6c757d;
}

/* Game card link */
.game-card-link[b-xlpbcqudwj] {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    min-height: 90px;
}

.game-card-link:hover[b-xlpbcqudwj] {
    color: inherit;
}

/* Outcome indicator (left side) */
.game-outcome[b-xlpbcqudwj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    min-width: 70px;
    gap: 0.25rem;
}

.game-outcome i[b-xlpbcqudwj] {
    font-size: 1.25rem;
}

.game-outcome .outcome-text[b-xlpbcqudwj] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-outcome .piece-color[b-xlpbcqudwj] {
    margin-top: 0.25rem;
}

.game-outcome .piece-color i[b-xlpbcqudwj] {
    font-size: 0.75rem;
}

.piece-white[b-xlpbcqudwj] {
    color: #f8f9fa;
    -webkit-text-stroke: 1px #333;
}

.piece-black[b-xlpbcqudwj] {
    color: #333;
}

.outcome-success[b-xlpbcqudwj] {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(25, 135, 84, 0.05));
    color: #198754;
}

.outcome-danger[b-xlpbcqudwj] {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    color: #dc3545;
}

.outcome-secondary[b-xlpbcqudwj] {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1), rgba(108, 117, 125, 0.05));
    color: #6c757d;
}

/* Main content area */
.game-content[b-xlpbcqudwj] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.75rem 1rem;
    gap: 0.375rem;
    min-width: 0;
    border-left: 1px solid #e9ecef;
}

/* Header row */
.game-header[b-xlpbcqudwj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.opponent-info[b-xlpbcqudwj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.opponent-name[b-xlpbcqudwj] {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opponent-rating[b-xlpbcqudwj] {
    font-size: 0.8rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid #dee2e6;
    white-space: nowrap;
}

.game-date[b-xlpbcqudwj] {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Details row */
.game-details[b-xlpbcqudwj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Time badge with color coding */
.time-badge[b-xlpbcqudwj] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.time-badge i[b-xlpbcqudwj] {
    font-size: 0.7rem;
}

.time-bullet[b-xlpbcqudwj] {
    background-color: #dc3545;
    color: white;
}

.time-blitz[b-xlpbcqudwj] {
    background-color: #ffc107;
    color: #212529;
}

.time-rapid[b-xlpbcqudwj] {
    background-color: #198754;
    color: white;
}

.time-daily[b-xlpbcqudwj] {
    background-color: #0dcaf0;
    color: #212529;
}

.time-unknown[b-xlpbcqudwj] {
    background-color: #6c757d;
    color: white;
}

/* ECO badge */
.eco-badge[b-xlpbcqudwj] {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.7rem;
    font-weight: 600;
    background: #e9ecef;
    color: #495057;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    letter-spacing: 0.5px;
}

/* Opening name */
.opening-name[b-xlpbcqudwj] {
    font-size: 0.8rem;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Termination row */
.game-termination[b-xlpbcqudwj] {
    font-size: 0.7rem;
    color: #868e96;
    display: flex;
    align-items: center;
}

.game-termination i[b-xlpbcqudwj] {
    font-size: 0.65rem;
    opacity: 0.7;
}

/* Arrow indicator */
.game-arrow[b-xlpbcqudwj] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    color: #dee2e6;
    font-size: 1.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.game-card:hover .game-arrow[b-xlpbcqudwj] {
    color: #0d6efd;
    transform: translateX(3px);
}

/* Opening stats collapsible toggle */
.opening-stats-toggle:hover[b-xlpbcqudwj] {
    color: #0d6efd !important;
}

.opening-stats-chevron[b-xlpbcqudwj] {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .opening-stats-chevron[b-xlpbcqudwj] {
    transform: rotate(180deg);
}

/* Opening stats table */
.opening-stats-table th[b-xlpbcqudwj] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    border-bottom-width: 2px;
}

.opening-stats-table td[b-xlpbcqudwj] {
    font-size: 0.85rem;
    vertical-align: middle;
}

/* ── Responsive adjustments ── */
@media (max-width: 767.98px) {
    .h2h-stats[b-xlpbcqudwj] {
        gap: 1.5rem;
    }

    .game-card-link[b-xlpbcqudwj] {
        min-height: 80px;
    }

    .game-outcome[b-xlpbcqudwj] {
        min-width: 55px;
        padding: 0.5rem;
    }

    .game-outcome i[b-xlpbcqudwj] {
        font-size: 1rem;
    }

    .game-outcome .outcome-text[b-xlpbcqudwj] {
        font-size: 0.6rem;
    }

    .game-content[b-xlpbcqudwj] {
        padding: 0.5rem 0.75rem;
    }

    .opponent-name[b-xlpbcqudwj] {
        font-size: 0.9rem;
    }

    .game-date[b-xlpbcqudwj] {
        font-size: 0.65rem;
    }

    .opening-name[b-xlpbcqudwj] {
        max-width: 150px;
    }

    .game-arrow[b-xlpbcqudwj] {
        padding: 0 0.5rem;
    }

    .filters-toolbar-body[b-xlpbcqudwj] {
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .filter-separator[b-xlpbcqudwj] {
        display: none;
    }

    .filter-group[b-xlpbcqudwj] {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .h2h-stats[b-xlpbcqudwj] {
        gap: 1.25rem;
    }

    .h2h-count[b-xlpbcqudwj] {
        font-size: 1.25rem;
    }

    .game-outcome[b-xlpbcqudwj] {
        min-width: 50px;
        padding: 0.375rem;
    }

    .game-outcome .outcome-text[b-xlpbcqudwj] {
        display: none;
    }

    .game-outcome .piece-color[b-xlpbcqudwj] {
        margin-top: 0.5rem;
    }

    .opponent-rating[b-xlpbcqudwj] {
        display: none;
    }

    .time-badge .time-text[b-xlpbcqudwj] {
        display: none;
    }

    .time-badge[b-xlpbcqudwj] {
        padding: 0.25rem;
    }

    .time-badge i[b-xlpbcqudwj] {
        font-size: 0.85rem;
    }

    .opening-name[b-xlpbcqudwj] {
        max-width: 120px;
        font-size: 0.75rem;
    }

    .game-date[b-xlpbcqudwj] {
        font-size: 0.6rem;
    }

    .game-date .me-1[b-xlpbcqudwj] {
        display: none;
    }

    .game-termination[b-xlpbcqudwj] {
        display: none;
    }

    .filter-chip[b-xlpbcqudwj] {
        padding: 0.15rem 0.375rem;
        font-size: 0.65rem;
    }

    .filter-label[b-xlpbcqudwj] {
        font-size: 0.6rem;
    }
}
