/* === moved from 03-panel-contract.css in pass25: generic-minigame-arenas === */
/* ------------------------------------------------------------
   ARENA
------------------------------------------------------------ */



/* ------------------------------------------------------------
   CHAO CONTAINER
------------------------------------------------------------ */

#karate-mp-chao-container {
  position: absolute;
  left: 0;
  top: 0;

  width: 100%;
  height: 100%;

  pointer-events: none;
  z-index: 2;                  /* above floor */
}

/* ------------------------------------------------------------
   FLOOR
------------------------------------------------------------ */

.karate-mp-floor {
  position: absolute;
  left: 0;
  bottom: 20px;

  width: 100%;
  height: 10px;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,0.6)
  );

  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   MULTIPLAYER TAG ARENA PANEL
   ============================================================ */







.tmp-info {
  padding: 8px;
  background: #162637;
  border: 1px solid #30445b;
  border-radius: 6px;
  min-height: 40px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.3em;
}







/* ============================================================
   Shared: 2× MP panels (bigger panel + scaled content)
   - Outer panel is 2× size.
   - Inner content stays authored at 780×540 and is scaled to 2×.
============================================================ */




/* ============================================================
   TRON TRAILS MP
============================================================ */


#tron-mp-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 780px;
  height: calc(540px - 94px);
  image-rendering: pixelated;
}

#tron-mp-chao-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 780px;
  height: calc(540px - 94px);
  pointer-events: none;
}

/* ============================================================
   Bumper Balls MP
============================================================ */




#tag-mp-chao-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}



#hotrope-mp-chao-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#bumperballs-mp-chao-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Bumper Balls: per-chao underlay + ability meter */
.bb-ball-underlay {
  position: absolute;
  left: 50%;
  top: 50%;
  /* Slightly smaller than the source sprite so the Chao reads as standing on it */
  width: 84px;
  height: 84px;
  /* Push the ball a bit downward relative to the Chao's anchor */
  transform: translate(-50%, -28%);
  background-size: 84px 84px;
  background-repeat: no-repeat;
  background-position: center;
  image-rendering: pixelated;
  opacity: 0.95;
  z-index: -1;
  pointer-events: none;
}

/* Lift the Chao slightly so it looks like it's standing on the ball. */
.bb-chao-onball {
  margin-top: -12px;
}

.bb-bump-meter {
  position: absolute;
  left: 50%;
  top: -10px;
  width: 34px;
  height: 6px;
  transform: translateX(-50%);
  border: 1px solid rgba(0,0,0,0.65);
  border-radius: 4px;
  background: rgba(0,0,0,0.35);
  box-shadow: 0 1px 2px rgba(0,0,0,0.45);
  overflow: hidden;
  pointer-events: none;
}

.bb-bump-meter-fill {
  height: 100%;
  width: 100%;
  background: rgba(120, 255, 120, 0.85);
}

#speedhockey-mp-chao-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ============================================================
   SPEED HOCKEY (MP)
============================================================ */





.sh-rink::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.25);
}

.sh-rink::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.18);
}



.sh-goal-left {
  left: 44px;
}

.sh-goal-right {
  right: 44px;
}

.sh-puck {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.95);
  box-shadow: 0 2px 0 rgba(0,0,0,0.65);
  pointer-events: none;
}

.sh-chao {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.70);
  border: 3px solid rgba(0,0,0,0.35);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  transform: translate(-50%, -50%);
}

.sh-chao[data-team="A"] {
  outline: 3px solid rgba(140, 220, 255, 0.55);
}

.sh-chao[data-team="B"] {
  outline: 3px solid rgba(255, 170, 140, 0.55);
}

/* ============================================================
   METEOR DODGE (MP)
============================================================ */



.md-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.md-warn {
  position: absolute;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255, 220, 120, 0.85) inset;
  background: rgba(255, 180, 0, 0.12);
}

.md-warn[data-phase="hit"] {
  box-shadow: 0 0 0 2px rgba(255, 80, 80, 0.75) inset;
  background: rgba(255, 80, 80, 0.10);
}

/* ============================================================
   SKY DIVE RINGS (MP)
============================================================ */



.sd-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

