/* Auto-restored desktop profile pane styles (loyalty, messages, 2FA, withdrawal, kyc, refs) */

/* ===== RESTORED FROM profile.css: security ===== */
/* ── Profil güvenlik alt sayfaları (şifre / 2FA / dondur) ── */
html.is-web #profileModal .profile-security-single,
html.is-web #profilePlayerMain .profile-security-single{
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
html.is-web #profileModal .profile-security-single--freeze,
html.is-web #profilePlayerMain .profile-security-single--freeze{
    max-width: 680px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}
html.is-web #profileModal .profile-security-single--twofa,
html.is-web #profilePlayerMain .profile-security-single--twofa{
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}
html.is-web #profileModal .profile-security-single--password,
html.is-web #profilePlayerMain .profile-security-single--password{
    margin-left: 0;
    margin-right: auto;
}

html.is-web #profileModal .personal-details-page--deposit-withdraw .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--deposit-withdraw .profile-section-body{
    padding: 0.5rem 0.65rem 0.85rem;
    min-width: 0;
    overflow-x: hidden;
}
@media (max-width: 576px) {
    html.is-web #profileModal .personal-details-page--deposit-withdraw .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--deposit-withdraw .profile-section-body{
        padding: 0.35rem 0.45rem 0.7rem;
    }
}
html.is-web #profileModal .personal-details-page--tx-history .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--tx-history .profile-section-body,
html.is-web #profileModal .personal-details-page--withdrawal-status .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--withdrawal-status .profile-section-body{
    padding: 0.65rem 0.5rem 0.85rem;
}
@media (min-width: 576px) {
    html.is-web #profileModal .personal-details-page--tx-history .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--tx-history .profile-section-body,
html.is-web #profileModal .personal-details-page--withdrawal-status .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--withdrawal-status .profile-section-body{
        padding: 0.65rem 0.85rem 0.9rem;
    }
}

html.is-web #profileModal .profile-security-section-stack,
html.is-web #profilePlayerMain .profile-security-section-stack{
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding-bottom: 0.5rem;
}
html.is-web #profileModal .password-change-header,
html.is-web #profilePlayerMain .password-change-header,
html.is-web #profileModal .twofa-header,
html.is-web #profilePlayerMain .twofa-header,
html.is-web #profileModal .freeze-header,
html.is-web #profilePlayerMain .freeze-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: none;
}
html.is-web #profileModal .password-change-header,
html.is-web #profilePlayerMain .password-change-header,
html.is-web #profileModal .twofa-header,
html.is-web #profilePlayerMain .twofa-header{
    background: #12121a;
}
html.is-web #profileModal .freeze-header,
html.is-web #profilePlayerMain .freeze-header{
    background: #1a0f24;
}
html.is-web #profileModal .password-change-title,
html.is-web #profilePlayerMain .password-change-title,
html.is-web #profileModal .twofa-title,
html.is-web #profilePlayerMain .twofa-title,
html.is-web #profileModal .freeze-title,
html.is-web #profilePlayerMain .freeze-title{
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
}
html.is-web #profileModal .password-change-close,
html.is-web #profilePlayerMain .password-change-close,
html.is-web #profileModal .twofa-close,
html.is-web #profilePlayerMain .twofa-close,
html.is-web #profileModal .freeze-close,
html.is-web #profilePlayerMain .freeze-close{
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 0.2rem;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.88;
}
html.is-web #profileModal .password-change-close:hover,
html.is-web #profilePlayerMain .password-change-close:hover,
html.is-web #profileModal .twofa-close:hover,
html.is-web #profilePlayerMain .twofa-close:hover,
html.is-web #profileModal .freeze-close:hover,
html.is-web #profilePlayerMain .freeze-close:hover{
    opacity: 1;
    color: #fff;
}
html.is-web #profileModal .password-change-form,
html.is-web #profilePlayerMain .password-change-form{
    padding: 0;
    display: flex;
    flex-direction: column;
}
html.is-web #profileModal .personal-details-page--password .password-change-form,
html.is-web #profilePlayerMain .personal-details-page--password .password-change-form{
    padding-top: 0.15rem;
}
html.is-web #profileModal .password-change-field,
html.is-web #profilePlayerMain .password-change-field{
    margin-bottom: 0.875rem;
}
html.is-web #profileModal .password-change-field:last-of-type,
html.is-web #profilePlayerMain .password-change-field:last-of-type{
    margin-bottom: 1.15rem;
}
html.is-web #profileModal .password-change-input,
html.is-web #profilePlayerMain .password-change-input{
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}
html.is-web #profileModal .password-change-input::placeholder,
html.is-web #profilePlayerMain .password-change-input::placeholder{
    color: rgba(196, 192, 214, 0.82);
}
html.is-web #profileModal .password-change-input:focus,
html.is-web #profilePlayerMain .password-change-input:focus{
    outline: none;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.09);
}
html.is-web #profileModal .password-change-footer,
html.is-web #profilePlayerMain .password-change-footer{
    display: flex;
    justify-content: flex-start;
    align-self: flex-start;
    width: 100%;
}
html.is-web #profileModal .password-change-btn,
html.is-web #profilePlayerMain .password-change-btn{
    padding: 11px 40px;
    border-radius: 5px;
    border: none;
    background: #2c3348;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.12s;
}
html.is-web #profileModal .password-change-btn:hover,
html.is-web #profilePlayerMain .password-change-btn:hover{
    background: #363e55;
    color: #fff;
}
html.is-web #profileModal .password-change-btn:active,
html.is-web #profilePlayerMain .password-change-btn:active{
    transform: scale(0.99);
}
/* 2FA — içerik doğrudan gövdede (ayrı kart yok) */
html.is-web #profileModal .twofa-status,
html.is-web #profilePlayerMain .twofa-status{
    margin: 0 0 1.1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(220, 216, 232, 0.72);
    font-weight: 400;
}
html.is-web #profileModal .twofa-activate-row,
html.is-web #profilePlayerMain .twofa-activate-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
html.is-web #profileModal .twofa-left-col,
html.is-web #profilePlayerMain .twofa-left-col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
}
html.is-web #profileModal .twofa-icon-wrap,
html.is-web #profilePlayerMain .twofa-icon-wrap{
    flex-shrink: 0;
}
html.is-web #profileModal .twofa-icon,
html.is-web #profilePlayerMain .twofa-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
html.is-web #profileModal .twofa-icon-ga,
html.is-web #profilePlayerMain .twofa-icon-ga{
    display: block;
}
html.is-web #profileModal .twofa-activate-label,
html.is-web #profilePlayerMain .twofa-activate-label{
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    align-self: flex-start;
}
html.is-web #profileModal .twofa-toggle,
html.is-web #profilePlayerMain .twofa-toggle{
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    align-self: center;
    cursor: pointer;
}
html.is-web #profileModal .twofa-toggle-input,
html.is-web #profilePlayerMain .twofa-toggle-input{
    opacity: 0;
    width: 0;
    height: 0;
}
html.is-web #profileModal .twofa-toggle-slider,
html.is-web #profilePlayerMain .twofa-toggle-slider{
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 26px;
    transition: background 0.25s;
}
html.is-web #profileModal .twofa-toggle-slider::before,
html.is-web #profilePlayerMain .twofa-toggle-slider::before{
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(245, 245, 248, 0.95);
    border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
html.is-web #profileModal .twofa-toggle-input:checked + .twofa-toggle-slider,
html.is-web #profilePlayerMain .twofa-toggle-input:checked + .twofa-toggle-slider{
    background: rgba(120, 90, 180, 0.95);
}
html.is-web #profileModal .twofa-toggle-input:checked + .twofa-toggle-slider::before,
html.is-web #profilePlayerMain .twofa-toggle-input:checked + .twofa-toggle-slider::before{
    transform: translateY(-50%) translateX(22px);
}
html.is-web #profileModal .twofa-toggle-input:focus-visible + .twofa-toggle-slider,
html.is-web #profilePlayerMain .twofa-toggle-input:focus-visible + .twofa-toggle-slider{
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
@media (max-width: 480px) {
    html.is-web #profileModal .twofa-activate-row,
html.is-web #profilePlayerMain .twofa-activate-row{
        flex-wrap: wrap;
    }
    html.is-web #profileModal .twofa-toggle,
