.nominee-profile-dialog{
    position:fixed;
    inset:0;
    margin:auto;
    width:min(1000px,94vw);
    max-width:none;
    max-height:90vh;
    padding:0;
    overflow:hidden;
    border:0;
    border-radius:22px;
    color:#282435;
    background:#fff;
    box-shadow:0 24px 80px rgba(24,16,40,.35);
}

.nominee-profile-dialog::backdrop{
    background:rgba(20,15,30,.72);
    backdrop-filter:blur(4px);
}

.nominee-profile-layout{
    display:grid;
    grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);
    min-height:min(72vh,720px);
}

.nominee-profile-image{
    width:100%;
    height:100%;
    min-height:60vh;
    max-height:80vh;
    object-fit:cover;
    background:#f3f0f8;
}

.nominee-profile-content{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:36px 28px;
}

.nominee-profile-close{
    position:absolute;
    top:14px;
    right:14px;
    display:grid;
    width:40px;
    height:40px;
    place-items:center;
    border:0;
    border-radius:50%;
    color:#51445f;
    background:#f4f1f8;
    font-size:24px;
    cursor:pointer;
}

.nominee-profile-eyebrow{
    margin:0 0 8px;
    color:#8055dc;
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.nominee-profile-content h2{
    margin:0 34px 20px 0;
    font-size:clamp(24px,3vw,34px);
    font-weight:800;
    overflow-wrap:anywhere;
}

.nominee-profile-category-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 0;
    border-top:1px solid #eeeaf5;
    border-bottom:1px solid #eeeaf5;
}

.nominee-profile-category{
    min-width:0;
    color:#5d536b;
    font-size:14px;
    font-weight:600;
    overflow-wrap:anywhere;
}

.nominee-profile-vote{
    flex:0 0 auto;
    padding:10px 15px;
    border:0;
    border-radius:24px;
    color:#fff;
    background:linear-gradient(100deg,#ff4fa2,#7b5cff);
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
}

.nominee-profile-vote[aria-disabled="true"]{
    opacity:.5;
    pointer-events:none;
}

.nominee-profile-stats{
    display:grid;
    gap:14px;
    margin:20px 0 0;
}

.nominee-profile-stats div{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.nominee-profile-stats dt{
    color:#8c8496;
    font-size:12px;
}

.nominee-profile-stats dd{
    margin:0;
    color:#322b3d;
    font-size:16px;
    font-weight:700;
}

[data-nominee-profile]{
    cursor:pointer;
}

@media(max-width:700px){
    .nominee-profile-dialog{
        width:min(520px,94vw);
        max-height:92vh;
        overflow-y:auto;
        border-radius:18px;
    }

    .nominee-profile-layout{
        display:flex;
        flex-direction:column;
        min-height:0;
    }

    .nominee-profile-image{
        flex:0 0 60vh;
        width:100%;
        height:60vh;
        min-height:60vh;
        max-height:60vh;
        object-fit:cover;
    }

    .nominee-profile-content{
        padding:22px;
    }

    .nominee-profile-category-row{
        align-items:flex-start;
    }
}
