/**
 * BESTPICK compatibility stylesheet
 *
 * 기존 페이지 호환을 위해 공통 CSS를 한 곳에서 불러옵니다.
 * 페이지 전용 CSS는 각 PHP 페이지에서 별도로 로드합니다.
 */

@import url('/css/common.css?v=20260715-1');
@import url('/css/layout.css?v=20260715-1');
@import url('/css/components.css?v=20260715-1');
@import url('/css/responsive.css?v=20260715-1');

/* Member match prediction */

.bp-member-prediction-box {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid #263b52;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(31, 177, 243, .08),
            rgba(15, 24, 36, .98) 48%
        );
}

.bp-member-prediction-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.bp-member-prediction-head span {
    display: block;
    margin-bottom: 5px;
    color: #36bcfa;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .09em;
}

.bp-member-prediction-head h2 {
    margin: 0;
    color: #f3f7fc;
    font-size: 1.5rem;
}

.bp-member-prediction-head > a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid #30475f;
    border-radius: 8px;
    color: #aebed0;
    font-size: 12px;
    font-weight: 800;
}

.bp-member-prediction-head > a:hover {
    border-color: #36bcfa;
    color: #47c7ff;
}

.bp-member-prediction-guest {
    padding: 28px 18px;
    border: 1px solid #25384e;
    border-radius: 12px;
    background: rgba(7, 15, 25, .55);
    text-align: center;
}

.bp-member-prediction-guest strong {
    display: block;
    color: #eef4fb;
    font-size: 1.25rem;
}

.bp-member-prediction-guest p {
    margin: 9px 0 18px;
    color: #8296ad;
    line-height: 1.6;
    font-size:1rem;
}

.bp-member-prediction-guest > div {
    display: flex;
    justify-content: center;
    gap: 9px;
}

.bp-member-prediction-guest a {
    min-width: 88px;
    padding: 10px 15px;
    border: 1px solid #314961;
    border-radius: 9px;
    color: #c2cfdd;
    font-size: 1rem;
    font-weight: 900;
}

.bp-member-prediction-guest a:last-child {
    border-color: #25b4f6;
    background: #25b4f6;
    color: #06121b;
}

.bp-member-prediction-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.bp-member-prediction-form legend {
    margin-bottom: 11px;
    color: #93a7bd;
    font-size: 1rem;
    font-weight: 800;
}

.bp-member-prediction-choices {
    display: grid;
    grid-template-columns: repeat(
        3,
        minmax(0, 1fr)
    );
    gap: 10px;
}

.bp-member-prediction-choices label {
    min-width: 0;
    cursor: pointer;
}

.bp-member-prediction-choices input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.bp-member-prediction-choices span {
    display: grid;
    place-items: center;
    min-height: 51px;
    padding: 7px 10px;
    border: 1px solid #2a3d54;
    border-radius: 10px;
    background: #0a141f;
    color: #a7b7c9;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    transition:
        border-color .18s ease,
        background .18s ease,
        color .18s ease;
}

.bp-member-prediction-choices label:hover span {
    border-color: #3a6685;
    color: #dce8f4;
}

.bp-member-prediction-choices input:checked + span {
    border-color: #2bb9f8;
    background: rgba(43, 185, 248, .14);
    color: #56caff;
    box-shadow:
        inset 0 0 0 1px
        rgba(43, 185, 248, .12);
}

.bp-member-prediction-form fieldset:disabled {
    opacity: .68;
}

.bp-member-prediction-form fieldset:disabled label {
    cursor: default;
}

.bp-member-prediction-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

.bp-member-prediction-actions button {
    min-width: 130px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: #25b4f6;
    color: #06121b;
    font-weight: 900;
    cursor: pointer;
    font-size:1rem;
}

.bp-member-prediction-actions button:disabled {
    opacity: .55;
    cursor: wait;
}

.bp-member-prediction-actions small {
    color: #778ca4;
    font-size:1rem;
}

.bp-member-prediction-locked {
    display: grid;
    gap: 5px;
    margin-top: 15px;
    padding: 13px 15px;
    border: 1px solid #2a3c51;
    border-radius: 9px;
    background: #0a131e;
}

.bp-member-prediction-locked strong {
    color: #dce6f1;
    font-size: 1.15rem;
}

.bp-member-prediction-locked span {
    color: #7d90a6;
    font-size: 1rem;
}

.bp-member-prediction-message {
    min-height: 19px;
    margin: 12px 0 0;
    color: #8396ad;
    font-size: 12px;
}

.bp-member-prediction-message.is-success {
    color: #58dda1;
    font-size:1rem;
}

.bp-member-prediction-message.is-error {
    color: #ff8492;
}

@media (max-width: 680px) {
    .bp-member-prediction-box {
        padding: 18px 14px;
    }

    .bp-member-prediction-head {
        gap: 12px;
    }

    .bp-member-prediction-choices {
        grid-template-columns: 1fr;
    }

    .bp-member-prediction-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bp-member-prediction-actions button {
        width: 100%;
    }
}

.bp-member-prediction-markets {
    display: grid;
    gap: 22px;
}

.bp-member-prediction-markets
.bp-member-prediction-form
+ .bp-member-prediction-form {
    padding-top: 21px;
    border-top: 1px solid #26394f;
}

.bp-member-prediction-choices.has-two-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 680px) {
    .bp-member-prediction-choices.has-two-choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
   .bp-member-prediction-head span{
    font-size:.85rem;
   }
   .bp-member-prediction-head h2 {
        font-size: 1.25rem;
    }
    .bp-member-prediction-guest strong{font-size:1rem;}
    .bp-member-prediction-guest p{font-size:.85rem;}
    .bp-member-prediction-head > a{font-size:.85rem;}
    .bp-member-prediction-choices span{font-size:.85rem;}
    .bp-member-prediction-actions small{font-size:.85rem;}
    .bp-member-prediction-message.is-success{font-size:.85rem;}
    .bp-member-prediction-locked strong{font-size:1rem;}
    .bp-member-prediction-locked span{font-size:.85rem;}
}