html.is-web #profilePlayerMain .twofa-toggle{
        align-self: flex-end;
        margin-left: auto;
    }
}
/* Hesabı dondur — içerik doğrudan gövdede, özel radyo, sol geniş buton */
html.is-web #profileModal .freeze-text,
html.is-web #profilePlayerMain .freeze-text{
    margin: 0 0 1.35rem;
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 400;
    color: #fff;
}
html.is-web #profileModal .freeze-form,
html.is-web #profilePlayerMain .freeze-form{
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}
html.is-web #profileModal .freeze-radio,
html.is-web #profilePlayerMain .freeze-radio{
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    margin: 0;
}
html.is-web #profileModal .freeze-radio-input,
html.is-web #profilePlayerMain .freeze-radio-input{
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: #14101f;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
html.is-web #profileModal .freeze-radio-input:hover,
html.is-web #profilePlayerMain .freeze-radio-input:hover{
    border-color: #fff;
}
html.is-web #profileModal .freeze-radio-input:checked,
html.is-web #profilePlayerMain .freeze-radio-input:checked{
    background: #fff;
    box-shadow: inset 0 0 0 4px #1f1528;
}
html.is-web #profileModal .freeze-radio-input:focus-visible,
html.is-web #profilePlayerMain .freeze-radio-input:focus-visible{
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}
html.is-web #profileModal .freeze-radio-label,
html.is-web #profilePlayerMain .freeze-radio-label{
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}
html.is-web #profileModal .freeze-footer,
html.is-web #profilePlayerMain .freeze-footer{
    margin-top: 1.45rem;
    display: flex;
    justify-content: flex-start;
}
html.is-web #profileModal .freeze-btn,
html.is-web #profilePlayerMain .freeze-btn{
    min-width: 11.5rem;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    background: #2c3348;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.1s;
}
html.is-web #profileModal .freeze-btn:hover,
html.is-web #profilePlayerMain .freeze-btn:hover{
    background: #363e55;
    color: #fff;
}
html.is-web #profileModal .freeze-btn:active,
html.is-web #profilePlayerMain .freeze-btn:active{
    transform: scale(0.99);
}


/* ===== RESTORED FROM profile.css: withdrawal-status ===== */
html.is-web #profileModal .withdrawal-status-main,
html.is-web #profilePlayerMain .withdrawal-status-main{
    flex: 1;
    padding: 0;
    background: transparent;
    min-width: 0;
    min-height: 0;
}
html.is-web #profileModal .withdrawal-status-table-bar,
html.is-web #profilePlayerMain .withdrawal-status-table-bar{
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.85fr 1.15fr 0.75fr 0.9fr 0.55fr;
    gap: 0.4rem 0.5rem;
    padding: 0.65rem 0.85rem;
    background: rgba(30, 28, 40, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
html.is-web #profileModal .withdrawal-status-table-bar .wsc,
html.is-web #profilePlayerMain .withdrawal-status-table-bar .wsc{
    white-space: nowrap;
}
html.is-web #profileModal .withdrawal-status-body,
html.is-web #profilePlayerMain .withdrawal-status-body{
    padding: 0.85rem 1rem 1.1rem;
    min-height: 180px;
    position: relative;
}
html.is-web #profileModal .withdrawal-status-empty,
html.is-web #profilePlayerMain .withdrawal-status-empty{
    margin: 0;
    padding: 2.5rem 1rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.45;
}
html.is-web #profileModal .withdrawal-status-table,
html.is-web #profilePlayerMain .withdrawal-status-table{
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
    color: #fff;
}
html.is-web #profileModal .withdrawal-status-table td,
html.is-web #profilePlayerMain .withdrawal-status-table td{
    padding: 0.7rem 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
    word-break: break-word;
}
html.is-web #profileModal .withdrawal-status-table tbody tr:hover,
html.is-web #profilePlayerMain .withdrawal-status-table tbody tr:hover{
    background: rgba(255, 255, 255, 0.03);
}
html.is-web #profileModal .wst-badge,
html.is-web #profilePlayerMain .wst-badge{
    display: inline-block;
    padding: 0.28rem 0.5rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}
html.is-web #profileModal .wst-badge.wst-pending,
html.is-web #profilePlayerMain .wst-badge.wst-pending{ background: #b8860b; color: #fff; }
html.is-web #profileModal .wst-badge.wst-approved,
html.is-web #profilePlayerMain .wst-badge.wst-approved,
html.is-web #profileModal .wst-badge.wst-confirmed,
html.is-web #profilePlayerMain .wst-badge.wst-confirmed,
html.is-web #profileModal .wst-badge.wst-completed,
html.is-web #profilePlayerMain .wst-badge.wst-completed{ background: #2e7d32; color: #fff; }
html.is-web #profileModal .wst-badge.wst-rejected,
html.is-web #profilePlayerMain .wst-badge.wst-rejected{ background: #c62828; color: #fff; }
html.is-web #profileModal .wst-badge.wst-cancelled,
html.is-web #profilePlayerMain .wst-badge.wst-cancelled{ background: #555; color: #fff; }
html.is-web #profileModal .wst-badge.wst-processing,
html.is-web #profilePlayerMain .wst-badge.wst-processing{ background: #1565c0; color: #fff; }
html.is-web #profileModal .wst-cancel,
html.is-web #profilePlayerMain .wst-cancel{
    min-height: 40px;
    min-width: 72px;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
html.is-web #profileModal .wst-cancel:hover,
html.is-web #profilePlayerMain .wst-cancel:hover{
    background: rgba(200, 80, 80, 0.3);
    border-color: rgba(200, 80, 80, 0.6);
}

@media (max-width: 900px) {
    html.is-web #profileModal .withdrawal-status-table-bar,
html.is-web #profilePlayerMain .withdrawal-status-table-bar{
        display: none;
    }
    html.is-web #profileModal .withdrawal-status-table tbody tr,
html.is-web #profilePlayerMain .withdrawal-status-table tbody tr{
        display: block;
        background: rgba(40, 38, 58, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        margin-bottom: 0.65rem;
        padding: 0.5rem 0.75rem 0.65rem;
    }
    html.is-web #profileModal .withdrawal-status-table td,
html.is-web #profilePlayerMain .withdrawal-status-table td{
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.35rem 0.75rem;
        padding: 0.45rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    html.is-web #profileModal .withdrawal-status-table td:last-child,
html.is-web #profilePlayerMain .withdrawal-status-table td:last-child{
        border-bottom: none;
    }
    html.is-web #profileModal .withdrawal-status-table td::before,
html.is-web #profilePlayerMain .withdrawal-status-table td::before{
        content: attr(data-label);
        font-weight: 600;
        color: rgba(255, 255, 255, 0.52);
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        flex: 0 0 38%;
        max-width: 11rem;
    }
    html.is-web #profileModal .withdrawal-status-table tbody tr:hover,
html.is-web #profilePlayerMain .withdrawal-status-table tbody tr:hover{
        background: rgba(40, 38, 58, 0.65);
    }
}

@media (max-width: 380px) {
    html.is-web #profileModal .withdrawal-status-table td,
html.is-web #profilePlayerMain .withdrawal-status-table td{
        flex-direction: column;
        align-items: stretch;
    }
    html.is-web #profileModal .withdrawal-status-table td::before,
html.is-web #profilePlayerMain .withdrawal-status-table td::before{
        max-width: none;
        flex-basis: auto;
        margin-bottom: 0.15rem;
    }
}

/* ═══ Mesajlar (gelen / gönderildi / yeni) — kişisel detaylar içerik kabuğu ile aynı şablon ═══ */


