#sharecore-impersonate-host[hidden] {
    display: none !important;
}

#sharecore-impersonate-host {
    display: block;
}

#sc-impersonate-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 0.7rem 1.1rem;
    background: #071b11;
    color: #f4efe6;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    box-shadow: 0 8px 24px rgba(7, 27, 17, 0.28);
}

#sc-impersonate-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

#sc-impersonate-banner strong {
    color: #c4b08a;
}

#sc-impersonate-banner .sc-imp-email {
    opacity: 0.75;
}

body.sc-impersonating {
    padding-top: 3.15rem !important;
}

#sc-impersonate-action {
    position: fixed;
    z-index: 12;
    right: 1rem;
    top: 5.25rem;
    width: min(22rem, calc(100vw - 1.5rem));
    padding: 0.95rem 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #ece7df;
    box-shadow: 0 10px 28px rgba(16, 16, 16, 0.08);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #161616;
}

@media (min-width: 1024px) {
    #sc-impersonate-action {
        top: 1.15rem;
        right: 1.5rem;
    }
}

.dark #sc-impersonate-action {
    background: #1b1b1b;
    border-color: #2c2c2c;
    color: #f3f1ec;
}

.sc-imp-kicker {
    margin: 0 0 4px;
    font: 700 10px/1.2 system-ui, sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a734a;
}

.sc-imp-note {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.45;
    color: #5c5c5c;
}

.dark .sc-imp-note {
    color: #b9b6af;
}

.sc-imp-btn {
    appearance: none;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    font: 600 13px/1.2 system-ui, sans-serif;
    cursor: pointer;
    background: #071b11;
    color: #f4efe6;
}

.sc-imp-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.sc-imp-btn-light {
    background: #c4b08a;
    color: #071b11;
}

.sc-imp-error {
    margin: 8px 0 0;
    color: #b42318;
    font-size: 12px;
}

.scu-btn-impersonate {
    margin-left: 6px;
}
