/* Hysteria styles for game.php (ported from hysteria.css). Loaded only for game type 'h'. */

/* ─── Castbar ─────────────────────────────────────────── */
#castbar .userbox {
  height: 160px;
  max-height: none;
}
.hysteria-health-bar {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin: 6px 0 3px 0;
}
.hysteria-health-bar.large {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.25);
}
.hysteria-health-fill {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: inherit;
}
.hysteria-health-text {
  font-size: 11px;
  font-weight: 600;
  color: #5a6c64;
  margin: 2px 0 0 0;
}

/* ─── Actionbox ───────────────────────────────────────── */
.actionbox {
  background: linear-gradient(135deg, #66eac8 0%, #4b8fa2 100%);
  box-shadow: 0 8px 32px rgba(75, 143, 162, 0.3);
}
.actionbox:hover {
  box-shadow: 0 12px 40px rgba(75, 143, 162, 0.4);
}

/* ─── Actionbox: competition ──────────────────────────── */
.hysteria-comp,
.hysteria-health {
  background: rgba(255, 255, 255, 0.12);
  padding: 12px;
  border-radius: 10px;
  margin: 10px 0;
}
.hysteria-comp h3,
.hysteria-health h4 {
  margin-top: 0;
}
.hysteria-comp-buttons {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}
.hysteria-comp-btn {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hysteria-comp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.hysteria-comp-btn.hoh {
  border-color: #ffd700;
}
.hysteria-comp-btn.hoh:hover {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  border-color: #f57f17;
}
.hysteria-comp-btn.pov:hover {
  background: rgba(255, 255, 255, 0.3);
}
.hysteria-comp-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.hysteria-comp-link {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: #4b8fa2;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.hysteria-comp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}
.hysteria-note {
  font-style: italic;
  opacity: 0.8;
}

/* ─── Actionbox: health ───────────────────────────────── */
.hysteria-health-percentage {
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0 0 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.hysteria-health-note {
  font-size: 12px;
  opacity: 0.85;
  margin: 2px 0 0 0;
}
