/* Inline phone editor. The native details element needs no custom JavaScript. */
.profile-home__phone {
    min-width: 0;
}

.profile-home__phone>summary.profile-home__channel {
    list-style: none;
    cursor: pointer;
}

.profile-home__phone>summary.profile-home__channel::-webkit-details-marker {
    display: none;
}

.profile-home__phone>summary.profile-home__channel:focus-visible {
    outline: 2px solid var(--home-primary);
    outline-offset: 2px;
}

.profile-home__phone[open]>summary.profile-home__channel {
    border-radius: 12px 12px 0 0;
    border-bottom-color: transparent;
}

.profile-home__phone-editor {
    padding: 0 15px 15px 69px;
    border: 1px solid var(--home-border);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #fff;
}

.profile-home__phone-form {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-home__phone-form .mb-3 {
    flex: 1 1 240px;
    min-width: 0;
    margin-bottom: 0 !important;
}

.profile-home__phone-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--home-text);
    font-size: 12px;
    font-weight: 600;
}

.profile-home__phone-form .form-control {
    display: block;
    width: 100%;
    min-height: 42px;
    border-color: var(--home-border);
    border-radius: 9px;
    font-size: 14px;
}

.profile-home__phone-form .profile-home__button {
    min-height: 42px;
}

@media (max-width: 480px) {
    .profile-home__phone-editor {
        padding: 0 12px 14px;
    }

    .profile-home__phone-form .profile-home__button {
        width: 100%;
    }
}

.profile-home__channel--connected {
    border-color: #d9eee5;
    background: #fff;
}

.profile-home__channel-connected {
    color: #147b4e !important;
    font-weight: 700;
}

.profile-home__channel-check {
    align-self: flex-start;
    color: var(--home-primary);
    font-size: 12px;
    font-weight: 600;
}

.profile-home__subscription {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 17px;
    padding: 16px 20px;
}

.profile-home__subscription-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.profile-home__subscription-icon {
    display: inline-flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: var(--home-primary);
    background: #f0ecff;
    font-size: 21px;
}

.profile-home__subscription-icon svg {
    width: 26px;
    height: 26px;
}

.profile-home__subscription>div {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.profile-home__subscription strong {
    font-size: 13px;
    font-weight: 800;
}

.profile-home__subscription>div>span {
    color: var(--home-muted);
    font-size: 12px;
}

.profile-home__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 20px;
    text-align: center;
}

.profile-home__empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    border-radius: 15px;
    color: var(--home-primary);
    background: #f1edff;
    font-size: 28px;
}

.profile-home__empty h2 {
    margin: 0 0 9px;
    font-size: 21px;
    font-weight: 800;
}

.profile-home__empty p {
    max-width: 470px;
    margin: 0 0 20px;
    color: var(--home-muted);
    font-size: 13px;
}

.profile-home__empty-help {
    width: min(100%, 640px);
    margin-top: 20px;
    text-align: left;
}

.profile-home__empty-help summary {
    cursor: pointer;
    color: var(--home-primary);
    font-size: 12px;
    font-weight: 700;
}

.profile-home__empty-help video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 12px;
    border-radius: 10px;
    background: #000;
}

@media (max-width: 1199px) {
    .profile-home__account-main {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-home__account-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .profile-home__content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .profile-home__header {
        align-items: stretch;
        gap: 12px;
        margin-bottom: 16px;
    }

    .profile-home__header h1 {
        font-size: 24px;
    }

    .profile-home__alert {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 11px;
        padding: 17px;
    }

    .profile-home__alert-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .profile-home__alert-content {
        flex-basis: calc(100% - 60px);
    }

    .profile-home__alert>.profile-home__button,
    .profile-home__alert-locked {
        width: 100%;
    }

    .profile-home__account {
        padding: 16px;
    }

    .profile-home__account h2 {
        font-size: 15px;
    }

    .profile-home__identity {
        align-items: flex-start;
        gap: 12px;
    }

    .profile-home__avatar {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .profile-home__identity-title>strong {
        font-size: 16px;
    }

    .profile-home__account-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-home__account-actions>.profile-home__button {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .profile-home__stat-summary-hint {
        display: none;
    }

    .profile-home__subscription {
        flex-wrap: wrap;
        padding: 15px;
    }

    .profile-home__subscription>.profile-home__button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .profile-home__identity-meta {
        gap: 10px 14px;
    }

    .profile-home__account-actions {
        grid-template-columns: 1fr;
    }

    .profile-home__stat-summary-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .profile-home__stat-count {
        font-size: 21px;
    }

    .profile-home__channel {
        flex-wrap: wrap;
    }

    .profile-home__channel-action {
        margin-left: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .profile-home__button,
    .profile-home__stat {
        transition: none;
    }
}


@media (max-width: 767px) {
    .profile-home .profile-v2-promo {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding: 15px;
    }

    .profile-home .profile-v2-promo__visual {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        width: 40px;
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .profile-home .profile-v2-promo__visual-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 19px;
    }

    .profile-home .profile-v2-promo__visual-caption {
        display: none;
    }

    .profile-home .profile-v2-promo__content {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        padding: 0;
    }

    .profile-home .profile-v2-promo__badge {
        margin-bottom: 5px;
        font-size: 11px;
    }

    .profile-home .profile-v2-promo__title {
        margin-bottom: 5px;
        font-size: 15px;
    }

    .profile-home .profile-v2-promo__text {
        font-size: 12px;
        line-height: 1.45;
    }

    .profile-home .profile-v2-promo__progress {
        height: 4px;
        margin-top: 10px;
    }

    .profile-home .profile-v2-promo__time {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin: 0;
        padding: 9px 11px;
    }

    .profile-home .profile-v2-promo__time-label {
        margin-bottom: 6px;
    }

    .profile-home .profile-v2-promo__timer-item strong,
    .profile-home .profile-v2-promo__separator {
        height: 34px;
        font-size: 18px;
    }

    .profile-home .profile-v2-promo__action {
        display: block;
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100%;
        padding: 0;
    }

    .profile-home .profile-v2-promo__button {
        width: 100%;
        min-height: 42px;
        font-size: 12px;
    }

    .profile-home .profile-v2-promo__hint {
        display: none;
    }
}


