/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-l2u2vr5rz1] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-l2u2vr5rz1] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-tncmlqnrzj],
.components-reconnect-repeated-attempt-visible[b-tncmlqnrzj],
.components-reconnect-failed-visible[b-tncmlqnrzj],
.components-pause-visible[b-tncmlqnrzj],
.components-resume-failed-visible[b-tncmlqnrzj],
.components-rejoining-animation[b-tncmlqnrzj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-tncmlqnrzj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-tncmlqnrzj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-tncmlqnrzj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-tncmlqnrzj],
#components-reconnect-modal.components-reconnect-retrying[b-tncmlqnrzj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-tncmlqnrzj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-tncmlqnrzj],
#components-reconnect-modal.components-reconnect-failed[b-tncmlqnrzj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-tncmlqnrzj] {
    display: block;
}


#components-reconnect-modal[b-tncmlqnrzj] {
    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-tncmlqnrzj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-tncmlqnrzj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-tncmlqnrzj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-tncmlqnrzj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-tncmlqnrzj 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-tncmlqnrzj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-tncmlqnrzj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-tncmlqnrzj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-tncmlqnrzj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-tncmlqnrzj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-tncmlqnrzj] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-tncmlqnrzj] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-tncmlqnrzj] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-tncmlqnrzj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-tncmlqnrzj] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-tncmlqnrzj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-tncmlqnrzj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-tncmlqnrzj {
    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/Shared/PlayerAssessmentCard.razor.rz.scp.css */
/*
    Styling copied from art/Sample/playercard.png: deep navy card, lime bars, a
    hexagonal radar and a pitch outline.

    Deliberately not copied: the mockup's contrast. Its labels sit at roughly
    2.5:1 against the card, which fails WCAG AA and is unreadable on a laptop in
    daylight — a scouting tool gets used on touchlines. Text here is lifted to at
    least 4.5:1 while keeping the palette.
*/

.card[b-aqasup6o5a] {
    /* One source for the palette: app.css defines it, this card and every
       knowledge-bank panel read it. Two copies would drift, and the card is
       the thing they are all meant to match. */
    --card-top: var(--pitch-navy-top);
    --card-bottom: var(--pitch-navy-bottom);
    --line: var(--pitch-line);
    --ink: var(--pitch-ink);
    --ink-dim: var(--pitch-ink-dim);
    --lime: var(--pitch-lime);
    --lime-bright: var(--pitch-lime-bright);

    position: relative;
    max-width: 34rem;
    padding: 1.5rem 1.5rem 1.25rem;
    border-radius: 20px;
    background: linear-gradient(160deg, var(--card-top), var(--card-bottom));
    box-shadow: 0 18px 44px rgba(4, 12, 28, 0.45);
    color: var(--ink);
}

/* -- Header -------------------------------------------------------------- */

.card-head[b-aqasup6o5a] {
    display: flex;
    justify-content: center;
    position: relative;
}

.avatar[b-aqasup6o5a] {
    width: 7.5rem;
    height: 6.9rem;
    fill: rgba(255, 255, 255, 0.28);
}

/* The photograph covers the silhouette rather than replacing it in the markup,
   so a file that fails to load reveals the fallback with no layout shift. */
.portrait[b-aqasup6o5a] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6.9rem;
    height: 6.9rem;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: var(--card-bottom);
}

.portrait.portrait-missing[b-aqasup6o5a] {
    display: none;
}

.badge[b-aqasup6o5a] {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 4.6rem;
    height: 4.6rem;
    border: 3px solid var(--lime);
    border-radius: 50%;
    background: rgba(8, 22, 46, 0.85);
}

.badge-value[b-aqasup6o5a] {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.badge-scale[b-aqasup6o5a] {
    font-size: 0.62rem;
    color: var(--ink-dim);
    letter-spacing: 0.04em;
}

.card-name[b-aqasup6o5a] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.6rem 0 0.4rem;
    border-top: 1px solid var(--line);
    margin-top: 0.4rem;
}

.card-name h2[b-aqasup6o5a] {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.shirt[b-aqasup6o5a] {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border: 2px solid var(--lime);
    border-radius: 50%;
    font-weight: 700;
}

.card-strip[b-aqasup6o5a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.45rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.card-strip.subtle[b-aqasup6o5a] {
    font-size: 0.78rem;
    color: var(--ink-dim);
}

.card-strip .sep[b-aqasup6o5a] {
    width: 1px;
    height: 0.9rem;
    background: var(--line);
}

.card-strip .muted[b-aqasup6o5a] {
    color: var(--ink-dim);
    font-style: italic;
}

/* -- Assessment ---------------------------------------------------------- */

.card-body[b-aqasup6o5a] {
    display: grid;
    grid-template-columns: 1fr 11rem;
    gap: 1.1rem;
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
}

/* One column under ~30rem: the radar and the bars each need their width, and
   squeezing both makes the labels wrap to nothing legible. */
@media (max-width: 30rem) {
    .card-body[b-aqasup6o5a] {
        grid-template-columns: 1fr;
    }
}

.section-title[b-aqasup6o5a] {
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 0.5rem;
}

.bar-row[b-aqasup6o5a] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 0.98rem;
}

.bar-label[b-aqasup6o5a] {
    font-weight: 500;
}

.bar-value[b-aqasup6o5a] {
    font-weight: 700;
}

.bar-track[b-aqasup6o5a] {
    height: 6px;
    margin: 0.2rem 0 0.7rem;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.bar-fill[b-aqasup6o5a] {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--lime), var(--lime-bright));
}

.radar[b-aqasup6o5a] {
    display: grid;
    place-items: center;
}

.radar svg[b-aqasup6o5a] {
    width: 100%;
    max-width: 11rem;
}

.radar .grid[b-aqasup6o5a] {
    fill: none;
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1;
}

.radar .shape[b-aqasup6o5a] {
    fill: rgba(134, 214, 51, 0.45);
    stroke: var(--lime-bright);
    stroke-width: 2.5;
    stroke-linejoin: round;
}

.byline[b-aqasup6o5a] {
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--ink-dim);
}

.byline strong[b-aqasup6o5a] {
    color: var(--ink);
}

.private[b-aqasup6o5a] {
    margin-left: 0.5rem;
    padding: 0.05rem 0.45rem;
    border: 1px solid #e6b422;
    border-radius: 999px;
    color: #f0cf6b;
    font-size: 0.7rem;
}

.summary[b-aqasup6o5a] {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

/* -- Stated absences ------------------------------------------------------ */

.absence[b-aqasup6o5a] {
    margin-top: 0.9rem;
    padding: 0.7rem 0.85rem;
    border: 1px dashed var(--line);
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--ink-dim);
}

.absence strong[b-aqasup6o5a] {
    color: var(--ink);
}

/* -- Pitch ---------------------------------------------------------------- */

.pitch[b-aqasup6o5a] {
    margin-top: 0.9rem;
    text-align: center;
}

.pitch svg[b-aqasup6o5a] {
    width: 100%;
    max-width: 18rem;
}

.pitch svg rect[b-aqasup6o5a],
.pitch svg circle[b-aqasup6o5a],
.pitch svg line[b-aqasup6o5a] {
    fill: none;
    stroke: rgba(134, 214, 51, 0.45);
    stroke-width: 2;
}

.pitch-note[b-aqasup6o5a] {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    color: var(--ink-dim);
}
