/*
 * HAVEN Website v3
 * Shot Placement visual candidate v0.1
 *
 * Additive stylesheet only.
 * The accepted Player Profile v0.1 stylesheet remains untouched.
 */

.shot-placement-panel {
    padding: 22px;
    border:
        1px solid
        rgba(209, 106, 45, 0.4);
    background:
        linear-gradient(
            145deg,
            rgba(19, 25, 29, 0.98),
            rgba(12, 16, 19, 0.98)
        );
    box-shadow:
        inset 0 0 0 1px
        rgba(255, 255, 255, 0.018);
}

.shot-placement-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-top: 14px;
}

.shot-placement-heading h2 {
    margin-bottom: 0;
}

.shot-placement-coverage {
    max-width: 470px;
    text-align: right;
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}

.shot-placement-coverage strong {
    color: rgba(255, 255, 255, 0.86);
}

.shot-placement-warning {
    max-width: 1040px;
    margin:
        18px
        0
        20px;
    color: rgba(255, 255, 255, 0.63);
}

.shot-placement-tabs {
    position: relative;
    display: grid;
    grid-template-columns:
        auto
        auto
        1fr;
    align-items: end;
    column-gap: 6px;
}

.shot-tab-control {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.shot-tab-label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding:
        0
        17px;
    border:
        1px solid
        rgba(255, 255, 255, 0.09);
    border-bottom: 0;
    background:
        rgba(255, 255, 255, 0.025);
    color:
        rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transition:
        border-color 120ms ease,
        color 120ms ease,
        background 120ms ease;
}

.shot-tab-control:focus-visible
+ .shot-tab-label {
    outline:
        2px solid
        rgba(239, 154, 102, 0.8);
    outline-offset: 2px;
}

.shot-tab-control:checked
+ .shot-tab-label {
    border-color:
        rgba(209, 106, 45, 0.55);
    background:
        rgba(209, 106, 45, 0.12);
    color:
        rgba(255, 255, 255, 0.94);
}

.shot-placement-panes {
    grid-column:
        1
        /
        -1;
    border:
        1px solid
        rgba(255, 255, 255, 0.085);
    background:
        rgba(0, 0, 0, 0.15);
}

.shot-placement-pane {
    display: none;
    padding: 20px;
}

.shot-tab-control-dealt:checked
~ .shot-placement-panes
.shot-placement-pane-dealt {
    display: block;
}

.shot-tab-control-received:checked
~ .shot-placement-panes
.shot-placement-pane-received {
    display: block;
}

.shot-direction-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);
}

.shot-direction-heading > div {
    display: flex;
    align-items: baseline;
    gap: 11px;
}

.shot-direction-heading span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color:
        rgba(255, 255, 255, 0.52);
}

.shot-direction-heading strong {
    font-size: 1.72rem;
    line-height: 1;
    color:
        rgba(255, 255, 255, 0.96);
}

.shot-direction-heading small {
    font-size: 0.71rem;
    line-height: 1.5;
    text-align: right;
    color:
        rgba(255, 255, 255, 0.42);
}

.shot-summary-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 10px;
    margin-top: 16px;
}

.shot-summary-card {
    min-height: 100px;
    padding: 14px;
    border:
        1px solid
        rgba(255, 255, 255, 0.075);
    background:
        rgba(255, 255, 255, 0.018);
}

.shot-summary-card span {
    display: block;
    min-height: 28px;
    font-size: 0.67rem;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color:
        rgba(255, 255, 255, 0.43);
}

.shot-summary-card strong {
    display: block;
    margin-top: 5px;
    font-size: 1.28rem;
    line-height: 1.2;
    color:
        rgba(255, 255, 255, 0.94);
}

.shot-summary-card small {
    display: block;
    margin-top: 5px;
    font-size: 0.67rem;
    line-height: 1.35;
    color:
        rgba(255, 255, 255, 0.4);
}

.shot-placement-analysis {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.8fr)
        minmax(420px, 1.8fr);
    gap: 18px;
    margin-top: 18px;
}

.shot-body-figure,
.shot-region-breakdown {
    border:
        1px solid
        rgba(255, 255, 255, 0.075);
    background:
        rgba(0, 0, 0, 0.18);
}

