/* 输入框旁「积分上限」（2026-11-17）：外观沿用模型那颗 .composer-model-switch，这里只补图标、开着时的颜色和自定义那一行 */
.hx-budget .hx-budget-ico { font-style: normal; display: inline-grid; place-items: center; }
.hx-budget .hx-budget-ico svg { width: 16px; height: 16px; display: block; }
.hx-budget.on .model-switch-current { color: var(--warning-text, #a05a00); font-weight: 700; }
#appView .hx-budget .model-switch-current, .hx-budget .model-switch-current { max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; }
.hx-budget .model-switch-menu { min-width: 260px; }
.hx-budget-art { display: inline-grid; place-items: center; font-weight: 700; font-size: 15px; line-height: 1; }
.hx-budget-art svg { width: 16px; height: 16px; display: block; }
.hx-budget-custom { display: flex; align-items: center; gap: 6px; margin: 6px 8px 2px; }
.hx-budget-custom input { flex: 1; min-width: 0; height: 30px; padding: 0 8px; font: inherit; font-size: 13px; color: var(--text, inherit); background: var(--surface, #fff); border: 1px solid var(--border, #ccc); border-radius: 6px; }
.hx-budget-custom input:focus { outline: 2px solid var(--accent, #3a7d2c); outline-offset: -1px; }
.hx-budget-custom span { font-size: 12px; color: var(--text-muted, #777); }
.hx-budget-custom button { height: 30px; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--on-accent, #fff); background: var(--accent, #3a7d2c); border: 0; border-radius: 6px; cursor: pointer; }
/* 挤的时候：compact 收掉「积分上限」四个字；icon 只留金币，开着时金币右上角一个点 */
.hx-budget[data-fit="compact"] .model-switch-trigger > span,
.hx-budget[data-fit="icon"] .model-switch-trigger > span,
.hx-budget[data-fit="icon"] .model-switch-current { display: none; }
.hx-budget .hx-budget-ico { position: relative; }
.hx-budget[data-fit="icon"].on .hx-budget-ico::after { content: ""; position: absolute; top: -2px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--warning-text, #c77700); box-shadow: 0 0 0 1.5px var(--surface, #fff); }
@media (max-width: 720px) {
  .hx-budget .model-switch-trigger > span { display: none; }
  .hx-budget .model-switch-menu { min-width: 0; }
}
