/* Word Rangers v21: weapon depth pieces (specializations, tier pips, mastery, relics, pixel icons).
   Loaded after css/rangers.css and css/rangers-pixel.css. */
img.ico { width: 1.25em; height: 1.25em; vertical-align: -0.2em; image-rendering: pixelated; }
.nav-btn span img.ico { width: 30px; height: 30px; }
.st-i img.ico { width: 18px; height: 18px; }

/* Workbench: Mk I-IV pips, the two specializations at Mk III, actions */
.rg-pips4 { display: inline-flex; gap: 3px; margin-left: 8px; vertical-align: middle; }
.rg-pips4 i { width: 14px; height: 6px; background: #2a3354; border: 1px solid rgba(0,0,0,.5); }
.rg-pips4 i.on { background: var(--tc); }
.rg-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.rg-branch { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; background: rgba(0,0,0,.28); border: 2px solid rgba(255,209,102,.35); }
.rg-branch.on { border-color: #ffd166; margin-top: 4px; }
.rg-branch b { font-size: 16px; color: #ffd166; }
.rg-branch .btn { margin-top: auto; align-self: flex-start; }
.rg-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }

/* Armory: mastery bar and evolved guns */
.rg-mast { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.rg-mast-lv { font-weight: 900; font-size: 13px; color: #ffd166; }
.rg-mast-bar { display: block; height: 8px; background: #2a3354; border: 1px solid rgba(0,0,0,.6); }
.rg-mast-bar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, #ffd166 0 6px, #ffb52e 6px 8px); }
.rg-gun.evo { border-color: #ffd166; box-shadow: 0 0 0 2px rgba(255,209,102,.35) inset; }
.rg-gun.evo .rg-gun-info > b { color: #ffd166; }

/* the run: relic icons under the health bar, relic cards, mastery line on the results */
.rg-relics { display: flex; gap: 2px; margin-top: 2px; pointer-events: auto; }
.rg-relics img { width: 24px; height: 24px; image-rendering: pixelated; }
.rg-card.relic { background: linear-gradient(180deg, #3a2a10, #1a1206); }
.rg-card .rgc-i img { width: auto; height: 44px; image-rendering: pixelated; }
.rg-mastery { margin-top: 10px; color: #ffe9a8; font-size: 14px; }
.rg-mastery b { color: #ffd166; }

@media (max-height: 500px) and (orientation: landscape), (max-width: 600px) {
  .rg-branches { grid-template-columns: 1fr; }
  .nav-btn span img.ico { width: 24px; height: 24px; }
}
