/* Community links and floating notices. Shared by the public site and the member app. */
.eqt-social {
    box-sizing: border-box;
}

.eqt-social__label {
    display: block;
    margin: 0 0 10px;
    color: var(--accent, var(--eqt-accent, #ff650a));
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eqt-social__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.eqt-social__row a {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #262629;
    background: #1b1b1e;
    color: #f8f8fa;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.eqt-social__row a svg {
    width: 18px;
    height: 18px;
    display: block;
}

.eqt-social__row a:hover {
    background: #27272a;
    border-color: var(--accent, var(--eqt-accent, #ff650a));
    color: var(--accent, var(--eqt-accent, #ff650a));
}

.eqt-social__row a:focus-visible {
    outline: 2px solid var(--accent, var(--eqt-accent, #ff650a));
    outline-offset: 2px;
}

.eqt-social--footer {
    margin-top: 18px;
}

.eqt-social--sidebar {
    margin-bottom: 14px;
}

.eqt-social--sidebar .eqt-social__row a,
.eqt-social--drawer .eqt-social__row a {
    width: 36px;
    height: 36px;
    border-radius: 11px;
}

.eqt-social--drawer {
    margin: 18px 0 8px;
    padding: 14px;
    border-radius: 24px;
    background: #1b1b1e;
    border: 1px solid #262629;
}

.eqt-social--bar {
    display: none;
}

.eqt-notice {
    position: fixed;
    z-index: 96;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: min(360px, calc(100vw - 24px));
    pointer-events: none;
}

.eqt-notice.is-visible {
    pointer-events: auto;
}

.eqt-notice[hidden] {
    display: none !important;
}

.eqt-notice__card {
    position: relative;
    box-sizing: border-box;
    max-height: min(78vh, 560px);
    overflow: auto;
    padding: 22px 20px 18px;
    border-radius: 24px;
    background: var(--panel, #1b1b1e);
    border: 1px solid #262629;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
    color: #f7f7f8;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .35s ease, transform .35s ease;
}

.eqt-notice.is-visible .eqt-notice__card {
    opacity: 1;
    transform: none;
}

.eqt-notice__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #c8c8d0;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.eqt-notice__close svg {
    width: 16px;
    height: 16px;
}

.eqt-notice__close:hover {
    background: #2a2a2e;
    color: #fff;
}

.eqt-notice__close:focus-visible {
    outline: 2px solid var(--accent, var(--eqt-accent, #ff650a));
    outline-offset: 2px;
}

.eqt-notice__kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 28px;
    margin-bottom: 16px;
}

.eqt-notice__mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--accent, var(--eqt-accent, #ff650a));
    color: #12100d;
}

.eqt-notice__mark svg {
    width: 22px;
    height: 22px;
    display: block;
}

.eqt-notice__kicker strong {
    display: block;
    color: var(--accent, var(--eqt-accent, #ff650a));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eqt-notice__kicker small {
    display: block;
    margin-top: 4px;
    color: #9b9ba6;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}

.eqt-notice__card h2 {
    margin: 0 36px 8px 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.4px;
    font-weight: 750;
}

.eqt-notice__card p {
    margin: 0 0 16px;
    color: #a4a4ae;
    font-size: 14px;
    line-height: 1.55;
}

.eqt-notice__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Same pills as the public site: .btn.primary (Join EQT Protocol, Explore strategies) and .btn.ghost (Log in). */
.eqt-notice .btn {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 45px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #29292c;
    color: #fafafa;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
}

.eqt-notice .btn:hover {
    background: #38383c;
    color: #fafafa;
}

.eqt-notice .btn.ghost {
    background: #27272a;
    border-color: transparent;
    color: #fafafa;
}

.eqt-notice .btn.ghost:hover {
    background: #38383c;
    color: #fafafa;
}

.eqt-notice .btn.primary {
    background: var(--accent, #ff650a);
    border-color: var(--accent, #ff650a);
    color: #12100d;
}

.eqt-notice .btn.primary:hover {
    background: #ff812f;
    border-color: #ff812f;
    color: #12100d;
}

.eqt-notice .btn:focus-visible {
    outline: 2px solid var(--accent, var(--eqt-accent, #ff650a));
    outline-offset: 2px;
}

/* Dashboard Deposit pill: same accent, white label, radius, weight and shadow. */
body.eqt-body .eqt-notice .btn.primary {
    height: 46px;
    min-height: 46px;
    padding: 0 22px;
    background: var(--eqt-accent);
    border-color: var(--eqt-accent);
    color: #fff;
    font-size: 14.5px;
    box-shadow: 0 8px 24px rgba(255, 106, 31, 0.35);
}

body.eqt-body .eqt-notice .btn.primary:hover {
    background: var(--eqt-accent-2);
    border-color: var(--eqt-accent-2);
    color: #fff;
}

body.eqt-body .eqt-notice__mark {
    background: var(--eqt-accent);
    color: #fff;
}

body.eqt-body .eqt-notice__kicker strong,
body.eqt-body .eqt-social__label {
    color: var(--eqt-accent);
}

body.eqt-body .eqt-social__row a:hover {
    border-color: var(--eqt-accent);
    color: var(--eqt-accent);
}

@media (max-width: 900px) {
    body.eqt-body .eqt-notice {
        left: 12px;
        right: 12px;
        width: auto;
        bottom: calc(104px + env(safe-area-inset-bottom, 0px));
    }

    .eqt-social--bar {
        display: block;
        margin: 0 0 16px;
        padding: 14px 16px;
        border-radius: 24px;
        background: #1b1b1e;
        border: 1px solid #262629;
    }
}

@media (max-width: 760px) {
    .eqt-notice {
        left: 12px;
        right: 12px;
        width: auto;
    }

    .eqt-notice__card h2 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eqt-notice__card {
        transition: none;
        transform: none;
        opacity: 1;
    }
}
