
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; }

.event-year {
    font-family: monospace;
    font-size: 9.5px;
    color: var(--ui-text);
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.event-text {
    font-weight: 500;
    text-align: right;
    line-height: 1.3;
    color: var(--ui-text);
}
.event-history-tab {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 2px;
}
.event-history-tab::-webkit-scrollbar { width: 3px; }
.event-history-tab::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
.event-history-item {
    background: rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 10px;
    color: var(--ui-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.event-history-item.event-history-item--epoch {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}
.epoch-era-detail {
    font-size: 9px;
    line-height: 1.35;
    color: var(--ui-text);
    font-weight: 400;
}

.ui-tab-row button {
    flex: 1;
    min-width: 0;
    padding: 7px 4px;
    font-size: 9px;
    line-height: 1.15;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ui-text);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.ui-tab-row.grid > button {
    width: 100%;
}
.ui-tab-row button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ui-text);
}
.ui-tab-row button.tab-active {
    background: rgba(255, 255, 255, 0.07);
    color: var(--ui-text);
}

.type-count-row { border: none; }
.type-count-label { color: var(--ui-text); }
.type-count-num { color: var(--ui-text); }
.type-count-num.type-count-num--zero { color: var(--ui-text); }
