        /* SCROLLBAR */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #0a0a0a;
        }

        ::-webkit-scrollbar-thumb {
            background: #333;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

        /* === GLOBAL STYLE === */
        :root {
            --glass-border: 1px solid rgba(255, 255, 255, 0.15);
            --glass-bg: rgba(20, 20, 25, 0.4);
            --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            --anchor-offset: 96px;

            --ui-radius-card: 22px;
            --ui-radius-card-mobile: 18px;
            --ui-radius-pill: 9999px;
            --ui-pad-card: 24px;
            --ui-pad-card-compact: 16px;

            --ui-border: rgba(255, 255, 255, 0.12);
            --ui-surface: rgba(255, 255, 255, 0.05);
            --ui-surface-hover: rgba(255, 255, 255, 0.10);

            --ui-font-h1: clamp(2rem, 7vw, 4.5rem);
            --ui-font-body-lg: clamp(1rem, 4.2vw, 1.25rem);
            --ui-font-body: clamp(0.95rem, 3.8vw, 1.05rem);
        }

        body {
            background-color: #0a0a0a;
            color: #ffffff;
            overflow-x: hidden;
            cursor: none;
            /* Hide default cursor */
        }

        html {
            scroll-padding-top: var(--anchor-offset);
        }

        main>section[id],
        footer[id] {
            scroll-margin-top: var(--anchor-offset);
        }

        body.modal-open {
            position: fixed;
            overflow: hidden;
            width: 100%;
            inset: 0;
        }

        body.modal-open .site-nav {
            transform: none !important;
        }

        .site-nav {
            width: 100%;
            max-width: 100%;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        .hero-title {
            font-size: var(--ui-font-h1);
        }

        .hero-subtitle {
            font-size: var(--ui-font-body-lg);
        }

        .hero-line-mask {
            display: block;
            overflow: hidden;
        }

        .hero-line-inner {
            display: block;
            will-change: transform;
        }

        .theme-icon-stack {
            position: relative;
            display: inline-flex;
            width: 1.25rem;
            height: 1.25rem;
        }

        .theme-icon-stack svg {
            position: absolute;
            inset: 0;
        }

        /* Wipe-block text reveal (split into lines by initTextWipeReveal) */
        .text-line-wrap {
            position: relative;
            display: block;
            overflow: hidden;
        }

        .text-line-block {
            position: absolute;
            inset: -2% -1%;
            background: var(--reveal-block-color, rgba(34, 211, 238, 0.85));
            pointer-events: none;
            transform: scaleX(0);
            transform-origin: left center;
            will-change: transform;
        }

        .split-word {
            display: inline-block;
            opacity: 0;
        }

        .tap-target {
            min-width: 44px;
            min-height: 44px;
        }

        body.compact-mobile .glass-card {
            backdrop-filter: blur(10px) saturate(140%);
            -webkit-backdrop-filter: blur(10px) saturate(140%);
        }

        body.compact-mobile #anti-gravity-container,
        body.compact-mobile #fx-canvas,
        body.compact-mobile #webgl-canvas {
            display: none;
        }

        body.low-power #anti-gravity-container,
        body.low-power #fx-canvas,
        body.low-power #webgl-canvas {
            display: none;
        }

        body.low-power {
            cursor: auto;
        }



        .ui-chip {
            padding: 6px 12px;
            border-radius: var(--ui-radius-pill);
            background: var(--ui-surface);
            border: 1px solid var(--ui-border);
            font-size: 0.75rem;
            transition: background 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .ui-chip:hover {
            background: var(--ui-surface-hover);
        }

        .ui-button {
            min-height: 44px;
            min-width: 44px;
            border-radius: 9999px;
        }

        .library-shell {
            max-width: 1200px;
            margin-inline: auto;
        }

        .db-ranking-card {
            overflow: visible;
        }

        .mini-tools-card {
            min-width: 0;
        }

        #vertical-library h3 {
            font-size: clamp(1.75rem, 2.4vw, 2.2rem);
        }

        /* CUSTOM CURSOR */
        #custom-cursor {
            position: fixed;
            top: 0;
            left: 0;
            width: 32px;
            height: 32px;
            border: 2px solid cyan;
            border-radius: 50%;
            pointer-events: none;
            z-index: 99999;
            /* Topmost */
            transform: translate(-50%, -50%);
            mix-blend-mode: difference;
            transition: width 0.3s, height 0.3s, background-color 0.3s;
            will-change: transform;
        }

        #custom-cursor.hovered {
            width: 64px;
            height: 64px;
            background-color: rgba(0, 255, 255, 0.1);
            border-color: rgba(0, 255, 255, 0.8);
        }

        /* ANTI-GRAVITY LOGOS CONTAINER */
        #anti-gravity-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: 0;
            /* Behind main content but in front of background shader */
            pointer-events: none;
            overflow: hidden;
        }

        .floating-logo {
            position: absolute;
            /* REMOVED color override to allow 'colored' class to work */
            opacity: 0.25;
            filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
            will-change: transform;
        }

        #webgl-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -2;
            pointer-events: none;
        }

        /* Particle Canvas */
        #fx-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: 9998;
            /* Below cursor */
            pointer-events: none;
        }

        .glass-card {
            background: var(--glass-bg);
            border: var(--glass-border);
            border-top: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: var(--glass-shadow);
            border-radius: var(--ui-radius-card);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .glass-card:hover {
            border-color: rgba(255, 255, 255, 0.4);
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
            transform: translateY(-2px);
        }

        .glass-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.5s;
            pointer-events: none;
        }

        .glass-card:hover::before {
            left: 100%;
            transition: left 0.7s;
        }

        /* Chip Style */
        .tech-chip {
            padding: 6px 12px;
            border-radius: var(--ui-radius-pill);
            background: var(--ui-surface);
            border: 1px solid var(--ui-border);
            font-size: 0.75rem;
            transition: background 0.2s;
            /* NEW: Flexbox for icons */
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .tech-chip:hover {
            background: var(--ui-surface-hover);
        }

        /* Scroll-scrubbed connector thread weaving behind section content */
        .connector-thread {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: visible;
        }

        .connector-thread path {
            fill: none;
            stroke: url(#connector-thread-gradient);
            stroke-width: 2.5;
            stroke-linecap: round;
            opacity: 0.32;
            vector-effect: non-scaling-stroke;
        }

        body.low-power .connector-thread,
        body.compact-mobile .connector-thread {
            display: none;
        }

        /* Contact section: contained interactive dot-grid accent */
        .contact-fx {
            position: absolute;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            opacity: 0.55;
            -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
            mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
        }

        .contact-fx canvas {
            display: block;
            width: 100%;
            height: 100%;
        }

        body.low-power .contact-fx,
        body.compact-mobile .contact-fx {
            display: none;
        }

        /* Cursor-spotlight hover glow for Arsenal + Project cards */
        [data-arsenal-card],
        #projects-grid .glass-card {
            --spot-x: 50%;
            --spot-y: 50%;
        }

        [data-arsenal-card]::after,
        #projects-grid .glass-card::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
            border-radius: inherit;
            background: radial-gradient(480px circle at var(--spot-x) var(--spot-y), rgba(0, 212, 255, 0.14), transparent 62%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }

        [data-arsenal-card]:hover::after,
        #projects-grid .glass-card:hover::after {
            opacity: 1;
        }

        .glass-card[data-arsenal-card]:hover,
        #projects-grid .glass-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 44px rgba(0, 180, 255, 0.16);
        }

        /* Reusable utility classes */
        .form-input {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 0.5rem;
            padding: 0.5rem 0.75rem;
            color: #fff;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 0.875rem;
            outline: none;
            transition: border-color 0.2s;
        }

        .form-input:focus {
            border-color: rgba(0, 212, 255, 0.6);
        }

        .label {
            font-size: 0.75rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            color: rgba(156, 163, 175, 1);
        }

        .sub-header {
            font-size: 0.875rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            color: rgba(103, 232, 249, 0.92);
        }

        .btn {
            min-height: 44px;
            padding: 0.5rem 1rem;
            border-radius: 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);
            font-size: 0.875rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            cursor: pointer;
            transition: background 0.2s;
        }

        .btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        @media (max-width: 768px) {
            #webgl-canvas {
                opacity: 0.5;
            }

            .glass-card {
                backdrop-filter: blur(10px);
            }

            /* Show regular cursor on mobile usually, but keeping none as requested for consistent feel, or reset to auto */
            body {
                cursor: auto;
            }

            #custom-cursor {
                display: none;
            }

            main {
                scroll-padding-bottom: 96px;
            }

            .glass-card {
                border-radius: 18px;
            }

            .site-nav {
                padding-left: 0.65rem;
                padding-right: 0.65rem;
                gap: 0.45rem;
            }

            .site-nav .flex.gap-2.md\:gap-4.items-center {
                gap: 0.35rem;
                flex-wrap: nowrap;
                min-width: 0;
            }

            .site-nav #resume-open {
                padding-left: 0.8rem;
                padding-right: 0.8rem;
            }
        }

        @media (max-width: 420px) {
            .site-nav {
                top: 0.5rem !important;
            }

            .site-nav #resume-open {
                font-size: 0.7rem;
            }

            .site-nav a[href*="linkedin.com"] {
                display: none;
            }

            #mini-tools .mini-tools-controls select {
                min-height: 42px !important;
            }
        }

        @media (hover: none) and (pointer: coarse) {
            .glass-card:hover {
                transform: none;
                box-shadow: var(--glass-shadow);
            }

            .glass-card:hover::before {
                left: -100%;
            }
        }


        /* === KEYWORDS GLOBE === */
        #globe-section {
            position: relative;
            min-height: 500px;
        }

        #globe-container {
            position: relative;
            width: 100%;
            height: 550px;
            overflow: hidden;
            border-radius: 16px;
        }

        #globe-canvas {
            display: block;
            width: 100%;
            height: 100%;
            cursor: grab;
            outline: none;
        }

        #globe-canvas:active {
            cursor: grabbing;
        }

        /* Tooltip */
        #globe-tooltip {
            position: absolute;
            pointer-events: none;
            padding: 6px 14px;
            background: rgba(15, 15, 20, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            color: #fff;
            font-size: 0.8rem;
            font-family: 'Inter', sans-serif;
            white-space: nowrap;
            opacity: 0;
            transform: translateY(4px);
            transition: opacity 0.15s, transform 0.15s;
            z-index: 20;
        }

        #globe-tooltip.visible {
            opacity: 1;
            transform: translateY(0);
        }

        #globe-tooltip .tt-keyword {
            font-weight: 600;
        }

        #globe-tooltip .tt-category {
            display: inline-block;
            margin-left: 8px;
            padding: 1px 8px;
            border-radius: 9999px;
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* Legend */
        .globe-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-top: 16px;
        }

        .globe-legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.85rem;
            color: rgba(229, 231, 235, 0.72);
        }

        .globe-legend-dot--data {
            background: var(--globe-color-data);
        }

        .globe-legend-dot--software {
            background: var(--globe-color-software);
        }

        .globe-legend-dot--infra {
            background: var(--globe-color-infra);
        }

        .globe-legend-dot--tooling {
            background: var(--globe-color-tooling);
        }

        .globe-legend-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        /* 2D Fallback */
        .globe-fallback-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
            align-items: center;
            padding: 32px 16px;
            min-height: 300px;
        }

        .globe-fallback-tag {
            padding: 6px 16px;
            border-radius: 9999px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #ddd;
            font-size: 0.82rem;
            cursor: pointer;
            transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
        }

        .globe-fallback-tag:hover,
        .globe-fallback-tag:focus {
            background: rgba(255, 255, 255, 0.15);
            transform: scale(1.08);
            box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
            outline: none;
        }

        .mini-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .mini-row.is-selected {
            border-color: rgba(0, 212, 255, 0.22);
            box-shadow: 0 0 22px rgba(0, 212, 255, 0.06);
        }

        .mini-row__title {
            font-weight: 700;
            color: rgba(255, 255, 255, 0.92);
        }

        .mini-row__sub {
            margin-top: 2px;
            font-size: 0.78rem;
            color: rgba(148, 163, 184, 0.95);
            word-break: break-word;
            line-height: 1.35;
        }

        .mini-row__right {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            font-size: 0.92rem;
            color: rgba(229, 231, 235, 0.92);
            white-space: nowrap;
            line-height: 1.2;
        }

        .clock-liquid {
            display: grid;
            gap: 12px;
        }

        .clock-liquid__hero {
            position: relative;
            overflow: hidden;
            border-radius: 22px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
            backdrop-filter: blur(26px) saturate(170%);
            -webkit-backdrop-filter: blur(26px) saturate(170%);
            padding: 16px 18px 18px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 55px rgba(2, 6, 23, 0.25);
        }

        .clock-liquid__glow {
            position: absolute;
            width: 220px;
            height: 220px;
            border-radius: 9999px;
            filter: blur(36px);
            opacity: 0.28;
            pointer-events: none;
            top: -110px;
            right: -80px;
            background: radial-gradient(circle, rgba(56, 189, 248, 0.9) 0%, rgba(56, 189, 248, 0.05) 68%);
        }

        .clock-liquid--night .clock-liquid__glow {
            background: radial-gradient(circle, rgba(167, 139, 250, 0.95) 0%, rgba(167, 139, 250, 0.05) 68%);
        }

        .clock-liquid__city {
            font-size: 0.8rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(125, 211, 252, 0.95);
        }

        .clock-liquid__time {
            margin-top: 8px;
            display: flex;
            align-items: flex-end;
            gap: 8px;
        }

        .clock-liquid__digits {
            font-size: clamp(2.15rem, 6vw, 3.55rem);
            line-height: 0.95;
            font-weight: 700;
            letter-spacing: -0.04em;
            color: rgba(248, 250, 252, 0.98);
            text-shadow: 0 0 28px rgba(148, 163, 184, 0.22);
        }

        .clock-liquid__seconds {
            font-size: 1rem;
            line-height: 1;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            color: rgba(186, 230, 253, 0.95);
            transform: translateY(-6px);
        }

        .clock-liquid__date {
            margin-top: 7px;
            color: rgba(203, 213, 225, 0.95);
            font-size: 0.88rem;
        }

        .clock-liquid__zone {
            margin-top: 3px;
            color: rgba(148, 163, 184, 0.94);
            font-size: 0.76rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        }

        .clock-liquid__stack {
            display: grid;
            gap: 9px;
        }

        .clock-liquid__tile {
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            padding: 10px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .clock-liquid__tile-city {
            font-size: 0.84rem;
            font-weight: 700;
            color: rgba(241, 245, 249, 0.96);
        }

        .clock-liquid__tile-zone {
            margin-top: 2px;
            font-size: 0.72rem;
            color: rgba(148, 163, 184, 0.94);
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        }

        .clock-liquid__tile-time {
            font-size: 1.15rem;
            line-height: 1;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            color: rgba(224, 242, 254, 0.97);
            font-weight: 600;
        }

        .mini-table-caption {
            margin-bottom: 8px;
            font-size: 0.74rem;
            color: rgba(148, 163, 184, 0.95);
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            text-transform: uppercase;
            letter-spacing: 0.07em;
        }

        .mini-table-shell {
            position: relative;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.02);
            overflow: hidden;
        }

        .mini-table-scroll {
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
        }

        .mini-table-shell::before,
        .mini-table-shell::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: 18px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s ease;
            z-index: 4;
        }

        .mini-table-shell::before {
            left: 0;
            background: linear-gradient(to right, rgba(10, 10, 10, 0.75), transparent);
        }

        .mini-table-shell::after {
            right: 0;
            background: linear-gradient(to left, rgba(10, 10, 10, 0.75), transparent);
        }

        .mini-table-shell.is-scrollable:not(.at-start)::before,
        .mini-table-shell.is-scrollable:not(.at-end)::after {
            opacity: 1;
        }

        .mini-table {
            display: grid;
            gap: 8px;
            min-width: 660px;
            padding: 10px;
        }

        .mini-table__head {
            position: sticky;
            top: 0;
            z-index: 3;
            display: grid;
            grid-template-columns: 88px minmax(230px, 1fr) minmax(210px, 0.95fr) 112px;
            gap: 12px;
            align-items: center;
            padding: 10px 14px;
            border-radius: 12px;
            background: linear-gradient(145deg, rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.38));
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mini-table__head-cell {
            font-size: 0.7rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(148, 163, 184, 0.95);
        }

        .mini-table__head-cell:nth-child(3) {
            text-align: center;
        }

        .mini-table__head-cell:last-child {
            text-align: right;
        }

        .mini-table__row {
            display: grid;
            grid-template-columns: 88px minmax(230px, 1fr) minmax(210px, 0.95fr) 112px;
            gap: 12px;
            align-items: center;
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .mini-table__row--top {
            border-color: rgba(34, 211, 238, 0.18);
            background: linear-gradient(140deg, rgba(6, 182, 212, 0.12), rgba(59, 130, 246, 0.03) 62%);
        }

        .mini-table__cell {
            min-width: 0;
        }

        .mini-table__cell>* {
            min-width: 0;
        }

        .mini-table__cell.mono {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            color: rgba(229, 231, 235, 0.92);
            font-size: 0.85rem;
            white-space: nowrap;
        }

        .mini-table__cell--score {
            text-align: right;
        }

        .mini-table__cell--momentum {
            text-align: center;
        }

        .mini-table__score-value {
            font-weight: 700;
        }

        .rank-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 58px;
            min-height: 28px;
            padding: 5px 10px;
            border-radius: 9999px;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            border: 1px solid rgba(148, 163, 184, 0.2);
            background: rgba(15, 23, 42, 0.45);
        }

        .rank-badge--top {
            border-color: rgba(250, 204, 21, 0.3);
            background: linear-gradient(145deg, rgba(250, 204, 21, 0.2), rgba(251, 191, 36, 0.05));
            color: rgba(254, 240, 138, 0.95);
            box-shadow: 0 0 16px rgba(250, 204, 21, 0.14);
        }

        .mini-db {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .mini-db__icon {
            width: 26px;
            height: 26px;
            display: grid;
            place-items: center;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .mini-db__icon i {
            font-size: 18px;
        }

        .mini-db__name {
            font-weight: 700;
            color: rgba(255, 255, 255, 0.92);
            overflow-wrap: anywhere;
            line-height: 1.25;
        }

        .mini-db__meta {
            margin-top: 3px;
            font-size: 0.78rem;
            color: rgba(148, 163, 184, 0.95);
            overflow-wrap: anywhere;
        }

        .mini-db__trend {
            margin-top: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
            min-width: 0;
        }

        .spark {
            opacity: 0.9;
        }

        .delta {
            display: inline-flex;
            align-items: center;
            padding: 4px 8px;
            border-radius: 9999px;
            border: 1px solid rgba(255, 255, 255, 0.10);
            background: rgba(255, 255, 255, 0.04);
            font-size: 0.72rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            color: rgba(229, 231, 235, 0.88);
        }

        .delta--up {
            border-color: rgba(52, 211, 153, 0.28);
            color: rgba(110, 231, 183, 0.95);
            background: rgba(52, 211, 153, 0.08);
        }

        .delta--down {
            border-color: rgba(248, 113, 113, 0.28);
            color: rgba(252, 165, 165, 0.95);
            background: rgba(248, 113, 113, 0.08);
        }

        @media (min-width: 1024px) {
            .mini-table-scroll {
                overflow: visible;
            }

            .mini-table {
                min-width: 0;
            }

            .mini-table-shell::before,
            .mini-table-shell::after {
                display: none;
            }
        }

        @media (max-width: 640px) {
            #mini-tools h3 {
                font-size: clamp(1.45rem, 7.1vw, 1.9rem);
            }

            #mini-tools .mini-tools-card {
                padding: 0.9rem !important;
            }

            #mini-tools .mini-tools-head {
                display: grid !important;
                grid-template-columns: minmax(0, 1fr);
                gap: 0.7rem;
                align-items: start !important;
            }

            #mini-tools .mini-tools-controls {
                display: grid !important;
                grid-template-columns: 1fr;
                gap: 0.45rem;
                align-items: stretch;
            }

            #mini-tools .mini-tools-controls label {
                font-size: 0.68rem;
                letter-spacing: 0.08em;
                text-transform: uppercase;
            }

            #mini-tools .mini-tools-controls select {
                width: 100%;
                max-width: 100%;
                font-size: 0.88rem;
            }

            #world-clock {
                margin-top: 0.85rem !important;
            }

            .clock-liquid__hero {
                padding: 14px;
                border-radius: 18px;
            }

            .clock-liquid__digits {
                font-size: clamp(2rem, 11vw, 2.65rem);
            }

            .clock-liquid__seconds {
                font-size: 0.86rem;
                transform: translateY(-4px);
            }

            .clock-liquid__tile {
                padding: 10px;
            }

            .mini-row {
                display: block;
                padding: 12px 12px;
            }

            .mini-row__right {
                display: block;
                margin-top: 7px;
                font-size: 0.98rem;
            }

            .mini-table-shell {
                border-radius: 16px;
            }

            .mini-table {
                min-width: 0;
                gap: 10px;
                padding: 0;
                border: none;
            }

            .mini-table__head {
                display: none;
            }

            .mini-table__row {
                grid-template-columns: 1fr;
                gap: 10px;
                padding: 14px;
                border-radius: 16px;
            }

            .mini-table__cell {
                display: grid;
                grid-template-columns: 64px minmax(0, 1fr);
                align-items: flex-start;
                gap: 12px;
            }

            .mini-table__cell::before {
                content: attr(data-label);
                width: 64px;
                font-size: 0.65rem;
                font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
                text-transform: uppercase;
                letter-spacing: 0.08em;
                color: rgba(148, 163, 184, 0.95);
                margin-top: 2px;
            }

            .mini-table__cell[data-label="Database"] {
                grid-template-columns: 1fr;
            }

            .mini-table__cell[data-label="Database"]::before {
                display: none;
            }

            .mini-table__cell[data-label="Momentum"] {
                grid-template-columns: 1fr;
            }

            .mini-table__cell[data-label="Momentum"]::before {
                display: none;
            }

            .mini-db {
                display: grid;
                grid-template-columns: auto minmax(0, 1fr);
                gap: 8px;
            }

            .mini-db__name {
                font-size: 0.95rem;
            }

            .mini-db__meta {
                margin-top: 4px;
                font-size: 0.76rem;
            }

            .mini-table__cell--score {
                text-align: left;
            }

            .mini-table__cell--score .mini-table__score-value {
                font-size: 0.95rem;
            }

            .mini-db__trend {
                margin-top: 8px;
                gap: 7px;
                justify-content: flex-start;
            }

            .mini-db__trend .spark {
                display: none;
            }

            .delta {
                font-size: 0.7rem;
                padding: 4px 7px;
            }
        }

        @media (max-width: 380px) {
            .mini-table__cell {
                grid-template-columns: 56px minmax(0, 1fr);
                gap: 8px;
            }

            .mini-table__cell::before {
                width: 56px;
                font-size: 0.6rem;
            }

            .mini-db__name {
                font-size: 0.9rem;
            }
        }

        /* Visual presets via CSS vars */
        :root {
            --globe-color-data: #00d4ff;
            --globe-color-software: #a78bfa;
            --globe-color-infra: #34d399;
            --globe-color-tooling: #fbbf24;
            --globe-rotation-speed: 0.002;
            --globe-text-scale: 1;
        }

        /* Preset: professional */
        .globe-preset-professional {
            --globe-color-data: #60a5fa;
            --globe-color-software: #c084fc;
            --globe-color-infra: #6ee7b7;
            --globe-color-tooling: #fcd34d;
        }

        /* Preset: minimal */
        .globe-preset-minimal {
            --globe-color-data: #94a3b8;
            --globe-color-software: #cbd5e1;
            --globe-color-infra: #a7f3d0;
            --globe-color-tooling: #fde68a;
        }

        /* === EXPERIENCE & EDUCATION (JOURNEY) === */
        .journey-panel {
            border: 1px solid rgba(255, 255, 255, 0.10);
        }

        .journey-badge {
            border: 1px solid rgba(0, 212, 255, 0.18);
            box-shadow: 0 0 24px rgba(0, 212, 255, 0.06);
        }

        .journey-timeline {
            position: relative;
            padding-left: 22px;
        }

        .journey-timeline::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom,
                    rgba(0, 212, 255, 0.55),
                    rgba(167, 139, 250, 0.25),
                    rgba(255, 255, 255, 0.08));
            border-radius: 2px;
        }

        .journey-item {
            position: relative;
            display: grid;
            grid-template-columns: 22px 1fr;
            gap: 16px;
            padding-bottom: 18px;
        }

        .journey-dot {
            width: 14px;
            height: 14px;
            border-radius: 9999px;
            background: rgba(255, 255, 255, 0.18);
            border: 1px solid rgba(255, 255, 255, 0.18);
            box-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
            margin-left: 1px;
            margin-top: 6px;
        }

        .journey-dot--active {
            background: rgba(0, 212, 255, 0.35);
            border-color: rgba(0, 212, 255, 0.55);
            box-shadow: 0 0 22px rgba(0, 212, 255, 0.22);
        }

        .journey-card {
            padding: 18px 18px;
            border-radius: 16px;
            background: rgba(20, 20, 25, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.10);
            backdrop-filter: blur(16px) saturate(160%);
            -webkit-backdrop-filter: blur(16px) saturate(160%);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
            transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
            position: relative;
        }

        .journey-head {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .company-mark {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            display: grid;
            place-items: center;
            font-weight: 800;
            letter-spacing: 0.01em;
            font-size: clamp(0.52rem, 1.2vw, 0.78rem);
            line-height: 1;
            text-transform: uppercase;
            text-align: center;
            padding: 4px;
            overflow: hidden;
            color: rgba(255, 255, 255, 0.92);
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(167, 139, 250, 0.18));
            border: 1px solid rgba(255, 255, 255, 0.14);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
            flex: 0 0 auto;
        }

        .company-mark--green {
            background: linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(0, 212, 255, 0.16));
        }

        .company-mark--purple {
            background: linear-gradient(135deg, rgba(167, 139, 250, 0.24), rgba(0, 212, 255, 0.12));
        }

        .journey-tools {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }

        .journey-tool {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 10px;
            border-radius: 9999px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.10);
            color: rgba(229, 231, 235, 0.85);
            font-size: 0.78rem;
        }

        .journey-tool i {
            font-size: 1rem;
        }

        .vl-accordion {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transform: translateY(-2px);
            transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
        }

        .vl-accordion.is-open {
            opacity: 1;
            transform: translateY(0);
        }

        .vl-cover {
            background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.18), transparent 55%),
                radial-gradient(circle at 70% 80%, rgba(167, 139, 250, 0.16), transparent 55%),
                rgba(255, 255, 255, 0.04);
            filter: saturate(1.1);
        }

        .vl-cover img {
            opacity: 0.01;
            transition: opacity 0.25s ease;
        }

        .vl-cover img.is-loaded {
            opacity: 0.9;
        }

        .library-layout {
            align-items: stretch;
        }

        .library-list-panel,
        .library-info-panel {
            min-width: 0;
        }

        @media (min-width: 1280px) {
            .library-layout {
                grid-template-columns: minmax(320px, 420px) minmax(0, 1fr) !important;
            }

            .library-list-panel {
                grid-column: auto !important;
            }

            .library-info-panel {
                grid-column: auto !important;
            }
        }

        @media (min-width: 1536px) {
            .library-shell {
                max-width: 1260px;
            }

            .library-layout {
                grid-template-columns: minmax(360px, 460px) minmax(0, 1fr) !important;
                gap: 1.5rem;
            }
        }

        .vl-modal {
            position: fixed;
            inset: 0;
            z-index: 99990;
            display: grid;
            place-items: center;
        }

        .vl-modal__backdrop {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.72);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .vl-modal__panel {
            position: relative;
            width: min(720px, calc(100vw - 28px));
            max-height: min(78vh, 780px);
            overflow: auto;
            border-radius: 18px;
            background: rgba(20, 20, 25, 0.55);
            border: 1px solid rgba(255, 255, 255, 0.14);
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
            padding: 18px 18px;
            outline: none;
        }

        @media (max-width: 768px) {
            .vl-modal {
                place-items: end center;
            }

            .vl-modal__panel {
                width: 100vw;
                border-radius: 18px 18px 0 0;
                max-height: 88vh;
            }

            .library-shell .vl-scroll {
                max-height: 60vh !important;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .vl-accordion {
                transition: none;
            }

            .vl-cover img {
                transition: none;
            }

            .connector-thread,
            .contact-fx {
                display: none;
            }

            [data-arsenal-card]::after,
            #projects-grid .glass-card::after {
                display: none;
            }

            .split-word {
                opacity: 1 !important;
            }

            .text-line-block {
                display: none;
            }

            .dag-flow-particle {
                display: none;
            }
        }

        body.low-power .journey-item,
        body.low-power .journey-panel,
        body.low-power .journey-dot--active,
        body.low-power .journey-tag,
        body.low-power .journey-point::before,
        body.low-power .journey-insight::after {
            animation: none !important;
        }

        body.low-power .journey-card,
        body.low-power .glass-card {
            transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
        }

        .journey-card:hover {
            transform: translateY(-2px);
            border-color: rgba(0, 212, 255, 0.18);
            box-shadow: 0 12px 44px rgba(0, 0, 0, 0.35);
        }

        .journey-tag {
            padding: 6px 12px;
            border-radius: 9999px;
            font-size: 0.7rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            color: rgba(0, 212, 255, 0.92);
            background: rgba(0, 212, 255, 0.08);
            border: 1px solid rgba(0, 212, 255, 0.18);
        }

        .journey-points {
            margin-top: 14px;
            display: grid;
            gap: 10px;
            color: rgba(229, 231, 235, 0.85);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .journey-point {
            position: relative;
            padding-left: 16px;
        }

        .journey-point::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.65em;
            width: 6px;
            height: 6px;
            border-radius: 9999px;
            background: rgba(0, 212, 255, 0.65);
            box-shadow: 0 0 12px rgba(0, 212, 255, 0.18);
        }

        .journey-skills {
            margin-top: 14px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .journey-skill {
            padding: 6px 12px;
            border-radius: 9999px;
            font-size: 0.72rem;
            color: rgba(255, 255, 255, 0.80);
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.10);
        }

        .edu-card {
            padding: 18px 18px;
            border-radius: 16px;
            background: rgba(20, 20, 25, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.10);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
        }

        .edu-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 10px;
        }

        .edu-badge {
            padding: 6px 12px;
            border-radius: 9999px;
            font-size: 0.7rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            border: 1px solid rgba(255, 255, 255, 0.12);
        }

        .edu-badge--master {
            color: rgba(0, 212, 255, 0.92);
            background: rgba(0, 212, 255, 0.08);
            border-color: rgba(0, 212, 255, 0.18);
        }

        .edu-badge--bachelor {
            color: rgba(167, 139, 250, 0.92);
            background: rgba(167, 139, 250, 0.08);
            border-color: rgba(167, 139, 250, 0.18);
        }

        .edu-note {
            margin-top: 10px;
            color: rgba(229, 231, 235, 0.82);
            font-size: 0.95rem;
            line-height: 1.55;
        }

        .edu-fun {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            color: rgba(148, 163, 184, 0.95);
            font-size: 0.85rem;
        }

        .journey-insight {
            border: 1px solid rgba(0, 212, 255, 0.14);
            box-shadow: 0 0 26px rgba(0, 212, 255, 0.06);
        }

        @media (max-width: 768px) {
            .journey-badge {
                border-radius: 16px;
            }

            .journey-timeline {
                padding-left: 18px;
            }
        }

        /* === CREATIVE ENHANCEMENTS FOR JOURNEY === */
        /* Scroll-reveal fade-in animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulseGlow {

            0%,
            100% {
                box-shadow: 0 0 22px rgba(0, 212, 255, 0.22);
            }

            50% {
                box-shadow: 0 0 32px rgba(0, 212, 255, 0.38);
            }
        }

        .journey-item {
            animation: fadeInUp 0.6s ease-out backwards;
        }

        .journey-item:nth-child(1) {
            animation-delay: 0.05s;
        }

        .journey-item:nth-child(2) {
            animation-delay: 0.10s;
        }

        .journey-item:nth-child(3) {
            animation-delay: 0.15s;
        }

        .journey-item:nth-child(4) {
            animation-delay: 0.20s;
        }

        .journey-item:nth-child(5) {
            animation-delay: 0.25s;
        }

        .journey-item:nth-child(6) {
            animation-delay: 0.30s;
        }

        .journey-item:nth-child(7) {
            animation-delay: 0.35s;
        }

        .journey-item:nth-child(8) {
            animation-delay: 0.40s;
        }

        .journey-dot--active {
            animation: pulseGlow 2s ease-in-out infinite;
        }

        /* Holographic gradient on hover for journey cards */
        .journey-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg,
                    rgba(0, 212, 255, 0.02),
                    rgba(167, 139, 250, 0.03),
                    rgba(52, 211, 153, 0.02));
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 16px;
            pointer-events: none;
        }

        .journey-card:hover::before {
            opacity: 1;
        }

        /* Grid scanline effect on journey-panel background */
        .journey-panel::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image:
                repeating-linear-gradient(0deg,
                    rgba(0, 212, 255, 0.015) 0px,
                    transparent 1px,
                    transparent 2px,
                    rgba(0, 212, 255, 0.015) 3px);
            pointer-events: none;
            opacity: 0.4;
            border-radius: 16px;
        }

        /* Skill chip hover with color splash */
        .journey-skill {
            transition: all 0.25s ease;
            position: relative;
            overflow: hidden;
        }

        .journey-skill::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(0, 212, 255, 0.15);
            transform: translate(-50%, -50%);
            transition: width 0.3s, height 0.3s;
        }

        .journey-skill:hover::after {
            width: 100px;
            height: 100px;
        }

        .journey-skill:hover {
            background: rgba(0, 212, 255, 0.12);
            border-color: rgba(0, 212, 255, 0.28);
            color: rgba(0, 212, 255, 0.95);
            transform: scale(1.05);
            cursor: default;
        }

        /* Education card accent bar */
        .edu-card {
            position: relative;
            overflow: hidden;
        }

        .edu-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom,
                    rgba(0, 212, 255, 0.55),
                    rgba(167, 139, 250, 0.45));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .edu-card:hover::before {
            opacity: 1;
        }

        /* Insight box shimmer */
        @keyframes shimmer {
            0% {
                background-position: -200% center;
            }

            100% {
                background-position: 200% center;
            }
        }

        .journey-insight {
            position: relative;
            overflow: hidden;
        }

        .journey-insight::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(90deg,
                    transparent,
                    rgba(0, 212, 255, 0.05),
                    transparent);
            background-size: 200% 100%;
            animation: shimmer 4s infinite linear;
            pointer-events: none;
        }

        /* Badge pulsing enhancement */
        .journey-badge span {
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.7;
            }
        }

        /* Gradient text for section headers */
        #journey h2 {
            background: linear-gradient(135deg,
                    rgba(255, 255, 255, 1),
                    rgba(0, 212, 255, 0.9),
                    rgba(167, 139, 250, 0.8));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Timeline glow on scroll */
        @keyframes lineGlow {

            0%,
            100% {
                opacity: 0.55;
            }

            50% {
                opacity: 0.85;
            }
        }

        .journey-timeline::before {
            animation: lineGlow 3s ease-in-out infinite;
        }

        /* Staggered journey point reveal */
        @keyframes pointReveal {
            from {
                opacity: 0;
                transform: scale(0);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .journey-point::before {
            animation: pointReveal 0.4s ease-out backwards;
        }

        .journey-point:nth-child(1)::before {
            animation-delay: 0.1s;
        }

        .journey-point:nth-child(2)::before {
            animation-delay: 0.2s;
        }

        .journey-point:nth-child(3)::before {
            animation-delay: 0.3s;
        }

        .journey-point:nth-child(4)::before {
            animation-delay: 0.4s;
        }

        /* Panel entrance effect */
        .journey-panel {
            animation: fadeInUp 0.8s ease-out backwards;
        }

        .journey-panel:nth-child(1) {
            animation-delay: 0.1s;
        }

        .journey-panel:nth-child(2) {
            animation-delay: 0.2s;
        }

        /* Journey tag floating */
        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-3px);
            }
        }

        .journey-tag {
            animation: float 2.5s ease-in-out infinite;
        }

        /* === LIGHT THEME === */
        [data-theme="light"] {
            --glass-border: 1px solid rgba(0, 0, 0, 0.08);
            --glass-bg: rgba(255, 255, 255, 0.7);
            --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
            --ui-border: rgba(0, 0, 0, 0.1);
            --ui-surface: rgba(0, 0, 0, 0.03);
            --ui-surface-hover: rgba(0, 0, 0, 0.06);
        }

        [data-theme="light"] body {
            background-color: #f5f5f7;
            color: #1a1a1a;
        }

        [data-theme="light"] ::-webkit-scrollbar-track {
            background: #f0f0f0;
        }

        [data-theme="light"] ::-webkit-scrollbar-thumb {
            background: #ccc;
        }

        [data-theme="light"] ::-webkit-scrollbar-thumb:hover {
            background: #aaa;
        }

        [data-theme="light"] .glass-card {
            background: var(--glass-bg);
            border-color: rgba(0, 0, 0, 0.08);
            color: #1a1a1a;
        }

        [data-theme="light"] .glass-card:hover {
            border-color: rgba(0, 0, 0, 0.15);
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
        }

        [data-theme="light"] .text-gray-300,
        [data-theme="light"] .text-gray-400,
        [data-theme="light"] .text-gray-500 {
            color: rgba(0, 0, 0, 0.6);
        }

        [data-theme="light"] .hero-subtitle,
        [data-theme="light"] #about p {
            color: rgba(0, 0, 0, 0.7);
        }

        [data-theme="light"] .hero-title {
            background: linear-gradient(135deg, #0a0a0a 0%, #2563eb 50%, #0891b2 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        [data-theme="light"] nav a {
            color: rgba(0, 0, 0, 0.7);
        }

        [data-theme="light"] nav a:hover {
            color: #000;
        }

        [data-theme="light"] .site-nav {
            border-color: rgba(0, 0, 0, 0.1);
        }

        [data-theme="light"] .tech-chip {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.1);
            color: #1a1a1a;
        }

        [data-theme="light"] .connector-thread path {
            opacity: 0.2;
        }

        [data-theme="light"] .contact-fx {
            opacity: 0.35;
        }

        [data-theme="light"] .tech-chip:hover {
            background: rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .journey-card {
            background: rgba(255, 255, 255, 0.6);
            border-color: rgba(0, 0, 0, 0.08);
            color: #1a1a1a;
        }

        [data-theme="light"] .journey-point {
            color: rgba(0, 0, 0, 0.75);
        }

        [data-theme="light"] .journey-tool {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.1);
            color: rgba(0, 0, 0, 0.75);
        }

        [data-theme="light"] .edu-card {
            background: rgba(255, 255, 255, 0.6);
            border-color: rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .edu-note,
        [data-theme="light"] .edu-fun {
            color: rgba(0, 0, 0, 0.7);
        }

        [data-theme="light"] .mini-row {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.06);
        }

        [data-theme="light"] .clock-liquid__hero,
        [data-theme="light"] .clock-liquid__tile {
            border-color: rgba(0, 0, 0, 0.12);
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
        }

        [data-theme="light"] .clock-liquid__digits,
        [data-theme="light"] .clock-liquid__tile-time {
            color: rgba(15, 23, 42, 0.93);
        }

        [data-theme="light"] .clock-liquid__seconds,
        [data-theme="light"] .clock-liquid__city {
            color: rgba(14, 116, 144, 0.9);
        }

        [data-theme="light"] .clock-liquid__date,
        [data-theme="light"] .clock-liquid__zone,
        [data-theme="light"] .clock-liquid__tile-zone,
        [data-theme="light"] .mini-table-caption {
            color: rgba(51, 65, 85, 0.85);
        }

        [data-theme="light"] .mini-row__title {
            color: rgba(0, 0, 0, 0.9);
        }

        [data-theme="light"] .mini-row__sub {
            color: rgba(0, 0, 0, 0.5);
        }

        [data-theme="light"] .mini-table__row {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.06);
        }

        [data-theme="light"] .mini-table__row--top {
            background: linear-gradient(140deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.08) 62%);
            border-color: rgba(14, 116, 144, 0.2);
        }

        [data-theme="light"] .rank-badge {
            border-color: rgba(51, 65, 85, 0.18);
            color: rgba(15, 23, 42, 0.9);
            background: rgba(226, 232, 240, 0.7);
        }

        [data-theme="light"] .mini-table-shell {
            background: rgba(255, 255, 255, 0.6);
            border-color: rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .mini-table__head {
            background: rgba(255, 255, 255, 0.78);
            border-color: rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .mini-table__head-cell {
            color: rgba(71, 85, 105, 0.92);
        }

        [data-theme="light"] .mini-table-shell::before {
            background: linear-gradient(to right, rgba(245, 245, 247, 0.86), transparent);
        }

        [data-theme="light"] .mini-table-shell::after {
            background: linear-gradient(to left, rgba(245, 245, 247, 0.86), transparent);
        }

        @media (max-width: 640px) {
            [data-theme="light"] .mini-table__cell::before {
                color: rgba(71, 85, 105, 0.9);
            }
        }

        [data-theme="light"] .mini-db__name {
            color: rgba(0, 0, 0, 0.9);
        }

        [data-theme="light"] .mini-db__meta {
            color: rgba(0, 0, 0, 0.5);
        }

        [data-theme="light"] .vl-modal__backdrop {
            background: rgba(15, 23, 42, 0.5);
        }

        [data-theme="light"] .vl-modal__panel {
            background: rgba(255, 255, 255, 0.88);
            border-color: rgba(0, 0, 0, 0.12);
            color: #0f172a;
        }

        [data-theme="light"] #globe-container {
            background: rgba(255, 255, 255, 0.4);
        }

        /* === TERMINAL SIMULATION === */
        .terminal-window {
            background: rgba(10, 15, 20, 0.95);
            border-radius: 12px;
            overflow: hidden;
            font-family: 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .terminal-header {
            background: linear-gradient(180deg, rgba(40, 45, 55, 0.9) 0%, rgba(25, 30, 40, 0.95) 100%);
            padding: 12px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .terminal-buttons {
            display: flex;
            gap: 8px;
        }

        .terminal-btn {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: block;
        }

        .terminal-btn--close {
            background: #ff5f57;
        }

        .terminal-btn--minimize {
            background: #febc2e;
        }

        .terminal-btn--maximize {
            background: #28c840;
        }

        .terminal-title {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            font-weight: 500;
        }

        .terminal-spacer {
            width: 60px;
        }

        .terminal-body {
            padding: 20px;
            min-height: 280px;
            max-height: 400px;
            overflow-y: auto;
        }

        .terminal-content {
            color: #e6e6e6;
            font-size: 0.9rem;
            line-height: 1.7;
            white-space: pre-wrap;
        }

        .terminal-content .line {
            display: block;
            margin-bottom: 4px;
        }

        .terminal-content .line.success {
            color: #4ade80;
        }

        .terminal-content .line.info {
            color: #60a5fa;
        }

        .terminal-content .line.warning {
            color: #fbbf24;
        }

        .terminal-content .line.error {
            color: #f87171;
        }

        .terminal-content .line.cyan {
            color: #22d3ee;
        }

        .terminal-content .line.purple {
            color: #c084fc;
        }

        .terminal-cursor {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 12px;
            color: #22d3ee;
        }

        .terminal-prompt {
            color: #22d3ee;
            font-weight: 600;
        }

        .terminal-input {
            color: #e6e6e6;
            min-width: 10px;
        }

        .terminal-caret {
            color: #22d3ee;
            animation: blink 1s step-end infinite;
        }

        @keyframes blink {
            50% {
                opacity: 0;
            }
        }

        [data-theme="light"] .terminal-window {
            background: rgba(30, 35, 45, 0.98);
            border-color: rgba(0, 0, 0, 0.15);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }

        /* === DATA PIPELINE VISUALIZER (DAG) === */
        .dag-mode-group {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .dag-mode-button {
            border-radius: 0 !important;
            min-width: 90px;
            background: transparent;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
        }

        .dag-mode-button:last-child {
            border-right: none;
        }

        .dag-mode-button:hover {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.96);
        }

        .dag-mode-button.is-active {
            background: rgba(255, 255, 255, 0.16);
            color: #67e8f9;
            box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.25);
        }

        .dag-mode-button:focus-visible {
            outline: none;
            box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.45), 0 0 0 3px rgba(103, 232, 249, 0.2);
        }

        .dag-canvas-container {
            position: relative;
            width: 100%;
            height: 450px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .dag-svg {
            width: 100%;
            height: 100%;
            cursor: grab;
        }

        .dag-svg.cursor-crosshair {
            cursor: crosshair !important;
        }

        .dag-svg.cursor-not-allowed {
            cursor: not-allowed !important;
        }

        .dag-svg:active {
            cursor: grabbing;
        }

        .dag-node {
            cursor: pointer;
            transition: filter 0.2s ease;
        }

        .dag-node:hover {
            filter: brightness(1.2);
        }

        .dag-node.selected .dag-node-shape {
            stroke: #fbbf24;
            stroke-width: 3;
            filter: url(#dag-glow);
        }

        .dag-node-source .dag-node-shape {
            fill: rgba(52, 211, 153, 0.25);
            stroke: rgba(52, 211, 153, 0.8);
        }

        .dag-node-transform .dag-node-shape {
            fill: rgba(34, 211, 238, 0.25);
            stroke: rgba(34, 211, 238, 0.8);
        }

        .dag-node-destination .dag-node-shape {
            fill: rgba(192, 132, 252, 0.25);
            stroke: rgba(192, 132, 252, 0.8);
        }

        .dag-node-shape {
            stroke-width: 2;
            transition: all 0.2s ease;
        }

        .dag-node-icon {
            fill: rgba(255, 255, 255, 0.9);
            font-family: 'Fira Code', monospace;
            font-size: 14px;
            text-anchor: middle;
            dominant-baseline: middle;
            pointer-events: none;
        }

        .dag-node-label {
            fill: rgba(255, 255, 255, 0.85);
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            font-weight: 500;
            text-anchor: middle;
            dominant-baseline: middle;
            pointer-events: none;
        }

        .dag-edge {
            fill: none;
            stroke: rgba(0, 212, 255, 0.6);
            stroke-width: 2;
            marker-end: url(#dag-arrowhead);
            transition: stroke 0.2s ease;
        }

        .dag-edge:hover {
            stroke: rgba(0, 212, 255, 0.9);
            stroke-width: 3;
        }

        .dag-edge.selected {
            stroke: #fbbf24;
            stroke-width: 3;
        }

        .dag-tooltip {
            position: absolute;
            pointer-events: none;
            padding: 8px 14px;
            background: rgba(15, 15, 25, 0.95);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            color: #fff;
            font-size: 0.8rem;
            font-family: 'Inter', sans-serif;
            white-space: nowrap;
            opacity: 0;
            transform: translateY(4px);
            transition: opacity 0.15s, transform 0.15s;
            z-index: 20;
        }

        .dag-tooltip.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .dag-drag-line {
            fill: none;
            stroke: rgba(255, 255, 255, 0.4);
            stroke-width: 2;
            stroke-dasharray: 5, 5;
            pointer-events: none;
        }

        .dag-node-icon-fo {
            overflow: visible;
            pointer-events: none;
        }

        .dag-node-icon-fo i {
            display: block;
            width: 100%;
            height: 100%;
            font-size: 20px;
            line-height: 1;
            text-align: center;
            color: rgba(255, 255, 255, 0.92);
        }

        .dag-flow-particle {
            fill: #67e8f9;
            filter: url(#dag-glow);
            opacity: 0.85;
            pointer-events: none;
        }

        .dag-status {
            font-size: 0.75rem;
            padding: 6px 12px;
            border-radius: 9999px;
            border: 1px solid transparent;
            opacity: 0;
            transform: translateY(-2px);
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        .dag-status.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .dag-status.ok {
            color: #6ee7b7;
            background: rgba(52, 211, 153, 0.1);
            border-color: rgba(52, 211, 153, 0.3);
        }

        .dag-status.warn {
            color: #fcd34d;
            background: rgba(251, 191, 36, 0.1);
            border-color: rgba(251, 191, 36, 0.3);
        }

        .dag-status.info {
            color: #93c5fd;
            background: rgba(147, 197, 253, 0.1);
            border-color: rgba(147, 197, 253, 0.3);
        }

        .dag-export-code {
            max-height: 46vh;
            overflow: auto;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 16px;
            font-size: 0.8rem;
            line-height: 1.6;
            white-space: pre;
        }

        .dag-export-code code {
            font-family: 'Fira Code', ui-monospace, monospace;
            color: rgba(255, 255, 255, 0.88);
        }

        [data-theme="light"] .dag-canvas-container {
            background: rgba(255, 255, 255, 0.5);
            border-color: rgba(0, 0, 0, 0.1);
        }

        [data-theme="light"] .dag-mode-group {
            background: rgba(255, 255, 255, 0.7);
            border-color: rgba(0, 0, 0, 0.12);
        }

        [data-theme="light"] .dag-mode-button {
            border-right-color: rgba(0, 0, 0, 0.12);
            color: rgba(31, 41, 55, 0.85);
        }

        [data-theme="light"] .dag-mode-button:hover {
            background: rgba(255, 255, 255, 0.9);
            color: rgba(15, 23, 42, 0.95);
        }

        [data-theme="light"] .dag-mode-button.is-active {
            background: rgba(34, 211, 238, 0.15);
            color: #0e7490;
            box-shadow: inset 0 0 0 1px rgba(14, 116, 144, 0.28);
        }

        [data-theme="light"] .dag-node-icon {
            fill: rgba(0, 0, 0, 0.8);
        }

        [data-theme="light"] .dag-node-label {
            fill: rgba(0, 0, 0, 0.75);
        }

        [data-theme="light"] .dag-tooltip {
            background: rgba(255, 255, 255, 0.95);
            border-color: rgba(0, 0, 0, 0.1);
            color: #1a1a1a;
        }

        [data-theme="light"] .dag-node-icon-fo i {
            color: rgba(0, 0, 0, 0.85);
        }

        [data-theme="light"] .dag-export-code {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.1);
        }

        [data-theme="light"] .dag-export-code code {
            color: rgba(0, 0, 0, 0.82);
        }

        /* === AI MONTHLY FEATURE === */
        .ai-feature-shell {
            overflow: hidden;
        }

        .ai-feature {
            display: grid;
            gap: 14px;
        }

        .ai-feature__meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .ai-feature__pill {
            display: inline-flex;
            align-items: center;
            border-radius: 9999px;
            padding: 6px 12px;
            font-size: 0.72rem;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            border: 1px solid rgba(0, 212, 255, 0.28);
            background: rgba(0, 212, 255, 0.1);
            color: rgba(34, 211, 238, 0.95);
        }

        .ai-feature__pill--ghost {
            border-color: rgba(255, 255, 255, 0.16);
            background: rgba(255, 255, 255, 0.04);
            color: rgba(226, 232, 240, 0.9);
        }

        .ai-feature__title {
            font-size: clamp(1.35rem, 2.4vw, 1.9rem);
            line-height: 1.25;
            font-weight: 700;
            margin: 0;
        }

        .ai-feature__desc,
        .ai-feature__why {
            margin: 0;
            color: rgba(226, 232, 240, 0.92);
            line-height: 1.6;
        }

        .ai-feature__note {
            margin-top: 4px;
            border-top: 1px dashed rgba(255, 255, 255, 0.14);
            padding-top: 10px;
            font-size: 0.82rem;
            color: rgba(148, 163, 184, 0.95);
        }

        .ai-widget {
            display: grid;
            gap: 14px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.03);
            padding: 16px;
        }

        .ai-widget__head {
            display: grid;
            gap: 6px;
        }

        .ai-widget__title {
            margin: 0;
            font-size: 1.06rem;
            font-weight: 700;
        }

        .ai-widget__desc {
            margin: 0;
            color: rgba(148, 163, 184, 0.95);
            line-height: 1.5;
            font-size: 0.92rem;
        }

        .ai-widget__label {
            font-size: 0.8rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            color: rgba(148, 163, 184, 0.98);
        }

        .ai-widget__range {
            width: 100%;
            accent-color: #22d3ee;
        }

        .ai-widget__range-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.82rem;
            color: rgba(148, 163, 184, 0.95);
        }

        .ai-widget__range-value {
            color: rgba(255, 255, 255, 0.94);
            font-weight: 700;
        }

        .ai-widget__stats {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .ai-widget__stat {
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(0, 0, 0, 0.16);
            padding: 12px;
        }

        .ai-widget__stat-label {
            font-size: 0.72rem;
            color: rgba(148, 163, 184, 0.98);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .ai-widget__stat-value {
            margin-top: 6px;
            font-size: 1.18rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.96);
        }

        .ai-widget__question {
            font-size: 0.92rem;
            color: rgba(226, 232, 240, 0.95);
        }

        .ai-widget__options {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .ai-widget__option {
            min-height: 44px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.13);
            background: rgba(255, 255, 255, 0.04);
            color: inherit;
            text-align: left;
            padding: 10px 12px;
            display: grid;
            gap: 3px;
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        .ai-widget__option:hover {
            border-color: rgba(34, 211, 238, 0.35);
        }

        .ai-widget__option.is-active {
            border-color: rgba(34, 211, 238, 0.5);
            background: rgba(0, 212, 255, 0.09);
        }

        .ai-widget__option-label {
            font-weight: 700;
            font-size: 0.9rem;
        }

        .ai-widget__option-hint {
            font-size: 0.79rem;
            color: rgba(148, 163, 184, 0.95);
        }

        .ai-widget__result {
            border-radius: 12px;
            border: 1px solid rgba(34, 211, 238, 0.24);
            background: rgba(0, 212, 255, 0.08);
            padding: 12px;
            min-height: 74px;
        }

        .ai-widget__result-title {
            font-weight: 700;
        }

        .ai-widget__result-body {
            margin-top: 5px;
            color: rgba(226, 232, 240, 0.94);
            line-height: 1.5;
            font-size: 0.9rem;
        }

        .ai-widget__progress-wrap {
            display: grid;
            gap: 8px;
        }

        .ai-widget__progress-bar {
            position: relative;
            height: 10px;
            border-radius: 9999px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.08);
        }

        .ai-widget__progress-bar span {
            display: block;
            height: 100%;
            border-radius: 9999px;
            background: linear-gradient(90deg, rgba(34, 211, 238, 0.75), rgba(59, 130, 246, 0.85));
            transition: width 0.2s ease;
        }

        .ai-widget__progress-meta {
            font-size: 0.84rem;
            color: rgba(148, 163, 184, 0.95);
        }

        .ai-widget__steps {
            display: grid;
            gap: 10px;
        }

        .ai-widget__step {
            display: grid;
            grid-template-columns: 24px minmax(0, 1fr) auto;
            gap: 10px;
            align-items: start;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.03);
            padding: 10px 12px;
        }

        .ai-widget__step input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: #22d3ee;
        }

        .ai-widget__step-copy {
            display: grid;
            gap: 3px;
        }

        .ai-widget__step-name {
            font-weight: 700;
            font-size: 0.9rem;
        }

        .ai-widget__step-detail {
            color: rgba(148, 163, 184, 0.95);
            font-size: 0.83rem;
            line-height: 1.45;
        }

        .ai-widget__step-weeks {
            font-size: 0.8rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            color: rgba(34, 211, 238, 0.94);
            white-space: nowrap;
        }

        @media (max-width: 768px) {
            .ai-widget__stats {
                grid-template-columns: 1fr;
            }

            .ai-widget__options {
                grid-template-columns: 1fr;
            }
        }

        [data-theme="light"] .ai-feature__pill--ghost {
            border-color: rgba(0, 0, 0, 0.12);
            background: rgba(0, 0, 0, 0.03);
            color: rgba(30, 41, 59, 0.85);
        }

        [data-theme="light"] .ai-feature__desc,
        [data-theme="light"] .ai-feature__why,
        [data-theme="light"] .ai-widget__question,
        [data-theme="light"] .ai-widget__result-body {
            color: rgba(15, 23, 42, 0.85);
        }

        [data-theme="light"] .ai-feature__note,
        [data-theme="light"] .ai-widget__desc,
        [data-theme="light"] .ai-widget__label,
        [data-theme="light"] .ai-widget__range-row,
        [data-theme="light"] .ai-widget__progress-meta,
        [data-theme="light"] .ai-widget__step-detail {
            color: rgba(51, 65, 85, 0.9);
        }

        [data-theme="light"] .ai-widget,
        [data-theme="light"] .ai-widget__stat,
        [data-theme="light"] .ai-widget__option,
        [data-theme="light"] .ai-widget__step {
            border-color: rgba(0, 0, 0, 0.1);
            background: rgba(255, 255, 255, 0.72);
        }

        [data-theme="light"] .ai-widget__result {
            border-color: rgba(14, 116, 144, 0.2);
            background: rgba(34, 211, 238, 0.12);
        }

        [data-theme="light"] .ai-widget__stat-value,
        [data-theme="light"] .ai-widget__range-value {
            color: rgba(15, 23, 42, 0.92);
        }

        .ai-live-signals {
            display: grid;
            gap: 16px;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
        }

        .ai-live-signals-shell {
            overflow: hidden;
            background: linear-gradient(160deg, #f7f9fc 0%, #ffffff 100%);
            border: 1px solid rgba(148, 163, 184, 0.24);
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
        }

        .ai-live-signals__head {
            display: grid;
            gap: 6px;
        }

        .ai-live-signals__panel {
            border-radius: 16px;
            border: 1px solid rgba(148, 163, 184, 0.24);
            background: #fff;
            padding: 14px;
            display: grid;
            gap: 10px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .ai-live-signals__panel:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
        }

        .ai-live-signals__section-title {
            font-size: 0.72rem;
            letter-spacing: 0.08em;
            font-weight: 700;
            text-transform: uppercase;
            color: rgba(71, 85, 105, 0.9);
        }

        .ai-live-signals__rates {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .ai-live-signals__rate {
            border-radius: 14px;
            border: 1px solid rgba(226, 232, 240, 1);
            background: #fff;
            padding: 10px 12px;
            display: grid;
            gap: 4px;
            font-size: 0.84rem;
            color: rgba(71, 85, 105, 0.95);
            min-width: 0;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .ai-live-signals__rate:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
        }

        .ai-live-signals__rate strong {
            color: rgba(15, 23, 42, 0.96);
            font-size: 1.35rem;
            line-height: 1.15;
            transition: color 0.22s ease;
        }

        .ai-live-signals__rate-code {
            font-size: 0.76rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .ai-live-signals__trend {
            width: 1rem;
            height: 1rem;
            border-radius: 999px;
            display: inline-grid;
            place-items: center;
            font-size: 0.58rem;
            font-weight: 700;
            transition: background-color 0.22s ease, color 0.22s ease;
        }

        .ai-live-signals__rate--up .ai-live-signals__trend {
            color: rgba(22, 101, 52, 0.95);
            background: rgba(134, 239, 172, 0.35);
        }

        .ai-live-signals__rate--down .ai-live-signals__trend {
            color: rgba(153, 27, 27, 0.95);
            background: rgba(254, 202, 202, 0.38);
        }

        .ai-live-signals__rate--neutral .ai-live-signals__trend {
            color: rgba(71, 85, 105, 0.95);
            background: rgba(226, 232, 240, 0.9);
        }

        .ai-live-signals__weather {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .ai-live-signals__weather-card {
            border-radius: 14px;
            border: 1px solid rgba(226, 232, 240, 1);
            background: #fff;
            padding: 10px 12px;
            display: grid;
            gap: 4px;
            min-width: 0;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .ai-live-signals__weather-card:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
        }

        .ai-live-signals__weather-city {
            font-weight: 700;
            color: rgba(15, 23, 42, 0.92);
        }

        .ai-live-signals__weather-main {
            font-size: 1rem;
            overflow-wrap: anywhere;
            color: rgba(15, 23, 42, 0.95);
        }

        .ai-live-signals__weather-temp {
            font-size: 1.55rem;
            font-weight: 700;
            line-height: 1.15;
            display: inline-block;
            animation: ai-temp-rise 0.5s ease both;
        }

        .ai-live-signals__weather-meta {
            font-size: 0.8rem;
            color: rgba(71, 85, 105, 0.95);
            overflow-wrap: anywhere;
        }

        @keyframes ai-temp-rise {
            from {
                opacity: 0;
                transform: translateY(4px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            .ai-live-signals__rates {
                grid-template-columns: 1fr;
            }

            .ai-live-signals__weather {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        [data-theme="light"] .ai-live-signals__panel {
            background: rgba(255, 255, 255, 0.96);
        }

        [data-theme="dark"] .ai-live-signals-shell {
            background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.96));
            border-color: rgba(51, 65, 85, 0.85);
            box-shadow: 0 16px 34px rgba(2, 6, 23, 0.46);
        }

        [data-theme="dark"] .ai-live-signals__panel,
        [data-theme="dark"] .ai-live-signals__rate,
        [data-theme="dark"] .ai-live-signals__weather-card {
            border-color: rgba(51, 65, 85, 0.8);
            background: rgba(15, 23, 42, 0.82);
        }

        [data-theme="dark"] .ai-live-signals__section-title,
        [data-theme="dark"] .ai-live-signals__rate-code,
        [data-theme="dark"] .ai-live-signals__weather-meta {
            color: rgba(148, 163, 184, 0.92);
        }

        [data-theme="dark"] .ai-live-signals__rate strong,
        [data-theme="dark"] .ai-live-signals__weather-city,
        [data-theme="dark"] .ai-live-signals__weather-main {
            color: rgba(241, 245, 249, 0.95);
        }

        @media (max-width: 540px) {
            .ai-live-signals__weather {
                grid-template-columns: 1fr;
            }
        }

        /* === AUDIENCE PULSE + ENGAGEMENT === */
        .audience-pulse {
            display: grid;
            gap: 14px;
        }

        .audience-pulse__head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
        }

        .audience-pulse__eyebrow {
            font-size: 0.72rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(103, 232, 249, 0.95);
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        }

        .audience-pulse__title {
            margin: 6px 0 0;
            font-size: 1.25rem;
            line-height: 1.3;
            font-weight: 700;
        }

        .audience-pulse__meta {
            font-size: 0.8rem;
            color: rgba(148, 163, 184, 0.95);
        }

        .audience-pulse__chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .audience-chip {
            min-height: 40px;
            border-radius: 9999px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(255, 255, 255, 0.03);
            padding: 8px 14px;
            font-size: 0.82rem;
            color: rgba(226, 232, 240, 0.96);
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        .audience-chip.is-active {
            border-color: rgba(34, 211, 238, 0.45);
            background: rgba(0, 212, 255, 0.1);
            color: rgba(103, 232, 249, 0.98);
        }

        .audience-pulse__stats {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .audience-pulse__stat {
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.03);
            padding: 10px 12px;
        }

        .audience-pulse__stat-label {
            font-size: 0.72rem;
            color: rgba(148, 163, 184, 0.95);
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .audience-pulse__stat-value {
            margin-top: 6px;
            font-size: 1.1rem;
            font-weight: 700;
            color: rgba(241, 245, 249, 0.98);
        }

        .audience-pulse__stat-value.is-up {
            color: rgba(74, 222, 128, 0.95);
        }

        .audience-pulse__stat-value.is-down {
            color: rgba(251, 113, 133, 0.95);
        }

        .audience-pulse__hover {
            font-size: 0.82rem;
            color: rgba(186, 230, 253, 0.92);
            min-height: 1.35rem;
        }

        .audience-pulse__chart-wrap {
            position: relative;
        }

        .audience-pulse__chart {
            min-height: 220px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.1), rgba(15, 23, 42, 0.25) 60%),
                rgba(255, 255, 255, 0.02);
            display: grid;
            grid-template-columns: repeat(12, minmax(0, 1fr));
            gap: 8px;
            align-items: end;
            padding: 14px 10px 10px;
        }

        .audience-pulse__tooltip {
            position: absolute;
            left: 10px;
            top: 10px;
            transform: translate(-50%, -100%);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.15s ease;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(2, 6, 23, 0.88);
            color: rgba(241, 245, 249, 0.98);
            font-size: 0.76rem;
            line-height: 1.2;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            padding: 7px 10px;
            z-index: 4;
            white-space: nowrap;
        }

        .audience-pulse__tooltip.is-visible {
            opacity: 1;
        }

        .audience-bar-wrap {
            display: grid;
            align-items: end;
            justify-items: center;
            gap: 6px;
            min-height: 190px;
        }

        .audience-bar {
            width: 100%;
            height: var(--audience-bar-height);
            min-height: 6px;
            border-radius: 10px 10px 8px 8px;
            background: linear-gradient(180deg, color-mix(in srgb, var(--audience-bar-color), white 12%), color-mix(in srgb, var(--audience-bar-color), black 12%));
            box-shadow: 0 0 16px color-mix(in srgb, var(--audience-bar-color), transparent 55%);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .audience-bar:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 24px color-mix(in srgb, var(--audience-bar-color), transparent 35%);
        }

        .audience-bar-label {
            font-size: 0.66rem;
            color: rgba(148, 163, 184, 0.96);
            writing-mode: vertical-rl;
            transform: rotate(180deg);
            letter-spacing: 0.03em;
        }

        .audience-pulse__foot {
            border-top: 1px dashed rgba(255, 255, 255, 0.12);
            padding-top: 10px;
            font-size: 0.8rem;
            line-height: 1.45;
            color: rgba(148, 163, 184, 0.95);
        }

        .engagement-card {
            display: grid;
            gap: 14px;
        }

        .engagement-card__head {
            display: grid;
            gap: 3px;
        }

        .engagement-card__grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .engagement-metric {
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.03);
            padding: 12px;
        }

        .engagement-metric__label {
            font-size: 0.75rem;
            color: rgba(148, 163, 184, 0.95);
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .engagement-metric__value {
            margin-top: 8px;
            font-size: clamp(1.2rem, 2.8vw, 1.8rem);
            font-weight: 700;
        }

        .engagement-like-btn {
            min-height: 46px;
            border-radius: 14px;
            border: 1px solid rgba(34, 211, 238, 0.36);
            background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.16));
            color: rgba(240, 249, 255, 0.98);
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: transform 0.15s ease, filter 0.2s ease;
        }

        .engagement-like-btn:hover {
            transform: translateY(-1px) scale(1.01);
            filter: brightness(1.06);
        }

        .engagement-like-btn:disabled {
            opacity: 0.75;
        }

        .engagement-like-btn__icon {
            display: inline-grid;
            place-items: center;
            width: 20px;
            height: 20px;
            border-radius: 9999px;
            background: rgba(255, 255, 255, 0.18);
            font-size: 0.86rem;
            transition: transform 0.2s ease;
        }

        .engagement-like-btn.is-burst .engagement-like-btn__icon {
            transform: scale(1.4) rotate(8deg);
        }

        .engagement-card__status {
            font-size: 0.8rem;
            line-height: 1.45;
            color: rgba(148, 163, 184, 0.96);
        }

        @media (max-width: 980px) {
            .audience-pulse__stats {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 720px) {
            .audience-pulse__chart {
                gap: 6px;
            }

            .audience-bar-wrap {
                min-height: 150px;
            }

            .audience-bar-label {
                writing-mode: horizontal-tb;
                transform: none;
                font-size: 0.64rem;
            }

            .engagement-card__grid {
                grid-template-columns: 1fr;
            }
        }

        [data-theme="light"] .audience-pulse__meta,
        [data-theme="light"] .audience-pulse__stat-label,
        [data-theme="light"] .audience-pulse__hover,
        [data-theme="light"] .audience-pulse__foot,
        [data-theme="light"] .engagement-metric__label,
        [data-theme="light"] .engagement-card__status,
        [data-theme="light"] .audience-bar-label {
            color: rgba(51, 65, 85, 0.88);
        }

        [data-theme="light"] .audience-chip,
        [data-theme="light"] .audience-pulse__stat,
        [data-theme="light"] .engagement-metric {
            border-color: rgba(0, 0, 0, 0.12);
            background: rgba(255, 255, 255, 0.72);
        }

        [data-theme="light"] .audience-pulse__chart {
            border-color: rgba(0, 0, 0, 0.12);
            background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.13), rgba(255, 255, 255, 0.75) 62%);
        }

        [data-theme="light"] .audience-pulse__tooltip {
            background: rgba(255, 255, 255, 0.95);
            color: rgba(15, 23, 42, 0.9);
            border-color: rgba(0, 0, 0, 0.12);
        }

        [data-theme="light"] .audience-pulse__stat-value,
        [data-theme="light"] .engagement-metric__value {
            color: rgba(15, 23, 42, 0.92);
        }

        [data-theme="light"] .audience-chip.is-active {
            background: rgba(34, 211, 238, 0.16);
        }

        [data-theme="light"] .engagement-like-btn {
            color: rgba(15, 23, 42, 0.9);
            border-color: rgba(14, 116, 144, 0.32);
        }

        /* === DEVELOPER LAB CUSTOM SCROLLBAR === */
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        .custom-scrollbar::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.02);
            border-radius: 4px;
        }

        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        [data-theme="light"] .custom-scrollbar::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
        }

        [data-theme="light"] .custom-scrollbar::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.15);
        }

        [data-theme="light"] .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.25);
        }