    :root {
        --bg-color: #020617;
        --card-bg: #0f172a;
        --border-color: rgba(255, 255, 255, 0.08);
        --accent-blue: #38bdf8;
        --ask-color: #ff6b6b;
        --bid-color: #a7e665;
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
        --point-gold: #facc15;
    }

    body { 
        background: #0f172a; 
        color: var(--text-main); 
        font-family: 'Inter', sans-serif; 
        margin: 0; 
        padding: 0px; 
        width: 100%;
        box-sizing: border-box;
        min-height: 100vh;
        overflow-x: hidden;
    }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .reveal {
        animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        opacity: 0;
        padding: 40px;
    }

    h2 { 
        font-weight: 900; 
        font-size: 40px;
        letter-spacing: -0.05em;
        color: #e14a56;
        margin-bottom: 25px; 
        display: flex;
        align-items: center;
        gap: 12px;
        padding-left: 20px;
    }
    h2 i { color: var(--accent-blue); }

    .top-bar {
        background: #040b1b;
        padding: 20px 30px;
        border-radius: 5px;
        border: 1px solid #2a3458;
        margin-bottom: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    }

    .selector-group { display: flex; align-items: center; gap: 20px; }
    .selector-item { display: flex; flex-direction: column; gap: 5px; }

    .selector-label {
        font-size: 11px;
        font-weight: 800;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    select {
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 700;
        background: #1e293b;
        color: #fff;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        outline: none;
        cursor: pointer;
        transition: all 0.3s;
    }
    select:hover { border-color: var(--accent-blue); }

    .box-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 12px;
    }

    .sumBox {
        background: #111a2d;
        color: #fff;
        padding: 10px 18px;
        border-radius: 5px;
        font-weight: 800;
        font-size: 13px;
        border: 1px solid rgb(28, 43, 77);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 4px;
        font-size: 14px;
    }
    th { 
        color: var(--text-muted); 
        font-weight: 700; 
        text-transform: uppercase; 
        font-size: 11px; 
        letter-spacing: 0.1em;
        padding: 10px;
    }
    td {
        background: rgba(255, 255, 255, 0.02);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        padding: 8px 15px;
        transition: all 0.3s ease;
    }
    td:first-child { border-left: 1px solid var(--border-color); border-radius: 4px 0 0 4px; }
    td:last-child { border-right: 1px solid var(--border-color); border-radius: 0 4px 4px 0; }

    .highest-price {
        color: var(--point-gold) !important;
        text-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
    }

    @keyframes rowImpact {
        0% { filter: brightness(1); transform: scale(1); }
        50% { filter: brightness(1.5); transform: scale(1.01); background: rgba(255,255,255,0.08); }
        100% { filter: brightness(1); transform: scale(1); }
    }
    .impact { animation: rowImpact 0.4s ease-out; }

    .price { 
        font-family: 'JetBrains Mono', monospace;
        font-weight: 800; 
        text-align: center;
        line-height: 1.3;
    }
    .price small { font-weight: 500; color: var(--text-muted); font-size: 11px; }

    .barWrap {
        height: 18px;
        background: #000;
        border-radius: 4px;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.05);
    }
    .bar { height: 100%; transition: width 0.4s ease; }
    .bar.ask { background: linear-gradient(90deg, #991b1b, var(--ask-color)) !important; }
    .bar.bid { background: linear-gradient(90deg, #166534, var(--bid-color)) !important; }

    .qtyLabel {
        position: absolute; right: 8px; top: 0;
        height: 100%; font-size: 11px; line-height: 18px;
        font-family: 'JetBrains Mono', monospace;
        font-weight: 700; color: #fff;
    }

    #wrap { 
        display: flex; gap: 30px;
     }
    .box { 
        width: 50%;
        background: #1a1f3a;
        border: 1px solid #2a3458;
        border-radius: 5px;
        padding: 20px; 
        box-shadow: 0 4px 12px rgba(0,0,0,0.7);
    }

    .flash-up { background: rgba(0, 255, 127, 0.15) !important; }
    .flash-down { background: rgba(255, 50, 50, 0.15) !important; }

    .spread-row td {
        border-bottom: 2px solid var(--point-gold) !important;
    }

    #statusDot {
        display: inline-block;
        width: 8px; height: 8px;
        border-radius: 50%;
        background: #22c55e;
        margin-right: 5px;
    }
    #statusDot.err { background: #ef4444; }