       @import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Inter:wght@400;500;700&display=swap');

        body {
            background-color: #000000;
            /* Grid Background as seen in the image */
            
            background-size: 30px 30px;
            color: #fff;
            font-family: 'Inter', sans-serif;
            overflow: hidden;
            margin: 0;
            height: 100vh;
            width: 100vw;
            user-select: none;
        }

        h1, h2, h3, .orbitron {
            font-family: 'Space Mono', monospace;
        }

        #canvas-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: crosshair;
            z-index: 1;
        }

        .is-hidden { display: none !important; }

        .welcome-popup {
            position: fixed;
            inset: 0;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem;
            background: rgba(0, 4, 8, 0.72);
            backdrop-filter: blur(5px);
        }
        .welcome-card {
            width: min(900px, calc(100vw - 2rem));
            max-height: calc(100vh - 2rem);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            padding: 2rem;
            color: #d9ffff;
            text-align: center;
            background: rgba(1, 10, 16, 0.96);
            border: 1px solid #00ffff;
            border-top: 3px solid #00ffff;
            border-radius: 4px;
            box-shadow: 0 0 35px rgba(0, 255, 255, 0.22);
        }
        .welcome-kicker {
            color: rgba(0, 255, 255, 0.58);
            font-family: 'Orbitron', sans-serif;
            font-size: 0.58rem;
            letter-spacing: 0.18em;
        }
        .welcome-card h2 {
            margin: 0.7rem 0 1rem;
            color: #00ffff;
            font-size: 1.1rem;
            letter-spacing: 0.1em;
        }
        .welcome-card p {
            color: rgba(217, 255, 255, 0.76);
            font-family: 'Rajdhani', sans-serif;
            font-size: 1rem;
            line-height: 1.55;
            margin: 0 0 1.2rem;
            text-align: left;
            white-space: pre-line;
        }
        .welcome-scroll {
            min-height: 0;
            flex: 1 1 auto;
            overflow-y: auto;
            padding-right: 0.65rem;
            scrollbar-color: rgba(0, 255, 255, 0.48) rgba(0, 255, 255, 0.06);
            scrollbar-width: thin;
        }
        .welcome-scroll::-webkit-scrollbar { width: 8px; }
        .welcome-scroll::-webkit-scrollbar-track { background: rgba(0, 255, 255, 0.06); }
        .welcome-scroll::-webkit-scrollbar-thumb { background: rgba(0, 255, 255, 0.48); border-radius: 4px; }
        .welcome-actions {
            flex: 0 0 auto;
            padding-top: 1rem;
            border-top: 1px solid rgba(0, 255, 255, 0.2);
            background: rgba(1, 10, 16, 0.98);
        }
        .contract-address {
            width: 100%;
            padding: 0.75rem;
            overflow-wrap: anywhere;
            color: #aaffff;
            background: rgba(0, 255, 255, 0.06);
            border: 1px dashed rgba(0, 255, 255, 0.65);
            font-family: 'Courier New', monospace;
            font-size: 0.72rem;
            cursor: copy;
        }
        .contract-address:hover {
            background: rgba(0, 255, 255, 0.15);
        }
        .copy-feedback {
            min-height: 1rem;
            margin-top: 0.5rem;
            color: rgba(0, 255, 255, 0.55);
            font-family: 'Orbitron', sans-serif;
            font-size: 0.52rem;
            letter-spacing: 0.08em;
        }
        .welcome-button {
            margin: 1rem auto 0;
            justify-content: center;
            min-width: 150px;
        }
        .payment-confirmation-popup {
            position: fixed;
            inset: 0;
            z-index: 115;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem;
            background: rgba(0, 4, 8, 0.8);
            backdrop-filter: blur(8px);
        }
        .payment-confirmation-card {
            width: min(520px, 100%);
            padding: 1.7rem;
            color: #d9ffff;
            /* background: linear-gradient(145deg, rgba(8, 31, 42, 0.98), rgba(1, 9, 16, 0.98)); */
            border: 1px solid rgba(0, 255, 255, 0.65);
            /* border-top: 3px solid #00ffff; */
            /* border-radius: 8px; */
            /* box-shadow: 0 0 42px rgba(0, 255, 255, 0.2); */
        }
        .payment-confirmation-kicker, .payment-confirmation-identity {
            color: rgba(0, 255, 255, 0.68);
            font-family: 'Space Mono', monospace;
            font-size: 0.58rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }
        .payment-confirmation-card h2 {
            margin: 0.75rem 0 1.25rem;
            color: #00ffff;
            font-family: 'Space Mono', monospace;
            font-size: clamp(1rem, 3vw, 1.35rem);
            line-height: 1.35;
        }
        .payment-confirmation-details {
            display: grid;
            gap: 0.55rem;
            margin-bottom: 1.25rem;
            padding: 0.8rem;
            background: rgba(0, 255, 255, 0.045);
            border: 1px solid rgba(0, 255, 255, 0.18);
        }
        .payment-confirmation-details > div {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            font-family: 'Space Mono', monospace;
            font-size: 0.66rem;
        }
        .payment-confirmation-details span { color: rgba(217, 255, 255, 0.55); }
        .payment-confirmation-details strong { color: #aaffff; text-align: right; overflow-wrap: anywhere; }
        .payment-confirmation-card p {
            margin: 0.55rem 0 1.25rem;
            color: rgba(217, 255, 255, 0.72);
            font-family: 'Inter', sans-serif;
            font-size: 0.86rem;
            line-height: 1.45;
        }
        .payment-confirmation-x-button {
            width: 100%;
            padding: 0.8rem 1rem;
            color: #ffffff;
            background: #050505;
            border: 1px solid #00ffff;
            border-radius: 999px;
            font-family: 'Space Mono', monospace;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            cursor: pointer;
        }
        .payment-confirmation-x-button:hover { background: #dbcd09; border-color: #9dffca; }
        .payment-confirmation-note {
            margin-top: 0.75rem;
            color: rgba(217, 255, 255, 0.48);
            font-family: 'Space Mono', monospace;
            font-size: 0.58rem;
            line-height: 1.4;
            text-align: center;
        }
        .payment-confirmation-error {
            min-height: 1rem;
            margin-top: 0.7rem;
            color: #ff8d8d;
            font-family: 'Space Mono', monospace;
            font-size: 0.6rem;
            text-align: center;
        }
        .site-x-link {
            position: fixed;
            right: 1.5rem;
            bottom: 1.5rem;
            z-index: 30;
            display: grid;
            place-items: center;
            width: 42px;
            height: 42px;
            color: #00ffff;
            background: rgba(1, 10, 16, 0.84);
            border: 1px solid rgba(0, 255, 255, 0.7);
            border-radius: 50%;
            box-shadow: 0 0 12px rgba(0, 255, 255, 0.24);
            transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
        }
        .site-x-link svg {
            width: 19px;
            height: 19px;
            fill: currentColor;
        }
        .site-x-link:hover {
            color: #001014;
            background: #00ffff;
            box-shadow: 0 0 18px rgba(0, 255, 255, 0.65);
            transform: scale(1.08);
        }
        .sound-toggle {
            position: fixed;
            top: 1.25rem;
            right: 1.5rem;
            z-index: 9;
            padding: 0.45rem 0.7rem;
            color: #d9ffff;
            background: rgba(1, 10, 16, 0.78);
            border: 1px solid rgba(0, 255, 255, 0.7);
            border-radius: 3px;
            box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
            font-family: 'Space Mono', monospace;
            font-size: 0.58rem;
            letter-spacing: 0.08em;
            cursor: pointer;
            transition: color 0.2s, background 0.2s, box-shadow 0.2s;
        }
        .sound-toggle:hover,
        .sound-toggle[aria-pressed="true"] {
            color: #001014;
            background: #00ffff;
            box-shadow: 0 0 18px rgba(0, 255, 255, 0.55);
        }

        /* UI Overlays */
        .ui-panel {
            position: absolute;
            z-index: 10;
            background: rgba(1, 4, 9, 0.7);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(0, 255, 255, 0.3);
            border-radius: 4px;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.05);
            padding: 1rem;
        }

        .top-left { top: 2rem; left: 2rem; border-top-width: 3px; border-top-color: #0ff; }
        .mindshare-stats {
            position: absolute;
            z-index: 10;
            top: 1.5rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 1.25rem;
            padding: 0.55rem 0.9rem;
            background: rgba(1, 4, 9, 0.72);
            border: 1px solid rgba(0, 255, 255, 0.3);
            border-radius: 3px;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.06);
            backdrop-filter: blur(4px);
            white-space: nowrap;
        }
        .mindshare-stat {
            display: flex;
            align-items: center;
            gap: 0.45rem;
        }
        .mindshare-label {
            color: #ffff;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.52rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        .mindshare-value {
            color: #aaffff;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.8rem;
            font-weight: 700;
            text-shadow: 0 0 8px rgba(0, 255, 255, 0.55);
        }
.top-actions {
            position: absolute;
            z-index: 12;
            top: 5.2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.25rem;
        }
        .leaderboard-trigger {
            position: static;
            transform: none;
            padding: 0.42rem 0.85rem;
            color: #00ffff;
            background: rgba(1, 4, 9, 0.78);
            border: 1px solid rgba(0, 255, 255, 0.5);
            box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
            font-family: 'Orbitron', sans-serif;
            font-size: 0.58rem;
            letter-spacing: 0.12em;
            cursor: pointer;
        }
        .leaderboard-trigger:hover { color: #001014; background: #00ffff; box-shadow: 0 0 18px rgba(0, 255, 255, 0.4); }
        .docs-link {
            position: static;
            padding: 0.42rem 0.85rem;
            color: #00ffff;
            background: rgba(1, 4, 9, 0.78);
            border: 1px solid rgba(0, 255, 255, 0.5);
            box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
            font-family: 'Orbitron', sans-serif;
            font-size: 0.58rem;
            letter-spacing: 0.12em;
            text-decoration: none;
            cursor: pointer;
        }
        .docs-link:hover { color: #001014; background: #00ffff; box-shadow: 0 0 18px rgba(0, 255, 255, 0.4); }
        .leaderboard-popup {
            position: fixed;
            inset: 0;
            z-index: 95;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem;
            background: rgba(0, 4, 8, 0.76);
            backdrop-filter: blur(5px);
        }
        .leaderboard-card {
            width: min(760px, 100%);
            max-height: min(720px, 90vh);
            overflow: auto;
            padding: 1.35rem;
            color: #d9ffff;
            background: rgba(1, 10, 16, 0.97);
            border: 1px solid rgba(0, 255, 255, 0.45);
            border-top: 2px solid #00ffff;
            box-shadow: 0 0 28px rgba(0, 255, 255, 0.12);
        }
        .leaderboard-kicker, .leaderboard-meta { color: rgba(0, 255, 255, 0.58); font-family: 'Orbitron', sans-serif; font-size: 0.55rem; letter-spacing: 0.14em; }
        .leaderboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
        .leaderboard-heading h2 { margin: 0.65rem 0 0.45rem; color: #00ffff; font-family: 'Space Mono', monospace; font-size: 1.08rem; letter-spacing: 0.08em; }
        .leaderboard-close { color: #00ffff; background: transparent; border: 1px solid rgba(0, 255, 255, 0.45); font-size: 1.25rem; line-height: 1; cursor: pointer; }
        .leaderboard-close:hover { color: #001014; background: #00ffff; }
        .leaderboard-subtitle { margin: 0 0 1rem; color: rgba(217, 255, 255, 0.68); font-family: 'Rajdhani', sans-serif; font-size: 0.86rem; }
        .public-leaderboard-list { display: grid; gap: 7px; }
        .public-leaderboard-row { display: grid; grid-template-columns: 32px 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px; background: rgba(0, 255, 255, 0.025); border-bottom: 1px solid rgba(0, 255, 255, 0.14); }
        .public-leaderboard-row:first-child { border-color: rgba(0, 255, 255, 0.45); background: rgba(0, 255, 255, 0.045); }
        .leaderboard-rank { color: #00ffff; font-family: 'Orbitron', sans-serif; font-size: 0.72rem; font-weight: 700; }
        .leaderboard-avatar { width: 42px; height: 42px; object-fit: cover; border: 1px solid rgba(0, 255, 255, 0.45); background: rgba(0, 255, 255, 0.06); }
        .leaderboard-slot { color: #aaffff; font-family: 'Orbitron', sans-serif; font-size: 0.7rem; }
        .leaderboard-owner { margin-top: 3px; color: rgba(217, 255, 255, 0.58); font-family: 'Courier New', monospace; font-size: 0.65rem; }
        .leaderboard-profit { color: #9dffca; font-family: 'Orbitron', sans-serif; font-size: 0.7rem; text-align: right; white-space: nowrap; }
        .leaderboard-size, .leaderboard-style, .leaderboard-earned { margin-top: 3px; color: rgba(0, 255, 255, 0.58); font-family: 'Courier New', monospace; font-size: 0.6rem; }
        .leaderboard-empty { padding: 1rem; color: rgba(0, 255, 255, 0.58); font-family: 'Orbitron', sans-serif; font-size: 0.65rem; }
        .leaderboard-meta { margin-top: 1rem; font-size: 0.5rem; }
        .jobs-popup {
            position: fixed;
            inset: 0;
            z-index: 96;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem;
            background: rgba(0, 4, 8, 0.78);
            backdrop-filter: blur(6px);
        }
        .jobs-card {
            display: flex;
            flex-direction: column;
            width: min(860px, 100%);
            max-height: min(820px, 92vh);
            overflow: hidden;
            color: #d9ffff;
            background: rgba(1, 10, 16, 0.98);
            border: 1px solid rgba(0, 255, 255, 0.55);
            border-top: 2px solid #00ffff;
            box-shadow: 0 0 42px rgba(0, 255, 255, 0.16);
        }
        .jobs-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
            padding: 1rem 1.25rem;
            background: rgba(0, 255, 255, 0.045);
            border-bottom: 1px solid rgba(0, 255, 255, 0.22);
        }
        .jobs-kicker, .jobs-section-label, .jobs-detail-label {
            color: rgba(0, 255, 255, 0.58);
            font-family: 'Orbitron', sans-serif;
            font-size: 0.55rem;
            letter-spacing: 0.14em;
        }
        .jobs-header h2 {
            margin: 0.35rem 0 0;
            color: #aaffff;
            font-family: 'Space Mono', monospace;
            font-size: 1.05rem;
            letter-spacing: 0.08em;
        }
        .jobs-close {
            flex: 0 0 auto;
            color: #00ffff;
            background: transparent;
            border: 1px solid rgba(0, 255, 255, 0.45);
            font-size: 1.25rem;
            line-height: 1;
            cursor: pointer;
        }
        .jobs-close:hover, .jobs-back:hover { color: #001014; background: #00ffff; }
        .jobs-view {
            min-height: 0;
            overflow-y: auto;
            padding: 1.25rem;
            scrollbar-color: rgba(0, 255, 255, 0.55) rgba(0, 255, 255, 0.08);
            scrollbar-width: thin;
        }
        .jobs-intro {
            margin: 0 0 1.1rem;
            color: rgba(217, 255, 255, 0.72);
            font-family: 'Rajdhani', sans-serif;
            font-size: 0.92rem;
            line-height: 1.45;
        }
        .jobs-proof-block {
            margin-bottom: 1.2rem;
            padding: 0.85rem 1rem;
            background: rgba(0, 255, 255, 0.035);
            border: 1px solid rgba(0, 255, 255, 0.18);
        }
        .jobs-proof-list {
            display: grid;
            gap: 0.3rem;
            margin: 0.65rem 0 0;
            padding-left: 1.1rem;
            color: rgba(217, 255, 255, 0.72);
            font-family: 'Courier New', monospace;
            font-size: 0.7rem;
            line-height: 1.4;
        }
        .jobs-list { display: grid; gap: 0.55rem; }
        .jobs-entry {
            display: grid;
            grid-template-columns: 42px minmax(0, 1fr) auto;
            gap: 0.8rem;
            align-items: center;
            width: 100%;
            padding: 0.75rem 0.85rem;
            color: #d9ffff;
            text-align: left;
            background: rgba(0, 255, 255, 0.025);
            border: 1px solid rgba(0, 255, 255, 0.16);
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s, transform 0.2s;
        }
        .jobs-entry:hover { background: rgba(0, 255, 255, 0.1); border-color: rgba(0, 255, 255, 0.62); transform: translateX(3px); }
        .jobs-entry-number { color: #00ffff; font: 700 0.72rem 'Orbitron', sans-serif; }
        .jobs-entry-title { color: #aaffff; font: 700 0.76rem 'Space Mono', monospace; }
        .jobs-entry-hint { margin-top: 0.25rem; color: rgba(217, 255, 255, 0.52); font: 0.65rem 'Courier New', monospace; }
        .jobs-entry-reward { color: #9dffca; font: 700 0.78rem 'Orbitron', sans-serif; white-space: nowrap; }
        .jobs-empty { padding: 1rem; color: rgba(0, 255, 255, 0.58); font: 0.65rem 'Orbitron', sans-serif; }
        .jobs-back {
            margin-bottom: 1rem;
            padding: 0.45rem 0.7rem;
            color: #00ffff;
            background: transparent;
            border: 1px solid rgba(0, 255, 255, 0.45);
            font: 0.6rem 'Orbitron', sans-serif;
            letter-spacing: 0.08em;
            cursor: pointer;
        }
        .jobs-detail {
            padding: 1.25rem;
            background: rgba(0, 255, 255, 0.035);
            border: 1px solid rgba(0, 255, 255, 0.2);
        }
        .jobs-detail-number { color: rgba(0, 255, 255, 0.58); font: 0.58rem 'Orbitron', sans-serif; letter-spacing: 0.14em; }
        .jobs-detail h3 { margin: 0.5rem 0; color: #00ffff; font: 1.25rem 'Space Mono', monospace; }
        .jobs-detail-reward { margin-bottom: 1.5rem; color: #9dffca; font: 700 1rem 'Orbitron', sans-serif; }
        .jobs-detail-description, .jobs-detail-proof { color: rgba(217, 255, 255, 0.78); font: 0.95rem/1.55 'Rajdhani', sans-serif; white-space: pre-line; }
        .jobs-detail-label { margin-top: 1rem; }
        .jobs-detail-proof { margin-bottom: 0; }
        .dashboard-popup {
            position: fixed;
            inset: 0;
            z-index: 125;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            background: rgba(0, 4, 8, 0.82);
            backdrop-filter: blur(10px);
        }
        .dashboard-card {
            display: flex;
            flex-direction: column;
            width: min(1280px, 96vw);
            height: min(900px, 95vh);
            overflow: hidden;
            background: rgba(1, 10, 16, 0.98);
            border: 1px solid rgba(0, 255, 255, 0.62);
            border-top: 2px solid #00ffff;
            box-shadow: 0 0 45px rgba(0, 255, 255, 0.2);
        }
        .dashboard-popup-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 0.75rem 1rem;
            background: rgba(0, 255, 255, 0.045);
            border-bottom: 1px solid rgba(0, 255, 255, 0.24);
        }
        .dashboard-popup-kicker { color: rgba(0, 255, 255, 0.58); font: 0.55rem 'Orbitron', sans-serif; letter-spacing: 0.14em; }
        .dashboard-popup-header h2 { margin: 0.25rem 0 0; color: #aaffff; font: 0.95rem 'Space Mono', monospace; letter-spacing: 0.08em; }
        .dashboard-close { color: #00ffff; background: transparent; border: 1px solid rgba(0, 255, 255, 0.45); font-size: 1.25rem; line-height: 1; cursor: pointer; }
        .dashboard-close:hover { color: #001014; background: #00ffff; }
        #dashboard-frame { flex: 1; width: 100%; min-height: 0; border: 0; background: #010409; }
        .messages-panel {
            top: 9rem;
            left: 2rem;
            bottom: 2rem;
            width: 300px;
            display: flex;
            flex-direction: column;
        }
        .video-panel {
            bottom: 2rem;
            left: 2rem;
            width: 300px;
            max-width: 90%;
            border-top-width: 2px;
            border-top-color: #0ff;
            height: 250px;
        }
        .video-panel video {
            border-radius: 2px;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .messages-list {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            overflow-x: hidden;
            padding-right: 0.5rem;
        }
        .message-item {
            min-width: 0;
            border-bottom: 1px solid rgba(0, 255, 255, 0.16);
            padding: 0.65rem 0;
        }
        .message-item:first-child { padding-top: 0; }
        .message-meta {
            display: flex;
            justify-content: space-between;
            gap: 0.5rem;
            margin-bottom: 0.3rem;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.58rem;
        }
        .message-id { color: #00ffff; }
        .message-age { color: rgba(0, 255, 255, 0.55); white-space: nowrap; }
        .message-text {
            max-width: 100%;
            color: #ffffff;
            font-family: 'Rajdhani', sans-serif;
            font-size: 0.78rem;
            line-height: 1.25;
            margin: 0;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        .message-purchase-item {
            border-bottom-color: rgba(157, 255, 202, 0.28);
        }
        .message-purchase-card {
            padding: 0.65rem 0.7rem;
            border: 1px solid rgba(157, 255, 202, 0.34);
            border-left: 2px solid #9dffca;
            border-radius: 6px;
            background: linear-gradient(135deg, rgba(13, 54, 48, 0.72), rgba(0, 26, 34, 0.72));
            box-shadow: inset 0 0 18px rgba(0, 255, 255, 0.04);
        }
        .message-purchase-title {
            color: #9dffca;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.58rem;
            letter-spacing: 0.12em;
        }
        .message-purchase-sector {
            margin: 0.18rem 0 0.55rem;
            color: #ffffff;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.78rem;
            letter-spacing: 0.06em;
        }
        .message-purchase-details {
            display: grid;
            grid-template-columns: max-content minmax(0, 1fr);
            gap: 0.25rem 0.75rem;
            color: rgba(217, 255, 255, 0.78);
            font-family: 'Space Mono', monospace;
            font-size: 0.56rem;
            line-height: 1.35;
        }
        .message-purchase-label {
            color: rgba(0, 255, 255, 0.6);
        }
        .message-purchase-value {
            min-width: 0;
            overflow-wrap: anywhere;
            color: #e8ffff;
            text-align: right;
        }
        .message-text.message-ascii {
            display: block;
            max-width: 100%;
            max-height: 220px;
            overflow: auto;
            padding: 0.35rem 0;
            color: #a8f7ff;
            font-family: 'Courier New', monospace;
            font-size: 0.66rem;
            line-height: 1.15;
            white-space: pre;
            overflow-wrap: normal;
            word-break: normal;
            scrollbar-color: rgba(0, 255, 255, 0.65) rgba(0, 255, 255, 0.08);
            scrollbar-width: thin;
        }
        .message-text.message-ascii::-webkit-scrollbar { width: 6px; height: 6px; }
        .message-text.message-ascii::-webkit-scrollbar-track { background: rgba(0, 255, 255, 0.08); }
        .message-text.message-ascii::-webkit-scrollbar-thumb { background: rgba(0, 255, 255, 0.65); border-radius: 8px; }
        .message-empty {
            color: rgba(0, 255, 255, 0.55);
            font-family: 'Orbitron', sans-serif;
            font-size: 0.62rem;
            letter-spacing: 0.1em;
        }

        .global-chat-launcher {
            position: fixed;
            z-index: 50;
            left: 50%;
            bottom: 1.25rem;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 0.65rem;
            width: min(560px, calc(100vw - 2rem));
            padding: 0.45rem 0.55rem 0.45rem 0.75rem;
            color: #d9ffff;
            background: rgba(1, 10, 16, 0.78);
            border: 1px solid rgba(0, 255, 255, 0.55);
            border-radius: 999px;
            box-shadow: 0 0 22px rgba(0, 255, 255, 0.16), inset 0 0 18px rgba(0, 255, 255, 0.035);
            backdrop-filter: blur(14px);
            user-select: text;
        }
        /* Legacy one-question launcher is intentionally hidden. The community
           chat keeps the same popup functionality behind its own button. */
        .global-chat-launcher { display: none !important; }
        .community-chat-launcher {
            position: fixed;
            z-index: 50;
            left: 50%;
            bottom: 1.25rem;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 0.65rem;
            width: min(560px, calc(100vw - 2rem));
            padding: 0.7rem 1rem;
            color: #d9ffff;
            background: rgba(1, 10, 16, 0.84);
            border: 1px solid rgba(0, 255, 255, 0.55);
            border-radius: 999px;
            box-shadow: 0 0 22px rgba(0, 255, 255, 0.16), inset 0 0 18px rgba(0, 255, 255, 0.035);
            backdrop-filter: blur(14px);
            user-select: text;
        }
        #community-chat-preview-input {
            min-width: 0;
            flex: 1;
            color: #d9ffff;
            background: transparent;
            border: 0;
            outline: 0;
            font-family: 'Space Mono', monospace;
            font-size: 0.68rem;
            user-select: text;
        }
        #community-chat-preview-input::placeholder { color: rgba(217, 255, 255, 0.48); }
        #community-chat-open {
            flex: 0 0 auto;
            padding: 0.62rem 0.85rem;
            color: #001014;
            background: #00ffff;
            border: 1px solid #00ffff;
            border-radius: 999px;
            font-family: 'Space Mono', monospace;
            font-size: 0.62rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            cursor: pointer;
        }
        .community-chat-launcher:hover { border-color: #9dffca; }
        #community-chat-open:hover { color: #001014; background: #9dffca; border-color: #9dffca; }
        .global-chat-pulse {
            flex: 0 0 auto;
            width: 8px;
            height: 8px;
            background: #9dffca;
            border-radius: 50%;
            box-shadow: 0 0 10px #9dffca;
            animation: chatPulse 1.8s ease-in-out infinite;
        }
        @keyframes chatPulse {
            0%, 100% { opacity: 0.45; transform: scale(0.85); }
            50% { opacity: 1; transform: scale(1.15); }
        }
        #global-chat-preview-input {
            min-width: 0;
            flex: 1;
            color: #d9ffff;
            background: transparent;
            border: 0;
            outline: 0;
            font-family: 'Space Mono', monospace;
            font-size: 0.68rem;
            user-select: text;
        }
        #global-chat-preview-input::placeholder { color: rgba(217, 255, 255, 0.48); }
        #global-chat-open, .global-chat-form button {
            flex: 0 0 auto;
            padding: 0.62rem 0.85rem;
            color: #001014;
            background: #00ffff;
            border: 1px solid #00ffff;
            border-radius: 999px;
            font-family: 'Space Mono', monospace;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            cursor: pointer;
        }
        #global-chat-open:hover, .global-chat-form button:hover { background: #9dffca; border-color: #9dffca; }
        .global-chat-form button:disabled {
            color: rgba(217, 255, 255, 0.45);
            background: rgba(0, 255, 255, 0.08);
            border-color: rgba(0, 255, 255, 0.22);
            cursor: not-allowed;
        }
        .global-chat-overlay {
            position: fixed;
            z-index: 120;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem;
            background: rgba(0, 3, 8, 0.72);
            backdrop-filter: blur(1px);
        }
        .global-chat-window {
            display: flex;
            flex-direction: column;
            width: min(900px, 100%);
            height: min(760px, calc(100vh - 2.5rem));
            min-height: 0;
            padding: 1.15rem;
            color: #d9ffff;
            /* background: linear-gradient(145deg, rgba(11, 35, 45, 0.82), rgba(1, 9, 16, 0.78)); */
            border: 1px solid rgba(0, 255, 255, 0.55);
            /* border-top: 2px solid #00ffff; */
            /* border-radius: 12px; */
            /* box-shadow: 0 0 55px rgba(0, 255, 255, 0.18), inset 0 0 35px rgba(0, 255, 255, 0.04); */
            backdrop-filter: blur(24px) saturate(125%);
        }
        .global-chat-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
            padding-bottom: 0.85rem;
            border-bottom: 1px solid rgba(0, 255, 255, 0.22);
        }
        .global-chat-kicker, .global-chat-status {
            color: rgba(0, 255, 255, 0.64);
            font-family: 'Space Mono', monospace;
            font-size: 0.56rem;
            letter-spacing: 0.12em;
        }
        .global-chat-header h2 {
            margin: 0.45rem 0 0.3rem;
            color: #00ffff;
            font-family: 'Space Mono', monospace;
            font-size: clamp(0.9rem, 2vw, 1.2rem);
            letter-spacing: 0.08em;
        }
        .global-chat-header p {
            margin: 0;
            color: rgba(217, 255, 255, 0.58);
            font-family: 'Space Mono', monospace;
            font-size: 0.58rem;
        }
        .global-chat-close {
            width: 34px;
            height: 34px;
            color: #00ffff;
            background: rgba(0, 255, 255, 0.05);
            border: 1px solid rgba(0, 255, 255, 0.4);
            border-radius: 50%;
            font-size: 1.3rem;
            line-height: 1;
            cursor: pointer;
        }
        .global-chat-close:hover { color: #001014; background: #00ffff; }
        .global-chat-feed {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 1rem 0.4rem 1rem 0;
            user-select: text;
        }
        .global-chat-empty {
            padding: 2rem 0;
            color: rgba(217, 255, 255, 0.52);
            font-family: 'Space Mono', monospace;
            font-size: 0.65rem;
            text-align: center;
            letter-spacing: 0.08em;
        }
        .global-chat-message {
            max-width: min(78%, 680px);
            margin: 0 0 0.9rem;
            padding: 0.75rem 0.85rem;
            background: rgba(0, 20, 28, 0.62);
            border: 1px solid rgba(0, 255, 255, 0.17);
            border-radius: 8px;
        }
        .global-chat-message.is-user { margin-left: auto; border-color: rgba(157, 255, 202, 0.34); background: rgba(16, 43, 39, 0.56); }
        .global-chat-message.is-assistant { margin-right: auto; border-left: 2px solid #00ffff; }
        .global-chat-message-meta {
            display: flex;
            justify-content: space-between;
            gap: 0.8rem;
            margin-bottom: 0.35rem;
            color: #00ffff;
            font-family: 'Space Mono', monospace;
            font-size: 0.55rem;
        }
        .global-chat-message.is-user .global-chat-message-meta { color: #9dffca; }
        .global-chat-message-time { color: rgba(217, 255, 255, 0.44); white-space: nowrap; }
        .global-chat-message-text {
            margin: 0;
            color: #f1ffff;
            font-family: 'Inter', sans-serif;
            font-size: 0.86rem;
            line-height: 1.5;
            overflow-wrap: anywhere;
            word-break: break-word;
            white-space: pre-wrap;
            user-select: text;
        }
        .global-chat-message-text.is-ascii {
            color: #a8f7ff;
            font-family: 'Courier New', monospace;
            font-size: 0.75rem;
            line-height: 1.25;
        }
        .global-chat-typing {
            display: flex;
            align-items: center;
            gap: 0.28rem;
            width: fit-content;
            margin: 0 0 0.9rem;
            padding: 0.62rem 0.75rem;
            color: rgba(217, 255, 255, 0.7);
            background: rgba(0, 20, 28, 0.62);
            border: 1px solid rgba(0, 255, 255, 0.2);
            border-left: 2px solid #00ffff;
            border-radius: 8px;
            font-family: 'Space Mono', monospace;
            font-size: 0.55rem;
            letter-spacing: 0.06em;
        }
        .global-chat-typing i {
            width: 4px;
            height: 4px;
            background: #00ffff;
            border-radius: 50%;
            animation: chatTyping 1.1s ease-in-out infinite;
        }
        .global-chat-typing i:nth-of-type(2) { animation-delay: 0.16s; }
        .global-chat-typing i:nth-of-type(3) { animation-delay: 0.32s; }
        @keyframes chatTyping {
            0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
            30% { opacity: 1; transform: translateY(-3px); }
        }
        .global-chat-form {
            display: flex;
            align-items: flex-end;
            gap: 0.65rem;
            padding-top: 0.85rem;
            border-top: 1px solid rgba(0, 255, 255, 0.22);
        }
        #global-chat-input {
            min-height: 42px;
            max-height: 150px;
            flex: 1;
            resize: vertical;
            padding: 0.75rem;
            color: #d9ffff;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(0, 255, 255, 0.35);
            border-radius: 5px;
            outline: none;
            font-family: 'Inter', sans-serif;
            font-size: 0.86rem;
            line-height: 1.35;
            user-select: text;
        }
        #global-chat-input:focus { border-color: #00ffff; box-shadow: 0 0 16px rgba(0, 255, 255, 0.12); }
        #global-chat-input:disabled {
            color: rgba(217, 255, 255, 0.48);
            border-color: rgba(255, 141, 141, 0.42);
            cursor: not-allowed;
        }
        .global-chat-status { min-height: 0.8rem; padding-top: 0.55rem; }
        .global-chat-status.is-error { color: #ff8d8d; }
        .sector-info-panel {
            top: 2rem;
            right: 2rem;
            bottom: 2rem;
            left: auto;
            width: 320px;
            display: flex;
            flex-direction: column;
        }
        .sector-info-panel.is-empty { opacity: 0.78; }
        .sector-info-panel.is-hidden { display: none; }
        .sector-metrics { font-family: 'Courier New', monospace; }
        .metric-group { animation: metric-fade-in 0.2s ease-out; }
        @keyframes metric-fade-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
        .research-block.is-hidden { display: none; }
        .research-description {
            color: rgba(168, 247, 255, 0.78);
            font-family: 'Rajdhani', sans-serif;
            font-size: 0.78rem;
            line-height: 1.25;
            margin: 0 0 0.65rem;
        }
        .ascii-progress {
            color: #8fffff;
            font-family: 'Courier New', monospace;
            font-size: 0.62rem;
            line-height: 1.6;
            margin: 0;
            overflow: hidden;
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.4);
        }
        .research-status {
            color: rgba(0, 255, 255, 0.58);
            font-family: 'Orbitron', sans-serif;
            font-size: 0.53rem;
            letter-spacing: 0.06em;
            margin-top: 0.55rem;
        }
        .bottom-left { bottom: 2rem; left: 2rem; width: 300px; }
        .right-panel:not(#sector-info-panel) { display: none; }
        .bottom-actions { bottom: 2rem; right: 360px; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; width: 300px;}

        .glow-text {
            text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
        }

        .btn-cyber {
            background: transparent;
            border: 1px solid rgb(212, 199, 12);
            color: rgb(255, 217, 0);
            padding: 0.25rem 1rem;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.90rem;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.2s;
            border-radius: 2px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-cyber:hover {
            background: rgba(0, 255, 255, 0.2);
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
        }

        .btn-cyber.active {
            background: #0ff;
            color: #000;
        }

        #tooltip {
            position: absolute;
            pointer-events: none;
            opacity: 0;
            background: rgba(0, 10, 15, 0.9);
            border: 1px solid #0ff;
            color: #0ff;
            padding: 8px 12px;
            font-size: 12px;
            border-radius: 2px;
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
            transition: opacity 0.1s;
            z-index: 50;
            transform: translate(15px, 15px);
            font-family: 'Orbitron', sans-serif;
        }

        /* Custom Scrollbar for right panel */
        ::-webkit-scrollbar { width: 4px; }
        ::-webkit-scrollbar-track { background: rgba(0, 255, 255, 0.05); }
        ::-webkit-scrollbar-thumb { background: rgba(0, 255, 255, 0.5); }
        
        .data-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 0.75rem;
            border-bottom: 1px solid rgba(0, 255, 255, 0.1);
            padding-bottom: 0.25rem;
        }
        .purchase-x-highlight {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            margin: 0.35rem 0 0.75rem;
            padding: 0.65rem 0.7rem;
            background: rgba(0, 255, 255, 0.06);
            border: 1px solid rgba(0, 255, 255, 0.45);
            border-left: 3px solid #00ffff;
            box-shadow: 0 0 12px rgba(0, 255, 255, 0.08);
        }
        .purchase-x-label {
            color: rgba(0, 255, 255, 0.62);
            font-family: 'Orbitron', sans-serif;
            font-size: 0.54rem;
            letter-spacing: 0.12em;
        }
        .purchase-x-link {
            max-width: 100%;
            overflow: hidden;
            color: #aaffff;
            font-family: 'Space Mono', monospace;
            font-size: 0.82rem;
            font-weight: 700;
            text-overflow: ellipsis;
            white-space: nowrap;
            text-decoration: none;
        }
        .purchase-x-link:hover { color: #ffffff; text-shadow: 0 0 8px rgba(0, 255, 255, 0.8); }

        .load-error {
            color: #00ffff;
            font-family: 'Orbitron', sans-serif;
            letter-spacing: 0.12em;
            padding: 2rem;
        }

        @media (max-width: 900px) {
            .right-panel:not(#sector-info-panel) { display: none; }
            .bottom-actions { right: 300px; width: 240px; }
            .sector-info-panel { width: 270px; }
            .messages-panel { width: 260px; }
        }

        @media (max-width: 640px) {
            .top-left { top: 1rem; left: 1rem; }
            .top-left h1 { font-size: 1.15rem; }
            .sound-toggle { top: 0.75rem; right: 0.75rem; }
            .mindshare-stats { top: 5.5rem; }
            .top-actions { top: 9rem; gap: 0.35rem; }
            .top-actions .leaderboard-trigger,
            .top-actions .docs-link { padding: 0.35rem 0.42rem; font-size: 0.5rem; letter-spacing: 0.06em; }
            .messages-panel { top: 7.5rem; left: 1rem; right: 1rem; bottom: auto; width: auto; height: 190px; }
            .sector-info-panel { top: auto; left: 1rem; right: 1rem; bottom: 1rem; width: auto; height: 300px; }
            .right-panel:not(#sector-info-panel) { display: none; }
            .bottom-left, .bottom-actions { display: none; }
            .welcome-card { width: calc(100vw - 1rem); max-height: calc(100vh - 1rem); padding: 1.25rem; }
            .welcome-card p { font-size: 0.92rem; }
            .jobs-popup { padding: 0.5rem; }
            .jobs-card { max-height: calc(100vh - 1rem); }
            .jobs-header, .jobs-view { padding: 0.9rem; }
            .jobs-entry { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 0.5rem; padding: 0.65rem; }
            .jobs-entry-title { font-size: 0.66rem; }
            .jobs-entry-reward { font-size: 0.65rem; }
            .global-chat-launcher { bottom: 0.7rem; width: calc(100vw - 1.25rem); }
            .community-chat-launcher { bottom: 0.7rem; width: calc(100vw - 1.25rem); padding-left: 0.75rem; padding-right: 0.75rem; }
            #global-chat-preview-input { font-size: 0.62rem; }
            .global-chat-overlay { padding: 0.5rem; }
            .global-chat-window { height: calc(100vh - 1rem); padding: 0.8rem; border-radius: 8px; }
            .global-chat-message { max-width: 94%; }
            .global-chat-form { gap: 0.45rem; }
            .global-chat-form button { padding-left: 0.65rem; padding-right: 0.65rem; }
            .dashboard-popup { padding: 0.35rem; }
            .dashboard-card { width: 100%; height: calc(100vh - 0.7rem); }
            .dashboard-popup-header { padding: 0.65rem 0.75rem; }
        }



        .leaderboard-earned{
            font-size: 16px !important;
            color: wheat;
        }

        #payment-confirmation-title{
            color: #ffffff;
        }
