/* TV Invoker - Perfis estilo Netflix */
body.page-select_profile {
    background: #030303 !important;
    overflow-x: hidden;
}
body.page-select_profile .preloader,
body.page-select_profile .backdrop {
    display: none !important;
}
.tv-profile-page {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 18%, rgba(214, 162, 54, .12), transparent 28%),
        radial-gradient(circle at 50% 82%, rgba(214, 162, 54, .06), transparent 36%),
        linear-gradient(90deg, rgba(8, 7, 4, .98), rgba(0,0,0,.96));
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
}
.tv-profile-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.74)),
        url('../../files/tv_invoker_login_bg.png');
    background-size: min(660px, 46vw) auto;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: .32;
    filter: saturate(1.05) contrast(1.02);
    pointer-events: none;
}
.tv-profile-page:before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 199, 75, .05), transparent 20%, transparent 82%, rgba(255, 199, 75, .04)),
        radial-gradient(circle at 50% 50%, rgba(255, 190, 58, .06), transparent 44%);
    pointer-events: none;
}
.tv-profile-top-logo {
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 92px;
    height: 72px;
    border-radius: 18px;
    border: 1px solid rgba(216, 165, 64, .35);
    background: rgba(0,0,0,.45);
    box-shadow: 0 0 22px rgba(218, 166, 58, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.tv-profile-top-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.tv-profile-wrap {
    position: relative;
    z-index: 2;
    width: min(980px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tv-profile-header,
.tv-create-first-card {
    width: 100%;
    max-width: 760px;
}
.tv-profile-header h1,
.tv-create-first-card h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: -.03em;
    text-shadow: 0 0 22px rgba(255, 199, 75, .16);
}
.tv-profile-header p,
.tv-create-first-card p,
.tv-create-form p {
    color: rgba(255,255,255,.64);
    font-size: 15px;
    margin: 0 0 28px;
}
.tv-profile-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 34px;
}
.tv-profile-card {
    width: 150px;
    text-align: center;
    position: relative;
}
.tv-profile-select-form,
.tv-profile-delete-form {
    margin: 0;
}
.tv-profile-avatar,
.tv-profile-add {
    width: 142px;
    height: 142px;
    border-radius: 34px;
    border: 1px solid rgba(216, 165, 64, .38);
    background:
        linear-gradient(145deg, rgba(36,31,20,.86), rgba(12,12,12,.94)),
        radial-gradient(circle at 30% 25%, rgba(255,205,89,.34), transparent 45%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 16px 55px rgba(0,0,0,.42), 0 0 28px rgba(217, 164, 55, .13);
    color: #f7c75e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .22s ease;
    outline: none;
}
.tv-profile-avatar:hover,
.tv-profile-add:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(255, 205, 89, .82);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 18px 70px rgba(0,0,0,.55), 0 0 34px rgba(255, 190, 58, .34);
}
.tv-profile-avatar span {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffe49a, #b77b17 58%, #412407);
    color: #111;
    font-size: 42px;
    font-weight: 900;
    text-shadow: 0 1px 0 rgba(255,255,255,.35);
    box-shadow: 0 0 26px rgba(255, 198, 68, .30);
}
.tv-profile-name {
    display: block;
    width: 100%;
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.86);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}
.tv-profile-delete-form button {
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.35);
    font-size: 12px;
    cursor: pointer;
}
.tv-profile-delete-form button:hover {
    color: #f7c75e;
}
.tv-profile-add {
    flex-direction: column;
    font-family: inherit;
}
.tv-profile-add span {
    font-size: 62px;
    line-height: 1;
    font-weight: 200;
    color: #f7c75e;
}
.tv-profile-add strong {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.78);
}
.tv-profile-create-panel {
    max-width: 430px;
    margin: 42px auto 0;
    display: none;
}
.tv-profile-create-panel.is-open {
    display: block;
}
.tv-create-first-card,
.tv-create-form {
    border-radius: 34px;
    border: 1px solid rgba(216, 165, 64, .32);
    background: linear-gradient(145deg, rgba(22,22,22,.90), rgba(9,9,9,.96));
    box-shadow: 0 24px 90px rgba(0,0,0,.65), 0 0 42px rgba(220, 166, 59, .10);
}
.tv-create-first-card {
    max-width: 470px;
    margin: 0 auto;
    padding: 44px 38px 40px;
}
.tv-create-form {
    padding: 28px;
    text-align: left;
}
.tv-create-first-card .tv-create-form {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.tv-create-form h2 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 8px;
}
.tv-create-form label {
    display: block;
    color: rgba(255,255,255,.52);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .14em;
    margin: 0 0 9px;
    font-weight: 800;
}
.tv-create-form input {
    width: 100%;
    height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: 16px;
    padding: 0 18px;
    outline: none;
    transition: .2s ease;
}
.tv-create-form input:focus {
    border-color: rgba(247, 199, 94, .75);
    box-shadow: 0 0 0 4px rgba(247, 199, 94, .08);
}
.tv-create-form button {
    width: 100%;
    height: 56px;
    margin-top: 22px;
    border: 1px solid rgba(255, 208, 105, .62);
    border-radius: 16px;
    background: linear-gradient(180deg, #f6d171, #c28923);
    color: #111;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 28px rgba(218, 166, 58, .24);
}
.tv-profile-alert {
    max-width: 520px;
    margin: 0 auto 22px;
    padding: 13px 16px;
    border-radius: 14px;
    background: rgba(180, 32, 32, .18);
    border: 1px solid rgba(255, 100, 100, .35);
    color: #ffd1d1;
    font-size: 14px;
}
@media (max-width: 768px) {
    .tv-profile-page { padding-top: 120px; }
    .tv-profile-bg { background-size: 82vw auto; background-position: center 32%; opacity: .18; }
    .tv-profile-top-logo { top: 20px; left: 50%; transform: translateX(-50%); }
    .tv-profile-card { width: 130px; }
    .tv-profile-avatar, .tv-profile-add { width: 124px; height: 124px; border-radius: 28px; }
    .tv-profile-header h1 { font-size: 34px; }
}