/* ===== RESTORED FROM profile.css: messages ===== */
html.is-web #profileModal .personal-details-page--messages .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--messages .profile-section-body{
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0.65rem 0.75rem 0.85rem;
}
@media (min-width: 576px) {
    html.is-web #profileModal .personal-details-page--messages .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--messages .profile-section-body{
        padding: 0.65rem 0.85rem 0.9rem;
    }
}
/* Gelen kutusu — dış kart yok; filtre + liste doğrudan içerik alanında (genel padding’i ezer) */
html.is-web #profileModal .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .personal-details-card,
html.is-web #profilePlayerMain .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .personal-details-card,
html.is-web #profileModal .personal-details-page--messages-sent .personal-details-card,
html.is-web #profilePlayerMain .personal-details-page--messages-sent .personal-details-card,
html.is-web #profileModal .personal-details-page--messages-new .personal-details-card,
html.is-web #profilePlayerMain .personal-details-page--messages-new .personal-details-card{
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
html.is-web #profileModal .profile-modal__content
    .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new)
    .personal-details-card,
html.is-web #profilePlayerMain .profile-modal__content
    .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new)
    .personal-details-card,
html.is-web #profileModal .profile-modal__content .personal-details-page--messages-sent .personal-details-card,
html.is-web #profilePlayerMain .profile-modal__content .personal-details-page--messages-sent .personal-details-card,
html.is-web #profileModal .profile-modal__content .personal-details-page--messages-new .personal-details-card,
html.is-web #profilePlayerMain .profile-modal__content .personal-details-page--messages-new .personal-details-card{
    background: transparent;
    border: none;
    /* Tam sayfada overflow:visible; modalda başlık sabit + gövde scroll için clip gerekir */
    overflow: hidden;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
html.is-web #profileModal .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .personal-details-header,
html.is-web #profilePlayerMain .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .personal-details-header,
html.is-web #profileModal .personal-details-page--messages-sent .personal-details-header,
html.is-web #profilePlayerMain .personal-details-page--messages-sent .personal-details-header,
html.is-web #profileModal .personal-details-page--messages-new .personal-details-header,
html.is-web #profilePlayerMain .personal-details-page--messages-new .personal-details-header{
    background: transparent;
    padding-left: 0;
    padding-right: 0;
    min-height: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 0.15rem;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html.is-web #profileModal .profile-modal__content .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .personal-details-header,
html.is-web #profilePlayerMain .profile-modal__content .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .personal-details-header,
html.is-web #profileModal .profile-modal__content .personal-details-page--messages-sent .personal-details-header,
html.is-web #profilePlayerMain .profile-modal__content .personal-details-page--messages-sent .personal-details-header,
html.is-web #profileModal .profile-modal__content .personal-details-page--messages-new .personal-details-header,
html.is-web #profilePlayerMain .profile-modal__content .personal-details-page--messages-new .personal-details-header{
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}
html.is-web #profileModal .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .profile-section-body{
    padding: 0.35rem 0 0.85rem;
}
@media (min-width: 576px) {
    html.is-web #profileModal .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .profile-section-body{
        padding: 0.35rem 0 0.9rem;
    }
}

@media (max-width: 991px) {
    html.is-web #profileModal .profile-modal,
html.is-web #profilePlayerMain .profile-modal{
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.985);
        width: min(430px, calc(100vw - 22px));
        max-width: calc(100vw - 22px);
        height: calc(100dvh - 18px);
        max-height: 840px;
        border-radius: 0;
        border: 1px solid rgba(183, 150, 255, 0.2);
        box-shadow: 0 20px 52px rgba(0, 0, 0, 0.55);
        background: linear-gradient(156deg, #5b1156 0%, #11154f 34%, #060f40 100%);
    }

    html.is-web #profileModal .profile-modal.is-open,
html.is-web #profilePlayerMain .profile-modal.is-open{
        transform: translate(-50%, -50%) scale(1);
    }

    html.is-web #profileModal .profile-modal__content,
html.is-web #profilePlayerMain .profile-modal__content{
        display: block;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: linear-gradient(156deg, #5b1156 0%, #11154f 34%, #060f40 100%);
    }

    html.is-web #profileModal .profile-modal__content .centerWrap.porfileWrap,
html.is-web #profilePlayerMain .profile-modal__content .centerWrap.porfileWrap{
        display: block;
        height: auto;
        max-height: none;
        min-height: 100%;
        overflow: visible;
    }

    html.is-web #profileModal .profile-modal__content .sidebarMain.playersidebarMain.profile-sidebar-v2,
html.is-web #profilePlayerMain .profile-modal__content .sidebarMain.playersidebarMain.profile-sidebar-v2,
html.is-web #profileModal .profile-modal__content > .sidebarMain.playersidebarMain.profile-sidebar-v2,
html.is-web #profilePlayerMain .profile-modal__content > .sidebarMain.playersidebarMain.profile-sidebar-v2{
        flex: 0 0 auto;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        border-right: 0;
        border-bottom: 0;
        padding: 0;
        overflow: visible;
        background: transparent;
    }

    html.is-web #profileModal .profile-modal__content .profile-main-content,
html.is-web #profilePlayerMain .profile-modal__content .profile-main-content,
html.is-web #profileModal .profile-modal__content > .profile-main-content,
html.is-web #profilePlayerMain .profile-modal__content > .profile-main-content,
.profile-modal__content > main#profilePlayerMain,
html.is-web #profileModal .profile-modal__content > .container,
html.is-web #profilePlayerMain .profile-modal__content > .container,
html.is-web #profileModal .profile-modal__content > .container-fluid,
html.is-web #profilePlayerMain .profile-modal__content > .container-fluid{
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
        background: transparent;
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-content,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-content{
        padding: 0.72rem 0.5rem 0.5rem;
    }

    html.is-web #profileModal .profile-modal__content .profile-mobile-nav,
html.is-web #profilePlayerMain .profile-modal__content .profile-mobile-nav{
        display: block;
        margin-top: 0.4rem;
    }

    html.is-web #profileModal .profile-modal__content .profile-mobile-promo-lite,
html.is-web #profilePlayerMain .profile-modal__content .profile-mobile-promo-lite{
        display: flex;
        gap: 7px;
        margin: 0.5rem 0 0.38rem;
    }

    html.is-web #profileModal .profile-sidebar-v2 .main-balance-card,
html.is-web #profilePlayerMain .profile-sidebar-v2 .main-balance-card,
html.is-web #profileModal .profile-sidebar-v2 .bonus-balance-card,
html.is-web #profilePlayerMain .profile-sidebar-v2 .bonus-balance-card,
html.is-web #profileModal .profile-sidebar-v2 .loyalty-bar,
html.is-web #profilePlayerMain .profile-sidebar-v2 .loyalty-bar,
html.is-web #profileModal .profile-sidebar-v2 .profile-sidebar-promo,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-sidebar-promo{
        margin-bottom: 0.55rem;
    }

    html.is-web #profileModal .profile-sidebar-v2 .main-balance-card,
html.is-web #profilePlayerMain .profile-sidebar-v2 .main-balance-card{
        background: #31a644;
        border-radius: 4px;
        border: 0;
    }

    html.is-web #profileModal .profile-sidebar-v2 .main-balance-card .buttons-bottom .btn,
html.is-web #profilePlayerMain .profile-sidebar-v2 .main-balance-card .buttons-bottom .btn{
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        font-weight: 700;
    }

    html.is-web #profileModal .profile-sidebar-v2 .bonus-balance-card,
html.is-web #profilePlayerMain .profile-sidebar-v2 .bonus-balance-card{
        display: none;
    }

    html.is-web #profileModal .profile-modal__content:has(.profile-sidebar--hub) .profile-sidebar-v2,
