/* ==========================================================================
 * LASER CHESS (激光象棋) — Showstopper Neon Optical Arena
 * ========================================================================== */

.lc-arena {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 290px;
  gap: 18px;
  align-items: start;
  padding: 4px 4px 20px;
}

@media (max-width: 940px) {
  .lc-arena {
    grid-template-columns: 1fr;
  }
}

/* Optical Table Frame */
.lc-table-shell {
  position: relative;
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(circle at 8% 8%, rgba(34, 211, 238, 0.14), transparent 36%),
    radial-gradient(circle at 92% 92%, rgba(255, 46, 84, 0.16), transparent 38%),
    linear-gradient(160deg, #0d111d 0%, #060810 100%);
  border: 1.5px solid rgba(228, 185, 91, 0.42);
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.8),
    inset 0 0 48px rgba(0, 0, 0, 0.85);
}

.lc-board-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.lc-cell-hit {
  cursor: pointer;
}

.lc-cell-hit:hover .lc-cell-rect {
  stroke: rgba(255, 240, 194, 0.65);
  stroke-width: 1.8;
}

/* Animated Laser Beam FX */
.lc-beam-flow {
  stroke-dasharray: 18 10;
  animation: lc-photon-stream 0.55s linear infinite;
}

@keyframes lc-photon-stream {
  from { stroke-dashoffset: 28; }
  to   { stroke-dashoffset: 0; }
}

.lc-beam-flash {
  animation: lc-beam-ignite 0.36s var(--tg-ease);
}

@keyframes lc-beam-ignite {
  0%   { opacity: 0.15; stroke-width: 14; }
  45%  { opacity: 1; }
  100% { opacity: 0.92; }
}

.lc-spark-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: lc-spark-pulse 1s ease-in-out infinite;
}

@keyframes lc-spark-pulse {
  0%, 100% { transform: scale(0.82); opacity: 0.85; }
  50%      { transform: scale(1.22); opacity: 1; }
}

.lc-shatter-burst {
  transform-box: fill-box;
  transform-origin: center;
  animation: lc-shatter-anim 0.9s var(--tg-ease) forwards;
}

@keyframes lc-shatter-anim {
  0%   { transform: scale(0.35) rotate(0deg); opacity: 1; }
  45%  { transform: scale(1.25) rotate(32deg); opacity: 0.95; }
  100% { transform: scale(1.55) rotate(68deg); opacity: 0.2; }
}

/* Right Tactical Console */
.lc-console {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.lc-card {
  padding: 14px 15px;
  border-radius: var(--tg-radius-md);
  background: var(--tg-glass);
  border: 1px solid var(--tg-border);
  box-shadow: var(--tg-shadow-card);
}

.lc-card-title {
  margin: 0 0 10px;
  font-family: var(--tg-font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tg-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lc-rotate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.lc-sel-box {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(8, 11, 20, 0.85);
  border: 1px solid rgba(228, 185, 91, 0.35);
}

.lc-sel-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--tg-gold-bright);
  margin-bottom: 4px;
}

.lc-sel-desc {
  font-size: 12px;
  color: var(--tg-ink-muted);
  margin: 0;
  line-height: 1.45;
}

/* Destroyed / Vaporized Casualty Strip */
.lc-kill-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc-side-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.lc-side-row.is-p0 {
  border-left: 3px solid #ff2e54;
}

.lc-side-row.is-p1 {
  border-left: 3px solid #22d3ee;
}

.lc-piece-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: var(--tg-ink-muted);
}

.lc-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lc-legend-badge {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(228, 185, 91, 0.35);
  color: var(--tg-gold-bright);
  flex: none;
}

.lc-event-alert {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(217, 27, 58, 0.18);
  border: 1px solid rgba(255, 46, 84, 0.55);
  color: #ffc5d0;
  margin-bottom: 10px;
}
