/* TMC Live Price Chip — V3 spec. Pixel-exact. Do not modify without design approval. */

.tmc-price-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding: 2px 8px 2px 6px;
    background: #f6f3fb;
    border: 1px solid #e4dcf2;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    color: #444441;
    text-decoration: none !important;
    vertical-align: 2px;
    transition: background 120ms ease, border-color 120ms ease;
    min-width: 92px;
    /* Inherit body font — do NOT specify font-family here. */
}

.tmc-price-chip:hover,
.tmc-price-chip:focus-visible {
    background: #efe9f7;
    border-color: #d9ccef;
    text-decoration: none !important;
}

.tmc-price-chip:focus-visible {
    outline: 2px solid #720e9e;
    outline-offset: 1px;
}

.tmc-price-chip-pip {
    width: 14px;
    height: 14px;
    background: #720e9e;
    color: #ffffff;
    font-size: 9px;
    font-weight: 500;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    flex-shrink: 0;
}

.tmc-price-chip-price {
    color: #1d9e75;
    font-weight: 500;
    white-space: nowrap;
}

.tmc-price-chip-change {
    font-size: 11px;
    white-space: nowrap;
}

.tmc-price-chip-change--up   { color: #1d9e75; }
.tmc-price-chip-change--down { color: #d35454; }
.tmc-price-chip-change--flat { color: #888780; }

/* Mobile: tighten margins so chips wrap cleanly. */
@media (max-width: 540px) {
    .tmc-price-chip {
        margin-left: 6px;
        font-size: 11px;
    }
    .tmc-price-chip-change { font-size: 10px; }
}
