/* BTC news impact (btc-news-impact.js): measured BTC reaction on the news list,
 * the Next-up card and the chart hover. Theme variables only, so every theme
 * (institutional, midnight, graphite, arctic) styles it without overrides. */

.btc-impact-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 3px;
    border: 1px solid var(--theme-border-subtle, #2a2e39);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    vertical-align: 1px;
    cursor: help;
}

.btc-impact-tag.is-major {
    color: var(--theme-accent-light, #7ab8cc);
    border-color: var(--theme-accent, #12647e);
}

.btc-impact-tag.is-small {
    color: var(--theme-text-secondary, #84878e);
}

/* Releases measured to leave BTC unmoved stay listed but step back. */
.calendar-event.is-btc-quiet,
.news-drawer-item.is-btc-quiet {
    opacity: 0.5;
}

.calendar-event.is-btc-quiet:hover,
.news-drawer-item.is-btc-quiet:hover {
    opacity: 0.85;
}

.next-up-btc,
.news-drawer-next-btc {
    display: grid;
    gap: 2px;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--theme-text-secondary, #84878e);
    font-variant-numeric: tabular-nums;
}

.next-up-btc[hidden],
.news-drawer-next-btc[hidden] {
    display: none;
}

/* Key on the left, text wrapping beside it (a hanging indent, not under the key). */
.next-up-btc-line {
    display: flex;
    align-items: baseline;
}

.next-up-btc-key {
    display: inline-block;
    flex: 0 0 auto;
    min-width: 70px;
    color: var(--theme-text-muted, #61656e);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.next-up-btc-line.is-drift {
    color: var(--theme-text, #d4d8e1);
}

/* Chart hover: measured response rows */
.hmt-btc-quiet {
    color: var(--theme-text-secondary, #84878e);
    font-size: 11px;
}

@media (max-width: 640px) {
    .btc-impact-tag {
        font-size: 11px;
        margin-left: 4px;
    }

    .next-up-btc-key {
        min-width: 62px;
    }
}
