:root {
    --neon-cyan: #c8b6ff;
    --neon-pink: #ffb0d6;
    --dark-bg: #100c18;
    --glass-bg: rgba(15, 15, 15, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
    --text-dim: #a79dbd;
}

* { box-sizing: border-box; }
body, html {
    background-color: var(--dark-bg);
    color: #fff;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    margin: 0; padding: 0;
    width: 100%;
}

/* --- OVERLAY GATES & MODALS --- */
.gate-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13,10,20,0.9);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
}
.gate-card {
    background: #17121f;
    padding: 40px;
    border: 1px solid var(--neon-cyan);
    text-align: center;
    box-shadow: 0 0 30px rgba(200,182,255, 0.2);
}
.status-online { color: #9ff0cf; text-shadow: 0 0 5px #9ff0cf; }
.status-offline { color: #ff8b9e; }

.modal-overlay {
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(13,10,20, 0.8); 
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; 
    z-index: 10000;
}
.modal-content {
    background: #17121f; 
    border: 1px solid var(--neon-cyan); 
    padding: 30px; 
    width: 400px; /* Wider for better spacing */
    box-shadow: 0 0 20px rgba(200,182,255, 0.15);
    position: relative;
}

.modal-content h3 {
    margin-top: 0;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(200,182,255, 0.2);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.setting-item { 
    margin-bottom: 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.setting-item label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

.setting-item input { 
    background: #0d0a14; 
    border: 1px solid #3a3150; 
    color: var(--neon-cyan); 
    width: 100px; 
    padding: 8px;
    text-align: right; 
    font-family: inherit;
    outline: none;
}

.setting-item input:focus {
    border-color: var(--neon-cyan);
}
.modal-header { display: flex; justify-content: space-between; margin-bottom: 20px; color: var(--neon-cyan); }
.setting-row { display: flex; justify-content: space-between; margin-bottom: 15px; align-items: center; font-size: 0.8rem; }
.setting-row input { background: #0d0a14; border: 1px solid #3a3150; color: white; padding: 5px; width: 70px; text-align: center; }
.close-modal-btn { 
    display: block;        /* Added: required for margin auto to work */
    margin: 10px auto 0;   /* Changed: 'auto' centers it horizontally */
    width: 100%;           /* Keeps it full width as per your design */
    background: var(--neon-cyan); 
    color: #0d0a14; 
    border: none; 
    padding: 12px; 
    font-weight: 900; 
    cursor: pointer; 
    transition: 0.2s;
}

.close-modal-btn:hover {
    background: #fff;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.save-btn {
    display: block;        /* Added: allows the button to be centered */
    margin: 20px auto;     /* Added: 'auto' pushes it to the middle */
    width: fit-content;    /* Added: ensures the button only takes up needed space */
    background: rgba(200,182,255, 0.1) !important;
    border: 1px solid var(--neon-cyan) !important;
    color: var(--neon-cyan) !important; 
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

@keyframes pulse-cyan {
    0% { box-shadow: 0 0 5px var(--neon-cyan); }
    50% { box-shadow: 0 0 20px var(--neon-cyan); }
    100% { box-shadow: 0 0 5px var(--neon-cyan); }
}

.pulse-anim {
    animation: pulse-cyan 1s infinite;
}

input[type=range] {
    accent-color: var(--neon-cyan);
    cursor: pointer;
    width: 100%;
}

/* --- TERMINAL LAYOUT (THE FIX) --- */
.terminal-wrapper { 
    display: flex; 
    justify-content: center; 
    padding: 10px; 
    min-height: 100vh;
    width: 100%; /* Stretch to screen edges */
}
.terminal-container { 
    width: 100%; 
    max-width: 100%; /* KILLS THE 50% EMPTY SPACE */
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border); 
    display: flex; 
    flex-direction: column; 
}
.terminal-header { display: flex; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--glass-border); }

.terminal-content {
    display: flex;
    flex-direction: row; 
    height: calc(100vh - 60px);
    width: 100%;
}

/* Space out the sidebar modules */
.terminal-sidebar {
    width: 400px; /* Adjust this number until it looks right to you */
    min-width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;   /* v21.29: the sidebar now holds a taller target card */
}

.sidebar-section {
    margin-bottom: 25px !important; /* Forces breathing room between modules */
}

/* Make labels consistent */
.section-label {
    display: block;
    margin-bottom: 10px !important;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Affiliate Button Styling */
.neon-btn-secondary {
    width: 100%;
    background: rgba(200,182,255, 0.05);
    border: 1px dashed var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.neon-btn-secondary:hover {
    background: rgba(200,182,255, 0.15);
    box-shadow: 0 0 10px rgba(200,182,255, 0.2);
}

/* Wipe Button Styling */
.wipe-btn {
    display: none;
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid #ff8b9e;
    color: #ff8b9e;
    padding: 8px;
    font-size: 0.65rem;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
}
.wipe-btn:hover {
    background: #ff8b9e;
    color: #fff;
}

#wipe-vault-btn {
    display: none; /* Hidden by default on page load */
}

/* Status Box Styling */
.status-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200,182,255, 0.1);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Center Panel (Wider) */
.terminal-main-panel {
    flex: 1; /* Takes 1 unit of available space */
    min-width: 450px;
    padding: 15px;
    border-right: 1px solid rgba(200,182,255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Right Panel (Widest for Chart) */
.terminal-right-panel {
    flex: 2; /* Takes 2 units of available space - VERY WIDE */
    padding: 15px;
    display: flex;
    flex-direction: column;
}

/* --- COMPONENTS --- */
.active-tier-box { background: rgba(200,182,255, 0.05); padding: 10px; border: 1px solid var(--neon-cyan); margin-bottom: 15px; display: flex; flex-direction: column; }
#active-rank-name { color: var(--neon-cyan); font-weight: bold; }
.rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rank-item { background: rgba(255,255,255,0.03); padding: 8px; font-size: 0.7rem; border: 1px solid #241c33; }
.neon-btn-primary { width: 100%; background: var(--neon-cyan); color: #0d0a14; border: none; padding: 12px; font-weight: 900; cursor: pointer; }
.top-stats-row { display: flex; gap: 15px; }
.stat-glass { flex: 1; background: rgba(13,10,20,0.3); padding: 15px; border-left: 3px solid var(--neon-cyan); }
.mode-header-row { display: flex; justify-content: space-between; width: 100%; margin-bottom: 10px; }
.settings-trigger-btn { background: transparent; border: 1px solid #4a4063; color: var(--text-dim); padding: 4px 8px; font-size: 0.6rem; cursor: pointer; }
.settings-trigger-btn:hover { color: var(--neon-cyan); border-color: var(--neon-cyan); }
.mode-control-glass { background: rgba(255,255,255,0.02); padding: 15px; display: flex; flex-direction: column; }
.mode-toggle { display: flex; gap: 10px; }
/* Mode Toggle Container */
.mode-toggle-wrapper {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.toggle-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-label {
    font-size: 0.65rem;
    color: var(--neon-cyan);
    margin-top: 8px;
    letter-spacing: 0.5px;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0.8;
}

.toggle-btn {
    width: 100%;
    background: #0d0a14;
    border: 1px solid #3a3150;
    color: #7e7598;
    padding: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s ease-in-out;
}

.toggle-btn.active {
    background: var(--neon-cyan);
    color: #0d0a14;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(200,182,255, 0.2);
}

.log-time {
    color: var(--text-dim);
    margin-right: 8px;
    font-size: 0.65rem;
}

.log-msg {
    color: #9ff0cf; /* Classic terminal green */
}

.log-line {
    margin-bottom: 4px;
    border-left: 2px solid transparent;
    padding-left: 5px;
}

.log-line:last-child {
    border-left: 2px solid var(--neon-cyan); /* Highlight most recent action */
    background: rgba(200,182,255, 0.05);
}

.execution-box input { width: 100%; background: #0d0a14; border: 1px solid #3a3150; color: var(--neon-cyan); padding: 15px; font-size: 1.2rem; margin-bottom: 10px; }
.exec-buttons { display: flex; justify-content: space-between; }
.buy-btn { background: #9ff0cf; color: #0d0a14; width: 49%; padding: 12px; border: none; font-weight: bold; cursor: pointer; }
.sell-btn { background: #ff8b9e; color: #0d0a14; width: 49%; padding: 12px; border: none; font-weight: bold; cursor: pointer; }
.log-stream { height: 150px; overflow-y: auto; font-size: 0.7rem; color: #9ff0cf; background: #0d0a14; padding: 10px; }
.network-tag { color: #9ff0cf !important; display: flex; align-items: center; gap: 8px; font-size: 0.75rem; }
.led-red { height: 8px; width: 8px; background: red; border-radius: 50%; display: inline-block; margin-right: 5px; box-shadow: 0 0 5px red; }
.led-green { height: 8px; width: 8px; background: #9ff0cf; border-radius: 50%; display: inline-block; margin-right: 5px; box-shadow: 0 0 5px #9ff0cf }
.list-container {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Success state for the Authorize button */
.btn-success {
    background: rgba(0, 255, 127, 0.2) !important;
    border: 1px solid #00ff7f !important;
    color: #00ff7f !important;
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.3);
    pointer-events: none; /* Prevents double-clicking */
}

/* Optional: Loading state */
.btn-loading {
    opacity: 0.5;
    cursor: wait;
    pointer-events: none;
}

.position-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--neon-cyan);
    padding: 12px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.pos-ticker { font-weight: bold; color: #fff; display: block; }
.pos-entry { font-size: 0.65rem; color: var(--text-dim); }

/* --- ACTIVE TRADE BUTTONS --- */
.pos-actions { 
    display: flex; 
    gap: 8px; 
    margin-top: 8px; 
}

.pos-actions button {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    padding: 6px 0;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    text-transform: uppercase;
}

/* Partial Exit Button (25%, 50%) */
.btn-partial { 
    border-color: var(--neon-cyan) !important; 
    color: var(--neon-cyan) !important; 
    background: rgba(200,182,255, 0.1) !important; 
}
.btn-partial:hover {
    background: rgba(200,182,255, 0.25) !important;
    box-shadow: 0 0 10px rgba(200,182,255, 0.1);
}

/* Full Exit Button (100%) */
.btn-exit { 
    border-color: #ff8b9e !important; 
    color: #ff8b9e !important; 
    background: rgba(255, 51, 102, 0.1) !important; 
    font-weight: bold;
}
.btn-exit:hover {
    background: #ff8b9e !important;
    color: #0d0a14 !important;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

/* Security Brief Styling */
.brief-glass {
    background: rgba(200,182,255, 0.05);
    padding: 12px;
    border-radius: 4px;
    font-size: 0.75rem;
}
.brief-text { color: var(--text-dim); margin-bottom: 10px; }
.security-status { display: flex; gap: 15px; font-size: 0.6rem; color: var(--neon-cyan); opacity: 0.8; }
.security-info-box { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(200,182,255, 0.1); }
.security-info-box label { color: var(--neon-cyan); font-weight: bold; font-size: 0.65rem; }
.security-info-box ul { list-style: none; margin-top: 5px; padding: 0; }
.security-info-box li { color: #fff; font-size: 0.65rem; margin-bottom: 3px; }

/* Chart Height alignment */
.chart-glass {
    flex-grow: 1; /* Tells the chart to fill all available vertical space */
    min-height: 600px; /* Forces it to be visible on desktop */
    background: #0d0a14;
    border: 1px solid var(--glass-border);
}

/* v21.53 — RECENT_TRANSACTIONS sidebar section (under VAULT_PROTECTION): the 1D/7D/30D
   summary on top, then individual closed trades as compact 2-line cards, own scrollbar
   capped short (mirrors .log-stream's fixed-height pattern) rather than growing the page. */
#tx-history-period { background: #0d0a14; border: 1px solid #3a3150; color: var(--neon-cyan); font-family: inherit; font-size: 0.65rem; padding: 6px; cursor: pointer; }
.tx-summary { font-size: 0.65rem; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 6px; }
.tx-recent-list { max-height: 180px; overflow-y: auto; font-size: 0.62rem; }
.tx-row { display: flex; flex-direction: column; gap: 2px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.025); }
.tx-r1 { display: flex; align-items: center; gap: 6px; }
.tx-r2 { display: flex; justify-content: space-between; color: #8d84a6; }
.tx-tok { color: #d8d1e6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.tx-size { color: #a79dbd; font-variant-numeric: tabular-nums; }
.tx-tag { font-size: 0.5rem; font-weight: bold; letter-spacing: 1px; text-align: center; padding: 1px 5px; border-radius: 2px; }
.tx-win .tx-tag { color: #0d0a14; background: #9ff0cf; }
.tx-lost .tx-tag { color: #0d0a14; background: #ff8b9e; }
.tx-win .tx-pnl { color: #9ff0cf; margin-left: auto; }
.tx-lost .tx-pnl { color: #ff8b9e; margin-left: auto; }
.tx-time { color: #6f6688; }
.tx-empty { color: #6f6688; font-size: 0.62rem; text-align: center; padding: 14px; }
.tx-pos { color: #9ff0cf; }
.tx-neg { color: #ff8b9e; }

#tradingview_widget { height: 100%; width: 100%; }

/* Targeted fix for the Settings Button */
#settings-toggle-btn {
    background: transparent;
    border: 1px solid #4a4063;
    color: var(--text-dim);
    padding: 4px 8px;
    font-size: 0.6rem;
    cursor: pointer;
    position: relative; /* Ensure it stays in the flow */
    z-index: 10; /* Lower than modal, but higher than backgrounds */
    pointer-events: auto !important;
}

#settings-toggle-btn:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(200,182,255, 0.2);
}

/* --- THE ULTIMATE MOBILE FIX --- */
@media screen and (max-width: 1000px) {
    /* 1. Force the wrapper and content to stack vertically */
    .terminal-container, .terminal-content {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
    }

    /* 2. Make all three panels (Sidebar, Main, Chart) full width */
    .terminal-sidebar, 
    .terminal-main-panel, 
    .terminal-right-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        flex: none !important;
        border-right: none !important;
        border-bottom: 1px solid var(--glass-border) !important;
        padding: 15px !important;
    }

    /* 3. Re-order them: Chart first, then Main, then Sidebar at the bottom */
    .terminal-right-panel { order: 1; }
    .terminal-main-panel  { order: 2; }
    .terminal-sidebar     { order: 3; }

    /* 4. Fix heights for mobile visibility */
    #dex-chart {
        height: 350px !important;
        min-height: 350px !important;
    }

    .log-stream {
        height: 150px !important;
    }

    /* 5. Clean up the Header for small screens */
    .terminal-header {
        padding: 10px !important;
    }
}

.setting-item-sidebar { margin-bottom: 15px; }
.setting-item-sidebar label { font-size: 0.65rem; color: #a79dbd; display: block; margin-bottom: 5px; }
.setting-item-sidebar input[type=range] { width: 100%; height: 4px; accent-color: var(--neon-cyan); }
/* ── Additions for v3.0 ── */
.text-cyan { color: var(--neon-cyan) !important; }

.stat-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    margin-top: 4px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.glass-header {
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.logs-glass, .positions-glass {
    background: rgba(13,10,20,0.2);
    border: 1px solid var(--glass-border);
    padding: 10px;
}

.timestamp {
    color: var(--text-dim);
    margin-right: 6px;
    font-size: 0.65rem;
}

/* Ensure btn-partial / btn-exit always display correctly inside position cards */
.btn-partial, .btn-exit {
    flex: 1;
    font-family: inherit;
    font-size: 0.6rem;
    padding: 6px 0;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    text-transform: uppercase;
}

/* ═══ v21.29 — multi-position box, tune panel, fair-launch target card ═══ */
.tune-bar { display: flex; gap: 6px; margin-top: 8px; }
.tune-btn {
    flex: 1; background: rgba(200,182,255,0.05); border: 1px dashed rgba(200,182,255,0.45); color: var(--neon-cyan);
    padding: 6px 4px; font-family: inherit; font-size: 0.58rem; letter-spacing: 1px; cursor: pointer; transition: 0.2s;
}
.tune-btn:hover { background: rgba(200,182,255,0.15); }
.tune-btn i { margin-right: 4px; }
.tune-panel { margin-top: 8px; padding: 10px; background: rgba(13,10,20,0.35); border: 1px solid rgba(255,255,255,0.06); }
.tune-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tune-item { display: flex; flex-direction: column; gap: 3px; font-size: 0.58rem; color: #a79dbd; }
.tune-item input {
    margin: 0 !important;
    width: 100%; background: #0d0a14; border: 1px solid #3a3150; color: var(--neon-cyan);
    padding: 6px; font-family: inherit; font-size: 0.8rem; outline: none;
}
.tune-item input:focus { border-color: var(--neon-cyan); }
.tune-note { font-size: 0.58rem; color: #7e7598; line-height: 1.4; margin: 8px 0; }
.tune-note b { color: var(--neon-cyan); font-weight: normal; }
.tune-reset { width: 100%; border-color: rgba(255,51,102,0.5); color: #ff8b9e; background: rgba(255,51,102,0.05); }
.tune-reset:hover { background: rgba(255,51,102,0.18); }

.tgt-card {
    margin: 0; padding: 14px;
    border: 1px solid transparent;
    background:
        linear-gradient(#120e1c, #120e1c) padding-box,
        linear-gradient(135deg, var(--neon-pink), var(--neon-cyan)) border-box;
    box-shadow: 0 0 22px rgba(255,176,214,0.06), 0 0 30px rgba(200,182,255,0.05);
}
.tgt-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tgt-title { font-size: 0.72rem; letter-spacing: 2.5px; font-weight: bold; color: #fff; }
.tgt-title i { color: var(--neon-pink); margin-right: 8px; }
.tgt-count { font-size: 0.55rem; letter-spacing: 1.5px; padding: 3px 8px; border: 1px solid #3a3150; color: #7e7598; }
.tgt-count-on { border-color: var(--neon-cyan); color: var(--neon-cyan); box-shadow: 0 0 10px rgba(200,182,255,0.25); }
.tgt-sub { font-size: 0.6rem; color: #8d84a6; line-height: 1.45; margin-bottom: 12px; }
.tgt-input-row { display: flex; gap: 6px; margin-bottom: 8px; }
.tgt-card .tgt-input {
    width: 100%; background: #0d0a14; border: 1px solid #2c2340; color: var(--neon-cyan);
    padding: 11px 12px; font-family: inherit; font-size: 0.72rem; margin: 0; outline: none; transition: 0.2s;
}
.tgt-card .tgt-input:focus { border-color: var(--neon-pink); box-shadow: 0 0 12px rgba(255,176,214,0.15); }
.tgt-card .tgt-input.tgt-bad { border-color: #ff8b9e; animation: tgt-shake 0.3s; }
.tgt-card .tgt-small { padding: 8px 10px; font-size: 0.72rem; }
@keyframes tgt-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.tgt-paste {
    flex: 0 0 42px; background: rgba(255,176,214,0.08); border: 1px solid rgba(255,176,214,0.4); color: var(--neon-pink);
    cursor: pointer; transition: 0.2s;
}
.tgt-paste:hover { background: rgba(255,176,214,0.22); }
.tgt-opts-row { display: flex; gap: 8px; margin-bottom: 10px; }
.tgt-field { display: flex; flex-direction: column; gap: 3px; width: 92px; }
.tgt-field.tgt-grow { flex: 1; width: auto; }
.tgt-field label { font-size: 0.55rem; letter-spacing: 1.5px; color: #7e7598; }
.tgt-arm {
    width: 100%; padding: 12px; border: none; cursor: pointer; font-family: inherit; font-weight: 900; letter-spacing: 2px; font-size: 0.75rem;
    color: #0d0a14; background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan)); transition: 0.2s;
}
.tgt-arm:hover { filter: brightness(1.15); box-shadow: 0 0 18px rgba(200,182,255,0.35); }
.tgt-arm i { margin-right: 6px; }
.tgt-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.tgt-empty { font-size: 0.62rem; color: #6f6688; text-align: center; padding: 12px 0; border: 1px dashed #241c33; }
.tgt-row { padding: 9px 10px; background: rgba(255,255,255,0.025); border-left: 2px solid #3a3150; }
.tgt-row-main { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tgt-mint { font-size: 0.68rem; color: #e6e0f0; }
.tgt-amt { font-size: 0.6rem; color: #a79dbd; margin-left: auto; }
.tgt-row-note { font-size: 0.58rem; color: #8d84a6; margin: 5px 0 0; min-height: 0; }
.tgt-row-note:empty { display: none; }
.tgt-row-actions { display: flex; gap: 6px; margin-top: 7px; justify-content: flex-end; }
.tgt-mini {
    background: transparent; border: 1px solid #4a4063; color: #b3aac8; font-family: inherit; font-size: 0.55rem; letter-spacing: 1px;
    padding: 4px 9px; cursor: pointer; transition: 0.2s;
}
.tgt-mini:hover { border-color: #ff8b9e; color: #ff8b9e; }
.tgt-mini-buy { border-color: #9ff0cf; color: #9ff0cf; background: rgba(159,240,207,0.08); font-weight: bold; }
.tgt-mini-buy:hover { background: #9ff0cf; color: #0d0a14; border-color: #9ff0cf; }
.tgt-chip { font-size: 0.55rem; letter-spacing: 1.5px; padding: 2px 7px; border: 1px solid #4a4063; color: #a79dbd; display: inline-flex; align-items: center; gap: 5px; }
.tgt-waiting { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(200,182,255,0.07); }
.tgt-live { border-color: #ffe9a8; color: #ffe9a8; background: rgba(255,233,168,0.08); }
.tgt-sniping { border-color: var(--neon-pink); color: var(--neon-pink); background: rgba(255,176,214,0.1); animation: pulse-cyan 1s infinite; }
.tgt-sniped { border-color: #9ff0cf; color: #9ff0cf; background: rgba(159,240,207,0.08); }
.tgt-skipped { border-color: #6f6688; color: #8d84a6; }
.tgt-row:has(.tgt-waiting) { border-left-color: var(--neon-cyan); }
.tgt-row:has(.tgt-live) { border-left-color: #ffe9a8; }
.tgt-row:has(.tgt-sniped) { border-left-color: #9ff0cf; }
.tgt-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon-cyan); display: inline-block; animation: tgt-blink 1.2s infinite; }
@keyframes tgt-blink { 0%,100% { opacity: 1; box-shadow: 0 0 6px var(--neon-cyan); } 50% { opacity: 0.25; box-shadow: none; } }
.tgt-clear { background: none; border: none; color: #7e7598; font-family: inherit; font-size: 0.58rem; text-decoration: underline; cursor: pointer; align-self: flex-end; }
.tgt-clear:hover { color: #c0b8d2; }

/* position cards — a little more presence now that several can be open at once */
.position-item { transition: background 0.2s, border-color 0.2s; }
.position-item:hover { background: rgba(200,182,255,0.05) !important; }

/* ═══ v21.29 — APP_STATUS compact data table ═══ */
.status-panel { padding: 10px !important; }
.status-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.s-chip { font-size: 0.55rem; letter-spacing: 1px; color: #9aa; padding: 2px 7px; border: 1px solid rgba(159,240,207,0.25); background: rgba(159,240,207,0.05); white-space: nowrap; }
.s-chip i { font-size: 0.4rem; color: #9ff0cf; margin-right: 5px; vertical-align: middle; text-shadow: 0 0 5px #9ff0cf; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.64rem; table-layout: auto; }
.data-table th, .data-table td { padding: 5px 6px; border-top: 1px solid rgba(255,255,255,0.05); text-align: left; vertical-align: top; }
.data-table th { color: #7e7598; font-weight: normal; letter-spacing: 0.5px; white-space: nowrap; width: 1%; }
.data-table td { color: var(--neon-cyan); }
.data-table tr:first-child th, .data-table tr:first-child td { border-top: none; }
.data-table td + th { border-left: 1px solid rgba(255,255,255,0.05); padding-left: 8px; }

/* ═══ v21.29 — HOW_IT_WORKS button, under the network tag (top right) ═══ */
.hiw-btn {
    /* width:0 + min-width:100% -> the button never widens the header block, it just matches the network tag above it */
    width: 0; min-width: 100%; text-align: center; box-sizing: border-box; white-space: nowrap; overflow: hidden;
    background: rgba(200,182,255,0.06); border: 1px solid rgba(200,182,255,0.5); color: var(--neon-cyan);
    font-family: inherit; font-size: 0.6rem; letter-spacing: 0.5px; padding: 5px 0; cursor: pointer; transition: 0.2s;
}
.hiw-btn i { margin-right: 5px; }
.hiw-btn:hover { background: rgba(200,182,255,0.18); box-shadow: 0 0 10px rgba(200,182,255,0.25); }

/* ═══ v21.33 — SNIPE CONTROL card, TOP CALLERS / LIVE CALLOUTS card, section alignment ═══ */
/* One visual language for every section: same title style, same card edge, same spacing. */
.sidebar-section { margin-bottom: 0 !important; }
.section-label { font-size: 0.72rem; letter-spacing: 2.5px; color: #fff; margin-bottom: 8px !important; }
.glass-header { font-size: 0.72rem; letter-spacing: 2.5px; color: #fff; font-weight: bold; margin-bottom: 10px; }
.logs-glass, .positions-glass { background: #120e1c; border: 1px solid rgba(200,182,255,0.12); padding: 14px !important; margin-top: 12px; }
.brief-glass, .status-box { border: 1px solid rgba(200,182,255,0.12); border-radius: 0; background: #120e1c; }
.mode-control-glass { background: transparent; padding: 0; }
.top-stats-row .stat-glass { background: #120e1c; }

/* SNIPE CONTROL */
.exec-card { padding: 14px; }
.exec-target { font-size: 0.6rem; color: var(--neon-cyan); font-family: monospace; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exec-row { display: flex; gap: 8px; align-items: flex-end; margin: 6px 0 4px; }
.exec-card .exec-amount {
    width: 100%; background: #0d0a14; border: 1px solid #2c2340; color: var(--neon-cyan); padding: 12px; font-size: 1.15rem;
    font-family: inherit; margin: 0; outline: none;
}
.exec-card .exec-amount:focus { border-color: var(--neon-cyan); box-shadow: 0 0 12px rgba(200,182,255,0.15); }
.exec-row .buy-btn { width: 42%; min-width: 150px; height: 48px; letter-spacing: 1px; font-family: inherit; }
.exec-block { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.exec-label { display: block; font-size: 0.55rem; letter-spacing: 1.5px; color: #8d84a6; margin-bottom: 6px; }
.exec-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.exec-stat { font-size: 0.55rem; letter-spacing: 1px; color: var(--neon-cyan); white-space: nowrap; }
.exec-last { font-size: 0.58rem; color: #8d84a6; margin-top: 5px; line-height: 1.35; min-height: 0; }
.exec-last:empty { display: none; }
.tgt-arm-inline { width: auto; flex: 0 0 auto; padding: 0 14px; font-size: 0.65rem; letter-spacing: 1.5px; }
.exec-targets .tgt-list { max-height: 200px; }
.co-check { display: flex; align-items: center; gap: 7px; font-size: 0.62rem; color: #b3aac8; cursor: pointer; line-height: 1.35; }
.co-check input { appearance: auto; width: 13px; height: 13px; min-width: 13px; margin: 0; padding: 0; accent-color: var(--neon-cyan); }
.co-check b { color: #e6e0f0; font-weight: bold; letter-spacing: 1px; }
.tune-item select { width: 100%; background: #0d0a14; border: 1px solid #3a3150; color: var(--neon-cyan); padding: 6px; font-family: inherit; font-size: 0.7rem; outline: none; }
.tune-item input[type=password] { font-size: 0.7rem; }

/* TOP CALLERS · LIVE CALLOUTS */
.co-card .tgt-title i { color: #ffe9a8; }
.co-card .tgt-sub b { color: #e6e0f0; font-weight: normal; }
.co-callers { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.co-caller {
    font-size: 0.56rem; color: #ccc5dc; text-decoration: none; padding: 3px 6px; border: 1px solid #2c2340; background: rgba(255,255,255,0.02);
    white-space: nowrap; transition: 0.2s;
}
.co-caller b { color: #ffe9a8; font-weight: normal; margin-right: 2px; }
.co-caller span { color: #9ff0cf; margin-left: 3px; }
.co-caller:hover { border-color: #ffe9a8; color: #fff; }
.co-empty-line { font-size: 0.58rem; color: #6f6688; }
.co-feed {
    height: 290px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px;
    background: #0d0a14; border: 1px solid #1c1c1c; padding: 6px;
}
.co-feed .tgt-empty { margin: auto 0; border: none; }
.co-msg { display: flex; gap: 8px; padding: 7px 6px; border-left: 2px solid transparent; }
.co-msg:hover { background: rgba(255,255,255,0.03); }
.co-msg.co-top { border-left-color: rgba(255,233,168,0.55); }
.co-ava {
    flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: #1b1b22 center/cover no-repeat;
    display: flex; align-items: center; justify-content: center; font-size: 0.55rem; color: #c0b8d2; border: 1px solid #3a3150;
}
.co-body { flex: 1; min-width: 0; }
.co-meta { display: flex; align-items: baseline; gap: 6px; font-size: 0.6rem; }
.co-name { color: #fff; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.co-rank { color: #ffe9a8; font-size: 0.55rem; }
.co-time { color: #6f6688; margin-left: auto; font-size: 0.55rem; }
.co-text { font-size: 0.62rem; color: #c0b8d2; margin-top: 2px; }
.co-sym { color: var(--neon-cyan); text-decoration: none; font-weight: bold; }
.co-sym:hover { text-decoration: underline; }
.co-x { color: #9ff0cf; font-size: 0.56rem; border: 1px solid rgba(159,240,207,0.3); padding: 0 4px; margin-left: 3px; }
.co-thesis { font-size: 0.6rem; color: #a79dbd; margin-top: 3px; line-height: 1.35; word-wrap: break-word; }
.co-foot { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.co-foot .tgt-mini { padding: 2px 8px; font-size: 0.52rem; }
.co-foot .tgt-mini:not(.tgt-mini-buy) { margin-left: auto; }
.co-note { font-size: 0.55rem; color: #7e7598; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-settings-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.co-settings-bar .tune-btn { flex: 0 0 auto; }
.co-armed { border-color: #ffe9a8 !important; color: #ffe9a8 !important; box-shadow: 0 0 10px rgba(255,233,168,0.3); animation: tgt-blink 1.2s infinite; }
.co-arm-on { background: linear-gradient(90deg, #ffc6a5, #ffe9a8) !important; }
.terminal-main-panel { overflow-y: auto; }
.exec-block-tight { margin-top: 8px; padding-top: 0; border-top: none; }
/* position cards: header, strategy lines and buttons stack (the old flex row squeezed them side by side) */
.position-item { display: block; }

/* ═══ v21.34 — live chart (own canvas, replaces the dexscreener iframe) ═══ */
#dex-chart { display: flex; flex-direction: column; background: #120e1c; border: 1px solid rgba(200,182,255,0.12); }
.lc-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.68rem; flex-wrap: wrap; }
.lc-sym { color: #fff; font-weight: bold; letter-spacing: 2px; font-size: 0.72rem; }
.lc-mc { color: var(--neon-cyan); }
.lc-chg { font-weight: bold; }
.lc-live { color: #9ff0cf; font-size: 0.58rem; letter-spacing: 1px; animation: tgt-blink 1.6s infinite; }
.lc-live:empty { display: none; }
.lc-tfs { margin-left: auto; display: flex; gap: 4px; }
.lc-tf { background: transparent; border: 1px solid #2c2340; color: #8d84a6; font-family: inherit; font-size: 0.58rem; padding: 3px 8px; cursor: pointer; }
.lc-tf:hover { color: #e6e0f0; border-color: #6f6688; }
.lc-tf-on { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(200,182,255,0.08); }
.lc-ext { color: #8d84a6; font-size: 0.58rem; text-decoration: none; }
.lc-ext:hover { color: var(--neon-pink); }
.lc-body { position: relative; flex: 1; min-height: 0; }
.lc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.lc-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #6f6688; font-size: 0.7rem; letter-spacing: 1px; pointer-events: none; }
.lc-tip { position: absolute; left: 8px; top: 6px; display: none; font-size: 0.6rem; color: #c0b8d2; background: rgba(13,10,20,0.75); padding: 3px 6px; border: 1px solid #241c33; pointer-events: none; }
.exec-card .exec-mini { width: 56px !important; padding: 4px 6px !important; text-align: center; }
.lc-reset { margin-left: 2px; }

.co-adv { margin-top: 8px; font-size: 0.58rem; color: #7e7598; }
.co-adv summary { cursor: pointer; color: #8d84a6; }
.co-adv summary:hover { color: #c0b8d2; }
.co-adv .tune-item input { font-size: 0.7rem; }

/* ═══ v21.48 — live trade list under the chart ═══ */
#dex-chart { min-height: 760px !important; }
.lc-body { min-height: 440px; }
.lc-trades { flex: 0 0 280px; display: flex; flex-direction: column; border-top: 1px solid rgba(200,182,255,0.12); min-height: 0; }
.lct-head { display: flex; align-items: center; gap: 10px; padding: 6px 12px; font-size: 0.6rem; }
.lct-title { color: #fff; letter-spacing: 2px; font-weight: bold; }
.lct-info { color: #7e7598; }
.lct-head .lc-tf { margin-left: auto; }
.lct-cols, .lct-row { display: grid; grid-template-columns: 62px 44px 64px 64px 70px 1fr 18px; gap: 6px; padding: 3px 12px; font-size: 0.6rem; align-items: center; }
.lct-cols { color: #6f6688; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.lct-list { flex: 1; overflow-y: auto; min-height: 0; }
.lct-row { color: #c0b8d2; border-bottom: 1px solid rgba(255,255,255,0.025); font-variant-numeric: tabular-nums; }
.lct-row:hover { background: rgba(255,255,255,0.03); }
.lct-buy .lct-side { color: #9ff0cf; }
.lct-sell .lct-side { color: #ff8b9e; }
.lct-isdev { background: rgba(255,233,168,0.06); }
.lct-isme { background: rgba(200,182,255,0.07); }
.lct-trader { color: #8d84a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lct-tag { font-size: 0.5rem; padding: 0 4px; margin-left: 5px; border-radius: 2px; font-weight: bold; letter-spacing: 1px; }
.lct-dev { color: #0d0a14; background: #ffe9a8; }
.lct-deventry { color: #0d0a14; background: #ffc6a5; }
.lct-me { color: #0d0a14; background: var(--neon-cyan); }
.lct-tx { color: #6f6688; text-decoration: none; }
.lct-tx:hover { color: var(--neon-pink); }
.lct-empty, .lct-end { color: #6f6688; font-size: 0.62rem; text-align: center; padding: 14px; letter-spacing: 1px; }
.lct-end { color: #ffc6a5; padding: 8px; }


/* ── v21.58 — LIVE_POSITIONS detail grid ── */
.pos-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 5px 12px; margin: 0 0 8px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.pos-detail .pd-c { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pos-detail .pd-c span { color: #6f7a86; letter-spacing: 0.5px; font-size: 0.5rem; white-space: nowrap; }
.pos-detail .pd-c b { color: #e6e6e6; font-weight: 600; font-size: 0.66rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-detail .pd-c b em { color: #7d8792; font-style: normal; font-weight: 400; }
.pos-detail .up, .exp-kpi.up b, .exp-t .up { color: #9ff0cf !important; }
.pos-detail .down, .exp-kpi.down b, .exp-t .down { color: #ff8b9e !important; }

/* ── v21.58 — TRADE EXPORT & ANALYTICS modal ── */
.exp-modal { position: fixed; inset: 0; z-index: 9000; background: rgba(13,10,20,0.78); align-items: center; justify-content: center; padding: 18px; }
.exp-panel { width: min(1320px, 100%); height: 100%; max-height: 900px; background: #0b0d12; border: 1px solid rgba(200,182,255,0.35); box-shadow: 0 0 40px rgba(200,182,255,0.12); display: flex; flex-direction: column; }
.exp-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.exp-title { font-size: 0.78rem; letter-spacing: 2.5px; color: #fff; font-weight: bold; }
.exp-top .tune-btn { width: auto; flex: 0 0 auto; margin: 0; padding: 5px 12px; }
.exp-kpi.w2 { grid-column: span 2; }
.exp-title i { color: var(--neon-cyan, #c8b6ff); margin-right: 8px; }
.exp-body { flex: 1; display: flex; min-height: 0; }
.exp-side { width: 300px; flex: 0 0 300px; padding: 14px; border-right: 1px solid rgba(255,255,255,0.07); overflow-y: auto; }
.exp-main { flex: 1; min-width: 0; padding: 14px; overflow-y: auto; }
.exp-lbl { font-size: 0.6rem; letter-spacing: 1.5px; color: #7a8; margin-bottom: 6px; }
.exp-cal { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); padding: 8px; }
.exp-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 0.72rem; color: #fff; }
.exp-cal-head button { background: none; border: 1px solid rgba(255,255,255,0.12); color: #d8d1e6; width: 26px; height: 24px; cursor: pointer; }
.exp-cal-head button:hover { border-color: var(--neon-cyan, #c8b6ff); color: #fff; }
.exp-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.exp-cal-grid i { font-style: normal; }
.exp-dow { text-align: center; font-size: 0.55rem; color: #7e7598; padding: 3px 0; }
.exp-day { text-align: center; font-size: 0.68rem; font-weight: normal; color: #ccc5dc; padding: 6px 0; cursor: pointer; border: 1px solid transparent; position: relative; }
.exp-day:hover { border-color: rgba(200,182,255,0.5); }
.exp-day.today { border-color: rgba(255,233,168,0.6); }
.exp-day.in { background: rgba(200,182,255,0.14); color: #fff; }
.exp-day.start, .exp-day.end { background: rgba(200,182,255,0.55); color: #0d0a14; font-weight: bold; }
.exp-day.has::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #9ff0cf; }
.exp-presets { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.exp-presets .tune-btn.on { background: rgba(200,182,255,0.28); color: #fff; }
.exp-range { margin-top: 10px; font-size: 0.72rem; color: #e6e0f0; line-height: 1.6; }
.exp-range span { color: #a79dbd; font-size: 0.62rem; }
.exp-dl { display: block; width: 100%; text-align: left; background: rgba(200,182,255,0.07); border: 1px solid rgba(200,182,255,0.3); color: #fff; padding: 9px 10px; margin-bottom: 7px; font-size: 0.7rem; letter-spacing: 1px; cursor: pointer; }
.exp-dl:hover { background: rgba(200,182,255,0.16); }
.exp-dl i { color: var(--neon-cyan, #c8b6ff); margin-right: 6px; }
.exp-dl small { display: block; margin-top: 3px; color: #a79dbd; letter-spacing: 0; font-size: 0.58rem; line-height: 1.35; }
.exp-note { font-size: 0.56rem; color: #7e7598; line-height: 1.45; margin-top: 6px; }
.exp-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 14px; }
.exp-kpi { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); padding: 8px 10px; min-width: 0; }
.exp-kpi span { display: block; font-size: 0.54rem; letter-spacing: 1.2px; color: #8d84a6; margin-bottom: 3px; }
.exp-kpi b { display: block; font-size: 0.86rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exp-kpi i { display: block; font-style: normal; font-size: 0.54rem; color: #8d84a6; margin-top: 2px; }
.exp-empty { grid-column: 1 / -1; color: #a79dbd; font-size: 0.72rem; padding: 18px; text-align: center; border: 1px dashed rgba(255,255,255,0.12); }
.exp-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.exp-chart { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); padding: 8px 10px 4px; min-width: 0; }
.exp-chart.wide { grid-column: 1 / -1; }
.exp-chart h4, .exp-h { margin: 0 0 4px; font-size: 0.6rem; letter-spacing: 1.5px; color: #9ab; font-weight: normal; }
.exp-chart canvas { width: 100%; height: 170px; display: block; }
.exp-chart.wide canvas { height: 220px; }
.exp-h { margin-top: 14px; }
.exp-t { width: 100%; border-collapse: collapse; font-size: 0.68rem; }
.exp-t th { text-align: left; color: #8d84a6; font-weight: normal; letter-spacing: 1px; font-size: 0.56rem; padding: 4px 6px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.exp-t td { padding: 4px 6px; border-bottom: 1px solid rgba(255,255,255,0.04); color: #d8d1e6; }
@media (max-width: 900px) { .exp-body { flex-direction: column; overflow-y: auto; } .exp-side { width: auto; flex: none; border-right: none; } .exp-charts { grid-template-columns: 1fr; } }

/* v21.66 — strategy label in RECENT_TRANSACTIONS + strategy scoreboard in EXPORT / ANALYZE */
.tx-strat { color: #a8d8ff; font-size: 0.5rem; letter-spacing: 0.8px; padding: 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; text-align: left; }
.exp-bh { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.exp-bh .exp-h { margin: 0; }
.exp-bh .exp-h span { color: #7e7598; }
.exp-grp button { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: #a79dbd; font-size: 0.56rem; letter-spacing: 1px; padding: 4px 8px; cursor: pointer; margin-left: 4px; }
.exp-grp button.on { color: #0d0a14; background: var(--neon-cyan, #c8b6ff); border-color: var(--neon-cyan, #c8b6ff); }
.exp-bwrap { overflow-x: auto; margin-top: 6px; }
.exp-bt td small { display: block; color: #7e7598; font-size: 0.52rem; }
.exp-bt td, .exp-bt th { white-space: nowrap; }
.exp-bk { font-weight: bold; color: #fff !important; }
.exp-bk div { margin-top: 2px; white-space: normal; }
.exp-star b { color: #ffe9a8; letter-spacing: 1px; font-size: 0.72rem; }
.exp-star b .off { color: #3a3f47; }
.exp-star small { display: block; color: #7e7598; font-size: 0.52rem; }
.exp-tag { display: inline-block; font-size: 0.48rem; letter-spacing: 0.8px; padding: 1px 5px; margin-right: 3px; border-radius: 2px; font-weight: normal; }
.exp-tag.best { background: #ffe9a8; color: #0d0a14; }
.exp-tag.net { background: #9ff0cf; color: #0d0a14; }
.exp-tag.wr { background: #a8d8ff; color: #0d0a14; }
.exp-tag.low { background: rgba(255,255,255,0.1); color: #99a; }
/* v21.67 — START FRESH */
.exp-fresh { border-color: rgba(255,139,158,0.4); background: rgba(255,139,158,0.06); }
.exp-fresh:hover { background: rgba(255,139,158,0.15); }
.exp-fresh i { color: #ff8b9e; }
