:root {
    --jugW: 75px;
    --jugH: 400px;
    --gap: 18px;
    --bg: #0b0d11;
    --ink: #e9ecf3;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--gap);
    justify-items: center;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.title {
    font-size: 12px;
    color: #a0a7ba;
}

.meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: #a0a7ba;
}

.val {
    font-weight: 700;
    color: var(--ink);
}

.chem-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    overflow-x: auto;
    padding: 8px;
}

.chem-card {
    flex: 0 0 auto;
    width: 140px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chem-header {
    background: linear-gradient(90deg, var(--chemTint), transparent 60%);
    border: 1px solid var(--mud-palette-divider);
    display: flex;
    align-items: center;
}

.chem-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
