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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f0f1a;
    color: #d1d4dc;
    overflow: hidden;
    height: 100vh;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#header {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #1a1a2e;
    gap: 8px;
}

.symbol-btn {
    background: #2a2a3e;
    border: 1px solid #3a3a4e;
    color: #d1d4dc;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.symbol-btn.active {
    background: #26a69a;
    border-color: #26a69a;
    color: white;
}

#status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: auto;
}

#status-dot.online {
    background: #26a69a;
    box-shadow: 0 0 6px #26a69a;
}

#status-dot.offline {
    background: #ef5350;
    box-shadow: 0 0 6px #ef5350;
}

#chart-container {
    flex: 1;
    min-height: 0;
}

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

.ticker {
    background: #1a1a2e;
    padding: 6px 12px;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid #2a2a3e;
    border-bottom: 1px solid #2a2a3e;
}

.ticker-content {
    display: inline-block;
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

#panels {
    display: flex;
    height: 150px;
    border-top: 1px solid #2a2a3e;
}

.panel {
    flex: 1;
    padding: 8px;
    overflow-y: auto;
    border-right: 1px solid #2a2a3e;
}

.panel:last-child {
    border-right: none;
}

.panel h3 {
    font-size: 13px;
    margin-bottom: 6px;
    color: #787b86;
}

.whale-item, .signal-item {
    font-size: 12px;
    padding: 2px 0;
    border-bottom: 1px solid #2a2a3e;
}

.signal-item.strength-strong {
    color: #26a69a;
    font-weight: bold;
}

.signal-item.strength-weak {
    color: #ef5350;
    opacity: 0.7;
}