.rush-header-row { gap: 16px; }
.rush-header-brand, .rush-header-actions, .rush-header-mobile { flex-shrink: 0; }
.rush-header-brand:focus-visible { outline: 2px solid #d4af37; outline-offset: 5px; border-radius: 3px; }
.rush-header-wordmark { display: none; align-items: center; gap: 1px; color: #fff; font-size: 20px; line-height: 28px; letter-spacing: 0; white-space: nowrap; }
/* Keep the brand animated by request, including in reduced-motion mode. */
.rush-header-wordmark-ending { color: #d4af37; animation: rush-brand-amas 2.8s ease-in-out infinite; }
.rush-header-wordmark-kamas { display: block; width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; transform-origin: 50% 65%; animation: rush-brand-kamas 2.8s ease-in-out infinite; }
@keyframes rush-brand-kamas {
    0%, 50%, 100% { transform: translateY(0) rotate(0); filter: brightness(1); }
    25% { transform: translateY(-3px) rotate(-6deg); filter: brightness(1.22); }
    75% { transform: translateY(1.5px) rotate(5deg); filter: brightness(1.12); }
}
@keyframes rush-brand-amas {
    0%, 50%, 100% { color: #d4af37; text-shadow: none; }
    25% { color: #ffe395; text-shadow: 0 0 8px rgba(212, 175, 55, .3); }
    75% { color: #ebd275; text-shadow: 0 0 5px rgba(212, 175, 55, .18); }
}
@media (min-width: 640px) { .rush-header-wordmark { display: inline-flex; } }
.rush-header-links { gap: 16px; }
.rush-header-links > a { white-space: nowrap; }
.rush-header-actions { gap: 12px; }
.rush-header-currency { padding-right: 12px; }
.rush-header-account { min-width: 0; }
.rush-header-account-text { min-width: 0; max-width: 100px; }
.rush-header-username { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rush-header-avatar { display: block; flex-shrink: 0; }
.rush-header-avatar:focus-visible { outline: 2px solid #d4af37; outline-offset: 3px; }
.rush-header-mobile { gap: 12px; }
.rush-header-account--mobile { display: flex; align-items: center; gap: 8px; }
.rush-header-account--mobile .rush-header-avatar { width: 36px; height: 36px; border: 1px solid #363636; border-radius: 50%; overflow: hidden; background: #0b0b0b; }
.rush-header-account--mobile .rush-header-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rush-notifications-panel, .rush-notifications-icon-button, .rush-notifications-badge { box-sizing: border-box; letter-spacing: 0; }
.rush-notifications-panel *, .rush-notifications-panel *::before, .rush-notifications-panel *::after { box-sizing: border-box; letter-spacing: 0; }
.rush-notifications-panel[hidden], .rush-notifications-panel [hidden], .rush-notifications-badge[hidden] { display: none !important; }
.rush-notifications-icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #292b2d;
    border-radius: 6px;
    background: #141516;
    color: #aeb0b3;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
    -webkit-tap-highlight-color: transparent;
}
.rush-notifications-icon-button:hover:not(:disabled), .rush-notifications-toggle[aria-expanded="true"] { color: #e5c765; border-color: #77632f; background: #19170f; }
.rush-notifications-icon-button:disabled { opacity: .4; cursor: not-allowed; }
.rush-notifications-icon-button:focus-visible, .rush-notifications-panel :focus-visible { outline: 2px solid #d4af37; outline-offset: 3px; }
.rush-notifications-toggle { width: 40px; height: 40px; flex-basis: 40px; background: #101112; border-color: #27292b; font-size: 17px; color: #c7c9cc; }
.rush-notifications-toggle.has-unread { color: #e4c56d; border-color: #51452b; }
.rush-notifications-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border: 2px solid #040404;
    border-radius: 10px;
    background: #dfbd57;
    color: #141108;
    font: 700 10px/1 "Inter", sans-serif;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
.rush-notifications-icon-button[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    max-width: 190px;
    padding: 6px 8px;
    border: 1px solid #3b3b3b;
    border-radius: 4px;
    background: #202020;
    color: #eee;
    font: 500 11px/1.4 "Inter", sans-serif;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 3;
}
.rush-notifications-icon-button[data-tooltip]:hover::after, .rush-notifications-icon-button[data-tooltip]:focus-visible::after { opacity: 1; visibility: visible; }
.rush-notifications-toggle[data-tooltip][aria-expanded="true"]::after { opacity: 0; visibility: hidden; }
.rush-notifications-panel {
    position: fixed;
    z-index: 60;
    top: 88px;
    right: 12px;
    display: flex;
    flex-direction: column;
    width: min(390px, calc(100vw - 24px));
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    border: 1px solid #363739;
    border-radius: 8px;
    background: #101112;
    color: #f3f3f3;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .5);
    font: 400 12px/1.5 "Inter", sans-serif;
    color-scheme: dark;
    overflow: hidden;
}
.rush-notifications-panel:focus { outline: none; }
.rush-notifications-panel:focus-visible { outline: 1px solid #9a8240; outline-offset: 1px; }
.rush-notifications-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; padding: 17px 16px; border-bottom: 1px solid #2a2b2d; background: #131415; }
.rush-notifications-heading-text { min-width: 0; }
.rush-notifications-heading h2 { margin: 0; min-width: 0; font: 700 15px/1.4 "Plus Jakarta Sans", "Inter", sans-serif; overflow-wrap: anywhere; }
.rush-notifications-summary { margin: 4px 0 0; color: #9d9fa3; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.rush-notifications-tools { display: flex; gap: 6px; flex-shrink: 0; }
.rush-notifications-tools .rush-notifications-icon-button { width: 30px; height: 30px; flex-basis: 30px; border-color: transparent; background: transparent; font-size: 13px; }
.rush-notifications-tools .rush-notifications-icon-button:hover:not(:disabled) { border-color: #51452b; background: #242017; }
.rush-notifications-tools [data-notifications-sound][aria-pressed="true"] { color: #d5bd7c; }
.rush-notifications-tools .rush-notifications-icon-button[data-tooltip]::after { max-width: 165px; }
.rush-notifications-status { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #b8b8b8; background: #141414; flex-shrink: 0; font-size: 11px; }
.rush-notifications-status > i { color: #d4af37; flex-shrink: 0; width: 14px; text-align: center; }
.rush-notifications-status > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rush-notifications-status[data-state="offline"] > i, .rush-notifications-status[data-state="retrying"] > i { color: #f2b66a; }
.rush-notifications-status[data-state="denied"] > i { color: #f58d94; }
.rush-notifications-status .rush-notifications-icon-button { width: 30px; height: 30px; flex-basis: 30px; }
.rush-notifications-list { margin: 0; padding: 0; list-style: none; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.rush-notifications-list > li + li { border-top: 1px solid #252729; }
.rush-notifications-link { display: flex; align-items: flex-start; gap: 12px; padding: 16px; color: inherit; text-decoration: none; transition: background-color 150ms ease; }
.rush-notifications-link:hover { background: #1a1b1c; }
.rush-notifications-link:focus-visible { outline-offset: -4px; background: #1a1b1c; }
.rush-notifications-link.is-unread { background: #111213; }
.rush-notifications-link.is-unread:hover { background: #1a1b1c; }
.rush-notifications-message-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #443c2b; border-radius: 6px; background: #211e16; color: #d7bb6b; font-size: 14px; }
.rush-notifications-content { flex: 1; min-width: 0; }
.rush-notifications-row { display: flex; align-items: flex-start; gap: 10px; }
.rush-notifications-reference { flex: 1; min-width: 0; color: #d5bd7c; font-weight: 600; font-size: 11px; line-height: 20px; overflow-wrap: anywhere; }
.rush-notifications-count { flex-shrink: 0; min-width: 20px; height: 20px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #4b4028; border-radius: 10px; background: #292418; color: #e5c765; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rush-notifications-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; margin-top: 6px; font-size: 11px; color: #94979b; }
.rush-notifications-sender { color: #e2e3e5; font-size: 12px; font-weight: 600; max-width: 100%; overflow-wrap: anywhere; }
.rush-notifications-server { max-width: 100%; overflow-wrap: anywhere; }
.rush-notifications-preview { margin: 5px 0 0; color: #bcbfc3; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rush-notifications-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; color: #777d83; font-size: 10px; }
.rush-notifications-time { display: block; color: #91959b; font-size: 10px; }
.rush-notifications-footer > i { flex-shrink: 0; font-size: 10px; }
.rush-notifications-link:hover .rush-notifications-footer > i { color: #d5bd7c; }
.rush-notifications-empty { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 34px 18px 38px; margin: 0; color: #94979b; text-align: center; overflow-wrap: anywhere; }
.rush-notifications-empty > i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 9px; border: 1px solid #363d35; border-radius: 8px; background: #191e19; font-size: 20px; color: #9db994; }
.rush-notifications-empty > strong { color: #e1e3e5; font-size: 13px; font-weight: 600; }
.rush-notifications-spinner { animation: rush-notifications-spin 1s linear infinite; }
@keyframes rush-notifications-spin { to { transform: rotate(360deg); } }
@media (min-width: 1280px) {
    .rush-header-links { gap: 24px; }
    .rush-header-actions { gap: 18px; }
    .rush-header-currency { padding-right: 18px; }
    .rush-header-account-text { max-width: 130px; }
}
@media (max-width: 359px) {
    .rush-header-row { gap: 10px; }
    .rush-header-mobile { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .rush-notifications-spinner { animation: none; } .rush-notifications-icon-button, .rush-notifications-link { transition: none; } }
