.pitch-interaction-area {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Pitch fills available height minus bank, constrains itself to a square */
#pitch-container {
    position: relative;
    aspect-ratio: 1 / 1;
    /* Height = total container minus the bank strip */
    height: calc(100% - 110px);
    /* Width is derived from aspect-ratio; max out at 100% */
    max-width: 100%;
    background-color: #090909;
    overflow: hidden;
    flex-shrink: 0;
}

#pitch-surface {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Decorative Lines */
.pitch-line {
    position: absolute;
    background-color: #d9d9d9;
}

.pitch-line.horz {
    width: 100%;
    left: 0;
}

.pitch-line.top {
    height: 6px;
    top: 0;
}

.pitch-line.mid {
    height: 3px;
    top: 65%; /* ~247/379 */
}

.pitch-line.vert {
    width: 3px;
    height: 65%; /* matches mid line */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Bank for Jerseys */
#bank {
    position: relative;
    width: 100%;
    height: 110px; /* Fixed bank height is fine — jerseys have a fixed size */
    flex-shrink: 0;
    overflow: hidden;
}

/* Dress Styling */
.dress {
    width: 70px;
    height: 70px;
    position: absolute;
    left: 0;
    top: 0;
    cursor: grab;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.dress img {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dress-label {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-style: italic;
    color: #000;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
}

/* Whistle Trigger */
.whistle-trigger {
    width: 35px;
    height: 35px;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: transform 0.2s ease;
}

.whistle-trigger:hover {
    transform: scale(1.1);
}

.whistle-trigger img {
    height: 100%;
    width: auto;
}
