/* ═══════════════════════════════════════════════════
   SPALANIE MANY — rozszerzenie stylu Komendy
   ═══════════════════════════════════════════════════ */

.lbn-mana .cmd-hero {
  text-align: center;
}

.lbn-mana .cmd-lead {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.mana-hero-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px auto 0;
  max-width: 280px;
  padding: 10px 14px;
  border: 1px solid var(--gold-dark);
  background: rgba(0, 0, 0, 0.4);
}

.mana-hero-icon img {
  display: block;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 8px rgba(80, 160, 255, 0.35));
  animation: mana-pulse 2s ease-in-out infinite;
}

.mana-hero-icon__label {
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ec8e0;
}

@keyframes mana-pulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(80, 160, 255, 0.25)); transform: translateY(0); }
  50% { filter: drop-shadow(0 0 12px rgba(80, 160, 255, 0.55)); transform: translateY(-2px); }
}

.mana-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.mana-cols .char-glow-panel {
  margin-bottom: 0;
}

.mana-table {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.mana-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 48px 72px;
  gap: 8px;
  align-items: center;
  padding: 4px 8px 6px;
  font-family: "Cinzel", serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(138, 106, 26, 0.4);
}

.mana-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 48px 72px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid rgba(138, 106, 26, 0.28);
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.15s ease;
}

.mana-row:hover {
  border-color: var(--gold);
}

.mana-row--top {
  border-color: rgba(80, 160, 255, 0.45);
  background: rgba(20, 40, 70, 0.35);
}

.mana-row__ico {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mana-row__ico img {
  display: block;
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}

.mana-row__name {
  font-size: 13px;
  font-weight: 600;
  color: #f2e6c0;
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mana-row__ml,
.mana-row__mana {
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.mana-row__ml {
  color: #9ec8e0;
}

.mana-row__mana {
  color: var(--gold-bright);
}

.mana-tip {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(138, 106, 26, 0.4);
  border-left: 3px solid #5a9fd4;
  background: rgba(0, 0, 0, 0.3);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.mana-tip em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 640px) {
  .mana-cols {
    grid-template-columns: 1fr;
  }

  .mana-head,
  .mana-row {
    grid-template-columns: 28px minmax(0, 1fr) 40px 60px;
    gap: 6px;
    padding: 5px 6px;
  }

  .mana-row__name {
    font-size: 12px;
  }

  .mana-row__ml,
  .mana-row__mana {
    font-size: 11px;
  }
}