html.is-web #profilePlayerMain .profile-modal__content:has(.profile-sidebar--hub) .profile-sidebar-v2{
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    html.is-web #profileModal .profile-sidebar-v2 .loyalty-bar,
html.is-web #profilePlayerMain .profile-sidebar-v2 .loyalty-bar{
        border-radius: 4px;
        background: #9d7619;
        border: 1px solid rgba(255, 230, 171, 0.24);
        padding: 10px 12px;
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-header.edit-user,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-header.edit-user{
        margin-bottom: 0.4rem;
        padding: 0 2px;
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-header .avatar-holder,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-header .avatar-holder{
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 11px;
        background: rgba(255, 255, 255, 0.24);
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-header .username,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-header .username{
        font-size: 12px;
        font-weight: 700;
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-header .user-id,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-header .user-id{
        font-size: 11px;
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-accordion,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-accordion{
        padding: 0.12rem 0.5rem 0.5rem;
    }

    html.is-web #profileModal .profile-modal__content .profile-accordion,
html.is-web #profilePlayerMain .profile-modal__content .profile-accordion{
        display: none;
    }

    html.is-web #profileModal .profile-modal__content .profile-accordion .accordion-list,
html.is-web #profilePlayerMain .profile-modal__content .profile-accordion .accordion-list{
        opacity: 0.94;
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-accordion .accordion-item,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-accordion .accordion-item{
        margin-bottom: 0.42rem;
        border-radius: 4px;
        overflow: hidden;
        border: 1px solid rgba(138, 122, 197, 0.35);
        background: rgba(79, 60, 138, 0.5);
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-accordion .accordion-trigger,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-accordion .accordion-trigger{
        padding: 10px 12px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.01em;
        background: linear-gradient(90deg, rgba(93, 49, 130, 0.62) 0%, rgba(61, 64, 115, 0.62) 100%);
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-accordion .accordion-sub,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-accordion .accordion-sub{
        border-radius: 0;
        margin-top: 0;
        padding: 5px 0;
        background: rgba(13, 19, 31, 0.76);
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-accordion .accordion-sub a,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-accordion .accordion-sub a{
        padding: 10px 12px 10px 15px;
        font-size: 12px;
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-accordion .accordion-trigger .spCol,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-accordion .accordion-trigger .spCol{
        color: rgba(255, 255, 255, 0.93);
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-accordion .accordion-trigger .accordion-chevron,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-accordion .accordion-trigger .accordion-chevron{
        color: rgba(255, 255, 255, 0.72);
    }

    html.is-web #profileModal .profile-sidebar-v2 .profile-accordion .accordion-sub a.active,
html.is-web #profilePlayerMain .profile-sidebar-v2 .profile-accordion .accordion-sub a.active{
        background: rgba(255, 255, 255, 0.08);
    }

    html.is-web #profileModal .profile-sidebar-v2 .sidebar-footer,
html.is-web #profilePlayerMain .profile-sidebar-v2 .sidebar-footer{
        padding: 0.12rem 0.5rem 0.8rem;
    }

    html.is-web #profileModal .profile-sidebar-v2 .sidebar-footer .sidebar-logout,
html.is-web #profilePlayerMain .profile-sidebar-v2 .sidebar-footer .sidebar-logout{
        border-radius: 4px;
        border: 1px solid rgba(160, 141, 221, 0.34);
        background: rgba(94, 57, 141, 0.46);
        font-weight: 700;
        justify-content: center;
        padding: 11px 12px;
        min-height: 42px;
    }

    html.is-web #profileModal .profile-modal__content .profile-sidebar-promo,
html.is-web #profilePlayerMain .profile-modal__content .profile-sidebar-promo{
        margin: 0.35rem 0 0;
        border-radius: 4px;
        background: rgba(66, 51, 119, 0.44);
        border: 1px solid rgba(148, 121, 224, 0.24);
    }

    html.is-web #profileModal .profile-modal__content .profile-sidebar-promo,
html.is-web #profilePlayerMain .profile-modal__content .profile-sidebar-promo{
        display: none;
    }

    html.is-web #profileModal .profile-modal__content .profile-sidebar-promo .profile-sidebar-promo-input,
html.is-web #profilePlayerMain .profile-modal__content .profile-sidebar-promo .profile-sidebar-promo-input,
html.is-web #profileModal .profile-modal__content .profile-sidebar-promo .profile-sidebar-promo-btn,
html.is-web #profilePlayerMain .profile-modal__content .profile-sidebar-promo .profile-sidebar-promo-btn{
        border-radius: 4px;
    }
}
html.is-web #profileModal .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .inbox-list-wrap,
html.is-web #profilePlayerMain .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .inbox-list-wrap{
    padding-top: 0;
}
html.is-web #profileModal .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .inbox-footer,
html.is-web #profilePlayerMain .personal-details-page--messages:not(.personal-details-page--messages-sent):not(.personal-details-page--messages-new) .inbox-footer{
    border-top-color: rgba(255, 255, 255, 0.08);
}

html.is-web #profileModal .personal-details-page--messages .profile-messages-body,
html.is-web #profilePlayerMain .personal-details-page--messages .profile-messages-body{
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}
html.is-web #profileModal .personal-details-page--messages .inbox-filters,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-filters{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.65rem;
    flex-shrink: 0;
}
html.is-web #profileModal .personal-details-page--messages .inbox-filter-group,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-filter-group{
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
html.is-web #profileModal .personal-details-page--messages .inbox-filter-label,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-filter-label{
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}
html.is-web #profileModal .personal-details-page--messages .inbox-date-wrap,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-date-wrap{
    position: relative;
    width: 140px;
}
html.is-web #profileModal .personal-details-page--messages .inbox-date-input,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-date-input{
    width: 100%;
    height: 40px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(16, 26, 76, 0.72);
    color: #fff;
    font-size: 0.85rem;
    transition: border-color 0.2s, background 0.2s;
}
html.is-web #profileModal .personal-details-page--messages .inbox-date-input:focus,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-date-input:focus{
    outline: none;
    border-color: rgba(219, 214, 255, 0.45);
    background: rgba(23, 35, 96, 0.84);
}
html.is-web #profileModal .personal-details-page--messages .inbox-date-input::-webkit-calendar-picker-indicator,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-date-input::-webkit-calendar-picker-indicator{
    opacity: 0;
}
html.is-web #profileModal .personal-details-page--messages .inbox-date-icon,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-date-icon{
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.42);
    pointer-events: none;
    font-size: 0.85rem;
}
html.is-web #profileModal .personal-details-page--messages .inbox-filter-actions,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-filter-actions{
    margin-left: auto;
}
html.is-web #profileModal .personal-details-page--messages .inbox-btn-show,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-btn-show{
    min-width: 120px;
    height: 34px;
    padding: 0 1rem;
    border-radius: 3px;
    border: none;
    background: rgba(176, 184, 206, 0.2);
    color: rgba(231, 236, 255, 0.72);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
