/* /Components/Layout/MainLayout.razor.rz.scp.css */
.top-nav[b-1gvt7hlp8x] {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
}

.top-nav__brand[b-1gvt7hlp8x] {
    justify-self: start;
    min-width: 0;
}

.top-nav__links[b-1gvt7hlp8x] {
    justify-self: center;
    display: flex;
    align-items: center;
}

.top-nav__theme[b-1gvt7hlp8x] {
    justify-self: end;
    display: flex;
    align-items: center;
}

/*
    MudAppBar internally renders a toolbar.
    This ensures our three-column navigation fills its width.
*/
[b-1gvt7hlp8x] .top-app-bar .mud-toolbar {
    width: 100%;
}

/*
    On narrower screens, hide the site title but preserve all three
    grid columns. The navigation therefore remains centred.
*/
@media (max-width: 700px) {
    .top-nav__brand[b-1gvt7hlp8x] {
        visibility: hidden;
    }
}

[b-1gvt7hlp8x] .top-app-bar {
    border-bottom: 1px solid var(--mud-palette-divider);
}

[b-1gvt7hlp8x] .top-nav__links .mud-button-root {
    border-radius: 999px;
    opacity: 0.78;
    transition: opacity 160ms ease, background-color 160ms ease;
}

    [b-1gvt7hlp8x] .top-nav__links .mud-button-root:hover {
        opacity: 1;
        background: color-mix( in srgb, currentColor 7%, transparent );
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-d5aybhn16l],
.components-reconnect-repeated-attempt-visible[b-d5aybhn16l],
.components-reconnect-failed-visible[b-d5aybhn16l],
.components-pause-visible[b-d5aybhn16l],
.components-resume-failed-visible[b-d5aybhn16l],
.components-rejoining-animation[b-d5aybhn16l] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-d5aybhn16l],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-d5aybhn16l],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-d5aybhn16l],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-d5aybhn16l],
#components-reconnect-modal.components-reconnect-retrying[b-d5aybhn16l],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-d5aybhn16l],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-d5aybhn16l],
#components-reconnect-modal.components-reconnect-failed[b-d5aybhn16l],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-d5aybhn16l] {
    display: block;
}


#components-reconnect-modal[b-d5aybhn16l] {
    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-d5aybhn16l 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-d5aybhn16l 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-d5aybhn16l 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-d5aybhn16l]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-d5aybhn16l 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-d5aybhn16l {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-d5aybhn16l {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-d5aybhn16l {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-d5aybhn16l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-d5aybhn16l] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-d5aybhn16l] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-d5aybhn16l] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-d5aybhn16l] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-d5aybhn16l] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-d5aybhn16l] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-d5aybhn16l 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-d5aybhn16l] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-d5aybhn16l {
    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/Layout/ThemeToggle.razor.rz.scp.css */
.theme-toggle[b-ihs5o6m9wz] {
    --track-width: 44px;
    --track-height: 20px;
    --pinball-size: 14px;
    --pinball-travel: 26px;
    box-sizing: border-box;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 3px 10px 3px 7px;
    overflow: hidden;
    color: inherit;
    font: inherit;
    font-weight: 500;
    /*
        The outer capsule blends into the navbar.
        It should frame the control without looking like a separate card.
    */
    background: color-mix( in srgb, currentColor 3%, transparent );
    border: 1px solid color-mix( in srgb, currentColor 14%, transparent );
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    transition: background-color 180ms ease, border-color 180ms ease, transform 120ms ease;
}

    .theme-toggle:hover[b-ihs5o6m9wz] {
        background: color-mix( in srgb, currentColor 7%, transparent );
        border-color: color-mix( in srgb, currentColor 22%, transparent );
    }

    .theme-toggle:active[b-ihs5o6m9wz] {
        transform: scale(0.98);
    }

    .theme-toggle:focus-visible[b-ihs5o6m9wz] {
        outline: 2px solid currentColor;
        outline-offset: 3px;
    }

/* -------------------------------------------------------------
   DRINK ICON STAGE
------------------------------------------------------------- */

.theme-toggle__icon-stage[b-ihs5o6m9wz] {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 34px;
    overflow: hidden;
}

.theme-toggle__orbit[b-ihs5o6m9wz] {
    position: absolute;
    inset: 0;
}

.theme-toggle__drink[b-ihs5o6m9wz] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: end center;
    padding-bottom: 4px;
    opacity: 0;
    transition: transform 480ms cubic-bezier(0.22, 0.9, 0.3, 1.08), opacity 210ms ease;
}

/*
    Coffee sets down-left while beer rises from down-right.
*/

.theme-toggle--light .theme-toggle__coffee[b-ihs5o6m9wz] {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(0.92);
}

.theme-toggle--light .theme-toggle__beer[b-ihs5o6m9wz] {
    opacity: 0;
    transform: translate(21px, 23px) rotate(28deg) scale(0.55);
}

.theme-toggle--dark .theme-toggle__coffee[b-ihs5o6m9wz] {
    opacity: 0;
    transform: translate(-21px, 23px) rotate(-28deg) scale(0.55);
}

.theme-toggle--dark .theme-toggle__beer[b-ihs5o6m9wz] {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(0.92);
}

/* -------------------------------------------------------------
   COFFEE ICON
------------------------------------------------------------- */

.coffee-cup[b-ihs5o6m9wz] {
    position: relative;
    width: 19px;
    height: 14px;
    background: color-mix( in srgb, currentColor 7%, transparent );
    border: 2px solid color-mix( in srgb, currentColor 76%, transparent );
    border-radius: 3px 3px 6px 6px;
}

.coffee-liquid[b-ihs5o6m9wz] {
    position: absolute;
    top: 1px;
    left: 2px;
    right: 2px;
    height: 3px;
    background: #6f4e37;
    border-radius: 50%;
}

