/* Account shell v1.0.5. */
.nav-menu ul li.apk-account-nav {
    position: relative;
    margin: 12px 0 4px;
    padding: 13px 11px 0;
    background: transparent;
    border-bottom: 0;
}

.nav-menu ul li.apk-account-nav::before {
    position: absolute;
    top: 0;
    right: 14px;
    left: 14px;
    height: 1px;
    background: rgba(90, 90, 90, .2);
    content: "";
}

.nav-menu ul li.apk-account-nav > a {
    display: flex;
    box-sizing: border-box;
    height: 52px;
    padding: 0 12px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(90, 90, 90, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .42);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.nav-menu ul li.apk-account-nav > a:hover,
.nav-menu ul li.apk-account-nav > a:focus-visible {
    border-color: rgba(242, 71, 46, .36);
    background: rgba(242, 71, 46, .08);
}

[data-theme="dark"] .nav-menu ul li.apk-account-nav::before {
    background: rgba(255, 255, 255, .12);
}

[data-theme="dark"] .nav-menu ul li.apk-account-nav > a {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .035);
}

.apk-account-nav__avatar {
    align-items: center;
    background: #f2472e;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    width: 30px;
    height: 30px;
    justify-content: center;
    letter-spacing: .02em;
    margin-right: 0;
    min-width: 30px;
    padding: 0 5px;
}

.apk-account-favorite-slot {
    display: inline-flex;
    align-items: center;
    height: 42px;
    margin: 0 10px;
    vertical-align: top;
}

.apk-account-favorite {
    display: grid;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    place-items: center;
    background: transparent !important;
    border: 1px solid rgba(242, 71, 46, .5) !important;
    border-radius: 9px;
    color: #f2472e;
    cursor: pointer;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
}

.apk-account-favorite svg {
    display: block;
    width: 21px;
    height: 21px;
}

.apk-account-wpdiscuz-auth .wpd-form-head .wpd-login,
.apk-account-comment-identity {
    display: none !important;
}

@media (max-width: 768px) {
    .actions .apk-account-favorite-slot {
        margin-right: 5px;
        margin-left: 5px;
    }
}

.apk-account-favorite:not([aria-pressed="true"]) svg path {
    fill: transparent;
}

.apk-account-favorite:hover,
.apk-account-favorite:focus-visible {
    border-color: #f2472e !important;
    background: rgba(242, 71, 46, .1) !important;
    color: #f2472e !important;
}

.apk-account-favorite[aria-pressed="true"] {
    background: #f2472e !important;
    color: #fff !important;
}

.apk-account-favorite:disabled {
    cursor: wait;
    opacity: .58;
}

.apk-account-favorite:focus-visible,
.apk-account-comment-option input:focus-visible {
    outline: 3px solid rgba(242, 71, 46, .35);
    outline-offset: 2px;
}

.apk-account-notifications {
    position: fixed;
    z-index: 100000;
    top: calc(14px + env(safe-area-inset-top));
    right: 14px;
    display: grid;
    width: min(330px, calc(100% - 28px));
    gap: 7px;
    pointer-events: none;
}

.apk-account-notice {
    min-height: 42px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 9px;
    background: #25292e;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(-7px);
    transition: opacity .18s ease, transform .18s ease;
}

.apk-account-notice.is-success {
    border-left: 3px solid #55ce82;
}

.apk-account-notice.is-error {
    border-left: 3px solid #dc7772;
}

.apk-account-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .apk-account-notifications {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .apk-account-favorite,
    .apk-account-notice {
        transition: none !important;
    }
}

.apk-account-comment-option {
    align-items: center;
    display: flex;
    font-size: 13px;
    gap: 7px;
    margin: 10px 0;
}

.apk-account-comment-device {
    color: #6d7280;
    font-size: 12px;
    margin-top: 8px;
}

#wpdcom.apk-account-wpdiscuz-auth .wc_name-wrapper,
#wpdcom.apk-account-wpdiscuz-auth .wc_email-wrapper {
    display: none !important;
}

#wpdcom.apk-account-comment-restricted .wpd-form-wrap,
#wpdcom.apk-account-comment-restricted .wpd-form,
#wpdcom.apk-account-comment-restricted form.wc_comm_form {
    display: none !important;
}

#wpdcom.apk-account-comment-restricted .wpd-reply-button,
#wpdcom.apk-account-comment-restricted .wpd-vote-up,
#wpdcom.apk-account-comment-restricted .wpd-vote-down {
    display: none !important;
}

.apk-account-comment-restriction {
    align-items: flex-start;
    background: #fff4e6;
    border: 1px solid #f1ca93;
    border-radius: 14px;
    color: #563b18;
    display: flex;
    gap: 12px;
    margin: 0 15px 18px;
    padding: 15px 17px;
}

.apk-account-comment-restriction__icon {
    align-items: center;
    background: #d87900;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 28px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
}

.apk-account-comment-restriction strong,
.apk-account-comment-restriction p,
.apk-account-comment-restriction small {
    display: block;
}

.apk-account-comment-restriction p {
    margin: 4px 0 0;
}

.apk-account-comment-restriction__note {
    color: #73552b;
}

.apk-account-comment-restriction small {
    color: #80643c;
    margin-top: 6px;
}

@media (prefers-color-scheme: dark) {
    .apk-account-comment-restriction {
        background: #332719;
        border-color: #6b4e27;
        color: #f5ddb5;
    }

    .apk-account-comment-restriction__note,
    .apk-account-comment-restriction small {
        color: #c9ae82;
    }
}

.apk-account-comment-identity {
    align-items: center;
    color: inherit;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    line-height: 1.35;
}

.apk-account-comment-identity__avatar {
    align-items: center;
    background: #f2472e;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 10px;
    height: 26px;
    justify-content: center;
    letter-spacing: .02em;
    min-width: 26px;
    padding: 0 5px;
}