html.is-web #profileModal .personal-details-page--messages .inbox-btn-show:hover,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-btn-show:hover{
    background: rgba(176, 184, 206, 0.36);
    color: rgba(255, 255, 255, 0.95);
}
html.is-web #profileModal .personal-details-page--messages .inbox-list-wrap,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-list-wrap{
    flex: 1;
    min-height: 140px;
    max-height: min(52vh, 480px);
    overflow-y: auto;
    padding: 0.15rem 0 0.5rem;
}
html.is-web #profileModal .profile-modal__content .personal-details-page--messages .inbox-list-wrap,
html.is-web #profilePlayerMain .profile-modal__content .personal-details-page--messages .inbox-list-wrap{
    flex: 0 1 auto;
    max-height: min(38vh, 320px);
}
html.is-web #profileModal .personal-details-page--messages .inbox-list-wrap.is-empty,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-list-wrap.is-empty{
    min-height: 48px;
}
html.is-web #profileModal .personal-details-page--messages .inbox-list,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-list{
    list-style: none;
    margin: 0;
    padding: 0;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item{
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html.is-web #profileModal .personal-details-page--messages .inbox-list .inbox-item:last-child,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-list .inbox-item:last-child{
    border-bottom: none;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-inner,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-inner{
    position: relative;
    padding: 0.65rem 0;
    background: transparent;
    border-radius: 0;
    border: none;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-dot,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-dot{
    position: absolute;
    top: 0.72rem;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(120, 200, 255, 0.85);
    display: none;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item.unread .inbox-item-dot,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item.unread .inbox-item-dot{
    display: block;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-top,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-top{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    padding-right: 2.25rem;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-icon,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-icon{
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    flex-shrink: 0;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-title,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-title{
    font-weight: 600;
    color: #fff;
    font-size: 0.88rem;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-bottom,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-date,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-date{
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-expand,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-expand{
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-expand:hover,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-expand:hover{
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-expand i,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-expand i{
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item.is-expanded .inbox-item-expand i,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item.is-expanded .inbox-item-expand i{
    transform: rotate(180deg);
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-body,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-body{
    margin-top: 0.5rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-bodyrichtext,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-bodyrichtext{
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
    word-break: break-word;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-bodyrichtext a,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-bodyrichtext a{
    color: #9ab8ff;
    text-decoration: underline;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-link-wrap,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-link-wrap{
    margin: 0.65rem 0 0;
    font-size: 0.8rem;
}
html.is-web #profileModal .personal-details-page--messages .inbox-item-link-wrap a,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-item-link-wrap a{
    color: #9ab8ff;
    font-weight: 600;
}
html.is-web #profileModal .personal-details-page--messages .inbox-empty-hint,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-empty-hint{
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
html.is-web #profileModal .profile-modal__content .personal-details-page--messages .inbox-empty-hint,
html.is-web #profilePlayerMain .profile-modal__content .personal-details-page--messages .inbox-empty-hint{
    margin-top: 0.45rem;
}
html.is-web #profileModal .personal-details-page--messages .inbox-footer,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-footer{
    padding: 0.85rem 0 0;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    text-align: right;
}
html.is-web #profileModal .personal-details-page--messages .inbox-btn-new,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-btn-new{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 1.1rem;
    border-radius: 3px;
    border: 1px solid rgba(154, 166, 233, 0.22);
    background: rgba(176, 184, 206, 0.12);
    color: rgba(231, 236, 255, 0.85);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
html.is-web #profileModal .personal-details-page--messages .inbox-btn-new:hover,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-btn-new:hover{
    background: rgba(176, 184, 206, 0.22);
    color: #fff;
    border-color: rgba(219, 214, 255, 0.35);
}

/* Gönderildi — dış kart yok; liste satırları doğrudan içerik alanında (Yeni ile aynı mantık) */
html.is-web #profileModal .personal-details-page--messages-sent .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--messages-sent .profile-section-body{
    padding-top: 0.35rem;
    padding-left: 0;
    padding-right: 0;
}
html.is-web #profileModal .personal-details-page--messages .inbox-list--sent,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-list--sent{
    list-style: none;
    margin: 0;
    padding: 0;
}
html.is-web #profileModal .personal-details-page--messages-sent .inbox-list-wrap,
html.is-web #profilePlayerMain .personal-details-page--messages-sent .inbox-list-wrap{
    padding-top: 0;
}
html.is-web #profileModal .personal-details-page--messages .sent-item,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item{
    margin-bottom: 0;
    border-radius: 0;
    overflow: visible;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html.is-web #profileModal .personal-details-page--messages .inbox-list--sent .sent-item:last-child,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-list--sent .sent-item:last-child{
    border-bottom: none;
}
html.is-web #profileModal .personal-details-page--messages .sent-item-top,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0 0.25rem;
    background: transparent;
    color: #fff;
}
html.is-web #profileModal .personal-details-page--messages .sent-item-subject,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-subject{
    font-weight: 600;
    font-size: 0.9rem;
}
html.is-web #profileModal .personal-details-page--messages .sent-item-delete,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-delete{
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
html.is-web #profileModal .personal-details-page--messages .sent-item-delete:hover,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-delete:hover{
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
html.is-web #profileModal .personal-details-page--messages .sent-item-delete i,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-delete i{
    font-size: 0.85rem;
}
html.is-web #profileModal .personal-details-page--messages .sent-item-bottom,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0.65rem;
    background: transparent;
    color: #fff;
}
html.is-web #profileModal .personal-details-page--messages .sent-item-date,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-date{
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}
html.is-web #profileModal .personal-details-page--messages .sent-item-expand,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-expand{
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
html.is-web #profileModal .personal-details-page--messages .sent-item-expand:hover,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-expand:hover{
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
html.is-web #profileModal .personal-details-page--messages .sent-item-expand i,
html.is-web #profilePlayerMain .personal-details-page--messages .sent-item-expand i{
    font-size: 0.7rem;
}
html.is-web #profileModal .personal-details-page--messages .inbox-btn-new--sent,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-btn-new--sent{
    border-color: rgba(140, 180, 140, 0.35);
    background: rgba(80, 120, 80, 0.2);
    color: rgba(220, 240, 220, 0.9);
}
html.is-web #profileModal .personal-details-page--messages .inbox-btn-new--sent:hover,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-btn-new--sent:hover{
    background: rgba(80, 120, 80, 0.32);
    color: #fff;
}
html.is-web #profileModal .personal-details-page--messages-sent .inbox-footer,
html.is-web #profilePlayerMain .personal-details-page--messages-sent .inbox-footer{
    border-top-color: rgba(255, 255, 255, 0.08);
    padding-top: 0.75rem;
}

/* Yeni mesaj — iç kart yok; form doğrudan içerik (sayfa) alanında */
html.is-web #profileModal .personal-details-page--messages-new .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--messages-new .profile-section-body{
    padding-top: 0.35rem;
    padding-left: 0;
    padding-right: 0;
}
html.is-web #profileModal .personal-details-page--messages-new .profile-messages-body,
html.is-web #profilePlayerMain .personal-details-page--messages-new .profile-messages-body{
    max-width: 100%;
}
html.is-web #profileModal .personal-details-page--messages-new .new-msg-form,
html.is-web #profilePlayerMain .personal-details-page--messages-new .new-msg-form{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    min-height: 0;
    padding-top: 0.15rem;
}
html.is-web #profileModal .personal-details-page--messages .new-msg-field,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-field{
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
html.is-web #profileModal .personal-details-page--messages .new-msg-label,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-label{
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.62);
    text-transform: uppercase;
}
html.is-web #profileModal .personal-details-page--messages .new-msg-input,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-input,
html.is-web #profileModal .personal-details-page--messages .new-msg-textarea,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-textarea{
    width: 100%;
    padding: 0.55rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(16, 26, 76, 0.72);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}
html.is-web #profileModal .personal-details-page--messages .new-msg-input::placeholder,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-input::placeholder,
html.is-web #profileModal .personal-details-page--messages .new-msg-textarea::placeholder,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-textarea::placeholder{
    color: rgba(255, 255, 255, 0.35);
}
html.is-web #profileModal .personal-details-page--messages .new-msg-input:focus,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-input:focus,
html.is-web #profileModal .personal-details-page--messages .new-msg-textarea:focus,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-textarea:focus{
    outline: none;
    border-color: rgba(219, 214, 255, 0.45);
    background: rgba(23, 35, 96, 0.84);
}
html.is-web #profileModal .personal-details-page--messages .new-msg-textarea,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-textarea{
    min-height: 200px;
    resize: vertical;
}
html.is-web #profileModal .personal-details-page--messages .new-msg-footer,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-footer{
    padding-top: 0.35rem;
    text-align: left;
}
html.is-web #profileModal .personal-details-page--messages .new-msg-btn-send,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-btn-send{
    min-width: 160px;
    height: 34px;
    padding: 0 1.1rem;
    border-radius: 3px;
    border: none;
    background: rgba(176, 184, 206, 0.2);
    color: rgba(231, 236, 255, 0.72);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