.coffee-handle[b-ihs5o6m9wz] {
    position: absolute;
    top: 2px;
    right: -7px;
    width: 7px;
    height: 8px;
    border: 2px solid color-mix( in srgb, currentColor 76%, transparent );
    border-left: 0;
    border-radius: 0 7px 7px 0;
}

.coffee-steam[b-ihs5o6m9wz] {
    position: absolute;
    bottom: 15px;
    width: 4px;
    height: 9px;
    border-left: 1.5px solid color-mix( in srgb, currentColor 58%, transparent );
    border-radius: 50%;
    animation: coffee-steam-b-ihs5o6m9wz 1.7s ease-in-out infinite;
}

.coffee-steam--one[b-ihs5o6m9wz] {
    left: 4px;
}

.coffee-steam--two[b-ihs5o6m9wz] {
    left: 11px;
    animation-delay: 350ms;
}

/* -------------------------------------------------------------
   BEER ICON
------------------------------------------------------------- */

.beer-glass[b-ihs5o6m9wz] {
    position: relative;
    width: 15px;
    height: 21px;
    border: 2px solid color-mix( in srgb, currentColor 82%, transparent );
    border-radius: 3px 3px 5px 5px;
    background: color-mix( in srgb, currentColor 5%, transparent );
}

.beer-liquid[b-ihs5o6m9wz] {
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 2px;
    height: 14px;
    overflow: hidden;
    background: linear-gradient( 180deg, #f0c34e 0%, #d89b22 55%, #c98613 100% );
    border-radius: 1px 1px 3px 3px;
}

.beer-handle[b-ihs5o6m9wz] {
    position: absolute;
    top: 5px;
    right: -7px;
    width: 7px;
    height: 11px;
    border: 2px solid color-mix( in srgb, currentColor 82%, transparent );
    border-left: 0;
    border-radius: 0 7px 7px 0;
}

.beer-foam[b-ihs5o6m9wz] {
    position: absolute;
    z-index: 2;
    top: -3px;
    width: 7px;
    height: 6px;
    background: #fff4ce;
    border-radius: 50%;
}

.beer-foam--one[b-ihs5o6m9wz] {
    left: -1px;
}

.beer-foam--two[b-ihs5o6m9wz] {
    left: 4px;
    top: -4px;
}

.beer-foam--three[b-ihs5o6m9wz] {
    right: -2px;
}

/*
    Rising bubbles inside the beer.
*/

.beer-liquid[b-ihs5o6m9wz]::before,
.beer-liquid[b-ihs5o6m9wz]::after {
    content: "";
    position: absolute;
    bottom: 1px;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 50%;
    opacity: 0;
    animation: beer-bubble-rise-b-ihs5o6m9wz 2.1s ease-in infinite;
}

.beer-liquid[b-ihs5o6m9wz]::before {
    left: 3px;
    animation-delay: 150ms;
}

.beer-liquid[b-ihs5o6m9wz]::after {
    right: 3px;
    width: 2px;
    height: 2px;
    animation-delay: 1.05s;
}

/*
    A third, slightly slower bubble.
*/

.beer-glass[b-ihs5o6m9wz]::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 6px;
    bottom: 4px;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    opacity: 0;
    animation: beer-bubble-rise-b-ihs5o6m9wz 2.5s ease-in infinite 650ms;
}

/* -------------------------------------------------------------
   FLAT PLUNGER-LANE SWITCH
------------------------------------------------------------- */

.theme-toggle__track[b-ihs5o6m9wz] {
    position: relative;
    flex: 0 0 var(--track-width);
    width: var(--track-width);
    height: var(--track-height);
    /*
        Flat translucent surface: no embossed WinForms-style inset.
    */
    background: color-mix( in srgb, currentColor 7%, transparent );
    border: 1px solid color-mix( in srgb, currentColor 19%, transparent );
    border-radius: 999px;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.theme-toggle:hover .theme-toggle__track[b-ihs5o6m9wz] {
    background: color-mix( in srgb, currentColor 11%, transparent );
    border-color: color-mix( in srgb, currentColor 27%, transparent );
}

/*
    One restrained line hints at a plunger lane.
*/

.theme-toggle__lane[b-ihs5o6m9wz] {
    position: absolute;
    top: 50%;
    left: 7px;
    right: 7px;
    height: 2px;
    background: color-mix( in srgb, currentColor 17%, transparent );
    border-radius: 999px;
    transform: translateY(-50%);
}

    .theme-toggle__lane[b-ihs5o6m9wz]::after {
        content: none;
    }

/* -------------------------------------------------------------
   PINBALL
------------------------------------------------------------- */

.theme-toggle__pinball[b-ihs5o6m9wz] {
    position: absolute;
    z-index: 2;
    top: 2px;
    left: 2px;
    width: var(--pinball-size);
    height: var(--pinball-size);
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 50%;
    /*
        A restrained metallic finish rather than a heavy chrome bevel.
    */
    background: radial-gradient( circle at 35% 32%, #ffffff 0 7%, #e5e8eb 25%, #b4bac0 60%, #858c93 100% );
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    transition: transform 410ms cubic-bezier(0.22, 0.9, 0.3, 1.08);
}

.theme-toggle--light .theme-toggle__pinball[b-ihs5o6m9wz] {
    transform: translateX(0) rotate(0deg);
}

.theme-toggle--dark .theme-toggle__pinball[b-ihs5o6m9wz] {
    transform: translateX(var(--pinball-travel)) rotate(300deg);
}

/* -------------------------------------------------------------
   LABEL
------------------------------------------------------------- */

.theme-toggle__label[b-ihs5o6m9wz] {
    min-width: 36px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    text-align: left;
}

/* -------------------------------------------------------------
   ANIMATIONS
------------------------------------------------------------- */

@keyframes coffee-steam-b-ihs5o6m9wz {
    0% {
        opacity: 0;
        transform: translateY(2px) scaleX(0.8);
    }

    35% {
        opacity: 0.62;
    }

    100% {
        opacity: 0;
        transform: translateY(-4px) scaleX(1.08);
    }
}

@keyframes beer-bubble-rise-b-ihs5o6m9wz {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.75);
    }

    20% {
        opacity: 0.78;
    }

    75% {
        opacity: 0.52;
    }

    100% {
        opacity: 0;
        transform: translateY(-11px) scale(1.12);
    }
}

