/* Extracted from status.html style block 1. */
.dash-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        .dash-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.25rem;
            transition: border-color 0.3s;
            display: flex;
            flex-direction: column;
            align-self: stretch;
        }
        .dash-card:hover {
            border-color: var(--border-glow);
        }
        .dash-card.wide { grid-column: span 2; }
        .dash-card .card-title {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.7rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
        }
        .dash-card .card-desc {
            color: var(--text-muted);
            font-size: 0.88rem;
            line-height: 1.5;
            margin-bottom: 0.6rem;
        }
        .dash-card .section-body {
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .dash-card .card-inner {
            margin-top: auto;
        }
        .dash-btn {
            background: rgba(0,0,0,0.5);
            color: rgba(139,92,246,0.9);
            border: 1px solid rgba(139,92,246,0.25);
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 2px;
            text-transform: uppercase;
            text-decoration: none;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            position: relative;
            z-index: 1;
            overflow: hidden;
            clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
        }
        /* Animated border glow sweep */
        .dash-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent, rgba(139,92,246,0.08), rgba(247,147,26,0.06), transparent);
            background-size: 200% 100%;
            animation: btnSweep 3s ease-in-out infinite;
            pointer-events: none;
        }
        @keyframes btnSweep {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        /* Corner notch accents */
        .dash-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 8px;
            height: 8px;
            border-top: 1px solid rgba(247,147,26,0.4);
            border-left: 1px solid rgba(247,147,26,0.4);
            pointer-events: none;
        }
        .dash-btn:hover {
            color: #fff;
            border-color: rgba(139,92,246,0.6);
            background: rgba(139,92,246,0.12);
            box-shadow: 0 0 12px rgba(139,92,246,0.2), 0 0 24px rgba(139,92,246,0.08), inset 0 0 12px rgba(139,92,246,0.05);
            text-shadow: 0 0 8px rgba(139,92,246,0.5);
            transform: translateY(-1px);
        }
        .dash-btn:active {
            transform: translateY(0);
            background: rgba(139,92,246,0.2);
            box-shadow: 0 0 6px rgba(139,92,246,0.3), inset 0 0 8px rgba(139,92,246,0.1);
        }
        .dash-btn.full {
            width: 100%;
        }
        .dash-btn-lg {
            padding: 1rem 2rem;
            font-size: 0.85rem;
            clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
        }
        .dash-btn-lg::after {
            width: 10px;
            height: 10px;
        }
        .relay-address {
            font-family: 'Share Tech Mono', monospace;
            color: var(--text-bright);
        }

        @keyframes heartbeat {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.4); opacity: 0.7; }
        }

        /* Wrapped stats inside dashboard */
        .wrapped-hero {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(249, 115, 22, 0.08));
            border: 1px solid rgba(139, 92, 246, 0.25);
        }
        .stats-row {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 0.75rem;
            margin: 1rem 0;
        }
        .stat-tile {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 0.75rem;
            text-align: center;
        }
        .stat-tile .val {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.4rem;
            color: var(--neon-orange);
            display: block;
            line-height: 1.2;
        }
        .stat-tile .lbl {
            font-size: 0.6rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 0.25rem;
            display: block;
        }
        /* Burning fuse */
        /* Signal Origin — Warp Drive Core */
        .sig-origin {
            margin: 1.25rem auto 0.5rem;
            padding: 1rem 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }
        .sig-reactor {
            position: relative;
            width: 120px;
            height: 120px;
            flex-shrink: 0;
        }
        /* Outer containment ring */
        .warp-containment {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 2px solid rgba(139,92,246,0.15);
            animation: warpContain var(--warp-speed, 8s) linear infinite;
        }
        .warp-containment::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 50%;
            border: 1px dashed rgba(247,147,26,0.15);
            animation: warpContain var(--warp-speed, 8s) linear infinite reverse;
        }
        @keyframes warpContain { to { transform: rotate(360deg); } }
        /* Inner spinning rings */
        .warp-ring {
            position: absolute;
            border-radius: 50%;
            border: 1.5px solid transparent;
        }
        .warp-ring.wr1 {
            inset: 6px;
            border-top-color: var(--warp-color, #8b5cf6);
            border-right-color: rgba(247,147,26,0.3);
            animation: warpSpin1 var(--warp-speed, 8s) linear infinite;
            filter: drop-shadow(0 0 2px var(--warp-color, #8b5cf6));
        }
        .warp-ring.wr2 {
            inset: 14px;
            border-bottom-color: var(--warp-color, #8b5cf6);
            border-left-color: rgba(139,92,246,0.3);
            animation: warpSpin2 var(--warp-speed, 8s) linear infinite;
            filter: drop-shadow(0 0 2px var(--warp-color, #8b5cf6));
        }
        .warp-ring.wr3 {
            inset: 22px;
            border-top-color: rgba(247,147,26,0.5);
            border-left-color: var(--warp-color, #8b5cf6);
            animation: warpSpin1 calc(var(--warp-speed, 8s) * 0.7) linear infinite reverse;
            filter: drop-shadow(0 0 2px rgba(247,147,26,0.3));
        }
        @keyframes warpSpin1 { to { transform: rotate(360deg); } }
        @keyframes warpSpin2 { to { transform: rotate(-360deg); } }
        /* Reactor core — the glowing center */
        .warp-core {
            position: absolute;
            inset: 28px;
            border-radius: 50%;
            background: radial-gradient(circle,
                var(--core-bright, rgba(247,147,26,0.4)) 0%,
                var(--core-mid, rgba(139,92,246,0.2)) 40%,
                transparent 70%
            );
            animation: warpCorePulse var(--pulse-speed, 3s) ease-in-out infinite;
            box-shadow: 0 0 var(--glow-size, 8px) var(--warp-color, #8b5cf6),
                        0 0 calc(var(--glow-size, 8px) * 2) rgba(247,147,26,0.15);
        }
        .warp-core::after {
            content: '₿';
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            font-weight: 900;
            color: #fff;
            text-shadow: 0 0 10px #fff, 0 0 20px var(--warp-color, #8b5cf6), 0 0 30px rgba(247,147,26,0.5);
            animation: warpCorePulse var(--pulse-speed, 3s) ease-in-out infinite reverse;
            opacity: 1;
            rotate: 14deg;
        }
        @keyframes warpCorePulse {
            0%, 100% { transform: scale(1); opacity: var(--core-opacity, 0.5); }
            50% { transform: scale(1.2); opacity: 1; }
        }
        /* Energy streaks — particles flying toward center */
        .warp-streak {
            position: absolute;
            width: 2px;
            height: 2px;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform-origin: 0 0;
        }
        .warp-streak::after {
            content: '';
            position: absolute;
            width: var(--streak-len, 12px);
            height: 2px;
            border-radius: 2px;
            top: -1px;
            left: var(--streak-r);
            background: linear-gradient(90deg, transparent, var(--streak-color));
            opacity: 0.7;
            animation: warpStreakPulse var(--streak-speed, 2s) ease-in-out infinite;
            animation-delay: var(--streak-delay, 0s);
            filter: blur(0.5px);
        }
        @keyframes warpStreakPulse {
            0%, 100% { opacity: 0.2; transform: scaleX(0.5); }
            50% { opacity: 0.9; transform: scaleX(1.3); }
        }
        /* Plasma arcs — random energy between rings */
        .warp-plasma {
            position: absolute;
            inset: 10px;
            border-radius: 50%;
            border: 1px solid transparent;
            border-top-color: var(--warp-color, #8b5cf6);
            opacity: 0;
            animation: warpPlasma var(--plasma-speed, 4s) ease-in-out infinite;
            filter: blur(1px);
        }
        .warp-plasma.p2 {
            inset: 18px;
            border-top-color: rgba(247,147,26,0.4);
            animation-delay: calc(var(--plasma-speed, 4s) * -0.33);
        }
        .warp-plasma.p3 {
            inset: 5px;
            border-top-color: rgba(20,184,166,0.3);
            animation-delay: calc(var(--plasma-speed, 4s) * -0.66);
        }
        @keyframes warpPlasma {
            0%, 100% { opacity: 0; transform: rotate(0deg); }
            25% { opacity: var(--plasma-opacity, 0.3); }
            50% { opacity: 0; transform: rotate(180deg); }
            75% { opacity: var(--plasma-opacity, 0.3); }
        }
        /* Status indicator — power level */
        .warp-power {
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.45rem;
            color: var(--warp-color, #8b5cf6);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            opacity: 0.7;
            white-space: nowrap;
            text-shadow: 0 0 4px var(--warp-color, #8b5cf6);
        }
        /* Info section below reactor */
        .sig-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
            min-width: 0;
            text-align: center;
        }
        .sig-label {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.55rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(139,92,246,0.8);
            opacity: 0.85;
            text-shadow: 0 0 6px rgba(139,92,246,0.4);
        }
        .sig-date {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            background: linear-gradient(135deg, #fff 30%, var(--bitcoin));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .sig-cube {
            width: 16px;
            height: 16px;
            position: relative;
            transform-style: preserve-3d;
            animation: cubeFloat 4s ease-in-out infinite;
            flex-shrink: 0;
        }
        .sig-cube .cube-face {
            width: 16px;
            height: 16px;
        }
        .sig-cube .cube-front {
            transform: translateZ(8px);
            font-size: 0.65rem;
        }
        .sig-cube .cube-back {
            transform: rotateY(180deg) translateZ(8px);
        }
        .sig-cube .cube-top {
            transform: rotateX(90deg) translateZ(8px);
        }
        .sig-cube .cube-bottom {
            transform: rotateX(-90deg) translateZ(8px);
        }
        .sig-cube .cube-right {
            transform: rotateY(90deg) translateZ(8px);
        }
        .sig-cube .cube-left {
            transform: rotateY(-90deg) translateZ(8px);
        }
        .sig-info[data-action] { cursor: pointer; }
        .sig-info[data-action]:hover .sig-date,
        .sig-info[data-action]:hover .sig-days {
            filter: brightness(1.3);
        }
        .sig-days {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.8rem;
            color: var(--bitcoin);
            letter-spacing: 0.5px;
            cursor: pointer;
        }
        @media (max-width: 600px) {
            .sig-origin { gap: 0.4rem; padding: 0.75rem 0; }
            .sig-reactor { width: 100px; height: 100px; }
            .sig-date { font-size: 0.8rem; }
            .sig-days { font-size: 0.7rem; }
            .sig-label { font-size: 0.5rem; }
        }

        /* Live activity chart */
        /* Section collapse toggle */
        .section-toggle {
            background: rgba(20,184,166,0.08);
            border: 1px solid rgba(20,184,166,0.3);
            color: rgba(20,184,166,0.8);
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.55rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.25s;
            flex-shrink: 0;
            box-shadow: 0 0 6px rgba(20,184,166,0.1);
            animation: toggleGlow 2.5s ease-in-out infinite;
            white-space: nowrap;
            line-height: 1.4;
            display: inline-flex;
            align-items: center;
            vertical-align: middle;
        }
        @keyframes toggleGlow {
            0%, 100% { box-shadow: 0 0 4px rgba(20,184,166,0.1); border-color: rgba(20,184,166,0.3); }
            50% { box-shadow: 0 0 12px rgba(20,184,166,0.3); border-color: rgba(20,184,166,0.55); }
        }
        .section-toggle:hover {
            border-color: #14b8a6;
            color: #14b8a6;
            background: rgba(20,184,166,0.15);
            box-shadow: 0 0 16px rgba(20,184,166,0.35);
            animation: none;
        }
        .section-toggle .toggle-arrow {
            display: inline-block;
            transition: transform 0.3s ease;
            margin-right: 0.2rem;
        }
        .section-toggle.collapsed .toggle-arrow {
            transform: rotate(-90deg);
        }
        .section-body.collapsed {
            display: none;
        }
        /* Ensure header rows stay aligned when card is collapsed */
        .dash-card [data-collapse-header],
        .activity-card [data-collapse-header],
        .wrapped-hero [data-collapse-header] {
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 1.5rem;
        }
        /* CRT TV Sign-Off animation — smooth */
        .crt-off {
            animation: crtOff 0.45s ease-in-out forwards;
            transform-origin: center center;
        }
        @keyframes crtOff {
            0% { transform: scaleY(1) scaleX(1); filter: brightness(1) saturate(1); opacity: 1; }
            20% { transform: scaleY(0.95) scaleX(1.01); filter: brightness(1.15) saturate(1.1); opacity: 1; }
            40% { transform: scaleY(0.3) scaleX(1.04); filter: brightness(1.4) saturate(0.7); opacity: 1; }
            55% { transform: scaleY(0.02) scaleX(1.08); filter: brightness(1.8) saturate(0.3); opacity: 1; }
            70% { transform: scaleY(0.008) scaleX(1.06); filter: brightness(2.2) saturate(0); opacity: 1; }
            85% { transform: scaleY(0.005) scaleX(0.5); filter: brightness(2.5) saturate(0); opacity: 0.9; }
            100% { transform: scaleY(0.003) scaleX(0); filter: brightness(0) saturate(0); opacity: 0; }
        }
        .crt-on {
            animation: crtOn 0.5s ease-out forwards;
            transform-origin: center center;
        }
        @keyframes crtOn {
            0% { transform: scaleY(0.003) scaleX(0); filter: brightness(0) saturate(0); opacity: 0; }
            10% { transform: scaleY(0.005) scaleX(0.1); filter: brightness(1.5) saturate(0); opacity: 0.5; }
            25% { transform: scaleY(0.008) scaleX(1.06); filter: brightness(2.2) saturate(0); opacity: 1; }
            40% { transform: scaleY(0.02) scaleX(1.08); filter: brightness(1.8) saturate(0.2); opacity: 1; }
            55% { transform: scaleY(0.3) scaleX(1.04); filter: brightness(1.4) saturate(0.5); opacity: 1; }
            70% { transform: scaleY(0.75) scaleX(1.02); filter: brightness(1.2) saturate(0.8); opacity: 1; }
            80% { transform: scaleY(1.03) scaleX(1.0); filter: brightness(1.08) saturate(0.95); opacity: 1; }
            90% { transform: scaleY(0.98) scaleX(1.0); filter: brightness(1.03) saturate(1); opacity: 1; }
            100% { transform: scaleY(1) scaleX(1); filter: brightness(1) saturate(1); opacity: 1; }
        }
        .crt-scanlines {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 50;
            background: repeating-linear-gradient(
                0deg,
                transparent,
                transparent 2px,
                rgba(0,0,0,0.12) 2px,
                rgba(0,0,0,0.12) 4px
            );
            mix-blend-mode: multiply;
            opacity: 0;
            animation: scanlinesAppear 0.15s ease-out forwards;
        }
        @keyframes scanlinesAppear {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }
        .crt-glow-line {
            position: absolute;
            left: 5%;
            right: 5%;
            top: 50%;
            height: 2px;
            margin-top: -1px;
            pointer-events: none;
            z-index: 51;
            border-radius: 2px;
            background: rgba(180,220,255,0.95);
            box-shadow: 0 0 15px 6px rgba(140,180,255,0.6), 0 0 40px 12px rgba(100,140,255,0.3), 0 0 80px 20px rgba(80,120,255,0.15);
        }
        .crt-glow-line.fade-out {
            animation: crtLineFadeOut 0.25s ease-in-out forwards;
        }
        .crt-glow-line.fade-in {
            animation: crtLineFadeIn 0.2s ease-out forwards;
        }
        @keyframes crtLineFadeOut {
            0% { opacity: 1; transform: scaleX(1); filter: blur(0px); }
            30% { opacity: 0.9; transform: scaleX(0.8); filter: blur(0.5px); }
            60% { opacity: 0.6; transform: scaleX(0.35); filter: blur(1px); }
            100% { opacity: 0; transform: scaleX(0); filter: blur(2px); }
        }
        @keyframes crtLineFadeIn {
            0% { opacity: 0; transform: scaleX(0); filter: blur(2px); }
            40% { opacity: 0.7; transform: scaleX(0.5); filter: blur(0.5px); }
            100% { opacity: 1; transform: scaleX(1); filter: blur(0px); }
        }
        .crt-dot {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 8px;
            height: 8px;
            margin: -4px 0 0 -4px;
            border-radius: 50%;
            pointer-events: none;
            z-index: 52;
            background: rgba(200,230,255,0.95);
            box-shadow: 0 0 10px 4px rgba(140,180,255,0.8), 0 0 25px 8px rgba(100,140,255,0.4), 0 0 50px 12px rgba(80,120,255,0.15);
        }
        .crt-dot.shrink {
            animation: crtDotShrink 0.2s ease-in-out forwards;
        }
        .crt-dot.grow {
            animation: crtDotGrow 0.2s ease-out forwards;
        }
        @keyframes crtDotShrink {
            0% { opacity: 1; transform: scale(1); filter: blur(0px); }
            40% { opacity: 0.8; transform: scale(0.7); filter: blur(0.5px); }
            70% { opacity: 0.4; transform: scale(0.3); filter: blur(1px); }
            100% { opacity: 0; transform: scale(0); filter: blur(2px); }
        }
        @keyframes crtDotGrow {
            0% { opacity: 0; transform: scale(0); filter: blur(2px); }
            30% { opacity: 0.6; transform: scale(0.8); filter: blur(1px); }
            60% { opacity: 1; transform: scale(1.3); filter: blur(0px); }
            100% { opacity: 1; transform: scale(1); filter: blur(0px); }
        }
        .crt-phosphor {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 49;
            background: radial-gradient(ellipse at center, rgba(100,150,255,0.08) 0%, transparent 70%);
            opacity: 0;
        }
        .crt-phosphor.glow {
            animation: phosphorGlow 0.6s ease-out forwards;
        }
        @keyframes phosphorGlow {
            0% { opacity: 0; }
            15% { opacity: 0.6; }
            40% { opacity: 0.3; }
            100% { opacity: 0; }
        }
        .crt-dead {
            border-color: rgba(139,92,246,0.02) !important;
            box-shadow: none !important;
        }
        /* Activity full-screen overlay */
        .activity-overlay {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: #05030f;
            display: flex;
            flex-direction: column;
            opacity: 0;
            transition: opacity 0.3s ease;
            overflow-y: auto;
        }
        .activity-overlay:fullscreen,
        .activity-overlay:-webkit-full-screen {
            background: #05030f;
        }
        .activity-overlay.active {
            opacity: 1;
        }
        .activity-overlay-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.6rem 1rem;
            border-bottom: 1px solid rgba(139,92,246,0.1);
            flex-shrink: 0;
            height: 52px;
            box-sizing: border-box;
        }
        .activity-overlay-header .card-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            background: linear-gradient(135deg, var(--neon-purple), var(--bitcoin));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .activity-overlay-chart {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            overflow: hidden;
        }
        .activity-overlay-chart .rx-chart {
            width: 100vw;
            max-width: 100vw;
            height: calc(100vh - 52px);
            height: calc(100dvh - 52px);
            padding-bottom: 0;
        }
        .activity-overlay-chart .activity-summary,
        .activity-overlay-chart .activity-legend {
            display: none;
        }
        .activity-overlay-panel {
            display: none;
        }
        .activity-expand {
            padding: 0.2rem 0.3rem !important;
            line-height: 1;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
        }
        .activity-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.25rem;
            margin-top: 1rem;
        }
        .activity-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.75rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .activity-header .card-title {
            margin-bottom: 0;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 2px;
            background: linear-gradient(135deg, var(--neon-purple), var(--bitcoin));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .range-toggles {
            display: flex;
            gap: 0.25rem;
        }
        .range-btn {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border);
            border-radius: 4px;
            color: var(--text-muted);
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.65rem;
            padding: 0.25rem 0.6rem;
            cursor: pointer;
            transition: all 0.2s;
            letter-spacing: 1px;
        }
        .range-btn:hover {
            border-color: var(--neon-purple);
            color: var(--text);
        }
        .range-btn.active {
            background: rgba(139, 92, 246, 0.15);
            border-color: var(--neon-purple);
            color: var(--neon-purple);
        }
        /* Reactor Core Chart */
        .rx-chart {
            position: relative;
            width: 100%;
            padding-bottom: 75%;
            margin: 0.25rem 0;
            background: radial-gradient(circle at 50% 50%, rgba(10,10,20,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
            border: 1px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
            animation: rxPowerUp 1.2s ease-out forwards;
        }
        @keyframes rxPowerUp {
            0% { opacity: 0; filter: brightness(0.2); }
            40% { opacity: 1; filter: brightness(0.6); }
            100% { opacity: 1; filter: brightness(1); }
        }
        /* Structural ring tracks */
        .rx-ring-track {
            position: absolute;
            border-radius: 50%;
            border: 1px solid rgba(139,92,246,0.06);
            pointer-events: auto;
            transition: border-color 0.4s, box-shadow 0.4s;
        }
        .rx-ring-track.r1 { width: 78%; height: 78%; top: 11%; left: 11%; }
        .rx-ring-track.r1:hover { border-color: rgba(139,92,246,0.35); box-shadow: 0 0 12px rgba(139,92,246,0.15), inset 0 0 12px rgba(139,92,246,0.08); }
        .rx-ring-track.r2 { width: 55%; height: 55%; top: 22.5%; left: 22.5%; border-color: rgba(247,147,26,0.06); }
        .rx-ring-track.r2:hover { border-color: rgba(247,147,26,0.35); box-shadow: 0 0 12px rgba(247,147,26,0.15), inset 0 0 12px rgba(247,147,26,0.08); }
        .rx-ring-track.r3 { width: 34%; height: 34%; top: 33%; left: 33%; border-color: rgba(139,92,246,0.04); }
        .rx-ring-track.r3:hover { border-color: rgba(20,184,166,0.35); box-shadow: 0 0 12px rgba(20,184,166,0.15), inset 0 0 12px rgba(20,184,166,0.08); }
        /* Slow continuous rotation of ring tracks */
        .rx-ring-orbit {
            position: absolute;
            inset: 0;
            animation: rxOrbitSpin 60s linear infinite;
            z-index: 1;
        }
        @keyframes rxOrbitSpin { to { transform: rotate(360deg); } }
        /* Ambient energy field */
        .rx-field {
            position: absolute;
            inset: 15%;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 70%);
            animation: fieldPulse 4s ease-in-out infinite;
            pointer-events: none;
        }
        @keyframes fieldPulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.08); opacity: 1; }
        }
        /* Energy particles flowing toward core */
        .rx-particle {
            position: absolute;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            pointer-events: none;
            opacity: 0;
            animation: particleFlow var(--p-dur, 2s) var(--p-delay, 0s) linear infinite;
        }
        @keyframes particleFlow {
            0% { opacity: 0; left: var(--p-x0); top: var(--p-y0); }
            15% { opacity: 0.9; }
            85% { opacity: 0.6; }
            100% { opacity: 0; left: 50%; top: 50%; }
        }
        /* Periodic shockwave from core */
        .rx-shockwave {
            position: absolute;
            top: 50%; left: 50%;
            width: 0; height: 0;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            border: 2px solid rgba(139,92,246,0.4);
            pointer-events: none;
            animation: shockwavePulse 4s ease-out infinite;
        }
        @keyframes shockwavePulse {
            0% { width: 20px; height: 20px; opacity: 0.8; border-width: 2px; }
            70% { width: 90%; height: 90%; opacity: 0.1; border-width: 1px; }
            100% { width: 90%; height: 90%; opacity: 0; border-width: 0px; }
        }
        .rx-shockwave:nth-child(2) { animation-delay: 2s; border-color: rgba(247,147,26,0.3); }
        /* Sweep beam — radar-like spin on load */
        .rx-sweep {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 50%;
            height: 2px;
            transform-origin: 0 50%;
            background: linear-gradient(90deg, rgba(139,92,246,0.6), rgba(247,147,26,0.3), transparent);
            filter: blur(1px);
            animation: sweepSpin 1.5s ease-out forwards;
            pointer-events: none;
            opacity: 0;
        }
        @keyframes sweepSpin {
            0% { transform: rotate(-90deg); opacity: 0.8; }
            80% { opacity: 0.5; }
            100% { transform: rotate(630deg); opacity: 0; }
        }
        /* Segments — nodes around the ring */
        .rx-seg {
            position: absolute;
            transform: translate(-50%, -50%);
            cursor: pointer;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            animation: segEntry 0.4s ease-out forwards;
            transition: filter 0.2s;
            min-width: 36px;
            min-height: 36px;
        }
        @keyframes segEntry {
            0% { opacity: 0; transform: translate(-50%,-50%) scale(0); }
            70% { transform: translate(-50%,-50%) scale(1.2); }
            100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
        }
        .rx-seg:hover { filter: brightness(1.5); z-index: 10; }
        .rx-seg.selected { filter: brightness(1.6); z-index: 11; }
        .rx-seg.selected .rx-node {
            opacity: 1 !important;
            filter: drop-shadow(0 0 6px #fff);
        }
        /* Node dot inside segment */
        .rx-node {
            border-radius: 50%;
            position: relative;
            z-index: 2;
            transition: all 0.3s;
        }
        /* Concentric event-type rings around each node */
        .rx-ring {
            position: absolute;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
            animation: ringExpand 0.4s ease-out forwards;
        }
        @keyframes ringExpand {
            0% { opacity: 0; transform: translate(-50%,-50%) scale(0.3); }
            100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
        }
        /* Center core */
        .rx-core {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 5;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }
        .rx-core-glow {
            position: absolute;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, rgba(247,147,26,0.1) 40%, transparent 70%);
            animation: coreGlow var(--core-speed, 3s) ease-in-out infinite;
        }
        @keyframes coreGlow {
            0%, 100% { transform: scale(1); opacity: 0.6; }
            50% { transform: scale(var(--core-scale, 1.2)); opacity: 1; }
        }
        /* Core hex-ring spinner */
        .rx-core-spin {
            position: absolute;
            width: 90px;
            height: 90px;
            border: 1px solid rgba(139,92,246,0.2);
            border-radius: 50%;
            border-top-color: rgba(247,147,26,0.5);
            border-right-color: rgba(139,92,246,0.4);
            animation: coreSpinner 6s linear infinite;
            pointer-events: none;
        }
        .rx-core-spin:nth-child(2) {
            width: 76px; height: 76px;
            border-top-color: rgba(59,130,246,0.4);
            border-left-color: rgba(20,184,166,0.3);
            animation-direction: reverse;
            animation-duration: 8s;
        }
        @keyframes coreSpinner { to { transform: rotate(360deg); } }
        .rx-core-inner {
            position: relative;
            text-align: center;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transform: translateY(-2px);
        }
        .rx-core-num {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            background: linear-gradient(135deg, #fff 30%, var(--neon-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
        }
        .rx-core-label {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.55rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(139,92,246,0.8);
            opacity: 0.85;
            text-shadow: 0 0 4px rgba(139,92,246,0.3);
        }
        .rx-core-sats {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.6rem;
            color: var(--bitcoin);
            margin-top: 2px;
            opacity: 0.9;
            text-shadow: 0 0 4px rgba(247,147,26,0.3);
        }
        /* Time labels around the ring */
        .rx-label {
            position: absolute;
            transform: translate(-50%, -50%);
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.5rem;
            color: var(--text-muted);
            opacity: 0.4;
            pointer-events: none;
            white-space: nowrap;
        }
        /* Segment idle breathing */
        .rx-seg .rx-node {
            animation: nodeBreathe 3s ease-in-out infinite;
            animation-delay: var(--breathe-delay, 0s);
        }
        @keyframes nodeBreathe {
            0%, 100% { filter: brightness(1); }
            50% { filter: brightness(1.3); }
        }
        /* Mobile adjustments */
        @media (max-width: 600px) {
            /* Reactor chart — taller on mobile but not overflowing */
            .rx-chart { padding-bottom: 90%; border-radius: 8px; }
            /* Core sizing */
            .rx-core-num { font-size: 1.1rem; }
            .rx-core-label { font-size: 0.45rem; letter-spacing: 1.5px; }
            .rx-core-sats { font-size: 0.5rem; }
            .rx-core-inner { transform: translateY(-2px); }
            .rx-core-glow { width: 72px; height: 72px; }
            .rx-core-spin { width: 66px; height: 66px; }
            .rx-core-spin:nth-child(2) { width: 54px; height: 54px; }
            /* Particles smaller */
            .rx-particle { width: 2px; height: 2px; }
            /* Time labels */
            .rx-label { font-size: 0.45rem; }
            /* Ring tracks — wider spread on mobile */
            .rx-ring-track.r1 { width: 84%; height: 84%; top: 8%; left: 8%; }
            .rx-ring-track.r2 { width: 60%; height: 60%; top: 20%; left: 20%; }
            .rx-ring-track.r3 { width: 38%; height: 38%; top: 31%; left: 31%; }
            /* Footer summary */
            .activity-summary { padding: 0.4rem 0; gap: 0.3rem; }
            .activity-summary-top { font-size: 0.8rem; }
            .activity-summary .count { font-size: 0.9rem; }
            .activity-legend { font-size: 0.68rem; gap: 0.4rem; }
            .legend-dot { width: 7px; height: 7px; }
            /* Event detail panel */
            .event-panel { margin-top: 0.5rem; border-radius: 8px; }
            .panel-bar { padding: 0.5rem 0.75rem; }
            .panel-bar-title { font-size: 0.65rem; }
            .panel-bar-summary { font-size: 0.55rem; }
            .panel-bar-close { font-size: 0.65rem; padding: 0.1rem 0.4rem; }
            .panel-events { max-height: 320px; }
            /* Event rows — compact on mobile */
            .event-row { padding: 0.4rem 0.75rem; gap: 0.3rem; grid-template-columns: auto 1fr auto; }
            .event-row .ev-block { font-size: 0.5rem; }
            .event-row .ev-kind { font-size: 0.45rem; padding: 0.15rem 0.4rem; min-width: 36px; }
            .event-row .ev-content { font-size: 0.7rem; min-width: 0; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
            .event-row.expanded .ev-content { -webkit-line-clamp: unset; display: block; overflow: visible; }
            /* Zap/reply sender */
            .ev-zap-sender { font-size: 0.65rem; }
            .ev-reply-sender { font-size: 0.65rem; }
            /* Reply thread */
            .reply-thread { margin: 0.2rem 0.5rem 0; }
            .reply-parent { padding: 0.35rem 0.5rem 0.35rem 0.6rem; }
            .reply-parent-label { font-size: 0.45rem; }
            .reply-parent-text { font-size: 0.65rem; }
            /* Section headings */
            .section-heading { font-size: 0.5rem; padding: 0.5rem 0.75rem 0.15rem; letter-spacing: 1.5px; }
            .section-stat { font-size: 0.6rem; }
            /* Satellite Decoder */
            .sat-feed { max-height: 280px; }
            .sat-tx { padding: 0.4rem 0.65rem; gap: 0.35rem; }
            .sat-tx-tag { font-size: 0.52rem; min-width: 40px; padding: 0.12rem 0.3rem; }
            .sat-tx-content { font-size: 0.78rem; }
            .sat-tx-meta { font-size: 0.62rem; }
            .sat-tx-sats { font-size: 0.82rem; }
            .sat-status { padding: 0 0.65rem 0.4rem; }
            .sat-status-left { font-size: 0.58rem; }
            .sat-section { font-size: 0.48rem; padding-left: 0.65rem; }
            .sat-reply-text { font-size: 0.8rem; }
            /* Reactions */
            .reaction-summary { padding: 0.3rem 0.75rem 0.4rem; gap: 0.3rem; }
            .reaction-chip { padding: 0.15rem 0.4rem; }
            .reaction-chip .emoji { font-size: 0.9rem; }
            .reaction-chip .count { font-size: 0.6rem; }
        }
        .event-panel {
            margin-top: 0.75rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
            animation: panelSlideIn 0.3s ease-out;
        }
        @keyframes panelSlideIn {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .panel-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.6rem 1rem;
            background: rgba(0,0,0,0.3);
            border-bottom: 1px solid var(--border);
        }
        .panel-bar-left {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .panel-bar-cube {
            width: 14px;
            height: 14px;
            position: relative;
            transform-style: preserve-3d;
            animation: cubeFloat 4s ease-in-out infinite;
            flex-shrink: 0;
        }
        @keyframes cubeFloat {
            0%, 100% { transform: rotateX(-20deg) rotateY(-30deg); }
            25% { transform: rotateX(-15deg) rotateY(30deg); }
            50% { transform: rotateX(-25deg) rotateY(150deg); }
            75% { transform: rotateX(-10deg) rotateY(250deg); }
        }
        .cube-face {
            position: absolute;
            width: 14px;
            height: 14px;
            border-radius: 2px;
            backface-visibility: hidden;
        }
        .cube-front {
            background: linear-gradient(135deg, #f7931a, #e8820e);
            box-shadow: 0 0 8px rgba(247,147,26,0.5);
            transform: translateZ(7px);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.6rem;
            color: #fff;
            font-weight: 900;
            text-shadow: 0 0 4px #fff, 0 0 10px rgba(255,255,255,0.7), 0 0 20px rgba(247,147,26,0.5);
            -webkit-text-fill-color: #fff;
        }
        .cube-back {
            background: linear-gradient(135deg, #c06a0a, #a85a08);
            transform: rotateY(180deg) translateZ(7px);
        }
        .cube-top {
            background: linear-gradient(135deg, #fba63c, #f7931a);
            transform: rotateX(90deg) translateZ(7px);
        }
        .cube-bottom {
            background: linear-gradient(135deg, #b5690c, #9a5a0a);
            transform: rotateX(-90deg) translateZ(7px);
        }
        .cube-right {
            background: linear-gradient(135deg, #d4780f, #b8680d);
            transform: rotateY(90deg) translateZ(7px);
        }
        .cube-left {
            background: linear-gradient(135deg, #e8880e, #d4780f);
            transform: rotateY(-90deg) translateZ(7px);
        }
        .panel-bar-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--text);
            letter-spacing: 1.5px;
        }
        .panel-bar-summary {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.6rem;
            color: rgba(20,184,166,0.7);
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        .panel-bar-close {
            background: rgba(20,184,166,0.08);
            border: 1px solid rgba(20,184,166,0.3);
            color: rgba(20,184,166,0.8);
            font-size: 0.55rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            cursor: pointer;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-family: 'Share Tech Mono', monospace;
            box-shadow: 0 0 6px rgba(20,184,166,0.1);
            animation: toggleGlow 2.5s ease-in-out infinite;
            transition: all 0.2s;
        }
        .panel-bar-close:hover {
            border-color: #14b8a6;
            color: #14b8a6;
            background: rgba(20,184,166,0.15);
            box-shadow: 0 0 16px rgba(20,184,166,0.35);
            animation: none;
        }
        .panel-events {
            max-height: 280px;
            overflow-y: auto;
            padding: 0.4rem 0;
        }
        .panel-events::-webkit-scrollbar {
            width: 4px;
        }
        .panel-events::-webkit-scrollbar-track {
            background: transparent;
        }
        .panel-events::-webkit-scrollbar-thumb {
            background: rgba(139,92,246,0.3);
            border-radius: 4px;
        }
        /* --- Event rows --- */
        .event-row {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 0.5rem;
            align-items: center;
            padding: 0.55rem 0.85rem;
            transition: background 0.2s;
            border-bottom: 1px solid rgba(139,92,246,0.04);
        }
        .event-row:last-child { border-bottom: none; }
        .event-row:hover {
            background: rgba(139,92,246,0.04);
        }
        .event-row.ev-clickable {
            cursor: pointer;
        }
        .event-row.ev-clickable:hover {
            background: rgba(139,92,246,0.08);
        }
        /* Kind badge — left column */
        .event-row .ev-kind {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.45rem;
            font-weight: 600;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: #fff;
            border-radius: 4px;
            padding: 0.2rem 0.45rem;
            white-space: nowrap;
            text-align: center;
            min-width: 42px;
        }
        .event-row .ev-kind.kind-note { background: linear-gradient(135deg, var(--neon-purple), rgba(139,92,246,0.5)); }
        .event-row .ev-kind.kind-reply { background: linear-gradient(135deg, #14b8a6, rgba(20,184,166,0.5)); }
        .event-row .ev-kind.kind-zap { background: linear-gradient(135deg, var(--bitcoin), rgba(247,147,26,0.6)); }
        .event-row .ev-kind.kind-repost { background: linear-gradient(135deg, var(--green), rgba(34,197,94,0.5)); }
        /* Content — center column, fills space */
        .event-row .ev-content {
            color: var(--text);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 0.75rem;
            line-height: 1.4;
            min-width: 0;
        }
        .event-row.expanded {
            grid-template-columns: auto 1fr auto;
            grid-template-rows: auto auto;
        }
        .event-row.expanded .ev-content {
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
            display: block;
            grid-column: 1 / -1;
            grid-row: 2;
            padding: 0.35rem 0.25rem 0.15rem;
            line-height: 1.55;
            word-break: break-word;
        }
        /* Block height — right column */
        .event-row .ev-block {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.55rem;
            color: var(--text-muted);
            opacity: 0.45;
            white-space: nowrap;
            text-align: right;
        }
        /* Zap styling */
        .ev-zap-amount {
            color: var(--bitcoin);
            font-weight: 600;
            font-family: 'Share Tech Mono', monospace;
            margin-right: 0.35rem;
        }
        .ev-zap-sender {
            color: var(--text-muted);
            font-size: 0.7rem;
        }
        .ev-zap-link {
            color: var(--bitcoin);
            text-decoration: none;
            border-bottom: 1px dashed rgba(247,147,26,0.3);
            transition: all 0.2s;
        }
        .ev-zap-link:hover { color: #fff; border-bottom-color: #fff; }
        /* Reply sender styling */
        .ev-reply-sender {
            color: #14b8a6;
            font-size: 0.72rem;
            margin-right: 0.3rem;
        }
        .ev-reply-link {
            color: #14b8a6;
            text-decoration: none;
            border-bottom: 1px dashed rgba(20,184,166,0.3);
            transition: all 0.2s;
        }
        .ev-reply-link:hover { color: #fff; border-bottom-color: #fff; }

        /* --- Reply thread (connected parent + reply) --- */
        .reply-thread {
            margin: 0.25rem 0.6rem 0;
            position: relative;
        }
        .reply-thread::before {
            content: '';
            position: absolute;
            left: 1.1rem;
            top: 0;
            bottom: 0;
            width: 1px;
            background: linear-gradient(to bottom, rgba(139,92,246,0.25), rgba(139,92,246,0.08));
            z-index: 0;
        }
        .reply-parent {
            background: rgba(139,92,246,0.04);
            border: 1px solid rgba(139,92,246,0.1);
            margin: 0;
            padding: 0.4rem 0.6rem 0.4rem 2rem;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
        }
        .reply-parent:hover {
            background: rgba(139,92,246,0.08);
            border-color: rgba(139,92,246,0.25);
        }
        .reply-parent-header {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            margin-bottom: 0.15rem;
        }
        .reply-parent-icon {
            font-size: 0.55rem;
            color: var(--neon-purple);
            opacity: 0.5;
        }
        .reply-parent-label {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.48rem;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--text-muted);
            opacity: 0.55;
        }
        .reply-parent-text {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            font-size: 0.7rem;
            color: var(--text);
            opacity: 0.5;
            line-height: 1.45;
            overflow: hidden;
            font-style: italic;
            cursor: pointer;
        }
        .reply-parent-text.expanded {
            display: block;
            -webkit-line-clamp: unset;
            overflow: visible;
            word-break: break-word;
        }
        .reply-thread .event-row {
            border-radius: 0 0 8px 8px;
            border: 1px solid rgba(139,92,246,0.1);
            border-top: none;
            margin: 0;
            background: rgba(139,92,246,0.02);
            position: relative;
            z-index: 1;
        }
        .reply-thread .event-row:hover {
            background: rgba(139,92,246,0.06);
        }

        /* --- Section headings --- */
        .section-heading {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.5rem;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: var(--text-muted);
            padding: 0.75rem 0.85rem 0.3rem;
            border-top: 1px solid rgba(139,92,246,0.08);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .section-heading:first-child { border-top: none; padding-top: 0.4rem; }
        .section-stat {
            font-family: 'Share Tech Mono', monospace;
            color: var(--bitcoin);
            font-size: 0.6rem;
            letter-spacing: 0;
            opacity: 0.8;
        }
        .reaction-summary {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            padding: 0.4rem 1rem 0.5rem;
        }
        .reaction-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.2rem;
            background: rgba(59,130,246,0.1);
            border: 1px solid rgba(59,130,246,0.2);
            border-radius: 12px;
            padding: 0.2rem 0.5rem;
        }
        .reaction-chip .emoji { font-size: 1rem; }
        .reaction-chip .count { color: var(--text-muted); font-size: 0.65rem; font-family: 'Share Tech Mono', monospace; }
        .activity-legend {
            font-size: 0.75rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            flex-wrap: wrap;
        }
        .legend-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 3px;
            box-shadow: 0 0 4px currentColor;
        }
        .event-row .ev-content {
            color: var(--text);
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 0.75rem;
            line-height: 1.4;
        }
        .event-panel .no-events {
            color: var(--text-muted);
            font-size: 0.75rem;
            padding: 1.5rem;
            text-align: center;
            font-family: 'Share Tech Mono', monospace;
        }
        .activity-labels {
            display: flex;
            gap: 2px;
            font-size: 0.5rem;
            color: var(--text-muted);
            font-family: 'Share Tech Mono', monospace;
        }
        .activity-labels span {
            flex: 1;
            text-align: center;
            white-space: nowrap;
        }
        .activity-summary {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.4rem;
            margin-top: 0.6rem;
            padding: 0.5rem 0;
            font-family: 'Share Tech Mono', monospace;
            color: var(--text-muted);
        }
        .activity-summary-top {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            font-size: 0.85rem;
            width: 100%;
        }
        .activity-summary .count {
            color: var(--neon-orange);
            font-size: 1rem;
            font-weight: 700;
        }
        .live-dot {
            display: inline-block;
            width: 7px;
            height: 7px;
            background: linear-gradient(135deg, var(--neon-purple), var(--bitcoin));
            border-radius: 50%;
            margin-right: 0.4rem;
            animation: pulse-dot 3s ease-in-out infinite;
        }
        @keyframes pulse-dot {
            0%, 100% { box-shadow: 0 0 4px var(--neon-purple), 0 0 8px rgba(139, 92, 246, 0.3); }
            50% { box-shadow: 0 0 6px var(--bitcoin), 0 0 12px rgba(247, 147, 26, 0.3); }
        }
        .activity-ring {
            display: inline-block;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: conic-gradient(#8b5cf6 0deg 120deg, #22c55e 120deg 168deg, #14b8a6 168deg 228deg, #e74694 228deg 300deg, #f7931a 300deg 360deg);
            margin-right: 0.5rem;
            vertical-align: middle;
            box-shadow: 0 0 6px rgba(139, 92, 246, 0.3);
            animation: spin-ring 8s linear infinite;
        }
        @keyframes spin-ring {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* --- Satellite Transmission Decoder (event detail panel) --- */
        .sat-field {
            position: relative;
            width: 100%;
            background: linear-gradient(180deg, rgba(2,8,15,0.98) 0%, rgba(5,12,20,0.98) 100%);
            overflow: hidden;
            border-radius: 0 0 10px 10px;
            padding: 0.6rem 0;
        }
        /* Scanline overlay */
        .sat-field::before {
            content: '';
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(
                0deg,
                transparent 0px,
                transparent 2px,
                rgba(139,92,246,0.015) 2px,
                rgba(139,92,246,0.015) 4px
            );
            pointer-events: none;
            z-index: 10;
        }
        /* Status bar at top */
        .sat-status {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0.85rem 0.5rem;
            border-bottom: 1px solid rgba(34,197,94,0.1);
            margin-bottom: 0.4rem;
            animation: satStatusFadeIn 0.8s ease-out forwards;
        }
        @keyframes satStatusFadeIn {
            0% { opacity: 0; transform: translateX(-10px); }
            100% { opacity: 1; transform: translateX(0); }
        }
        .sat-status-left {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.65rem;
            color: var(--green);
        }
        .sat-status-text {
            display: inline-block;
            overflow: hidden;
            white-space: nowrap;
            width: 0;
            animation: typeIn 0.8s steps(15) 0.3s forwards;
            border-right: 1px solid var(--green);
        }
        @keyframes typeIn {
            0% { width: 0; }
            100% { width: 8.5em; border-right-color: transparent; }
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .sat-status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--green);
            box-shadow: 0 0 6px rgba(34,197,94,0.6);
            animation: satDotBoot 0.6s ease-out forwards, satDotBlink 1.5s step-end 0.6s infinite;
        }
        @keyframes satDotBoot {
            0% { opacity: 0; transform: scale(0); }
            50% { opacity: 1; transform: scale(1.8); box-shadow: 0 0 12px rgba(34,197,94,0.9); }
            100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px rgba(34,197,94,0.6); }
        }
        @keyframes satDotBlink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.2; }
        }
        .sat-signal-meter {
            display: flex;
            align-items: flex-end;
            gap: 2px;
            height: 14px;
        }
        .sat-signal-bar {
            width: 3px;
            background: var(--green);
            border-radius: 1px;
            opacity: 0;
            animation: barDim 0.3s ease-out forwards;
        }
        .sat-signal-bar:nth-child(1) { animation-delay: 0.3s; }
        .sat-signal-bar:nth-child(2) { animation-delay: 0.45s; }
        .sat-signal-bar:nth-child(3) { animation-delay: 0.6s; }
        .sat-signal-bar:nth-child(4) { animation-delay: 0.75s; }
        .sat-signal-bar:nth-child(5) { animation-delay: 0.9s; }
        @keyframes barDim {
            0% { opacity: 0; transform: scaleY(0); }
            100% { opacity: 0.2; transform: scaleY(1); }
        }
        .sat-signal-bar.active {
            animation: barLight 0.3s ease-out forwards;
            box-shadow: 0 0 4px rgba(34,197,94,0.4);
        }
        @keyframes barLight {
            0% { opacity: 0; transform: scaleY(0); }
            60% { opacity: 1; transform: scaleY(1.3); }
            100% { opacity: 1; transform: scaleY(1); }
        }
        /* Transmission feed */
        .sat-feed {
            max-height: 320px;
            overflow-y: auto;
            padding: 0 0;
        }
        .sat-feed::-webkit-scrollbar { width: 3px; }
        .sat-feed::-webkit-scrollbar-track { background: transparent; }
        .sat-feed::-webkit-scrollbar-thumb { background: rgba(34,197,94,0.2); border-radius: 3px; }
        /* Individual transmission row */
        .sat-tx {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 0.5rem;
            align-items: start;
            padding: 0.5rem 0.85rem;
            cursor: pointer;
            transition: background 0.2s;
            border-bottom: 1px solid rgba(34,197,94,0.03);
            position: relative;
            opacity: 0;
            animation: satTxIn 0.3s ease-out forwards;
        }
        @keyframes satTxIn {
            from { opacity: 0; transform: translateX(-8px); }
            to   { opacity: 1; transform: translateX(0); }
        }
        .sat-tx:hover {
            background: rgba(34,197,94,0.04);
        }
        .sat-tx:last-child { border-bottom: none; }
        /* Kind tag — left column */
        .sat-tx-tag {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.6rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 0.15rem 0.4rem;
            border-radius: 3px;
            white-space: nowrap;
            min-width: 48px;
            text-align: center;
        }
        .sat-tx-tag--note     { color: #8b5cf6; border: 1px solid rgba(139,92,246,0.3); background: rgba(139,92,246,0.08); }
        .sat-tx-tag--zap      { color: #f7931a; border: 1px solid rgba(247,147,26,0.3); background: rgba(247,147,26,0.08); }
        .sat-tx-tag--reply    { color: #14b8a6; border: 1px solid rgba(20,184,166,0.3); background: rgba(20,184,166,0.08); }
        .sat-tx-tag--repost   { color: #22c55e; border: 1px solid rgba(34,197,94,0.3); background: rgba(34,197,94,0.08); }
        .sat-tx-tag--reaction { color: #e74694; border: 1px solid rgba(231,70,148,0.3); background: rgba(231,70,148,0.08); }
        /* Content — center column with decrypt effect */
        .sat-tx-body {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
        }
        .sat-tx-content {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.85rem;
            color: var(--text);
            line-height: 1.45;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .sat-tx.expanded .sat-tx-content {
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
            word-break: break-word;
        }
        /* Scramble/decrypt text animation */
        .sat-tx-content.decrypting {
            color: rgba(34,197,94,0.7);
        }
        .sat-tx-content.decrypted {
            color: var(--text);
        }
        /* Sender / meta line */
        .sat-tx-meta {
            font-size: 0.7rem;
            color: var(--text-muted);
            opacity: 0.5;
            font-family: 'Share Tech Mono', monospace;
        }
        .sat-tx-meta a {
            color: inherit;
            text-decoration: none;
            border-bottom: 1px dashed rgba(255,255,255,0.15);
        }
        .sat-tx-meta a:hover { color: var(--text); border-bottom-color: var(--text); }
        /* Zap amount highlight */
        .sat-tx-sats {
            color: var(--bitcoin);
            font-weight: 600;
            font-size: 0.9rem;
        }
        /* Right column — block + signal */
        .sat-tx-right {
            text-align: right;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.15rem;
        }
        .sat-tx-block {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.6rem;
            color: var(--bitcoin);
            opacity: 0.7;
        }
        /* Reply context */
        .sat-reply-ctx {
            margin: 0.15rem 0.85rem 0;
            padding: 0.4rem 0.6rem 0.4rem 0.75rem;
            border-left: 2px solid rgba(139,92,246,0.35);
            background: rgba(139,92,246,0.05);
            border-radius: 0 4px 4px 0;
            cursor: pointer;
        }
        .sat-reply-ctx:hover { background: rgba(139,92,246,0.08); border-left-color: rgba(139,92,246,0.5); }
        .sat-reply-label {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.45rem;
            color: rgba(139,92,246,0.7);
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 0.15rem;
        }
        .sat-reply-text {
            font-size: 0.85rem;
            color: var(--text);
            opacity: 0.75;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-family: 'Share Tech Mono', monospace;
            line-height: 1.4;
        }
        .sat-reply-text.expanded {
            white-space: normal;
            overflow: visible;
            word-break: break-word;
        }
        /* Section dividers */
        .sat-section {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.55rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--green);
            opacity: 0.4;
            padding: 0.5rem 0.85rem 0.15rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .sat-section::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, rgba(34,197,94,0.15), transparent);
        }
        .sat-section:first-child { padding-top: 0.25rem; }
        .sat-section-stat {
            color: var(--bitcoin);
            letter-spacing: 0;
            font-size: 0.65rem;
        }
        /* Empty state */
        .sat-empty {
            padding: 2rem;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.7rem;
            font-family: 'Share Tech Mono', monospace;
            opacity: 0.4;
        }

        /* Top friends — podium section */
        .fans-section {
            margin-top: 1.25rem;
        }
        .fans-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 3px;
            text-align: center;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--neon-purple), var(--bitcoin));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        /* Podium — top 3 */
        .fans-podium {
            display: grid;
            grid-template-columns: 1fr 1.15fr 1fr;
            gap: 0.5rem;
            align-items: end;
            margin-bottom: 0.75rem;
        }
        .podium-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            text-decoration: none;
            padding: 1rem 0.5rem 0.75rem;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(139,92,246,0.03));
            border: 1px solid var(--border);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        .podium-card::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 12px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .podium-card::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
            transform: rotate(45deg);
            pointer-events: none;
        }
        .podium-card:hover {
            transform: translateY(-3px);
            border-color: rgba(139, 92, 246, 0.6);
            box-shadow: 0 0 25px rgba(139, 92, 246, 0.3), 0 0 50px rgba(139, 92, 246, 0.1);
        }
        .podium-card:hover::before { opacity: 1; }
        .podium-card.gold {
            order: 2;
            padding: 1.2rem 0.5rem 0.85rem;
            background: linear-gradient(135deg, rgba(247,147,26,0.08), rgba(0,0,0,0.3));
            border-color: rgba(247,147,26,0.25);
            box-shadow: 0 0 15px rgba(247,147,26,0.15), 0 0 30px rgba(247,147,26,0.05);
        }
        .podium-card.gold::before {
            background: radial-gradient(circle at 50% 0%, rgba(247,147,26,0.12), transparent 70%);
        }
        .podium-card.gold::after {
            animation: goldShimmer 4s ease-in-out infinite;
        }
        @keyframes goldShimmer {
            0% { transform: translateX(-100%) rotate(45deg); }
            100% { transform: translateX(100%) rotate(45deg); }
        }
        .podium-card.gold:hover {
            border-color: rgba(247, 147, 26, 0.8);
            box-shadow: 0 0 30px rgba(247, 147, 26, 0.4), 0 0 60px rgba(247, 147, 26, 0.15), 0 0 90px rgba(247, 147, 26, 0.05);
        }
        .podium-card.silver {
            order: 1;
            background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(0,0,0,0.3));
        }
        .podium-card.silver::before {
            background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08), transparent 70%);
        }
        .podium-card.silver:hover {
            border-color: rgba(139, 92, 246, 0.6);
            box-shadow: 0 0 25px rgba(139, 92, 246, 0.3), 0 0 50px rgba(139, 92, 246, 0.1);
        }
        .podium-card.bronze {
            order: 3;
            background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(0,0,0,0.3));
        }
        .podium-card.bronze::before {
            background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08), transparent 70%);
        }
        .podium-card.bronze:hover {
            border-color: rgba(139, 92, 246, 0.6);
            box-shadow: 0 0 25px rgba(139, 92, 246, 0.3), 0 0 50px rgba(139, 92, 246, 0.1);
        }
        .podium-medal {
            font-size: 1.4rem;
            margin-bottom: 0.4rem;
            filter: drop-shadow(0 0 8px rgba(247, 147, 26, 0.4));
        }
        .podium-card.gold .podium-medal { font-size: 1.6rem; }
        .podium-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--border);
            background: var(--bg-card);
            margin-bottom: 0.4rem;
            transition: transform 0.3s, border-color 0.3s;
        }
        .podium-card:hover .podium-avatar { transform: scale(1.08); }
        .podium-card.gold .podium-avatar { border-color: rgba(247,147,26,0.4); width: 58px; height: 58px; }
        .podium-card.silver .podium-avatar { border-color: rgba(139,92,246,0.4); }
        .podium-card.bronze .podium-avatar { border-color: rgba(139,92,246,0.4); }
        .podium-avatar-placeholder {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--neon-purple), var(--bitcoin));
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.8rem;
            color: #fff;
            margin-bottom: 0.4rem;
            transition: transform 0.3s;
        }
        .podium-card:hover .podium-avatar-placeholder { transform: scale(1.08); }
        .podium-card.gold .podium-avatar-placeholder { width: 58px; height: 58px; font-size: 0.9rem; }
        .podium-name {
            color: var(--text-bright);
            font-size: 0.75rem;
            font-weight: 600;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 100%;
            display: block;
            margin-top: 0.15rem;
        }
        .podium-count {
            font-family: 'Orbitron', sans-serif;
            font-size: 1rem;
            margin-top: 0.3rem;
            background: linear-gradient(135deg, var(--neon-purple), var(--bitcoin));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .podium-card.gold .podium-count { font-size: 1.2rem; }
        .podium-count-label {
            font-size: 0.5rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-top: 0.1rem;
        }
        /* Runners-up — rank 4+ */
        .fans-runners {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        .runner-card {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            text-decoration: none;
            padding: 0.75rem 0.85rem;
            border-radius: 10px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border);
            transition: all 0.3s;
        }
        .runner-card:hover {
            transform: translateY(-2px);
            border-color: var(--border-glow);
            background: rgba(139, 92, 246, 0.08);
        }
        .runner-rank {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
            min-width: 1.2rem;
        }
        .runner-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid var(--border);
            background: var(--bg-card);
            flex-shrink: 0;
        }
        .runner-avatar-placeholder {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--neon-purple), var(--neon-orange));
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.65rem;
            color: #fff;
            flex-shrink: 0;
        }
        .runner-info {
            flex: 1;
            overflow: hidden;
            min-width: 0;
        }
        .runner-name {
            color: var(--text-bright);
            font-size: 0.8rem;
            font-weight: 500;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            display: block;
        }
        .runner-stats {
            text-align: right;
            flex-shrink: 0;
        }
        .runner-count {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.9rem;
            color: var(--neon-orange);
            display: block;
        }
        .runner-label {
            font-size: 0.5rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            display: block;
        }

        /* Sub header bar */
        .dash-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }
        .dash-header .dash-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }
        .dash-header .dash-meta span {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.8rem;
        }

        .wrapped-loading {
            text-align: center;
            padding: 2rem 0;
            color: var(--text-muted);
        }

        @media (max-width: 600px) {
            .dash-grid { grid-template-columns: 1fr; }
            .dash-card.wide { grid-column: span 1; }
            .dash-card { padding: 1rem; }
            .dash-btn { font-size: 0.7rem; padding: 0.45rem 0.8rem; letter-spacing: 1.5px; }
            .dash-btn-lg { padding: 0.85rem 1.5rem; font-size: 0.78rem; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
            .dash-btn-lg::after { width: 8px; height: 8px; }
            .dash-card .card-desc { font-size: 0.84rem; }
            .stats-row { grid-template-columns: repeat(2, 1fr); }
            .fans-podium { grid-template-columns: 1fr 1.1fr 1fr; gap: 0.35rem; }
            .podium-card { padding: 0.75rem 0.35rem 0.6rem; }
            .podium-card.gold { padding: 0.85rem 0.35rem 0.7rem; }
            .podium-avatar { width: 40px; height: 40px; }
            .podium-card.gold .podium-avatar { width: 48px; height: 48px; }
            .podium-avatar-placeholder { width: 40px; height: 40px; }
            .podium-card.gold .podium-avatar-placeholder { width: 48px; height: 48px; }
            .podium-name { font-size: 0.65rem; }
            .podium-count { font-size: 0.85rem; }
            .podium-card.gold .podium-count { font-size: 1rem; }
            .podium-medal { font-size: 1.1rem; }
            .podium-card.gold .podium-medal { font-size: 1.3rem; }
            .fans-runners { grid-template-columns: 1fr; }
            /* Activity card — hide button top-right on mobile */
            .activity-card .activity-header {
                position: relative;
                padding-right: 3.5rem;
            }
            .activity-card .activity-header > div > span:last-child {
                position: absolute;
                top: 50%;
                right: 0;
                transform: translateY(-50%);
            }
            /* CRT animation — mobile tweaks */
            .crt-glow-line {
                height: 2px;
                margin-top: -1px;
                box-shadow: 0 0 10px 3px rgba(140,180,255,0.6), 0 0 25px 6px rgba(100,140,255,0.3);
            }
            .crt-dot {
                width: 6px;
                height: 6px;
                margin: -3px 0 0 -3px;
                box-shadow: 0 0 6px 2px rgba(140,180,255,0.7), 0 0 15px 4px rgba(100,140,255,0.3);
            }
            /* Toggle buttons — bigger tap target on mobile */
            .section-toggle {
                font-size: 0.6rem;
                padding: 0.3rem 0.6rem;
                min-height: 28px;
                min-width: 48px;
            }
            /* Activity expand button — smaller on mobile */
            .activity-expand {
                min-width: 32px !important;
                padding: 0.3rem 0.3rem !important;
            }
            /* Fullscreen overlay — mobile */
            .activity-overlay-header {
                padding: 0.5rem 0.6rem;
                height: 44px;
                gap: 0.3rem;
            }
            .activity-overlay-header .card-title {
                font-size: 0.6rem !important;
                letter-spacing: 1px !important;
            }
            .activity-overlay-header .range-toggles {
                gap: 0.15rem;
            }
            .activity-overlay-header .range-btn {
                font-size: 0.55rem;
                padding: 0.15rem 0.35rem;
                min-width: 24px;
            }
            .activity-overlay-header .section-toggle {
                font-size: 0.5rem;
                padding: 0.2rem 0.4rem;
                min-height: 24px;
                min-width: 36px;
            }
            .activity-overlay-chart .rx-chart {
                height: calc(100vh - 44px);
                height: calc(100dvh - 44px);
            }
        }

        .form-action-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-top: 1rem;
        }
        .form-action-row .dash-btn {
            flex-shrink: 0;
        }
        .remember-me {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            margin: 0;
            cursor: pointer;
            user-select: none;
        }
        .remember-me input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }
        .remember-toggle {
            position: relative;
            width: 38px;
            height: 20px;
            background: rgba(139, 92, 246, 0.12);
            border: 1px solid rgba(139, 92, 246, 0.25);
            border-radius: 20px;
            flex-shrink: 0;
            transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
        }
        .remember-knob {
            position: absolute;
            top: 2px;
            left: 2px;
            width: 14px;
            height: 14px;
            background: var(--text-muted);
            border-radius: 50%;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s, box-shadow 0.3s;
        }
        .remember-me input:checked + .remember-toggle {
            background: rgba(139, 92, 246, 0.25);
            border-color: var(--neon-purple);
            box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
        }
        .remember-me input:checked + .remember-toggle .remember-knob {
            transform: translateX(18px);
            background: var(--neon-purple);
            box-shadow: 0 0 6px rgba(139, 92, 246, 0.5);
        }
        .remember-me input:focus-visible + .remember-toggle {
            outline: 2px solid var(--neon-purple);
            outline-offset: 2px;
        }
        .remember-label {
            font-family: 'Share Tech Mono', monospace;
            font-size: var(--fs-sm);
            color: var(--text-muted);
            letter-spacing: 0.5px;
            transition: color 0.3s;
        }
        .remember-me input:checked ~ .remember-label {
            color: var(--text-bright);
        }