html.is-web #profileModal .personal-details-page--messages .new-msg-btn-send:hover,
html.is-web #profilePlayerMain .personal-details-page--messages .new-msg-btn-send:hover{
    background: rgba(176, 184, 206, 0.36);
    color: rgba(255, 255, 255, 0.95);
}
html.is-web #profileModal .personal-details-page--messages .pm-alert,
html.is-web #profilePlayerMain .personal-details-page--messages .pm-alert{
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
    border: 1px solid transparent;
}
html.is-web #profileModal .personal-details-page--messages .pm-alert--success,
html.is-web #profilePlayerMain .personal-details-page--messages .pm-alert--success{
    border-color: rgba(113, 222, 154, 0.38);
    background: rgba(44, 115, 75, 0.32);
    color: #c9ffdc;
}
html.is-web #profileModal .personal-details-page--messages .pm-alert--error,
html.is-web #profilePlayerMain .personal-details-page--messages .pm-alert--error{
    border-color: rgba(255, 141, 141, 0.42);
    background: rgba(120, 38, 38, 0.35);
    color: #ffd6d6;
}
html.is-web #profileModal .personal-details-page--messages .pm-alert--info,
html.is-web #profilePlayerMain .personal-details-page--messages .pm-alert--info{
    border-color: rgba(143, 174, 255, 0.35);
    background: rgba(36, 62, 122, 0.35);
    color: rgba(229, 238, 255, 0.92);
}

@media (max-width: 576px) {
    html.is-web #profileModal .personal-details-page--messages .inbox-filters,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-filters{
        flex-direction: column;
        align-items: stretch;
    }
    html.is-web #profileModal .personal-details-page--messages .inbox-date-wrap,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-date-wrap{
        width: 100%;
    }
    html.is-web #profileModal .personal-details-page--messages .inbox-filter-actions,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-filter-actions{
        margin-left: 0;
    }
    html.is-web #profileModal .personal-details-page--messages .inbox-btn-show,
html.is-web #profilePlayerMain .personal-details-page--messages .inbox-btn-show{
        width: 100%;
    }
}


