:root {
    --hub-bg: #070709;
    --hub-panel: #101018;
    --hub-line: rgba(245, 197, 24, 0.14);
    --gold: #f5c518;
}

html, body {
    background: var(--hub-bg);
}

.hub-grid {
    background-image:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(245, 197, 24, 0.08), transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(34, 211, 238, 0.06), transparent 45%);
}

.hub-sidebar {
    background: linear-gradient(180deg, #0c0c12 0%, #09090d 100%);
    border-right: 1px solid var(--hub-line);
}

.hub-card {
    background: linear-gradient(180deg, rgba(20, 20, 28, 0.96), rgba(12, 12, 16, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.badge-pulse {
    animation: hub-pulse 1.4s ease-in-out infinite;
}

@keyframes hub-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55); transform: scale(1); }
    50% { box-shadow: 0 0 0 7px rgba(250, 204, 21, 0); transform: scale(1.06); }
}

.toast-stack {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(22rem, calc(100vw - 2rem));
}

.toast-item {
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #14141c;
    animation: toast-in 0.22s ease-out;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.modal-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-scrim.is-open { display: flex; }

.chart-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2px;
    height: 8.5rem;
}

.chart-bar {
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: height 0.25s ease;
}

.sidebar-drawer {
    transform: translateX(-100%);
    transition: transform 0.22s ease;
}

.sidebar-drawer.is-open { transform: translateX(0); }

@media (min-width: 768px) {
    .sidebar-drawer { transform: none; }
}
