/* Shared weapon detail remainder styles — reference: weapon-hok-kong-chakra.
   Loaded on every weapon-[slug] page; per-weapon legacy CSS may override theme accents. */

:root {
  --gold: #c9a227;
  --gold-light: #f0d060;
  --holy: #a8d8ff;
  --holy-dim: rgba(168, 216, 255, 0.55);
  --karma: #c84b1a;
}

.lore-note {
  background: rgba(200, 75, 26, 0.05);
  border-left: 2px solid rgba(200, 75, 26, 0.45);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(232, 220, 185, 0.85);
}
.lore-note.blue {
  border-left-color: rgba(168, 216, 255, 0.5);
  background: rgba(40, 100, 200, 0.06);
}
.lore-note.gold {
  border-left-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.05);
}
.lore-note.purple {
  border-left-color: rgba(180, 110, 255, 0.45);
  background: rgba(120, 60, 180, 0.06);
}
.lore-note.teal {
  border-left-color: rgba(68, 204, 170, 0.55);
  background: rgba(68, 204, 170, 0.07);
}
.lore-note.crimson {
  border-left-color: rgba(204, 34, 34, 0.55);
  background: rgba(139, 0, 0, 0.1);
}
.lore-note b,
.lore-note strong {
  color: var(--gold-light);
}

.drop-info {
  background: rgba(30, 180, 80, 0.06);
  border: 1px solid rgba(60, 200, 100, 0.25);
  border-radius: 8px;
  padding: 14px 16px;
}
.drop-info p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(232, 220, 185, 0.88);
}
.drop-info .drop-key,
.drop-key {
  color: #80ff90;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.drop-info a {
  color: var(--holy);
  text-decoration: underline;
}

.game-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
@media (max-width: 560px) {
  .game-stat-grid {
    grid-template-columns: 1fr;
  }
}
.game-stat-card {
  border: 1px solid rgba(201, 162, 39, 0.18);
  background: rgba(200, 75, 26, 0.06);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
}
.game-stat-label {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(201, 162, 39, 0.5);
  margin-bottom: 4px;
}
.game-stat-val {
  font-family: 'Mitr', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-light);
}
.game-stat-val.crit {
  color: #cc2222;
}
.game-stat-val.holy {
  color: var(--holy);
}
.game-stat-note {
  font-size: 15px;
  color: rgba(232, 220, 185, 0.6);
  margin-top: 8px;
  line-height: 1.55;
}

.power-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 700px) {
  .power-grid {
    grid-template-columns: 1fr;
  }
}
.power-card {
  border: 1px solid rgba(200, 75, 26, 0.2);
  padding: 14px;
  background: rgba(200, 75, 26, 0.05);
  border-radius: 8px;
}
.power-card.blue {
  border-color: rgba(168, 216, 255, 0.2);
  background: rgba(40, 100, 200, 0.06);
}
.power-card.gold {
  border-color: rgba(201, 162, 39, 0.25);
  background: rgba(201, 162, 39, 0.06);
}
.power-title {
  font-family: 'Mitr', sans-serif;
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.power-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(232, 220, 185, 0.8);
}
.power-card--icon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.power-card--icon .power-card-body {
  flex: 1 1 auto;
  min-width: 0;
}
.power-skill-icon {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(200, 75, 26, 0.55);
  background: rgba(200, 75, 26, 0.08);
  box-shadow:
    0 0 14px rgba(200, 75, 26, 0.45),
    0 0 30px rgba(201, 162, 39, 0.18);
}
@media (max-width: 520px) {
  .power-card--icon {
    flex-direction: column;
    align-items: center;
  }
  .power-card--icon .power-card-body {
    text-align: center;
  }
}

.skill-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: rgba(20, 14, 6, 0.5);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 10px;
}
.skill-card--text {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
/* Passive cards carry no icon — indent the body to the column the icon would occupy */
.skill-card--passive .skill-body {
  margin-left: 96px;
}
@media (max-width: 520px) {
  .skill-card {
    flex-direction: column;
    align-items: center;
  }
  .skill-card--passive .skill-body {
    margin-left: 0;
  }
}
.skill-icon {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #0f0d08;
  border: 3px solid #c9a227;
}
.skill-icon--active {
  box-shadow:
    0 0 18px rgba(240, 208, 96, 0.55),
    0 0 36px rgba(201, 162, 39, 0.25);
}
.skill-body {
  flex: 1 1 auto;
  min-width: 0;
}
.skill-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.skill-name-th {
  font-family: 'Mitr', sans-serif;
  font-size: 17px;
  color: var(--gold-light);
}
.skill-name-en,
.skill-subtitle {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  color: rgba(200, 175, 136, 0.75);
  letter-spacing: 1px;
  margin-top: 2px;
  margin-bottom: 8px;
  font-style: italic;
}
.skill-type-badge,
.skill-tag {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.skill-tag.active,
.skill-type-badge {
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.1);
}
.skill-tag.passive {
  border: 1px solid rgba(168, 216, 255, 0.4);
  color: var(--holy);
  background: rgba(168, 216, 255, 0.08);
}
.skill-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(232, 220, 185, 0.88);
}
.skill-desc b {
  color: var(--gold-light);
}
.skill-cd {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  color: rgba(200, 175, 136, 0.75);
  margin-top: 8px;
  letter-spacing: 1px;
}

.source-list {
  font-size: 15px;
  color: rgba(232, 220, 185, 0.6);
  line-height: 2;
}
.source-list a {
  color: rgba(168, 216, 255, 0.7);
  text-decoration: underline;
}
.source-list a:hover {
  color: var(--holy);
}

/* ── VISUAL ART (hok-kong-chakra reference frame) ── */
.visual-art-frame {
  position: relative;
  width: 100%;
  border: 1px solid rgba(201, 162, 39, 0.25);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(200, 75, 26, 0.1) 0%, transparent 60%),
    rgba(10, 8, 6, 0.6);
  padding: 14px;
  margin-bottom: 8px;
  overflow: hidden;
}
.visual-art-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.06) 0%, transparent 30%),
    linear-gradient(-135deg, rgba(168, 216, 255, 0.04) 0%, transparent 30%);
  pointer-events: none;
}
.visual-art-img,
.visual-art-frame__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
  box-shadow:
    0 0 30px rgba(200, 75, 26, 0.25),
    0 0 70px rgba(201, 162, 39, 0.1),
    0 4px 18px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}
.visual-art-caption {
  margin-top: 10px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(201, 162, 39, 0.55);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Art grid — 2-col layout (reference: weapon-lom-phlerm-phat-sa-akom) */
.weapon-asset-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 4px;
}
@media (min-width: 640px) {
  .weapon-asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.weapon-asset-grid__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.15);
}