/* ===== RESTORED FROM profile.css: loyalty ===== */
html.is-web #profileModal .personal-details-page--loyalty-points .profile-section-body,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .profile-section-body{
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-alert,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-alert{
    border-radius: 6px;
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
    border: 1px solid transparent;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-alert--success,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-alert--success{
    border-color: rgba(113, 222, 154, 0.38);
    background: rgba(44, 115, 75, 0.32);
    color: #c9ffdc;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-alert--error,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-alert--error{
    border-color: rgba(255, 141, 141, 0.42);
    background: rgba(120, 38, 38, 0.35);
    color: #ffd6d6;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-stats-grid,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-stats-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-stat-card,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-stat-card{
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(8, 18, 62, 0.62);
    padding: 0.65rem 0.75rem;
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-stat-label,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-stat-label{
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.62);
    text-transform: uppercase;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-stat-value,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-stat-value{
    color: #fff;
    font-size: 1rem;
    line-height: 1.2;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-stat-sub,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-stat-sub{
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.72rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-progress-wrap,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-progress-wrap{
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(9, 20, 67, 0.6);
    padding: 0.65rem 0.75rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-progress-head,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-progress-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-progress-track,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-progress-track{
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-progress-fill,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-progress-fill{
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #54d8ff 0%, #84a9ff 100%);
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-progress-note,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-progress-note{
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-redeem-box,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-redeem-box,
html.is-web #profileModal .personal-details-page--loyalty-points .lp-history,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-history,
html.is-web #profileModal .personal-details-page--loyalty-points .lp-levels,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-levels{
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(8, 18, 62, 0.62);
    padding: 0.75rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-redeem-box h2,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-redeem-box h2,
html.is-web #profileModal .personal-details-page--loyalty-points .lp-history h2,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-history h2,
html.is-web #profileModal .personal-details-page--loyalty-points .lp-levels h2,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-levels h2{
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-redeem-box p,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-redeem-box p{
    margin: 0.35rem 0 0.65rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-redeem-form,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-redeem-form{
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-redeem-form label,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-redeem-form label{
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.68);
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-redeem-row,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-redeem-row{
    display: flex;
    gap: 0.45rem;
    align-items: center;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-redeem-row input,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-redeem-row input{
    flex: 1;
    min-width: 0;
    height: 36px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(16, 26, 76, 0.72);
    color: #fff;
    font-size: 0.9rem;
    padding: 0 0.65rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-redeem-btn,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-redeem-btn{
    border: 1px solid rgba(170, 205, 255, 0.38);
    background: rgba(102, 163, 255, 0.28);
    color: #fff;
    border-radius: 5px;
    padding: 0 0.85rem;
    height: 36px;
    font-size: 0.76rem;
    text-transform: uppercase;
    cursor: pointer;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-history-head,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-history-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-history-head span,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-history-head span{
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.72rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-table-wrap,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-table-wrap{
    overflow-x: auto;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-table,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-table{
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 0.79rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-table th,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-table th,
html.is-web #profileModal .personal-details-page--loyalty-points .lp-table td,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-table td{
    padding: 0.5rem 0.4rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-table th,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-table th{
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    text-transform: uppercase;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-table td.is-positive,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-table td.is-positive{
    color: #9cf3bb;
    font-weight: 600;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-table td.is-negative,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-table td.is-negative{
    color: #ffb6b6;
    font-weight: 600;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-empty,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-empty{
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-level-list,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-level-list{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.55rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-level-item,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-level-item{
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem 0.58rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.74rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-level-item strong,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-level-item strong{
    color: #fff;
    font-size: 0.8rem;
}
html.is-web #profileModal .personal-details-page--loyalty-points .lp-level-item.is-current,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-level-item.is-current{
    border-color: rgba(129, 200, 255, 0.66);
    background: rgba(82, 154, 255, 0.12);
}

@media (max-width: 768px) {
    html.is-web #profileModal .personal-details-page--loyalty-points .lp-stats-grid,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-stats-grid,
html.is-web #profileModal .personal-details-page--loyalty-points .lp-level-list,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-level-list{
        grid-template-columns: 1fr;
    }
    html.is-web #profileModal .personal-details-page--loyalty-points .lp-redeem-row,
html.is-web #profilePlayerMain .personal-details-page--loyalty-points .lp-redeem-row{
        flex-direction: column;
        align-items: stretch;
    }
}

/* ── Profil PHP dosyalarından taşınan <style> blokları (profile.css’e birleştirilir) ── */

/* views/layouts/profile_modal_head.php — profil iframe gövdesi */
body.profile-modal-body{
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at 86% 8%, rgba(194, 66, 255, 0.17) 0%, rgba(14, 12, 60, 0) 40%),
                linear-gradient(118deg, #060f4a 0%, #050a39 48%, #100033 100%);
    min-height: 100dvh;
    overflow: hidden;
}
body.profile-modal-body .centerWrap{
    margin: 0;
    max-width: 100%;
}
body.profile-modal-body .centerWrap.porfileWrap{
    margin: 0;
    padding: 0;
}
body.profile-modal-body .sidebarMain.playersidebarMain.profile-sidebar-v2{
    width: calc(275px * 1.21 * 0.9);
    top: 0;
    min-height: 0;
    padding-top: 0;
    border-top: 0;
    background: #050d41;
}
body.profile-modal-body .profile-sidebar-v2 .profile-content{
    padding-top: 0;
    margin-top: 0;
}
body.profile-modal-body .personal-details-page.is-modal{
    padding-top: 0;
    margin-top: 0;
    background: radial-gradient(circle at 85% 10%, rgba(197, 67, 255, 0.2) 0%, rgba(14, 12, 60, 0) 42%),
                linear-gradient(118deg, #060f4a 0%, #050a39 48%, #100033 100%);
}
body.profile-modal-body .personal-details-page.is-modal .personal-details-header{
    margin-top: 0;
}

/* pages/profile/details.php — kişisel detaylar formu */
html.is-web #profileModal .personal-details-form,
html.is-web #profilePlayerMain .personal-details-form{
    display: flex;
    flex-direction: column;
    gap: 0;
}
html.is-web #profileModal .personal-details-grid,
html.is-web #profilePlayerMain .personal-details-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 0.95rem;
}
html.is-web #profileModal .field-row,
html.is-web #profilePlayerMain .field-row{
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
html.is-web #profileModal .field-row.full,
html.is-web #profilePlayerMain .field-row.full{
    grid-column: 1 / -1;
}
html.is-web #profileModal .field-row.half,
html.is-web #profilePlayerMain .field-row.half{
    grid-column: span 1;
}
html.is-web #profileModal .field-label,
html.is-web #profilePlayerMain .field-label{
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}
html.is-web #profileModal .field-label .required,
html.is-web #profilePlayerMain .field-label .required{
    color: rgba(255, 255, 255, 0.82);
}
html.is-web #profileModal .field-input,
html.is-web #profilePlayerMain .field-input,
html.is-web #profileModal .field-select,
html.is-web #profilePlayerMain .field-select{
    width: 100%;
    height: 40px;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(16, 26, 76, 0.72);
    color: #fff;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}
html.is-web #profileModal .field-input::placeholder,
html.is-web #profilePlayerMain .field-input::placeholder{
    color: rgba(255, 255, 255, 0.35);
}
html.is-web #profileModal .field-input:focus,
html.is-web #profilePlayerMain .field-input:focus,
html.is-web #profileModal .field-select:focus,
html.is-web #profilePlayerMain .field-select:focus{
    outline: none;
    border-color: rgba(219, 214, 255, 0.45);
    background: rgba(23, 35, 96, 0.84);
}
html.is-web #profileModal .field-input[readonly],
html.is-web #profilePlayerMain .field-input[readonly]{
    opacity: 0.85;
    cursor: default;
}
html.is-web #profileModal .personal-details-status-badge,
html.is-web #profilePlayerMain .personal-details-status-badge{
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0.85rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(16, 26, 76, 0.55);
    color: rgba(255, 255, 255, 0.92);
}
html.is-web #profileModal .personal-details-status-badge--active,
html.is-web #profilePlayerMain .personal-details-status-badge--active{
    border-color: rgba(72, 199, 116, 0.45);
    background: rgba(32, 86, 58, 0.45);
    color: #b8f5cf;
}
html.is-web #profileModal .personal-details-status-badge--pending,
html.is-web #profilePlayerMain .personal-details-status-badge--pending{
    border-color: rgba(230, 180, 80, 0.5);
    background: rgba(86, 64, 20, 0.42);
    color: #ffe6a8;
}
html.is-web #profileModal .personal-details-status-badge--banned,
html.is-web #profilePlayerMain .personal-details-status-badge--banned{
    border-color: rgba(230, 90, 90, 0.5);
    background: rgba(86, 28, 28, 0.42);
    color: #ffc9c9;
}
html.is-web #profileModal .personal-details-status-badge--unknown,
html.is-web #profilePlayerMain .personal-details-status-badge--unknown{
    border-color: rgba(255, 255, 255, 0.12);
}
html.is-web #profileModal .field-input-wrap,
html.is-web #profilePlayerMain .field-input-wrap{
    position: relative;
    display: flex;
    align-items: center;
}
html.is-web #profileModal .field-input-wrap .field-input,
html.is-web #profilePlayerMain .field-input-wrap .field-input{
    padding-right: 2.5rem;
}
html.is-web #profileModal .field-input-wrap .field-icon,
html.is-web #profilePlayerMain .field-input-wrap .field-icon{
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.42);
    pointer-events: none;
}
/* type="date": tarayıcı picker ikonu + .field-icon çift görünmesin */
html.is-web #profileModal .field-input-wrap .field-input[type="date"]::-webkit-calendar-picker-indicator,
html.is-web #profilePlayerMain .field-input-wrap .field-input[type="date"]::-webkit-calendar-picker-indicator{
    opacity: 0;
}
html.is-web #profileModal .field-input-wrap .field-input[type="date"]::-moz-calendar-picker-indicator,
html.is-web #profilePlayerMain .field-input-wrap .field-input[type="date"]::-moz-calendar-picker-indicator{
    opacity: 0;
}
html.is-web #profileModal .field-input-wrap--flag,
html.is-web #profilePlayerMain .field-input-wrap--flag{
    gap: 0.5rem;
}
html.is-web #profileModal .field-input-wrap--flag .field-input,
html.is-web #profilePlayerMain .field-input-wrap--flag .field-input{
    flex: 1;
}
html.is-web #profileModal .field-input-wrap--flag .flag-icon,
html.is-web #profilePlayerMain .field-input-wrap--flag .flag-icon{
    flex-shrink: 0;
}
html.is-web #profileModal .field-toggle-pwd,
html.is-web #profilePlayerMain .field-toggle-pwd{
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.35rem;
    cursor: pointer;
    line-height: 1;
}
html.is-web #profileModal .field-toggle-pwd:hover,
html.is-web #profilePlayerMain .field-toggle-pwd:hover{
    color: rgba(255, 255, 255, 0.9);
}
html.is-web #profileModal .personal-details-divider,
html.is-web #profilePlayerMain .personal-details-divider{
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin: 1.2rem 0 0.95rem;
}
html.is-web #profileModal .personal-details-hint,
html.is-web #profilePlayerMain .personal-details-hint{
    margin: 0 0 0.95rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.74);
    text-align: center;
}
html.is-web #profileModal .personal-details-footer,
html.is-web #profilePlayerMain .personal-details-footer{
    margin-top: 1.05rem;
    display: flex;
    justify-content: flex-end;
}
html.is-web #profileModal .personal-details-submit,
html.is-web #profilePlayerMain .personal-details-submit{
    min-width: 240px;
    height: 34px;
    padding: 0 1.1rem;
    border-radius: 3px;
    border: none;
    background: rgba(176, 184, 206, 0.2);
    color: rgba(231, 236, 255, 0.52);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
html.is-web #profileModal .personal-details-submit:hover:not(:disabled),
html.is-web #profilePlayerMain .personal-details-submit:hover:not(:disabled){
    background: rgba(176, 184, 206, 0.36);
    color: rgba(255, 255, 255, 0.95);
}
html.is-web #profileModal .personal-details-submit:disabled,
html.is-web #profilePlayerMain .personal-details-submit:disabled{
    cursor: not-allowed;
    opacity: 0.75;
}

@media (max-width: 991px) {
    html.is-web #profileModal .personal-details-submit,
html.is-web #profilePlayerMain .personal-details-submit{
        min-width: 200px;
    }
}
@media (max-width: 576px) {
    html.is-web #profileModal .personal-details-grid,
html.is-web #profilePlayerMain .personal-details-grid{
        grid-template-columns: 1fr;
    }
    html.is-web #profileModal .field-row.half,
html.is-web #profilePlayerMain .field-row.half{
        grid-column: 1 / -1;
    }
}

/* pages/profile/kyc.php — yalnızca


/* ===== RESTORED FROM profile.css: kyc ===== */
/* pages/profile/kyc.php */
html.is-web #profileModal .kyc-profile-page .stack-list,
html.is-web #profilePlayerMain .kyc-profile-page .stack-list{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
html.is-web #profileModal .kyc-profile-page .stack-item,
html.is-web #profilePlayerMain .kyc-profile-page .stack-item{
    background: #121212;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
