body {
    margin: 0;
    padding: 0;
    background: aliceblue;
    font-family: Arial, Helvetica, sans-serif;
}
#title-bar {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: #1a1a1a;
    z-index: 10;
    white-space: nowrap;
}
#version {
    font-size: 10px;
    font-weight: normal;
    color: #999;
    margin-left: 6px;
}
#wrapper {
    display: flex;
    width: 100%;
    height: 550px;
}
#controls {
    width: 200px;
    min-width: 200px;
    padding: 0 14px 10px 14px;
    background: white;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    font-size: 12px;
}
#controls h3 {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #333;
}
#controls label {
    display: block;
    font-weight: bold;
    color: #555;
    font-size: 11px;
    margin-top: 8px;
    margin-bottom: 2px;
}
#controls input[type="range"] {
    width: 100%;
    margin: 0;
}
.slider-value {
    font-size: 11px;
    color: #333;
    text-align: right;
}
#controls button {
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #f5f5f5;
}
#controls button:hover {
    background: #e0e0e0;
}
#start-btn {
    background: #4CAF50 !important;
    color: white;
    border-color: #388E3C !important;
    font-weight: bold;
}
#start-btn:hover {
    background: #388E3C !important;
}
.stats-section {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}
.stat-label {
    font-weight: bold;
    color: #555;
    font-size: 11px;
}
.stat-value {
    font-size: 11px;
    color: #333;
}
.legend-section {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 11px;
    color: #555;
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
}
#network-container {
    width: 100%;
    height: 100%;
}
#day-display {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,255,255,0.9);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    z-index: 10;
}
#timeline-bar {
    height: 20px;
    margin: 4px 8px;
    border-radius: 4px;
    display: flex;
    overflow: hidden;
}
.timeline-segment {
    height: 100%;
    transition: width 0.3s;
}
