/* ===== HP バー ===== */
.hp-bar-wrap { margin: 6px 0 10px; width: 100%; }
.hp-bar-bg {
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  height: 7px;
  overflow: hidden;
  width: 100%;
}
.hp-bar {
  height: 100%;
  border-radius: 4px;
  background: #00A896;
  transition: width .4s ease, background .3s;
}
.hp-num {
  font-size: 9px;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  margin-top: 2px;
  text-align: center;
}

/* ===== バトルタイマー ===== */
.battle-timer-wrap {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 10;
}
.battle-timer {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  color: var(--muted);
  background: rgba(0,0,0,.5);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ===== ダメージフロートアニメーション ===== */
@keyframes damage-float {
  0%   { transform: translateY(0) scale(1);    opacity: 1; }
  60%  { transform: translateY(-40px) scale(1.2); opacity: 1; }
  100% { transform: translateY(-80px) scale(.8); opacity: 0; }
}

/* ===== バトルログ（動的追記方式） ===== */
#battleLogInner { display: flex; flex-direction: column; gap: 2px; }
.log-line { font-size: 12px; color: var(--muted); line-height: 1.5; padding: 2px 0; opacity: 0; transition: opacity .3s; }
.log-line.show { opacity: 1; }
.log-player    { color: #00A896; }
.log-enemy     { color: #E8593C; }
.log-heal      { color: #4DD4C0; }
.log-turn      { color: #8890B0; font-size: 10px; border-top: 1px solid rgba(255,255,255,.05); margin-top: 2px; padding-top: 2px; }
.log-highlight { color: var(--gold2); }
.log-skill     { color: var(--thunder); font-weight: 700; }
.log-win       { color: var(--teal); font-weight: 700; font-size: 13px; }
.log-lose      { color: var(--coral); font-weight: 700; font-size: 13px; }
.log-score     { color: var(--gold); font-family: 'DM Mono', monospace; }

/* ===== 結果画面 ptDisplay ===== */
.result-pt-display {
  text-align: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
.result-pt-num   { font-size: 28px; font-weight: 900; color: var(--teal); font-family: 'DM Mono', monospace; }
.result-pt-total { font-size: 11px; color: var(--muted); margin-top: 4px; }
