.---jcm {
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    padding: 24px;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 10000000;
}

.---jcm:not(.---active) {
    display: none;
}

.---jcm .---content {
    width: 100%;
    max-width: 1000px;
    padding: 24px;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    height: fit-content;
}

.---jcm .---preview {
    min-width: 280px;
    flex: 1;
    height: fit-content;
    position: relative;
}

.---jcm .---form {
    min-width: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .---jcm .---form {
        order: 2;
    }
    .---jcm .---preview {
        order: 1;
    }
}

/*.---jcm .---preview > img {*/
/*    width: 100%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    object-fit: contain;*/
/*    height: auto;*/
/*}*/

.---jcm .---form h2 {
    margin-top: 0;
}

.---jcm .---name,
.---jcm .---number {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.---jcm .---name {
    font-family: jersey-name;
    font-size: 34px;
    top: 128px;
    left: 230px;
}

.---jcm .---number {
    font-family: jersey-number;
    font-size: 90px;
    top: 198px;
    left: 237px;
}

.---jcm label {
    display: block;
    color: #6d6d6d;
    font-weight: 700;
    margin-bottom: 8px;
}

.---jcm input {
    display: block;
    background-color: #f2f2f2;
    color: #43454b;
    font-weight: 400;
    height: 40px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 300px;
}

.---jcm .---spacer {
    flex: 1;
}

.---jcm .---actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.---jcm .---confirm {
    height: 45px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
}

.---jcm .---confirm {
    background-color: #333333;
    color: white;
}

.---jcm .---confirm:hover {
    background-color: #1a1a1a;
}

.jersey-highlight {
    background: rgba(255, 224, 102, 0.65);
    color: #222;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1px;
}


.jersey-highlight-value {
    background: rgba(102, 179, 255, 0.25);
    color: #005099;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1px;
}