/* ============================================================
   styles/tooltip.css — 物品 tooltip / 生长形态
   （原 styles/main.css 拆解而来：710~776、2437~2442 行）
   ============================================================ */

#item-tooltip {
  position: fixed;
  z-index: 9998;
  min-width: 140px;
  max-width: 280px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(12, 14, 28, 0.94);
  border: 1px solid rgba(255, 226, 150, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  font-size: 13px;
  line-height: 1.5;
  color: #e6ddcd;
}

#item-tooltip.hidden {
  display: none;
}

#item-tooltip .tt-name {
  font-weight: 700;
  color: #ffe296;
  margin-bottom: 2px;
}

#item-tooltip .tt-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

/* ---- 属性区（名字/描述之后）---- */
#item-tooltip .tt-stats {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

#item-tooltip .tt-stat {
  font-size: 12px;
  color: #8ec8ff;
  line-height: 1.6;
}

#item-tooltip .tt-stat.warn {
  color: #ffb36b;
}

/* ---- 饱腹度（最下面）---- */
#item-tooltip .tt-sat {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #a3d47a;
}

/* ---- 数字加粗（统一）---- */
#item-tooltip b {
  color: #ffffff;
  font-weight: 700;
}

/* ---- tooltip 生长形态 ---- */
#item-tooltip .tt-growth {
  font-size: 12px;
  color: #a3d47a;
  margin-top: 2px;
}
