
.cc-arena-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d1f14;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.cc-arena-canvas-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cc-arena-canvas-mount canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.cc-hud-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.cc-hud-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.cc-hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 29, 20, 0.86);
  border: 1.5px solid rgba(232, 168, 37, 0.55);
  color: #fffdf7;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
}
.cc-hud-pill strong {
  color: #ffd15c;
  font-variant-numeric: tabular-nums;
}
.cc-hud-btn {
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 253, 247, 0.35);
  background: rgba(18, 41, 26, 0.88);
  color: #fffdf7;
  font-size: 12px;
  font-weight: 800;
  transition: background-color 120ms ease, transform 120ms ease;
}
.cc-hud-btn:hover {
  background: #244f33;
}
.cc-hud-btn:active {
  transform: scale(0.96);
}
.cc-dash-bar-wrap {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.cc-dash-label {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(14, 29, 20, 0.84);
  color: #fffdf7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.cc-dash-track {
  width: 176px;
  height: 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.cc-dash-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  transition: width 60ms linear;
}
.cc-kill-toast {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(199, 46, 22, 0.94);
  color: #fffdf7;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}
.cc-kill-toast.is-on {
  opacity: 1;
}
.cc-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 16;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(10, 22, 15, 0.76);
  backdrop-filter: blur(4px);
}
.cc-modal-overlay[hidden] {
  display: none !important;
}
.cc-modal-card {
  max-width: 400px;
  width: 100%;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fffdf7;
  border: 2px solid #d8ceb5;
  color: #18211b;
  text-align: center;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}
.cc-modal-kicker {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4d6;
  color: #8a5200;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cc-modal-title {
  margin: 10px 0 6px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
  color: #12291a;
}
.cc-modal-sub {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #46534a;
}
.cc-modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.cc-stat-box {
  padding: 8px 6px;
  border-radius: 10px;
  background: #f6f2e6;
  border: 1px solid #d8ceb5;
}
.cc-stat-box span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #46534a;
}
.cc-stat-box strong {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 900;
  color: #12291a;
}
.cc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.cc-primary-btn {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  background: #c72e16;
  color: #fffdf7;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 0 #751305;
}
.cc-primary-btn:hover {
  background: #a8220d;
}
.cc-touch-controls {
  position: absolute;
  inset: auto 14px 14px 14px;
  z-index: 14;
  display: none;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}
@media (pointer: coarse), (max-width: 820px) {
  .cc-touch-controls {
    display: flex;
  }
  .cc-dash-bar-wrap {
    bottom: 84px;
  }
}
.cc-dpad {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  grid-template-rows: repeat(2, 42px);
  gap: 5px;
  pointer-events: auto;
}
.cc-dpad button,
.cc-touch-dash {
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(18, 41, 26, 0.78);
  color: #fffdf7;
  font-size: 15px;
  font-weight: 900;
  pointer-events: auto;
}
.cc-touch-dash {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: rgba(199, 46, 22, 0.88);
  border-color: #ffd15c;
  font-size: 13px;
}