html.is-web #profileModal .kyc-profile-page .stack-title,
html.is-web #profilePlayerMain .kyc-profile-page .stack-title{
    font-weight: bold;
    color: #00b894;
}
html.is-web #profileModal .kyc-profile-page .stack-value,
html.is-web #profilePlayerMain .kyc-profile-page .stack-value{
    color: #fff;
}
html.is-web #profileModal .kyc-profile-page .card.bg-dark,
html.is-web #profilePlayerMain .kyc-profile-page .card.bg-dark{
    background-color: #1b1b1b !important;
}
html.is-web #profileModal .kyc-profile-page .form-control.bg-secondary,
html.is-web #profilePlayerMain .kyc-profile-page .form-control.bg-secondary{
    background-color: #2a2a2a !important;
    color: #fff;
    border: 1px solid #333;
}
html.is-web #profileModal .kyc-profile-page .btn-warning,
html.is-web #profilePlayerMain .kyc-profile-page .btn-warning{
    background-color: #00b894;
    border-color: #00b894;
    color: #fff;
}
html.is-web #profileModal .kyc-profile-page .btn-warning:hover,
html.is-web #profilePlayerMain .kyc-profile-page .btn-warning:hover{
    background-color: #019973;
    border-color: #019973;
    color: #fff;
}
html.is-web #profileModal .kyc-profile-page .alert-danger,
html.is-web #profilePlayerMain .kyc-profile-page .alert-danger{
    background-color: #7b0000;
    color: #fff;
    border: none;
}
html.is-web #profileModal .kyc-profile-page .alert-success,
html.is-web #profilePlayerMain .kyc-profile-page .alert-success{
    background-color: #006633;
    color: #fff;
    border: none;
}

/* pages/profile/references.php */
html.is-web #profileModal .referrals-container,
html.is-web #profilePlayerMain .referrals-container{
    width: 80%;
    margin: 50px auto;
    padding: 20px;
    font-family: var(--font-sans);
    color: #333;
}
html.is-web #profileModal .referrals-title,
html.is-web #profilePlayerMain .referrals-title{
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: bold;
}


/* ===== RESTORED FROM profile.css: references ===== */
html.is-web #profileModal .referral-card-custom,
html.is-web #profilePlayerMain .referral-card-custom{
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid #e0e0e0;
}
html.is-web #profileModal .referral-card-custom h4,
html.is-web #profilePlayerMain .referral-card-custom h4{
    color: #34495e;
    font-size: 1.5em;
    margin-bottom: 10px;
}
html.is-web #profileModal .referral-card-custom p.muted-text,
html.is-web #profilePlayerMain .referral-card-custom p.muted-text{
    color: #7f8c8d;
    font-size: 0.95em;
    margin-bottom: 25px;
}
html.is-web #profileModal .referral-code-display-custom,
html.is-web #profilePlayerMain .referral-code-display-custom{
    background-color: #ecf0f1;
    border: 1px solid #bdc3c7;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto 15px auto;
    max-width: 450px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
html.is-web #profileModal .referral-code-value,
html.is-web #profilePlayerMain .referral-code-value{
    color: #2980b9;
    flex-grow: 1;
    text-align: left;
    padding-right: 15px;
}
html.is-web #profileModal .copy-button-custom,
html.is-web #profilePlayerMain .copy-button-custom{
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}
html.is-web #profileModal .copy-button-custom:hover,
html.is-web #profilePlayerMain .copy-button-custom:hover{
    background-color: #27ae60;
    transform: translateY(-1px);
}
html.is-web #profileModal .copy-button-custom:active,
html.is-web #profilePlayerMain .copy-button-custom:active{
    background-color: #219d53;
    transform: translateY(0);
}
html.is-web #profileModal .share-link-text,
html.is-web #profilePlayerMain .share-link-text{
    font-size: 0.85em;
    color: #555;
    margin-top: 15px;
    display: block;
}
html.is-web #profileModal .share-link-value,
html.is-web #profilePlayerMain .share-link-value{
    font-weight: bold;
    color: #2980b9;
}
html.is-web #profileModal .table-card-custom,
html.is-web #profilePlayerMain .table-card-custom{
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
}
html.is-web #profileModal .table-card-header-custom,
html.is-web #profilePlayerMain .table-card-header-custom{
    background-color: #3498db;
    color: white;
    padding: 18px 25px;
    font-size: 1.3em;
    font-weight: bold;
    text-align: left;
}
html.is-web #profileModal .referral-table-custom,
html.is-web #profilePlayerMain .referral-table-custom{
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
}
html.is-web #profileModal .referral-table-custom th,
html.is-web #profilePlayerMain .referral-table-custom th,
html.is-web #profileModal .referral-table-custom td,
html.is-web #profilePlayerMain .referral-table-custom td{
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}
html.is-web #profileModal .referral-table-custom thead th,
html.is-web #profilePlayerMain .referral-table-custom thead th{
    background-color: #2980b9;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}
html.is-web #profileModal .referral-table-custom tbody tr:nth-child(even),
html.is-web #profilePlayerMain .referral-table-custom tbody tr:nth-child(even){
    background-color: #f9f9f9;
}
html.is-web #profileModal .referral-table-custom tbody tr:hover,
html.is-web #profilePlayerMain .referral-table-custom tbody tr:hover{
    background-color: #e8f6ff;
}
html.is-web #profileModal .referral-table-custom td.text-center-custom,
html.is-web #profilePlayerMain .referral-table-custom td.text-center-custom{
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
}
html.is-web #profileModal .message-center-custom,
html.is-web #profilePlayerMain .message-center-custom{
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-style: italic;
}
html.is-web #profileModal .swal-high-zindex,
html.is-web #profilePlayerMain .swal-high-zindex{
    z-index: 99999 !important;
}

/* pages/profile/freespin.php */


/* Dark-theme overrides for references (legacy light skin) */
html.is-web #profileModal .referrals-container,
html.is-web #profilePlayerMain .referrals-container {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 8px 0 16px !important;
  color: rgba(var(--b-sc), 0.92) !important;
}
html.is-web #profileModal .referrals-title,
html.is-web #profilePlayerMain .referrals-title {
  color: rgba(var(--b-sc), 1) !important;
  font-size: 18px !important;
  margin-bottom: 16px !important;
}
html.is-web #profileModal .referral-card-custom,
html.is-web #profileModal .table-card-custom,
html.is-web #profilePlayerMain .referral-card-custom,
html.is-web #profilePlayerMain .table-card-custom {
  background: rgba(var(--b-sc), 0.05) !important;
  border: 1px solid rgba(var(--b-sc), 0.1) !important;
  box-shadow: none !important;
  color: rgba(var(--b-sc), 1) !important;
}
html.is-web #profileModal .referral-card-custom h4,
html.is-web #profilePlayerMain .referral-card-custom h4 {
  color: rgba(var(--b-sc), 1) !important;
}
html.is-web #profileModal .referral-card-custom p.muted-text,
html.is-web #profileModal .share-link-text,
html.is-web #profilePlayerMain .referral-card-custom p.muted-text,
html.is-web #profilePlayerMain .share-link-text {
  color: rgba(var(--b-sc), 0.65) !important;
}
html.is-web #profileModal .referral-code-display-custom,
html.is-web #profilePlayerMain .referral-code-display-custom {
  background: rgba(var(--b-sc), 0.08) !important;
  border-color: rgba(var(--b-sc), 0.15) !important;
}
html.is-web #profileModal .referral-code-value,
html.is-web #profileModal .share-link-value,
html.is-web #profilePlayerMain .referral-code-value,
html.is-web #profilePlayerMain .share-link-value {
  color: rgba(var(--oc-1), 1) !important;
}
html.is-web #profileModal .copy-button-custom,
html.is-web #profilePlayerMain .copy-button-custom {
  background: rgba(var(--oc-1), 1) !important;
  color: rgba(var(--oc-1-sc), 1) !important;
}
html.is-web #profileModal .table-card-header-custom,
html.is-web #profilePlayerMain .table-card-header-custom {
  background: rgba(var(--oc-1), 1) !important;
}
html.is-web #profileModal .referral-table-custom th,
html.is-web #profileModal .referral-table-custom td,
html.is-web #profilePlayerMain .referral-table-custom th,
html.is-web #profilePlayerMain .referral-table-custom td {
  color: rgba(var(--b-sc), 0.9) !important;
  border-bottom-color: rgba(var(--b-sc), 0.1) !important;
}
