/* 猎杀2366 board (juji-hunt.js · 11-01 boss main bot #72393; 工程): three dark "screens" on the gold ground, the hacker's
   Aave health as a pixel boss HP bar (same look as the coin's logo E), the two price lines as tracks. */
.juji-hunt {
  position: relative;
  z-index: 2;
  padding: 20px var(--juji-margin);
  border-top: 1px solid rgba(20, 17, 11, 0.12);
  background: var(--juji-ground, #f5bd4f);
  color: var(--juji-ink, #14110b);
}
.juji-hunt-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  letter-spacing: 0.01em;
}
.juji-hunt-sub,
.juji-hunt-foot {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--juji-soft, #4a3a1f);
}
.juji-hunt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
@media (min-width: 900px) {
  .juji-hunt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.juji-hunt-card {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--juji-panel, #13110d);
  color: var(--juji-screen-ink, #f4ecdf);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.juji-hunt-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}
.juji-hunt-sample {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 189, 79, 0.16);
  color: var(--juji-gold, #f5bd4f);
  font-size: 12px;
  font-weight: 700;
}
.juji-hunt-hf {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  color: var(--crimson, #ef4444);
}
.juji-hunt-hp {
  position: relative;
  height: 18px;
  border: 3px solid var(--juji-screen-ink, #f4ecdf);
  background: #000;
  overflow: hidden;
}
/* Pixel boss bar (brand device from logo E, kept on purpose: segments, steps, flat crimson). The fill never changes size;
   the dark cover is scaled from the right (transform only) to show how much HP is gone. */
.juji-hunt-hp-fill,
.juji-hunt-hp-empty,
.juji-hunt-hp-hit {
  position: absolute;
  inset: 2px;
}
.juji-hunt-hp-fill {
  background: repeating-linear-gradient(90deg, var(--crimson, #ef4444) 0 9px, #7f1d1d 9px 12px);
}
.juji-hunt-hp-empty {
  background: #000;
  transform-origin: right center;
  transform: scaleX(calc(1 - var(--hp, 0)));
  transition: transform 0.6s steps(6);
}
.juji-hunt-hp-hit {
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.juji-hunt-hp.is-enter .juji-hunt-hp-empty { animation: jh-hp-enter 1.1s steps(12) 0.2s both; }
.juji-hunt-hp.is-hit .juji-hunt-hp-hit { animation: jh-hp-hit 0.5s steps(2) 1; }
.juji-hunt-hp.is-low .juji-hunt-hp-fill { animation: jh-hp-low 0.9s steps(2) infinite; }
@keyframes jh-hp-enter { from { transform: scaleX(1); } }
@keyframes jh-hp-hit { 0%, 40% { opacity: 0.85; } 100% { opacity: 0; } }
@keyframes jh-hp-low { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) {
  .juji-hunt-hp-empty { transition: none; }
  .juji-hunt-hp.is-enter .juji-hunt-hp-empty,
  .juji-hunt-hp.is-hit .juji-hunt-hp-hit,
  .juji-hunt-hp.is-low .juji-hunt-hp-fill { animation: none; }
}
.juji-hunt-hint,
.juji-hunt-gate-note,
.juji-hunt-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--juji-screen-soft, #b9ad98);
}
.juji-hunt-line {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.juji-hunt-strong {
  color: var(--juji-gold, #f5bd4f);
}
.juji-hunt-eth {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
}
.juji-hunt-gate + .juji-hunt-gate {
  margin-top: 12px;
}
.juji-hunt-gate-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}
.juji-hunt-gate-status {
  color: var(--juji-gold, #f5bd4f);
}
.juji-hunt-gate.is-reached .juji-hunt-gate-status {
  color: var(--emerald, #10b981);
}
.juji-hunt-track {
  height: 8px;
  margin-top: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.juji-hunt-track-fill {
  height: 100%;
  background: var(--juji-gold, #f5bd4f);
  transition: width 0.6s ease;
}
.juji-hunt-gate.is-reached .juji-hunt-track-fill {
  background: var(--emerald, #10b981);
}
.juji-hunt-rows {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0;
  font-size: 13px;
}
.juji-hunt-rows dt {
  color: var(--juji-screen-soft, #b9ad98);
}
.juji-hunt-rows dd {
  margin: 0;
  font-family: var(--font-mono);
  text-align: right;
  overflow-wrap: anywhere;
}
.juji-hunt-prize {
  font-weight: 800;
}
.juji-hunt-prize.is-up {
  color: var(--emerald, #10b981);
}
.juji-hunt-prize.is-down {
  color: var(--crimson, #ef4444);
}
.juji-hunt-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--juji-gold, #f5bd4f);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The 直播 page links to the full 猎杀2366 page (hunt2366.html). */
.juji-hunt-page {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--juji-ink, #14110b);
  text-decoration: underline;
  text-underline-offset: 3px;
}
