/* Forest Frontier v0.9.9 — clearer equipment comparison, integrated runes and shared Ruins routes. */

body.theme-ashen .inventory-equipment-panel[hidden],
body.theme-ashen .inventory-runes-panel[hidden] {
  display: none !important;
}

body.theme-ashen .inventory-runes-panel {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

body.theme-ashen .inventory-runes-panel.rune-vault-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Level requirement and item quality are independent signals. */
body.theme-ashen .inventory-compare-badge.level-locked-upgrade {
  z-index: 6;
  opacity: 1;
  border-color: rgba(103, 227, 133, .82);
  background: rgba(4, 20, 13, .96);
  box-shadow: 0 0 12px rgba(73, 210, 110, .38);
}

body.theme-ashen .inventory-icon-cell.level-locked .inventory-level-lock {
  z-index: 5;
}

/* Explicit comparison: target slot, current item, new value and delta. */

/* Shared trunks and junctions reduce the visual web on the Ruins map. */
body.theme-ashen .ruins-medallion-paths path.shared-route {
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
body.theme-ashen .ruins-medallion-paths .ruins-route-junction {
  fill: #334640;
  stroke: rgba(8, 14, 12, .9);
  stroke-width: .45;
  vector-effect: non-scaling-stroke;
  opacity: .55;
}
body.theme-ashen .ruins-medallion-paths .ruins-route-junction.available {
  fill: #78e0aa;
  opacity: 1;
  filter: drop-shadow(0 0 3px rgba(78, 214, 151, .62));
}
body.theme-ashen .ruins-medallion-paths .ruins-route-junction.active {
  fill: #cfb36b;
  opacity: .95;
}
body.theme-ashen .ruins-medallion-paths .ruins-route-junction.mystery { opacity: .3; }
