/* Event Stats Page Styles -------------------------------------------------------------- */

.main-container {
    /* match eventInfo container width to keep layout consistent */
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(19, 53, 82, 0.4) 0%, rgba(11, 15, 27, 0.6) 100%);
    border: 1px solid rgba(83, 195, 255, 0.2);
    border-radius: 16px;
    margin-bottom: 40px;
}

/* Hero adjustments: larger title, smaller overall container, centered description */
.hero-section {
    max-width: 880px;
    margin: 0 auto 20px;
    text-align: center;
    padding: 36px 20px;
    /* add vertical padding to match other pages */
}

.hero-section .highlight-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 12px;
    letter-spacing: 1px;
    color: #ffea63;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.hero-section p {
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    max-width: 720px;
}

.dashboard-container {
    background: #131a26;
    border: 1px solid #42437C;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

/* constrain dashboard width to match main container and center it */
.dashboard-container {
    /* cap the dashboard width and keep it centered with slight side padding */
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.season-tabs {
    display: flex;
    background: #0b0f1b;
    border-bottom: 2px solid #42437C;
    flex-wrap: wrap;
}

.season-tab {
    flex: 1;
    padding: 16px 12px;
    background: transparent;
    border: none;
    color: #888;
    font-family: 'WMCT_One', sans-serif;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.season-tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.season-tab.active {
    color: #ffea63;
    background: #131a26;
    border-bottom: 3px solid #ffea63;
}

.dashboard-body {
    display: flex;
    min-height: 500px;
    position: relative;
    align-items: stretch;
}

.event-sidebar {
    width: 250px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    flex-shrink: 0;
    overflow-y: auto;
    scrollbar-width: none;
    min-height: 500px;
    /* ensure sidebar background spans full dashboard height on desktop */
}

.event-sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar-btn {
    width: 100%;
    display: block;
    margin: 0;
    text-align: left;
    padding: 14px 18px;
    background: transparent;
    border: none;
    color: #ccc;
    font-family: "Blogger", sans-serif;
    font-size: 1.05rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease;
    border-radius: 0;
}

.sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.sidebar-btn.active {
    background: rgba(66, 67, 124, 0.4);
    color: #ffea63;
    border-left: 3px solid #ffea63;
    font-weight: bold;
}

.event-sidebar .sidebar-btn+.sidebar-btn {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.mobile-sidebar-toggle {
    display: none;
    width: 100%;
    padding: 15px;
    background: #1a253a;
    color: #ffea63;
    text-align: center;
    font-family: 'WMCT_One', sans-serif;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.stats-content-panel {
    flex: 1;
    padding: 24px 24px 24px 12px;
    background: radial-gradient(circle at top right, rgba(66, 67, 124, 0.1), transparent);
    overflow-y: visible;
    width: 100%;
    box-sizing: border-box;
}

.stat-title {
    font-size: clamp(1rem, 4vw, 2.2rem);
    color: #ffea63;
    margin-left: 24px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: clamp(0px, 1vw, 2px);
    padding: 8px 0 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    width: calc(100% - 48px);
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
}

.highlights-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* stats-columns: the two-column flex layout built by renderStats(). Responsive. */
.stats-columns {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.stats-columns>.highlight-box {
    flex: 1;
    min-width: 0;
}

.stats-empty-row {
    padding: 12px 6px;
    opacity: 0.6;
}

/* Row layout helpers - keep inline JS styles out of the template strings */
.stats-list-row {
    display: flex;
    align-items: center;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    gap: 0;
}

.stats-row-identity {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.stats-col-points {
    width: 80px;
    text-align: right;
    flex-shrink: 0;
    color: #ffea63;
    font-weight: bold;
}

.stats-col-rank {
    width: 56px;
    text-align: right;
    margin-left: 10px;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 0.9rem;
}

.highlight-box {
    background: rgba(11, 15, 27, 0.6);
    border: 1px solid rgba(66, 67, 124, 0.5);
    border-radius: 12px;
    padding: 25px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.highlight-title {
    font-size: 1.2rem;
    color: #ffea63;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    flex-shrink: 0;
}

.stats-list-scroll {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 0;
    min-height: 483.6px;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.stats-columns .stats-list-scroll {
    overflow-y: auto;
}

.roster-profile,
.team-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.roster-profile:hover,
.team-profile:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(83, 195, 255, 0.2);
}

.roster-pfp {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.team-pfp {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
}

.roster-pfp,
.team-pfp {
    box-sizing: border-box;
}

.roster-info-text,
.team-info-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
    text-align: left;
}

.roster-name,
.team-name {
    color: white;
    font-size: 1.05rem;
}

.roster-points,
.team-points {
    color: #ffea63;
    font-weight: bold;
    margin: 0 10px;
    white-space: nowrap;
}

.roster-placement,
.team-placement {
    font-size: 0.9rem;
    color: #ffffff;
    min-width: 35px;
    text-align: right;
    white-space: nowrap;
}

.roster-profile[data-rank="1"] .roster-placement,
.team-profile[data-rank="1"] .team-placement {
    color: #ffd700;
    font-weight: bold;
}

.roster-profile[data-rank="2"] .roster-placement,
.team-profile[data-rank="2"] .team-placement {
    color: #c0c0c0;
}

.roster-profile[data-rank="3"] .roster-placement,
.team-profile[data-rank="3"] .team-placement {
    color: #cd7f32;
}

.stats-list-scroll {
    scrollbar-width: none;
}

.stats-list-scroll::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1100px) {
    .main-container {
        padding: 20px 16px;
        margin-left: 12px;
        margin-right: 12px;
        box-sizing: border-box;
    }

    .dashboard-container {
        margin-left: 12px;
        margin-right: 12px;
        width: calc(100% - 24px);
        box-sizing: border-box;
    }

    .dashboard-body {
        flex-direction: column;
    }

    .mobile-sidebar-toggle {
        display: block;
    }

    .event-sidebar {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
        min-height: 0;
        /* reset min-height for mobile collapsed state */
    }

    .event-sidebar.open {
        max-height: 520px;
        overflow-y: auto;
        padding: 10px 0;
    }

    .stats-content-panel {
        padding: 15px;
    }

    .highlights-container {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .highlight-box {
        padding: 15px 5px;
        width: 100%;
        box-sizing: border-box;
    }

    .stats-list-scroll {
        height: auto;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .stats-columns {
        flex-direction: column;
    }

    .stats-columns>.highlight-box {
        width: 100%;
    }

    .roster-profile,
    .team-profile {
        padding: 12px 5px;
    }
}

@media (max-width: 480px) {
    .season-tab {
        padding: 12px 8px;
        font-size: 0.82rem;
    }

    .stat-title {
        margin-left: 12px;
        width: calc(100% - 24px);
        letter-spacing: 0;
    }

    .stats-content-panel {
        padding: 10px 8px;
    }

    .roster-pfp,
    .team-pfp {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }

    .roster-name,
    .team-name {
        font-size: 0.95rem;
    }
}

#player-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 12, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 12px;
    box-sizing: border-box;
    animation: popup-overlay-in 200ms ease forwards;
}

#player-popup-overlay.closing {
    animation: popup-overlay-out 200ms ease forwards;
}

#player-popup-overlay.closing .player-popup-box {
    animation: popup-box-out 200ms cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes popup-overlay-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popup-overlay-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes popup-box-in {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes popup-box-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
}

.player-popup-box {
    width: min(1000px, 100%);
    max-height: 90vh;
    background: linear-gradient(155deg, #091422 0%, #0c1525 55%, #091020 100%);
    border: 1px solid rgba(83, 195, 255, 0.14);
    border-radius: 14px;
    padding: 22px;
    position: relative;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    box-sizing: border-box;
    animation: popup-box-in 280ms cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

.player-popup-header {
    display: flex;
    align-items: center;
    padding-right: 46px;
    /* leave room for the close button */
    flex-shrink: 0;
}

.player-popup-title {
    font-size: 1.4rem;
    color: #ffea63;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Projects-style modal close */
.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    color: #4da6ff;
    font-size: 28px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(77, 166, 255, 0.18);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: background 150ms ease, transform 150ms ease, color 150ms ease;
    line-height: 1;
    flex-shrink: 0;
}

.modal-close:hover {
    transform: scale(1.12);
    background: rgba(77, 166, 255, 0.15);
    color: #fff;
}

/* Content area: stream on the left, sidebar on the right */
.player-popup-content {
    display: flex;
    gap: 14px;
    align-items: stretch;
    flex: 1;
    min-height: 0;
}

.player-popup-left {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.player-popup-right {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-popup-pfp {
    flex: none;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(83, 195, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    display: block;
}

.player-popup-btn {
    flex-shrink: 0;
    display: block;
    text-align: center;
    background: rgba(77, 166, 255, 0.1);
    border: 1px solid rgba(77, 166, 255, 0.3);
    color: #4da6ff;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: "Blogger", sans-serif;
    font-size: 0.95rem;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

.player-popup-btn:hover {
    background: rgba(77, 166, 255, 0.18);
    border-color: #4da6ff;
    color: #cce8ff;
    transform: translateY(-2px);
}



/* Stream embed wrapper — legacy (kept for safety) */
.popup-embed-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
}

.popup-embed-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Fake stream card -------------------------------------------------------------------- */
.popup-stream-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.popup-stream-card--twitch {
    background: #130e1f;
    border: 1px solid rgba(145, 70, 255, 0.22);
}

.popup-stream-card--youtube {
    background: #120808;
    border: 1px solid rgba(255, 50, 50, 0.22);
}

.popup-stream-card--generic {
    background: #060e18;
    border: 1px solid rgba(83, 195, 255, 0.12);
}

.popup-stream-card-preview {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

/* Live thumbnail (Twitch preview / YouTube thumbnail) */
.popup-stream-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    transition: opacity 0.3s ease;
}

.popup-stream-card:hover .popup-stream-thumb {
    opacity: 0.48;
}

/* Centred overlay: logo + channel name + live badge */
.popup-stream-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    text-align: center;
}

.popup-stream-logo {
    width: 34px;
    height: 34px;
    opacity: 0.9;
    flex-shrink: 0;
}

.popup-stream-logo--twitch {
    color: #bf94ff;
}

.popup-stream-logo--youtube {
    color: #ff6060;
}

.popup-stream-channel-name {
    font-family: 'Blogger', sans-serif;
    font-size: 0.9rem;
    color: #cdd4e8;
    letter-spacing: 0.4px;
    opacity: 0.85;
}

/* Watch button anchored to card bottom */
.popup-stream-watch-btn {
    display: block;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    font-family: 'Blogger', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 150ms ease, color 150ms ease;
}

.popup-stream-card--twitch .popup-stream-watch-btn {
    background: rgba(145, 70, 255, 0.14);
    color: #bf94ff;
}

.popup-stream-card--twitch .popup-stream-watch-btn:hover {
    background: rgba(145, 70, 255, 0.24);
    color: #d4b8ff;
}

.popup-stream-card--youtube .popup-stream-watch-btn {
    background: rgba(255, 50, 50, 0.12);
    color: #ff7070;
}

.popup-stream-card--youtube .popup-stream-watch-btn:hover {
    background: rgba(255, 50, 50, 0.22);
    color: #ffaaaa;
}

.popup-stream-card--generic .popup-stream-watch-btn {
    background: rgba(77, 166, 255, 0.1);
    color: #4da6ff;
}

.popup-stream-card--generic .popup-stream-watch-btn:hover {
    background: rgba(77, 166, 255, 0.18);
    color: #cce8ff;
}

/* No-stream / file-protocol notice */
.player-popup-note {
    color: #aaa;
    padding: 24px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    font-family: "Blogger", sans-serif;
}

.popup-local-notice {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060e18;
    border: 1px solid rgba(83, 195, 255, 0.1);
    border-radius: 10px;
    padding: 18px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
}

.popup-local-notice-inner {
    max-width: 90%;
}

.popup-local-notice-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.popup-local-notice-sub {
    opacity: 0.8;
    margin-bottom: 14px;
    font-family: "Blogger", sans-serif;
    font-size: 0.95rem;
}

.popup-local-notice-link {
    display: inline-block;
    text-align: center;
    background: rgba(77, 166, 255, 0.1);
    border: 1px solid rgba(77, 166, 255, 0.3);
    color: #4da6ff;
    padding: 11px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Blogger", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

.popup-local-notice-link:hover {
    background: rgba(77, 166, 255, 0.18);
    border-color: #4da6ff;
    color: #cce8ff;
    transform: translateY(-2px);
}

/* Mobile popup layout */
@media (max-width: 700px) {
    .player-popup-box {
        padding: 14px;
        gap: 10px;
        max-height: 92vh;
        width: min(100vw, 100%);
    }

    .player-popup-content {
        flex-direction: column;
    }

    /* On mobile the embed fills full popup width at 16:9 */
    .popup-embed-wrap {
        width: 100%;
    }

    .player-popup-right {
        flex: none;
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
    }

    .player-popup-pfp {
        width: 90px;
        height: 90px;
        aspect-ratio: 1 / 1;
        flex: none;
        min-height: 0;
        align-self: flex-start;
    }

    .player-popup-btn {
        flex: 1;
        align-self: flex-end;
    }
}

/* Live indicator badge ---------------------------------------------------------------- */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 30, 30, 0.12);
    border: 1px solid rgba(255, 60, 60, 0.38);
    color: #ff4f4f;
    font-family: 'WMCT_One', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 1.2px;
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.live-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff3333;
    animation: live-pulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes live-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.65);
    }
}

/* Image fade-in helper: start transparent and slide, then reveal on load */
.img-fade {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .34s ease, transform .34s ease;
    will-change: opacity, transform;
}

.img-fade.img-loaded,
.img-loaded {
    opacity: 1 !important;
    transform: none !important;
}

/* Player Lookup section --------------------------------------------------------------- */
.player-search-section {
    max-width: 1300px;
    margin: 0 auto 60px;
    margin-top: 20px;
    padding: 36px 40px;
    background: #131a26;
    border: 1px solid #42437C;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

.player-search-section .highlight-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.player-search-section>p {
    margin-bottom: 22px;
    opacity: 0.75;
}

.player-search-bar {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.player-search-bar input {
    width: 100%;
    max-width: 480px;
    padding: 12px 18px;
    background: #0d121d;
    border: 1px solid rgba(83, 195, 255, 0.25);
    border-radius: 10px;
    color: #e8eaf0;
    font-family: 'Blogger', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.player-search-bar input:focus {
    border-color: rgba(83, 195, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(83, 195, 255, 0.1);
}

.player-search-bar input::placeholder {
    color: #555c72;
}

.player-search-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.player-search-empty {
    opacity: 0.5;
    font-size: 0.95rem;
    width: 100%;
}

.player-search-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50px;
    text-decoration: none;
    color: #cdd4e8;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
    cursor: pointer;
}

.player-search-card:hover {
    background: rgba(83, 195, 255, 0.12);
    border-color: rgba(83, 195, 255, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.player-search-pfp {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #1a2336;
}

.player-search-name {
    font-size: 0.92rem;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .player-search-section {
        padding: 18px 14px;
        margin-bottom: 24px;
        margin-left: 12px;
        margin-right: 12px;
        box-sizing: border-box;
        width: auto;
    }

    .player-search-section .highlight-title {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
    }

    .player-search-card {
        padding: 6px 10px 6px 6px;
        gap: 7px;
    }

    .player-search-pfp {
        width: 22px;
        height: 22px;
    }

    .player-search-name {
        font-size: 0.82rem;
    }
}