/* Equipment viewer, A30 window (2026-11-16). Loaded after site.css; only adds/overrides .eq-* / .eq-list rules. */

/* A30 window: tabs + weapon tab buttons drawn with the client's own tab art (assets/profile/a30/*.png, set as --on / --off) */
.eqwin.a30 { overflow: hidden; border-radius: 4px; }
.eq-layer { position: absolute; inset: 0; }
.eqwin.a30 .eq-slot { background: rgba(0, 0, 0, .18); border-color: transparent; }
.eqwin.a30 .eq-slot.graded { border-color: var(--g); }
.eqwin.a30 .eq-empty { border: 0; }
.eq-tabs { position: absolute; inset: 0; pointer-events: none; }
.eq-tab { position: absolute; pointer-events: auto; padding: 0; margin: 0; border: 0; cursor: pointer;
  background: var(--off) center / 100% 100% no-repeat; color: #929292; font: 600 clamp(.55rem, 2.6vw, .74rem)/1 var(--body);
  letter-spacing: .02em; text-shadow: 0 1px 0 #000; display: grid; place-items: center; }
.eq-tab.on { background-image: var(--on); color: #fff; }
.eq-tab:hover { color: #fff; }
.eq-tab:focus-visible, .eq-wtab:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 1px; z-index: 3; }
.eq-wtab { position: absolute; padding: 0; margin: 0; border: 0; cursor: pointer; background: var(--off) center / 100% 100% no-repeat; z-index: 2; }
.eq-wtab.on { background-image: var(--on); }
.eq-wtab[hidden] { display: none; }
.eq-count { position: absolute; left: 2px; top: 1px; z-index: 2; font: 700 .62rem/1 var(--body); color: #fff; text-shadow: 0 0 3px #000, 1px 1px 0 #000; }

/* gear list (side column): one row per worn item, same hover / tap behaviour as the window */
.eq-list { display: grid; gap: 14px; }
.eq-list-h { margin: 0 0 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eq-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.eq-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; padding: 4px 8px 4px 4px;
  text-align: left; background: rgba(0, 0, 0, .22); border: 1px solid var(--line-2); border-radius: 4px; color: inherit; cursor: pointer; font: inherit; }
.eq-row:hover, .eq-row:focus-visible { border-color: var(--gold-2); background: rgba(201, 164, 92, .08); outline: none; }
.eq-row-ic { width: 40px; height: 40px; display: grid; place-items: center; background: #14110e; border: 1px solid rgba(201, 164, 92, .2); border-radius: 3px; }
.eq-row-ic img { width: 36px; height: 36px; object-fit: contain; }
.eq-row-t { display: grid; min-width: 0; }
.eq-row-t b { font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.eq-row-t small { color: var(--muted); font-size: .74rem; }

@media (max-width: 480px) {
  .eq-row-t b { font-size: .85rem; }
}
/* phones: the I/II weapon tab buttons are 15x25 art; widen the touch area without moving the art */
@media (pointer: coarse) { .eq-wtab::after { content: ""; position: absolute; inset: -1px -7px; } }
