:root {
            --bg: #000;
            --surf: rgba(10, 10, 15, 0.85);
            --bd: rgba(29, 155, 240, 0.15);
            --bd2: rgba(29, 155, 240, 0.3);
            --x: #1d9bf0;
            --x-dim: rgba(29, 155, 240, 0.1);
            --t: #e7e9ea;
            --ts: #71767b;
            --green: #22c55e;
            --red: #ef4444;
            --orange: #ff6b2b;
            --mono: 'JetBrains Mono', monospace;
            --sans: 'Inter', system-ui, sans-serif;
            --r: 14px
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box
        }

        body {
            font-family: var(--sans);
            background: var(--bg);
            color: var(--t);
            display: flex;
            height: 100vh;
            overflow: hidden
        }

        /* SIDEBAR */
        .sidebar {
            width: 280px;
            border-right: 1px solid var(--bd);
            padding: 24px 16px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            background: rgba(0, 0, 0, 0.5);
            flex-shrink: 0
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 10px
        }

        .brand img {
            height: 24px
        }

        .brand span {
            font-weight: 900;
            font-size: 18px;
            letter-spacing: -0.5px
        }

        .brand .ver {
            font-size: 10px;
            color: var(--x);
            background: var(--x-dim);
            padding: 2px 6px;
            border-radius: 4px;
            font-family: var(--mono)
        }

        .nav-links {
            display: flex;
            flex-direction: column;
            gap: 4px
        }

        .nav-link {
            color: var(--ts);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 10px 12px;
            border-radius: 10px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 10px
        }

        .nav-link:hover {
            background: var(--x-dim);
            color: var(--t)
        }

        .nav-link.active {
            color: var(--x);
            font-weight: 700
        }

        .nav-emoji {
            font-size: 18px
        }

        .bridge-panel {
            background: var(--surf);
            border: 1px solid var(--bd);
            border-radius: var(--r);
            padding: 16px;
            margin-top: auto
        }

        .panel-title {
            font-family: var(--mono);
            font-size: 10px;
            text-transform: uppercase;
            color: var(--x);
            letter-spacing: 2px;
            border-bottom: 1px solid var(--bd);
            padding-bottom: 8px;
            margin-bottom: 12px
        }

        .stat-row {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            margin-bottom: 10px
        }

        .stat-lbl {
            color: var(--ts)
        }

        .stat-val {
            color: #fff;
            font-family: var(--mono);
            font-weight: 600
        }

        .dot {
            display: inline-block;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            margin-right: 4px
        }

        .dot.on {
            background: var(--green);
            box-shadow: 0 0 6px var(--green)
        }

        .dot.off {
            background: var(--red)
        }

        /* MAIN */
        .main {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden
        }

        /* TOP BAR */
        .topbar {
            height: 56px;
            border-bottom: 1px solid var(--bd);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 24px;
            flex-shrink: 0
        }

        .topbar h1 {
            font-size: 16px;
            font-weight: 800;
            letter-spacing: -0.5px
        }

        .topbar-stats {
            display: flex;
            gap: 16px
        }

        .tstat {
            font-family: var(--mono);
            font-size: 11px;
            color: var(--ts)
        }

        .tstat strong {
            color: var(--x)
        }

        /* COMPOSE */
        .compose {
            padding: 20px 24px;
            border-bottom: 1px solid var(--bd);
            flex-shrink: 0
        }

        .compose-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px
        }

        .compose-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--x-dim);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px
        }

        .compose-label {
            font-size: 13px;
            color: var(--ts)
        }

        .tweet-box {
            width: 100%;
            background: none;
            border: none;
            color: var(--t);
            font-size: 17px;
            font-family: var(--sans);
            resize: none;
            height: 60px;
            outline: none;
            line-height: 1.5
        }

        .tweet-box::placeholder {
            color: var(--ts)
        }

        .compose-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px
        }

        .char-count {
            font-family: var(--mono);
            font-size: 11px;
            color: var(--ts)
        }

        .char-count.warn {
            color: var(--orange)
        }

        .char-count.over {
            color: var(--red)
        }

        .btn-transmit {
            background: var(--x);
            color: #fff;
            border: none;
            border-radius: 100px;
            padding: 8px 22px;
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
            font-family: var(--sans);
            transition: all 0.2s
        }

        .btn-transmit:hover {
            opacity: 0.9;
            transform: scale(1.03)
        }

        .btn-transmit:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none
        }

        /* FEED */
        .feed {
            flex: 1;
            overflow-y: auto;
            padding: 0
        }

        .feed-item {
            padding: 16px 24px;
            border-bottom: 1px solid var(--bd);
            transition: background 0.2s;
            cursor: default;
            opacity: 0;
            animation: fadeSlide 0.3s ease forwards
        }

        .feed-item:hover {
            background: rgba(255, 255, 255, 0.02)
        }

        @keyframes fadeSlide {
            from {
                opacity: 0;
                transform: translateY(8px)
            }

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

        .feed-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 6px
        }

        .feed-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px
        }

        .feed-avatar.agent {
            background: var(--x-dim)
        }

        .feed-avatar.human {
            background: rgba(255, 107, 43, 0.1)
        }

        .feed-author {
            font-size: 13px;
            font-weight: 700
        }

        .feed-type {
            font-family: var(--mono);
            font-size: 9px;
            color: var(--x);
            background: var(--x-dim);
            padding: 1px 6px;
            border-radius: 4px
        }

        .feed-content {
            font-size: 14px;
            line-height: 1.6;
            color: var(--t);
            margin-bottom: 6px
        }

        .feed-time {
            font-size: 11px;
            color: var(--ts);
            font-family: var(--mono)
        }

        .feed-actions {
            display: flex;
            gap: 16px;
            margin-top: 8px
        }

        .feed-act {
            font-size: 12px;
            color: var(--ts);
            cursor: pointer;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            gap: 4px
        }

        .feed-act:hover {
            color: var(--x)
        }

        .empty-feed {
            text-align: center;
            padding: 60px 20px;
            color: var(--ts)
        }

        @media(max-width:768px) {
            .sidebar {
                display: none
            }
        }