.shot-body-figure {
    padding: 14px;
}

.shot-body-label {
    min-height: 36px;
    margin-bottom: 8px;
    font-size: 0.7rem;
    line-height: 1.45;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color:
        rgba(255, 255, 255, 0.43);
}

.shot-body-svg {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin:
        0
        auto;
}

.shot-body-frame {
    fill:
        rgba(255, 255, 255, 0.012);
    stroke:
        rgba(255, 255, 255, 0.06);
}

.shot-body-guide {
    fill: none;
    stroke:
        rgba(255, 255, 255, 0.04);
    stroke-width: 1;
    stroke-dasharray:
        3
        6;
}

.shot-zone-shape {
    stroke:
        rgba(255, 255, 255, 0.18);
    stroke-width: 1.25;
    transition:
        fill 120ms ease,
        stroke 120ms ease;
}

.shot-zone:hover
.shot-zone-shape {
    stroke:
        rgba(255, 255, 255, 0.72);
}

.shot-zone.shot-level-0
.shot-zone-shape,
.shot-region-fill.shot-level-0 {
    fill:
        rgba(255, 255, 255, 0.035);
}

.shot-zone.shot-level-1
.shot-zone-shape,
.shot-region-fill.shot-level-1 {
    fill:
        rgba(209, 106, 45, 0.18);
}

.shot-zone.shot-level-2
.shot-zone-shape,
.shot-region-fill.shot-level-2 {
    fill:
        rgba(209, 106, 45, 0.3);
}

.shot-zone.shot-level-3
.shot-zone-shape,
.shot-region-fill.shot-level-3 {
    fill:
        rgba(209, 106, 45, 0.46);
}

.shot-zone.shot-level-4
.shot-zone-shape,
.shot-region-fill.shot-level-4 {
    fill:
        rgba(209, 106, 45, 0.64);
}

.shot-zone.shot-level-5
.shot-zone-shape,
.shot-region-fill.shot-level-5 {
    fill:
        rgba(239, 154, 102, 0.86);
}

.shot-region-breakdown {
    padding: 16px;
}

.shot-breakdown-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    padding-bottom: 13px;
    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.075);
}

.shot-breakdown-heading span {
    display: block;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color:
        rgba(255, 255, 255, 0.43);
}

.shot-breakdown-heading strong {
    display: block;
    margin-top: 4px;
    font-size: 1rem;
    color:
        rgba(255, 255, 255, 0.88);
}

.shot-breakdown-heading small {
    max-width: 230px;
    text-align: right;
    font-size: 0.69rem;
    line-height: 1.45;
    color:
        rgba(255, 255, 255, 0.4);
}

.shot-region-row {
    display: grid;
    grid-template-columns:
        96px
        minmax(80px, 1fr)
        58px
        66px;
    gap: 10px;
    align-items: center;
    min-height: 45px;
    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.055);
}

.shot-region-row:last-child {
    border-bottom: 0;
}

.shot-region-name {
    font-size: 0.73rem;
    color:
        rgba(255, 255, 255, 0.7);
}

.shot-region-bar {
    height: 7px;
    overflow: hidden;
    background:
        rgba(255, 255, 255, 0.045);
}

.shot-region-fill {
    width: 100%;
    height: 100%;
    transform-origin: left center;
}

.shot-region-count,
.shot-region-percent {
    text-align: right;
    font-size: 0.75rem;
}

.shot-region-count {
    color:
        rgba(255, 255, 255, 0.82);
}

.shot-region-percent {
    color:
        rgba(239, 154, 102, 0.86);
}

.shot-placement-empty {
    margin-top: 20px;
    padding: 18px;
    border:
        1px solid
        rgba(255, 255, 255, 0.075);
    background:
        rgba(0, 0, 0, 0.16);
}

.shot-placement-empty strong {
    display: block;
    color:
        rgba(255, 255, 255, 0.9);
}

.shot-placement-empty p {
    max-width: 840px;
    margin:
        8px
        0
        0;
    color:
        rgba(255, 255, 255, 0.55);
}

