#boe-table .boe-item-cell {
    white-space: nowrap;
}

#boe-table .boe-stats-cell {
    white-space: nowrap;
}

#boe-table .boe-modifiers-cell {
    white-space: nowrap;
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
}

#boe-table .boe-socket-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--r-pill, 999px);
    border: 1px solid rgba(90, 200, 250, 0.45);
    color: #5ac8fa;
    background: rgba(90, 200, 250, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Track badge: force same rendering as Loot History */
#boe-table .item-track {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--r, 6px);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

#boe-table .item-track--champion {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.35);
}

#boe-table .item-track--hero {
    background: rgba(255, 87, 34, 0.2);
    color: #ff7043;
    border: 1px solid rgba(255, 87, 34, 0.35);
}

#boe-table .item-track--mythic {
    background: rgba(156, 39, 176, 0.2);
    color: #ab47bc;
    border: 1px solid rgba(156, 39, 176, 0.35);
}

/* Page tabs */
.boe-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-subtle);
    margin-bottom: 2rem;
}

.boe-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.boe-tab:hover {
    color: var(--color-tab);
}

.boe-tab.active {
    color: var(--color-tab);
    border-bottom-color: var(--color-tab);
}

.boe-tab-content {
    display: none;
}

.boe-tab-content.active {
    display: block;
}

/* Tracker tab */
.boe-tracker-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.25rem;
}

.boe-tracked-matches-title {
    margin: 2rem 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Tracked item pills + actions */
.boe-tracked-pill {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    padding: 0;
    line-height: 0;
    flex-shrink: 0;
}

.boe-tracked-actions {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
}

.display-item-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.boe-matches-pill-col {
    width: 4rem;
}

.boe-matches-pill-cell {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.boe-modal-stats {
    display: flex;
    gap: 0.75rem;
}

.boe-modal-stats .form-input {
    flex: 1 1 0;
    min-width: 0;
}

.boe-modal-row {
    display: flex;
    align-items: center;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.form-hint {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
}

.boe-tracked-remove {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
}

@media (max-width: 560px) {
    .boe-modal-stats {
        flex-direction: column;
    }
}
