/* 首页卡片上的应用热度（2026-09-27）：右下角一个小火苗＋近 30 天用过的人数，点开一个小面板。
   只用一个橙色，深浅不表示别的；数字一律用正文的墨色，不跟着条的颜色走。 */
/* 火苗占右下角箭头的位置：有火苗的卡片不画箭头（整张卡照样能点开），免得两个挤在一起。 */
.tool-card.has-heat .tool-card-footer { padding-right: 48px; }
.tool-card.has-heat .tool-open-arrow { display: none; }
.heat-badge { position: absolute; right: 18px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 4px;
  height: 26px; padding: 0 8px 0 6px; border: 0; border-radius: 13px; background: #fdf1e8; color: #7a3b12;
  font: inherit; font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .14s ease; }
.heat-badge:hover, .heat-badge[aria-expanded="true"] { background: #fbe2d0; }
.heat-badge:focus-visible { outline: 2px solid #9aa3ad; outline-offset: 2px; }
.heat-flame { width: 14px; height: 14px; background: #e0692a;
  -webkit-mask: url(/static/icons/lucide/flame.svg) center / contain no-repeat; mask: url(/static/icons/lucide/flame.svg) center / contain no-repeat; }

.heat-pop { position: fixed; z-index: 70; width: 296px; padding: 16px 18px 14px; background: #fff; border: 1px solid #e3e6eb;
  border-radius: 12px; box-shadow: 0 12px 32px #25282d1f; color: #25282d; }
.heat-pop[hidden] { display: none; }
.heat-pop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.heat-pop-head strong { font-size: 14px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.heat-pop-head span { flex: none; font-size: 12px; color: #8a9099; }
.heat-pop-main { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.heat-pop-main b { font-size: 28px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.heat-pop-main span { font-size: 13px; color: #636973; }
.heat-pop-sub { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: #6e747d; }
.heat-pop-sub b { color: #25282d; font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 2px; }

.heat-pop-caption { margin: 16px 0 6px; font-size: 11px; color: #8a9099; }
.heat-weeks { display: flex; align-items: flex-end; gap: 4px; height: 44px; }
.heat-weeks i { flex: 1; min-height: 2px; border-radius: 3px 3px 0 0; background: #f0b894; }
.heat-weeks i.is-now { background: #e0692a; }
.heat-weeks i.is-zero { background: #eceef1; }
.heat-weeks i.is-before { background: none; border-bottom: 1px dashed #d5d9df; border-radius: 0; }
.heat-axis { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11px; color: #a3a9b1; font-variant-numeric: tabular-nums; }

.heat-pop h4 { margin: 14px 0 6px; font-size: 11px; font-weight: 500; color: #8a9099; letter-spacing: .04em; }
.heat-lines { list-style: none; margin: 0; padding: 0; }
.heat-lines li { display: grid; grid-template-columns: minmax(0, 1fr) 64px 30px; align-items: center; gap: 10px; padding: 3px 0; font-size: 12px; }
.heat-lines li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4a4f57; }
.heat-lines li span:last-child { text-align: right; color: #636973; font-variant-numeric: tabular-nums; }
.heat-track { height: 5px; border-radius: 3px; background: #f1f2f4; overflow: hidden; }
.heat-fill { height: 100%; border-radius: 3px; background: #e0692a; }
.heat-pop-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #f1f2f4; font-size: 11px; line-height: 1.6; color: #8a9099; }