@media (max-width: 1000px) {

    .shot-placement-analysis {
        grid-template-columns:
            minmax(220px, 0.75fr)
            minmax(360px, 1.25fr);
    }

    .shot-summary-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}

@media (max-width: 760px) {

    .shot-placement-heading,
    .shot-direction-heading,
    .shot-breakdown-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .shot-placement-coverage,
    .shot-direction-heading small,
    .shot-breakdown-heading small {
        text-align: left;
    }

    .shot-placement-analysis {
        grid-template-columns: 1fr;
    }

    .shot-placement-pane {
        padding: 14px;
    }

    .shot-region-row {
        grid-template-columns:
            84px
            minmax(60px, 1fr)
            48px
            58px;
        gap: 7px;
    }

}

@media (max-width: 560px) {

    .shot-placement-panel {
        padding: 16px;
    }

    .shot-placement-tabs {
        grid-template-columns:
            1fr
            1fr;
    }

    .shot-tab-label {
        padding:
            0
            9px;
    }

    .shot-summary-grid {
        grid-template-columns: 1fr;
    }

    .shot-direction-heading > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .shot-region-row {
        grid-template-columns:
            74px
            1fr
            48px;
    }

    .shot-region-bar {
        display: none;
    }

    .shot-region-percent {
        text-align: right;
    }

}


/* =========================================================
   Shot Placement visual candidate v0.2
   Human silhouette + reference-style impact callouts
   ========================================================= */

.shot-placement-analysis {
    grid-template-columns:
        minmax(520px, 1.55fr)
        minmax(330px, 0.9fr);
    gap: 18px;
}

.shot-body-figure {
    position: relative;
    overflow: hidden;
    padding:
        14px
        12px
        10px;
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(209, 106, 45, 0.055),
            rgba(0, 0, 0, 0) 48%
        ),
        rgba(0, 0, 0, 0.18);
}

.shot-body-label {
    position: relative;
    z-index: 2;
    min-height: 30px;
    margin-bottom: 0;
}

.shot-body-svg {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin:
        -2px
        auto
        0;
    overflow: visible;
}

.shot-human-base {
    fill:
        rgba(18, 23, 27, 0.96);
    stroke:
        rgba(232, 238, 242, 0.66);
    stroke-width: 1.65;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.shot-human-detail {
    fill: none;
    stroke:
        rgba(232, 238, 242, 0.16);
    stroke-width: 1;
    stroke-linecap: round;
}

.shot-zone-shape {
    stroke:
        rgba(239, 154, 102, 0.72);
    stroke-width: 1.5;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.shot-zone:hover
.shot-zone-shape {
    stroke:
        rgba(255, 190, 145, 0.98);
    stroke-width: 2;
}

.shot-callout-line {
    fill: none;
    stroke:
        rgba(239, 116, 31, 0.92);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shot-callout-dot {
    fill:
        rgb(239, 116, 31);
    stroke:
        rgba(255, 188, 137, 0.38);
    stroke-width: 2;
}

.shot-callout-label {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: 0.09em;
    fill:
        rgba(232, 238, 242, 0.88);
    paint-order: stroke;
    stroke:
        rgba(6, 9, 11, 0.88);
    stroke-width: 4px;
    stroke-linejoin: round;
}

.shot-callout-value {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    fill:
        rgb(247, 126, 36);
    paint-order: stroke;
    stroke:
        rgba(6, 9, 11, 0.92);
    stroke-width: 5px;
    stroke-linejoin: round;
}

.shot-centre-callout
.shot-callout-label {
    font-size: 16px;
}

.shot-centre-callout
.shot-callout-value {
    font-size: 31px;
}

@media (max-width: 1150px) {

    .shot-placement-analysis {
        grid-template-columns: 1fr;
    }

    .shot-body-svg {
        max-width: 760px;
    }

}

@media (max-width: 760px) {

    .shot-body-figure {
        padding:
            12px
            4px
            8px;
    }

    .shot-body-svg {
        width: 112%;
        max-width: none;
        margin-left: -6%;
    }

}

@media (max-width: 560px) {

    .shot-body-svg {
        width: 128%;
        margin-left: -14%;
    }

}