/* -------------------------------------------------------------
   MOBILE
------------------------------------------------------------- */

@media (max-width: 700px) {
    .theme-toggle[b-ihs5o6m9wz] {
        gap: 7px;
        padding-right: 8px;
    }

    .theme-toggle__label[b-ihs5o6m9wz] {
        display: none;
    }
}

/* -------------------------------------------------------------
   ACCESSIBILITY
------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .theme-toggle[b-ihs5o6m9wz],
    .theme-toggle__drink[b-ihs5o6m9wz],
    .theme-toggle__pinball[b-ihs5o6m9wz],
    .coffee-steam[b-ihs5o6m9wz],
    .beer-liquid[b-ihs5o6m9wz]::before,
    .beer-liquid[b-ihs5o6m9wz]::after,
    .beer-glass[b-ihs5o6m9wz]::after {
        animation: none;
        transition-duration: 1ms;
    }
}
/* /Components/Leaderboard/Leaderboard.razor.rz.scp.css */
.leaderboard[b-p29vg3yoch] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* /Components/Leaderboard/LeaderboardEntry.razor.rz.scp.css */
.leaderboard-entry[b-soy0egljhi] {
    --entry-surface: var(--mud-palette-surface);
    --entry-border: var(--mud-palette-divider);
    --entry-text: var(--mud-palette-text-primary);
    --entry-text-secondary: var(--mud-palette-text-secondary);
    position: relative;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto 68px;
    align-items: center;
    gap: 18px;
    min-height: 100px;
    padding: 8px 20px 8px 5px;
    border: 1px solid var(--entry-border);
    border-radius: 999px 18px 18px 999px;
    background: var(--entry-surface);
    color: var(--entry-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

    .leaderboard-entry:hover[b-soy0egljhi] {
        transform: translateY(-2px);
        border-color: color-mix( in srgb, var(--mud-palette-primary) 35%, var(--entry-border) );
        background: color-mix( in srgb, var(--entry-surface) 96%, var(--mud-palette-primary) 4% );
        box-shadow: 0 9px 22px rgba(0, 0, 0, 0.14);
    }

/* -------------------------------------------------------------
   RANK
------------------------------------------------------------- */

.leaderboard-entry__rank-area[b-soy0egljhi] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    padding-left: 6px;
}

.leaderboard-entry__rank[b-soy0egljhi] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border: 3px solid color-mix( in srgb, var(--entry-text-secondary) 34%, transparent );
    border-radius: 50%;
    background: color-mix( in srgb, var(--entry-surface) 94%, var(--mud-palette-background) 6% );
    color: var(--entry-text);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

/* -------------------------------------------------------------
   TOP THREE
------------------------------------------------------------- */

.leaderboard-entry--gold .leaderboard-entry__rank[b-soy0egljhi] {
    border-color: #d39b00;
    color: #c28a00;
}

.leaderboard-entry--silver .leaderboard-entry__rank[b-soy0egljhi] {
    border-color: #aeb5c0;
    color: #858e9b;
}

.leaderboard-entry--bronze .leaderboard-entry__rank[b-soy0egljhi] {
    border-color: #cf8053;
    color: #c36d3d;
}

/*
    Give the top three rows a very restrained tint.
    It remains visible in both light and dark mode.
*/

.leaderboard-entry--gold[b-soy0egljhi] {
    background: color-mix( in srgb, var(--entry-surface) 96%, #d39b00 4% );
}

.leaderboard-entry--silver[b-soy0egljhi] {
    background: color-mix( in srgb, var(--entry-surface) 97%, #aeb5c0 3% );
}

.leaderboard-entry--bronze[b-soy0egljhi] {
    background: color-mix( in srgb, var(--entry-surface) 96%, #cf8053 4% );
}

/* -------------------------------------------------------------
   PLAYER INFORMATION
------------------------------------------------------------- */

.leaderboard-entry__main[b-soy0egljhi] {
    min-width: 0;
}

.leaderboard-entry__name-row[b-soy0egljhi] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

[b-soy0egljhi] .leaderboard-entry__name {
    overflow: hidden;
    color: var(--entry-text);
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-entry__tag[b-soy0egljhi] {
    flex-shrink: 0;
    padding: 3px 8px;
    border: 1px solid color-mix( in srgb, var(--mud-palette-primary) 24%, transparent );
    border-radius: 999px;
    background: color-mix( in srgb, var(--mud-palette-primary) 10%, transparent );
    color: var(--mud-palette-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* -------------------------------------------------------------
   METADATA CHIPS
------------------------------------------------------------- */

.leaderboard-entry__chips[b-soy0egljhi] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
}

[b-soy0egljhi] .leaderboard-entry__chip {
    height: 30px;
    border-color: color-mix( in srgb, var(--entry-text-secondary) 26%, transparent );
    background: color-mix( in srgb, var(--entry-surface) 94%, var(--mud-palette-background) 6% );
    color: var(--entry-text);
}

[b-soy0egljhi] .leaderboard-entry__chip--up {
    border-color: color-mix( in srgb, var(--mud-palette-success) 42%, transparent );
    background: color-mix( in srgb, var(--mud-palette-success) 11%, transparent );
    color: var(--mud-palette-success);
}

[b-soy0egljhi] .leaderboard-entry__chip--down {
    border-color: color-mix( in srgb, var(--mud-palette-error) 42%, transparent );
    background: color-mix( in srgb, var(--mud-palette-error) 11%, transparent );
    color: var(--mud-palette-error);
}

[b-soy0egljhi] .leaderboard-entry__chip--neutral {
    color: var(--entry-text-secondary);
}

[b-soy0egljhi] .leaderboard-entry__chip--new {
    border-color: color-mix( in srgb, var(--mud-palette-info) 40%, transparent );
    background: color-mix( in srgb, var(--mud-palette-info) 11%, transparent );
    color: var(--mud-palette-info);
}

[b-soy0egljhi] .leaderboard-entry__chip--badge {
    border-color: color-mix( in srgb, var(--mud-palette-secondary) 38%, transparent );
    background: color-mix( in srgb, var(--mud-palette-secondary) 10%, transparent );
    color: var(--mud-palette-secondary);
}

/* -------------------------------------------------------------
   WPPR SUMMARY
------------------------------------------------------------- */

.leaderboard-entry__points[b-soy0egljhi] {
    min-width: 96px;
    text-align: right;
}

[b-soy0egljhi] .leaderboard-entry__points-value {
    color: var(--entry-text);
    font-weight: 650;
    line-height: 1.15;
}

[b-soy0egljhi] .leaderboard-entry__points-label {
    margin-top: 1px;
    color: var(--entry-text-secondary);
    letter-spacing: 0.03em;
}

/* -------------------------------------------------------------
   AVATAR
------------------------------------------------------------- */

[b-soy0egljhi] .leaderboard-entry__avatar {
    width: 60px;
    height: 60px;
    border: 2px solid var(--entry-surface);
    border-radius: 15px;
    background: color-mix( in srgb, var(--entry-surface) 88%, var(--mud-palette-primary) 12% );
    color: var(--entry-text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

/* -------------------------------------------------------------
   TABLET
------------------------------------------------------------- */

@media (max-width: 850px) {
    .leaderboard-entry[b-soy0egljhi] {
        grid-template-columns: 88px minmax(0, 1fr) auto 60px;
        gap: 14px;
        min-height: 92px;
        padding: 7px 16px 7px 5px;
        border-radius: 999px 16px 16px 999px;
    }

    .leaderboard-entry__rank[b-soy0egljhi] {
        width: 60px;
        height: 60px;
        font-size: 1.55rem;
    }

    .leaderboard-entry__points[b-soy0egljhi] {
        min-width: 84px;
    }

    [b-soy0egljhi] .leaderboard-entry__avatar {
        width: 54px;
        height: 54px;
        border-radius: 13px;
    }
}

/* -------------------------------------------------------------
   MOBILE
------------------------------------------------------------- */

@media (max-width: 600px) {
    .leaderboard-entry[b-soy0egljhi] {
        grid-template-columns: 70px minmax(0, 1fr) 50px;
        gap: 10px;
        min-height: 80px;
        padding: 6px 10px 6px 6px;
        border-radius: 999px 14px 14px 999px;
    }

    .leaderboard-entry__rank[b-soy0egljhi] {
        width: 52px;
        height: 52px;
        border-width: 2px;
        font-size: 1.35rem;
    }

    [b-soy0egljhi] .leaderboard-entry__name {
        font-size: 1rem;
    }

    .leaderboard-entry__chips[b-soy0egljhi] {
        gap: 5px;
        margin-top: 5px;
    }

    [b-soy0egljhi] .leaderboard-entry__chip {
        height: 26px;
    }

    .leaderboard-entry__points[b-soy0egljhi] {
        display: none;
    }

    [b-soy0egljhi] .leaderboard-entry__avatar {
        width: 46px;
        height: 46px;
        border-radius: 11px;
    }

    .leaderboard-entry__tag[b-soy0egljhi] {
        display: none;
    }
}
/* /Components/Leaderboard/LeaderboardEntrySkeleton.razor.rz.scp.css */
.leaderboard-entry-skeleton[b-0j8up40ksr] {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto 68px;
    align-items: center;
    gap: 18px;
    min-height: 100px;
    padding: 8px 20px 8px 5px;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 999px 18px 18px 999px;
    background: var(--mud-palette-surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.leaderboard-entry-skeleton__main[b-0j8up40ksr] {
    min-width: 0;
}

.leaderboard-entry-skeleton__chips[b-0j8up40ksr] {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.leaderboard-entry-skeleton__points[b-0j8up40ksr] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

[b-0j8up40ksr] .leaderboard-entry-skeleton__avatar {
    border: 2px solid var(--mud-palette-surface);
    border-radius: 15px;
}

@media (max-width: 850px) {
    .leaderboard-entry-skeleton[b-0j8up40ksr] {
        grid-template-columns: 88px minmax(0, 1fr) auto 60px;
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .leaderboard-entry-skeleton[b-0j8up40ksr] {
        grid-template-columns: 70px minmax(0, 1fr) 50px;
    }

    .leaderboard-entry-skeleton__points[b-0j8up40ksr] {
        display: none;
    }

    .leaderboard-entry-skeleton__chips > :nth-child(n + 3)[b-0j8up40ksr] {
        display: none;
    }
}
/* /Components/Pages/Rankings.razor.rz.scp.css */
.leaderboard-skeleton-list[b-mw5zwlob00] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rankings-page[b-mw5zwlob00] {
    width: 100%;
    padding-top: 1.25rem;
}

.rankings-selector[b-mw5zwlob00] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

    .rankings-selector[b-mw5zwlob00]  .ranking-selector-button {
        min-width: 145px;
        min-height: 46px;
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        border-radius: 8px;
    }

.rankings-layout[b-mw5zwlob00] {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 900px) minmax(220px, 280px);
    justify-content: center;
    align-items: start;
    gap: 1.5rem;
    width: 100%;
}

.rankings-main[b-mw5zwlob00] {
    min-width: 0;
    width: 100%;
}

.rankings-left-spacer[b-mw5zwlob00] {
    min-width: 0;
}

.rankings-main[b-mw5zwlob00]  .ranking-toolbar {
    margin-bottom: 0.8rem;
    padding: 0.85rem 1.25rem 0.9rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    background: var(--mud-palette-surface);
}

.ranking-heading[b-mw5zwlob00] {
    text-align: center;
    margin-bottom: 0.7rem;
}

.ranking-title[b-mw5zwlob00] {
    color: var(--mud-palette-text-primary);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.ranking-meta[b-mw5zwlob00] {
    margin-top: 0.15rem;
    color: var(--mud-palette-text-secondary);
    font-size: 0.82rem;
}

.ranking-toolbar-controls[b-mw5zwlob00] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ranking-search-wrapper[b-mw5zwlob00] {
    width: min(100%, 480px);
    margin: 0;
}

.ranking-pager[b-mw5zwlob00] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.ranking-page-indicator[b-mw5zwlob00] {
    min-width: 62px;
    text-align: center;
    color: var(--mud-palette-text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
}

.ranking-pager-bottom[b-mw5zwlob00] {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.ranking-results[b-mw5zwlob00] {
    opacity: 1;
    transition: opacity 120ms ease;
}

.ranking-results-loading[b-mw5zwlob00] {
    opacity: 0.6;
}

.ranking-empty[b-mw5zwlob00] {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--mud-palette-text-secondary);
}

.rankings-sidebar[b-mw5zwlob00] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .rankings-sidebar[b-mw5zwlob00]  .ranking-side-card {
        min-height: 110px;
        padding: 1rem;
        border-radius: 12px;
    }

.ranking-side-card-title[b-mw5zwlob00] {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ranking-side-card-placeholder[b-mw5zwlob00] {
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 1250px) {
    .rankings-layout[b-mw5zwlob00] {
        grid-template-columns: minmax(0, 900px) minmax(220px, 260px);
    }

    .rankings-left-spacer[b-mw5zwlob00] {
        display: none;
    }
}

@media (max-width: 900px) {
    .rankings-layout[b-mw5zwlob00] {
        display: block;
        max-width: 900px;
        margin-inline: auto;
    }

    .rankings-sidebar[b-mw5zwlob00] {
        margin-top: 1.5rem;
    }
}

@media (max-width: 700px) {
    .ranking-toolbar-controls[b-mw5zwlob00] {
        flex-direction: column;
        gap: 0.45rem;
    }

    .ranking-search-wrapper[b-mw5zwlob00] {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .rankings-page[b-mw5zwlob00] {
        padding-top: 0.75rem;
    }

    .rankings-selector[b-mw5zwlob00] {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

        .rankings-selector[b-mw5zwlob00]  .ranking-selector-button {
            min-width: 110px;
            min-height: 42px;
            font-size: 0.85rem;
        }

    .rankings-main[b-mw5zwlob00]  .ranking-toolbar {
        padding: 0.9rem;
    }

    .ranking-title[b-mw5zwlob00] {
        font-size: 1.05rem;
    }

    .ranking-pager[b-mw5zwlob00] {
        gap: 0.2rem;
    }

    .rankings-sidebar[b-mw5zwlob00] {
        margin-top: 1rem;
    }
}
/* /Components/PlayerCards/PlayerCardDialog.razor.rz.scp.css */
.player-card-dialog__layout[b-2uezykrg2g] {
    display: grid;
    grid-template-columns: 470px 430px;
    gap: 0;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background: #0d1726;
}

@media (max-width: 1050px) {
    .player-card-dialog__layout[b-2uezykrg2g] {
        grid-template-columns: 460px 410px;
    }
}

@media (max-width: 920px) {
    .player-card-dialog__layout[b-2uezykrg2g] {
        grid-template-columns: minmax(0, 560px);
    }
}

[b-2uezykrg2g] .player-card-dialog {
    background: #0d1726;
    color: #f6f3ee;
}

[b-2uezykrg2g] .player-card-dialog .mud-dialog-title {
    padding: 1.15rem 2rem;
    border-bottom: 1px solid rgba(160, 174, 192, 0.18);
    background: linear-gradient( 180deg, #111e30 0%, #0d1726 100% );
    color: #f5f2ec;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

[b-2uezykrg2g] .player-card-dialog .mud-dialog-content {
    padding: 0;
    background: #0d1726;
}

[b-2uezykrg2g] .player-card-dialog .mud-dialog-actions {
    min-height: 78px;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(160, 174, 192, 0.15);
    background: #101c2d;
}

.player-card-dialog__profile-button[b-2uezykrg2g] {
    color: #b067ff;
}

/* =========================================================
   Dialog title
   Aligns the heading and explicit close button.
   ========================================================= */

.player-card-dialog__title[b-2uezykrg2g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* =========================================================
   MudBlazor dialog shell
   Replaces the white dialog frame with a dark card showcase.
   ========================================================= */

[b-2uezykrg2g] .mud-dialog {
    background: #111827;
    color: #f5f1e8;
}

[b-2uezykrg2g] .mud-dialog-title {
    background: #111827;
    color: #f5f1e8;
}

[b-2uezykrg2g] .mud-dialog-content {
    background: #111827;
}

[b-2uezykrg2g] .mud-dialog-actions {
    background: #111827;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[b-2uezykrg2g] .mud-dialog-title .mud-icon-button {
    color: rgba(255, 255, 255, 0.72);
}

    [b-2uezykrg2g] .mud-dialog-title .mud-icon-button:hover {
        color: #ffffff;
    }

[b-2uezykrg2g] .mud-paper.mud-dialog {
    background: #111827;
}
/* /Components/PlayerCards/PlayerStatsPanel.razor.rz.scp.css */
.player-stats-panel[b-6x34cat9mh] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.5rem 1.4rem;
    border-left: 1px solid rgba(143, 161, 184, 0.15);
    background: radial-gradient( circle at top right, rgba(83, 54, 150, 0.1), transparent 35% ), linear-gradient( 180deg, #101b2b 0%, #0b1523 100% );
    color: #f5f3ee;
}

.player-stats-panel__header[b-6x34cat9mh] {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(151, 167, 188, 0.17);
}

    .player-stats-panel__header h2[b-6x34cat9mh] {
        margin: 0;
        color: #f8f5ef;
        font-size: 1.35rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .player-stats-panel__header p[b-6x34cat9mh] {
        margin: 0.25rem 0 0;
        color: #8993a3;
        font-size: 0.8rem;
    }

.player-stats-panel__identity-row[b-6x34cat9mh] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.6rem;
    color: #e8e6e2;
    font-size: 0.88rem;
}

.player-stats-panel__flag[b-6x34cat9mh] {
    font-size: 1.2rem;
}

.player-stats-panel__club[b-6x34cat9mh]::before {
    content: "•";
    margin-right: 0.45rem;
    color: #626e80;
}

.player-stats-panel__ranking-summary[b-6x34cat9mh] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1rem 0;
    border-bottom: 1px solid rgba(151, 167, 188, 0.17);
}

.player-stats-panel__summary-stat[b-6x34cat9mh] {
    min-width: 0;
    padding: 0 0.75rem;
    border-right: 1px solid rgba(151, 167, 188, 0.15);
}

    .player-stats-panel__summary-stat:first-child[b-6x34cat9mh] {
        padding-left: 0;
    }

    .player-stats-panel__summary-stat:last-child[b-6x34cat9mh] {
        padding-right: 0;
        border-right: 0;
    }

    .player-stats-panel__summary-stat span[b-6x34cat9mh] {
        display: block;
        color: #8f99a8;
        font-size: 0.67rem;
        letter-spacing: 0.035em;
        text-transform: uppercase;
    }

    .player-stats-panel__summary-stat strong[b-6x34cat9mh] {
        display: block;
        margin-top: 0.3rem;
        font-size: 1.15rem;
        font-weight: 800;
    }

.player-stats-panel__value--country[b-6x34cat9mh] {
    color: #ad68ff;
}

.player-stats-panel__value--world[b-6x34cat9mh] {
    color: #7f9cff;
}

.player-stats-panel__value--points[b-6x34cat9mh] {
    color: #e9bd58;
}

.player-stats-panel__movement[b-6x34cat9mh] {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(151, 167, 188, 0.17);
}

    .player-stats-panel__movement > span[b-6x34cat9mh] {
        color: #9ca5b3;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

.player-stats-panel__movement-value[b-6x34cat9mh] {
    color: #e3e5e9;
    font-size: 0.95rem;
}

.player-stats-panel__movement-value--up[b-6x34cat9mh] {
    color: #69d176;
}

.player-stats-panel__movement-value--down[b-6x34cat9mh] {
    color: #ef6868;
}

.player-stats-panel__movement small[b-6x34cat9mh] {
    color: #778294;
    font-size: 0.68rem;
}

.player-stats-panel__section[b-6x34cat9mh] {
    padding-top: 1rem;
}

    .player-stats-panel__section + .player-stats-panel__section[b-6x34cat9mh] {
        margin-top: 0.1rem;
        border-top: 1px solid rgba(151, 167, 188, 0.17);
    }

    .player-stats-panel__section h3[b-6x34cat9mh] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin: 0 0 0.85rem;
        color: #b36bff;
        font-size: 0.82rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

.player-stats-panel__stats-grid[b-6x34cat9mh] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.player-stats-panel__stat[b-6x34cat9mh] {
    min-width: 0;
    min-height: 58px;
    padding: 0 0.7rem 0.8rem;
    border-right: 1px solid rgba(151, 167, 188, 0.14);
}

    .player-stats-panel__stat:nth-child(3n + 1)[b-6x34cat9mh] {
        padding-left: 0;
    }

    .player-stats-panel__stat:nth-child(3n)[b-6x34cat9mh] {
        padding-right: 0;
        border-right: 0;
    }

    .player-stats-panel__stat:nth-child(n + 4)[b-6x34cat9mh] {
        padding-top: 0.8rem;
        border-top: 1px solid rgba(151, 167, 188, 0.14);
    }

    .player-stats-panel__stat > span[b-6x34cat9mh] {
        display: block;
        color: #8f99a8;
        font-size: 0.66rem;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    .player-stats-panel__stat strong[b-6x34cat9mh] {
        display: block;
        margin-top: 0.3rem;
        color: #f4f2ed;
        font-size: 1.05rem;
        font-weight: 500;
    }

    .player-stats-panel__stat small[b-6x34cat9mh] {
        display: block;
        margin-top: 0.15rem;
        color: #778294;
        font-size: 0.65rem;
    }

.player-stats-panel__section-heading[b-6x34cat9mh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .player-stats-panel__section-heading button[b-6x34cat9mh] {
        padding: 0;
        border: 0;
        background: transparent;
        color: #a45dff;
        cursor: pointer;
        font: inherit;
        font-size: 0.65rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

.player-stats-panel__results-header[b-6x34cat9mh],
.player-stats-panel__result[b-6x34cat9mh] {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(72px, 0.8fr) 58px 76px;
    gap: 0.45rem;
    align-items: center;
}

.player-stats-panel__results-header[b-6x34cat9mh] {
    padding: 0.45rem 0.3rem;
    border-top: 1px solid rgba(151, 167, 188, 0.13);
    border-bottom: 1px solid rgba(151, 167, 188, 0.13);
    color: #7d8796;
    font-size: 0.61rem;
    text-transform: uppercase;
}

.player-stats-panel__results[b-6x34cat9mh] {
    display: grid;
}

.player-stats-panel__result[b-6x34cat9mh] {
    min-height: 49px;
    padding: 0.45rem 0.3rem;
    border-bottom: 1px solid rgba(151, 167, 188, 0.12);
}

    .player-stats-panel__result > strong:first-child[b-6x34cat9mh] {
        overflow: hidden;
        color: #f1efeb;
        font-size: 0.78rem;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .player-stats-panel__result > span:nth-child(2)[b-6x34cat9mh] {
        color: #8e98a7;
        font-size: 0.7rem;
    }

.player-stats-panel__finish[b-6x34cat9mh] {
    justify-self: start;
    padding: 0.18rem 0.38rem;
    border: 1px solid rgba(151, 167, 188, 0.18);
    border-radius: 0.28rem;
    color: #bbc3ce;
    font-size: 0.68rem;
}

.player-stats-panel__finish--first[b-6x34cat9mh] {
    border-color: rgba(218, 166, 48, 0.28);
    background: rgba(218, 166, 48, 0.12);
    color: #f0bd45;
}

.player-stats-panel__finish--second[b-6x34cat9mh] {
    border-color: rgba(107, 133, 220, 0.28);
    background: rgba(107, 133, 220, 0.12);
    color: #91aaff;
}

.player-stats-panel__finish--third[b-6x34cat9mh] {
    border-color: rgba(190, 102, 48, 0.28);
    background: rgba(190, 102, 48, 0.12);
    color: #e69155;
}

.player-stats-panel__result-points[b-6x34cat9mh] {
    justify-self: end;
    color: #f1eee8;
    font-size: 0.72rem;
    font-weight: 500;
}

@media (max-width: 920px) {
    .player-stats-panel[b-6x34cat9mh] {
        border-top: 1px solid rgba(143, 161, 184, 0.15);
        border-left: 0;
    }
}
/* /Components/PlayerCards/PlayerTradingCard.razor.rz.scp.css */
/* =========================================================
   Main collector card shell
   Controls the overall size, border, background and layout.
   ========================================================= */

.player-card[b-dr97f5irsk] {
    --paper: #e9e1cf;
    --ink: #101820;
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto auto;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    border: 5px solid #102b4e;
    border-radius: 1rem;
    background: linear-gradient( 180deg, #eee7d7 0%, #e6ddca 100% );
    box-shadow: inset 0 0 0 3px var(--card-accent), 0 18px 40px rgba(0, 0, 0, 0.3);
    color: var(--ink);
    isolation: isolate;
}


/* =========================================================
   Worn paper texture
   Adds subtle age, unevenness and printed-card character.
   ========================================================= */

.player-card__paper-texture[b-dr97f5irsk] {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient( circle at 20% 10%, rgba(255, 255, 255, 0.42), transparent 24% ), radial-gradient( circle at 82% 35%, rgba(108, 77, 40, 0.08), transparent 32% ), radial-gradient( circle at 15% 82%, rgba(120, 85, 45, 0.06), transparent 22% ), repeating-linear-gradient( 7deg, rgba(60, 40, 20, 0.025) 0, rgba(60, 40, 20, 0.025) 1px, transparent 1px, transparent 5px ), repeating-linear-gradient( 93deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 7px );
    opacity: 0.95;
}


/* =========================================================
   Top header
   Contains IFPA Norway, series name and the season year.
   ========================================================= */

.player-card__header[b-dr97f5irsk] {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.25rem 0.75rem;
}

.player-card__series[b-dr97f5irsk] {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

    .player-card__series strong[b-dr97f5irsk] {
        font-size: 0.9rem;
    }

    .player-card__series span[b-dr97f5irsk] {
        margin-top: 0.15rem;
        font-size: 0.7rem;
        font-weight: 700;
    }

.player-card__year[b-dr97f5irsk] {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
}


/* =========================================================
   Rank block
   Large rank number in the upper-left of the card.
   ========================================================= */

.player-card__rank-block[b-dr97f5irsk] {
    position: absolute;
    top: 78px;
    left: 18px;
    z-index: 5;
    width: 112px;
    padding: 0.8rem 0.9rem 1rem;
    border: 2px solid rgba(20, 30, 42, 0.85);
    border-radius: 0 0.7rem 0.7rem 0;
    background: rgba(234, 225, 207, 0.82);
}

    .player-card__rank-block > span[b-dr97f5irsk] {
        display: block;
        font-size: 0.67rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .player-card__rank-block > strong[b-dr97f5irsk] {
        display: block;
        margin-top: 0.15rem;
        color: var(--card-secondary);
        font-size: 3.4rem;
        font-weight: 950;
        line-height: 0.95;
        letter-spacing: -0.08em;
        text-shadow: -2px -2px 0 #f2eadb, 2px 2px 0 #16253a;
    }


/* =========================================================
   Decorative rank lines
   Gives the rank block a more dynamic sports-card look.
   ========================================================= */

.player-card__rank-lines[b-dr97f5irsk] {
    position: absolute;
    top: 130%;
    left: 15px;
    width: 58px;
    height: 70px;
    background: linear-gradient( 135deg, transparent 0 40%, #17283f 41% 44%, transparent 45% 54%, #17283f 55% 58%, transparent 59% 68%, #17283f 69% 72%, transparent 73% );
}


/* =========================================================
   Portrait area
   Holds the player image and the dynamic diagonal background.
   ========================================================= */

.player-card__portrait-section[b-dr97f5irsk] {
    position: relative;
    z-index: 2;
    min-height: 380px;
    margin-top: -0.5rem;
}


/* =========================================================
   Dynamic stripes beside the portrait
   Creates the blue/red angled movement from the reference.
   ========================================================= */

.player-card__dynamic-stripes[b-dr97f5irsk] {
    position: absolute;
    top: 12px;
    right: -18px;
    z-index: -1;
    width: 46%;
    height: 78%;
    clip-path: polygon( 48% 0, 100% 0, 100% 100%, 0 76% );
    background: repeating-linear-gradient( 135deg, var(--card-primary) 0 18px, var(--card-secondary) 18px 25px, var(--card-primary) 25px 38px, #12284a 38px 50px );
    opacity: 0.96;
}


/* =========================================================
   Player portrait frame
   Larger oval frame with several colored outlines.
   ========================================================= */

.player-card__portrait-frame[b-dr97f5irsk] {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 72%;
    aspect-ratio: 0.88;
    transform: translateX(-50%);
    overflow: hidden;
    border: 6px solid var(--card-primary);
    border-radius: 48% 48% 44% 44% / 42% 42% 50% 50%;
    background: #102f58;
    box-shadow: 0 0 0 3px var(--card-secondary), 0 0 0 7px var(--card-primary), 0 14px 28px rgba(0, 0, 0, 0.28);
}

.player-card__portrait[b-dr97f5irsk] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: #102f58;
}


/* =========================================================
   Slanted navy name banner
   Displays the player name across the portrait area.
   ========================================================= */

.player-card__name-banner[b-dr97f5irsk] {
    position: relative;
    z-index: 6;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: -2.3rem -1.25rem 0;
    padding: 1rem 2rem 1.15rem;
    transform: rotate(-5deg);
    background: linear-gradient( 90deg, #102f58 0%, var(--card-primary) 100% );
    clip-path: polygon( 0 16%, 100% 0, 96% 82%, 2% 100% );
    color: #f4eee1;
    text-transform: uppercase;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.24);
}

    .player-card__name-banner span[b-dr97f5irsk] {
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: 0.05em;
    }

    .player-card__name-banner strong[b-dr97f5irsk] {
        font-size: 1.9rem;
        font-weight: 950;
        letter-spacing: 0.04em;
    }


/* =========================================================
   Slanted red country banner
   Shows the country name and country code below the name.
   ========================================================= */

.player-card__country-banner[b-dr97f5irsk] {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    width: 72%;
    margin: -0.35rem auto 1rem;
    padding: 0.45rem 1.5rem;
    transform: rotate(-4deg);
    clip-path: polygon( 4% 0, 100% 0, 90% 100%, 0 100% );
    background: linear-gradient( 90deg, color-mix(in srgb, var(--card-secondary) 78%, black), var(--card-secondary) 55%, color-mix(in srgb, var(--card-secondary) 82%, white) );
    color: var(--card-secondary-text);
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.player-card__country-code[b-dr97f5irsk] {
    padding-left: 0.8rem;
    border-left: 1px solid rgba(255, 255, 255, 0.45);
}


/* =========================================================
   Three bottom stat boxes
   WPPR points, world rank and movement.
   ========================================================= */

.player-card__stats[b-dr97f5irsk] {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0.8rem 0.75rem;
    overflow: hidden;
    border: 2px solid rgba(16, 24, 32, 0.88);
    border-radius: 0.8rem;
}

.player-card__stat[b-dr97f5irsk] {
    min-width: 0;
    padding: 0.8rem 0.55rem;
    text-align: center;
}

    .player-card__stat + .player-card__stat[b-dr97f5irsk] {
        border-left: 1px solid rgba(16, 24, 32, 0.8);
    }

    .player-card__stat span[b-dr97f5irsk] {
        display: block;
        font-size: 0.64rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .player-card__stat strong[b-dr97f5irsk] {
        display: block;
        margin-top: 0.3rem;
        font-size: 1.35rem;
        font-weight: 950;
    }

    .player-card__stat small[b-dr97f5irsk] {
        display: block;
        margin-top: 0.1rem;
        font-size: 0.55rem;
    }


/* =========================================================
   Rank movement colors
   Green for positive, red for negative, neutral otherwise.
   ========================================================= */

.player-card__movement[b-dr97f5irsk] {
    color: var(--ink);
}

.player-card__movement--up[b-dr97f5irsk] {
    color: #3d9d55;
}

.player-card__movement--down[b-dr97f5irsk] {
    color: #bc3a3a;
}


/* =========================================================
   Black/navy footer strip
   Displays IFPA ID, country code and collector number.
   ========================================================= */

.player-card__footer[b-dr97f5irsk] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    background: #0d223d;
    color: #eee5d4;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.player-card__footer-dot[b-dr97f5irsk] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--card-accent);
}


/* =========================================================
   Fallback styling for broken or missing player images
   Keeps the portrait area visually consistent.
   ========================================================= */

.player-card__portrait:not([src])[b-dr97f5irsk],
.player-card__portrait[src=""][b-dr97f5irsk] {
    background: radial-gradient( circle at 50% 35%, #324b70, #102f58 65% );
}

/* =========================================================
   Club affiliation logo
   Sits near the lower-left edge of the portrait.
   ========================================================= */

.player-card__club-logo[b-dr97f5irsk] {
    position: absolute;
    left: 1.65rem;
    bottom: 1.2rem;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    padding: 0.35rem;
    border: 3px solid var(--card-accent);
    border-radius: 50%;
    background: rgba(244, 238, 225, 0.96);
    box-shadow: 0 0 0 3px var(--card-primary), 0 7px 16px rgba(0, 0, 0, 0.3);
}

.player-card__club-logo-image[b-dr97f5irsk] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   Responsive adjustment
   Slightly reduces the card height on smaller screens.
   ========================================================= */

@media (max-width: 920px) {
    .player-card[b-dr97f5irsk] {
        min-height: 640px;
    }

    .player-card__portrait-section[b-dr97f5irsk] {
        min-height: 340px;
    }

    .player-card__name-banner strong[b-dr97f5irsk] {
        font-size: 1.6rem;
    }
}
