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

body {
    background: #0a0c10;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
}

.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #0f1117;
    border-right: 1px solid #1e2028;
    padding: 24px 16px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-logo {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #1e2028;
}

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

.nav-link {
    padding: 10px 14px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
}

.nav-link:hover {
    background: #1a1d25;
    color: #e5e7eb;
}

.nav-link.active {
    background: #1e293b;
    color: #3b82f6;
}

.content {
    margin-left: 260px;
    flex: 1;
    padding: 24px 32px;
    min-height: 100vh;
}

.stat-details {
    background: #0f1117;
    border: 1px solid #1e2028;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #1a1c22;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    width: 140px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.detail-value {
    flex: 1;
    font-size: 13px;
    color: #e5e7eb;
    font-family: monospace;
}

.detail-value.text-blue-400 {
    color: #3b82f6;
    font-size: 20px;
    font-weight: 700;
}

.graph-container {
    background: #0f1117;
    border: 1px solid #1e2028;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    height: 500px;
}

.graph-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.025);
    pointer-events: none;
    font-family: monospace;
    white-space: nowrap;
    z-index: 0;
}

#rpsChart {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.graph-tooltip {
    position: fixed;
    background: #0f1117;
    border: 2px solid #3b82f6;
    border-radius: 10px;
    padding: 10px 16px;
    pointer-events: none;
    z-index: 1000;
    font-family: monospace;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

.tooltip-value {
    font-size: 24px;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
}

.tooltip-time {
    font-size: 10px;
    color: #6b7280;
    margin-top: 4px;
}