/* 20250606-1350_029 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #000000;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #c8d0e0;
}

/* @CST:edit:W5GA:canvas-position-restored */
canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#tab-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 10px;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #1a1a3a;
}

#settings-bar {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 4px 12px;
    gap: 6px;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #111128;
}

#tabs {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.tab {
    background: #12122a;
    border: 1px solid #2a2a4a;
    border-radius: 6px 6px 0 0;
    padding: 6px 16px;
    color: #6a7090;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
}

.tab:hover {
    color: #a0a8c0;
    border-color: #3a3a5a;
}

.tab.active {
    background: #1a1a3a;
    color: #c8d0e0;
    border-color: #7b68ee;
    border-bottom-color: transparent;
}

#settings-bar button {
    background: #0a0a1a;
    border: 1px solid #222240;
    border-radius: 4px;
    padding: 3px 8px;
    color: #6a7090;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}

#settings-bar button:hover {
    color: #c8d0e0;
    border-color: #7b68ee;
}



#btn-reset {
    font-size: 9px !important;
    padding: 2px 5px !important;
    color: #3a3a5a !important;
    margin-left: auto;
}

#btn-reset:hover {
    color: #ff6b6b !important;
    border-color: #ff6b6b !important;
}

#search-box {
    margin-left: 8px;
    flex-shrink: 0;
}

#label-filter {
    background: #0a0a1a;
    border: 1px solid #222240;
    border-radius: 4px;
    padding: 3px 8px;
    color: #c8d0e0;
    font-size: 11px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    width: 140px;
    outline: none;
    transition: border-color .2s;
}

#label-filter:focus {
    border-color: #7b68ee;
}

#label-filter::placeholder {
    color: #3a3a5a;
}

#speed-slider {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #2a2a4a;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
}

#speed-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7b68ee;
    cursor: pointer;
    border: none;
}

#speed-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7b68ee;
    cursor: pointer;
    border: none;
}

#info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-left: 8px;
}

#universe-name {
    font-size: 13px;
    font-weight: 600;
    color: #7b68ee;
}

#universe-subtitle {
    font-size: 10px;
    color: #4a5070;
}

/* @CST:add:F6A1:fps-counter-style */
#fps-counter {
    margin-left: auto;
    font-size: 11px;
    font-family: 'Consolas', 'Menlo', monospace;
    color: #4a5070;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 8px;
}

#tooltip {
    position: absolute;
    display: none;
    background: rgba(10, 10, 30, .92);
    border-radius: 8px;
    padding: 10px 14px;
    color: #c8d0e0;
    font-size: 12px;
    pointer-events: none;
    max-width: 280px;
    backdrop-filter: blur(8px);
    z-index: 20;
}

#tooltip .tn {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

#tooltip .tm {
    color: #6a7090;
    font-size: 11px;
}

#tooltip .td {
    color: #8890b0;
    font-size: 11px;
    margin-top: 4px;
}

#hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: #3a3a5a;
    font-size: 10px;
    z-index: 10;
    pointer-events: none;
}

/* @CST:add:E5A3:star-filters */
#star-filters {
    display: none;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
}
#star-filters input[type="number"] {
    width: 52px;
    padding: 2px 4px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    color: #ccc;
    font-size: 11px;
    text-align: right;
    -moz-appearance: textfield;
}
#star-filters input::-webkit-outer-spin-button,
#star-filters input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.filter-unit {
    color: rgba(255,255,255,0.4);
    font-size: 10px;
    margin-right: 4px;
}

