/* Feature — Public price page: card of the Blade redesign (headline buy price, small sell line, trend chip). Loaded after public-prices.css; the frozen Svelte twin keeps its legacy rules in the main file. */

/* The BUY price is the headline. Colour belongs to the trend chip alone
   (<x-badge tone>); the amount stays untoned so it reads the same whether
   the price rose or fell. */
.price-row--buy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-value--hero {
    font-size: 2.25rem;
    font-weight: var(--fw-bold);
    line-height: 1.1;
    color: var(--text-primary);
}

/* x-money paints tone-neutral (secondary gray); the headline price must be
   high-contrast, so the amount takes the primary text token. */
.price-value--hero .money-value {
    color: var(--text-primary);
}

.price-value--small .money-value {
    color: var(--text-primary);
}

.price-value__unit {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
}

.price-row__trend {
    display: flex;
}

.price-row--sell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-top: 0.625rem;
    border-top: 1px dashed var(--border-color);
}

.price-row__line {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-value--small {
    align-items: center;
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
}

.trend-chip {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

