/* 今日消费面板样式（配合 panel-widget.js） */
#zm-stat-panel {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 2147483000;
  width: 240px;
  padding: 16px 18px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  color: #1b1b1d;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  transition: transform .15s ease, box-shadow .15s ease;
  display: none;
}
html.dark #zm-stat-panel,
[data-theme="dark"] #zm-stat-panel {
  background: rgba(30, 30, 32, 0.97);
  color: #ece9e4;
  border-color: rgba(255, 255, 255, 0.08);
}
#zm-stat-panel.zm-busy { opacity: .75; }
#zm-stat-panel.zm-flash { transform: scale(1.03); box-shadow: 0 16px 48px rgba(252, 142, 27, .35); }

#zm-stat-panel .zm-row { display: flex; align-items: center; justify-content: space-between; }
#zm-stat-panel .zm-label { font-size: 12px; color: #857a70; letter-spacing: .04em; }
html.dark #zm-stat-panel .zm-label { color: #8f857c; }
#zm-stat-panel .zm-live {
  width: 7px; height: 7px; border-radius: 50%; background: #24c06a;
  box-shadow: 0 0 0 3px rgba(36, 192, 106, .18);
}
#zm-stat-panel .zm-value {
  display: flex; align-items: baseline; gap: 2px;
  font-size: 38px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
  color: #ef7a1a; margin: 2px 0 2px;
}
#zm-stat-panel .zm-yen { font-size: 18px; font-weight: 700; }
#zm-stat-panel .zm-sub { font-size: 12px; color: #857a70; margin-bottom: 10px; }
html.dark #zm-stat-panel .zm-sub { color: #8f857c; }

#zm-stat-panel .zm-actions { gap: 8px; }
#zm-stat-panel .zm-btn {
  flex: 1; height: 48px; border-radius: 12px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #fc8e1b, #ef7a1a);
  color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .08em;
  box-shadow: 0 4px 14px rgba(239, 122, 26, .32);
  transition: transform .1s ease, box-shadow .15s ease;
}
#zm-stat-panel .zm-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(239, 122, 26, .4); }
#zm-stat-panel .zm-btn:active { transform: translateY(0); }
#zm-stat-panel .zm-btn:disabled { opacity: .7; cursor: default; transform: none; }
#zm-stat-panel .zm-btn-ghost {
  flex: 0 0 52px; background: rgba(0, 0, 0, 0.05); color: #6b6259;
  box-shadow: none; font-size: 18px; font-weight: 600;
}
html.dark #zm-stat-panel .zm-btn-ghost { background: rgba(255, 255, 255, .08); color: #cfc6bd; }
#zm-stat-panel .zm-meta { font-size: 10.5px; color: #a09a92; margin-top: 7px; text-align: right; }

@media (max-width: 760px) {
  #zm-stat-panel { right: 12px; bottom: 76px; width: 170px; padding: 11px 13px 10px; }
  #zm-stat-panel .zm-value { font-size: 26px; }
}
