/* ---------- Арсенал: карточки оружия (в стиле Hunting Sniper) ---------- */
.rtabs { gap: 3px; padding: 3px; }
.rtabs .tab { font-size: 9.5px; letter-spacing: -.2px; padding: 0 1px; min-height: 44px; }
.rtabs .tab small { font-size: 9px; }
.rtabs .tab.tab-owned { color: #cfe3ff; box-shadow: inset 0 -2px 0 #5f7fa8; }
.rtabs .tab.active, .rtabs .tab[class*="r-"].active, .rtabs .tab.tab-owned.active { background: linear-gradient(180deg, #8ee02a, #3f9d12); color: #0f2a05; box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 0 12px rgba(126,211,33,.4); }
.wcard { --gold: var(--accent2); padding: 8px 10px 10px; overflow: hidden; background: linear-gradient(180deg, rgba(20,38,74,.95), rgba(10,20,40,.95)); border: 2px solid rgba(150,195,255,.25); border-radius: 18px; }
.wcard.equipped { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(255,213,74,.5) inset, 0 0 20px rgba(255,200,40,.45); }
.wc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 4px; min-height: 38px; }
.wc-name { font-size: 15px; font-weight: 900; color: var(--gold); text-align: center; align-self: center; text-shadow: 0 2px 0 rgba(0,0,0,.6); white-space: nowrap; letter-spacing: .01em; }
.wc-side { min-width: 0; }
.wc-side.l { margin-left: -10px; margin-top: -8px; }
.wc-side.r { text-align: center; justify-self: end; }
.wc-use { display: inline-block; max-width: 100%; background: linear-gradient(180deg, #ffe27a, #f0a81c); color: #3a2400; font-size: 9px; font-weight: 900; letter-spacing: .03em; padding: 4px 8px 4px 8px; border-radius: 0 0 8px 0; box-shadow: 0 2px 0 #9a6208, 0 3px 6px rgba(0,0,0,.4); white-space: nowrap; }
.wc-power { display: inline-block; min-width: 52px; padding: 2px 8px; border-radius: 9px; font-weight: 900; font-size: 15px; line-height: 1.2; color: #3a2400; background: linear-gradient(180deg, #ffe27a, #f0a81c); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 2px 0 #9a6208; }
.wc-side.r small { display: block; font-size: 7.5px; font-weight: 800; letter-spacing: .03em; color: #c4d6f0; margin-top: 2px; white-space: nowrap; }
.wc-art { position: relative; margin: 4px 0 8px; height: 112px; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer;
  background: radial-gradient(ellipse at 50% 55%, color-mix(in srgb, var(--rc) 45%, transparent), transparent 70%), repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 6px, transparent 6px 12px), rgba(5,12,26,.55);
  border: 1px solid color-mix(in srgb, var(--rc) 55%, transparent); }
.wc-art .gun-ico { width: 85%; height: 100%; max-width: 300px; filter: drop-shadow(0 0 7px color-mix(in srgb, var(--rc) 70%, transparent)) drop-shadow(0 4px 4px rgba(0,0,0,.6)); }
.wc-art .gun-ico svg { width: 100%; height: 100%; display: block; }
.wc-art .gun-ico { max-width: 340px; height: 100%; }
.wcard.locked .wc-art .gun-ico { filter: grayscale(1) brightness(.55); }
.wc-lockband { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 8px; background: rgba(6,10,20,.82); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .05em; }
.wc-lockband .lk-ico { width: 20px; height: 20px; display: block; color: var(--accent2); flex: none; } .lk-ico svg { width: 100%; height: 100%; display: block; }
.wc-bottom { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.wc-stats { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; grid-template-columns: 1fr 1fr; gap: 5px 8px; align-content: space-between; min-width: 0; }
.ws { min-width: 0; }
.ws-nm { display: block; font-size: 8px; font-weight: 800; color: #c4d6f0; letter-spacing: 0; white-space: nowrap; overflow: hidden; margin-bottom: 2px; }
.ws-bar { height: 7px; border-radius: 4px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14); overflow: hidden; }
.ws-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(180deg, #b6f05a, #4fae16); }
.wc-right { display: flex; flex-direction: column; gap: 8px; justify-content: space-between; min-width: 0; }
.wc-lv { display: flex; align-items: center; min-width: 0; }
.wc-hex { position: relative; z-index: 1; flex: none; width: 36px; height: 40px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 16px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(180deg, #ffa13a, #e8620a); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.wc-hex .lk-ico { width: 18px; height: 18px; display: block; color: #fff; }
.wc-cb { position: relative; flex: 1; min-width: 0; height: 18px; margin-left: -6px; border-radius: 0 9px 9px 0; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.22); border-left: none; overflow: hidden; }
.wc-cb i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(180deg, #ffe27a, #f0a81c); }
.wc-cb.ready i { background: linear-gradient(180deg, #b6f05a, #4fae16); }
.wc-cb span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; white-space: nowrap; }
.wc-info { appearance: none; border: 1px solid #8ec9ff; border-radius: 11px; min-height: 34px; padding: 0 4px; font-weight: 900; font-size: 11.5px; letter-spacing: .03em; color: #fff; cursor: pointer; background: linear-gradient(180deg, #4aa8ff, #1f64d6); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 3px 0 #123f8f; text-shadow: 0 1px 2px rgba(0,0,0,.5); white-space: nowrap; }
.wc-info:active { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 1px 0 #123f8f; }
.modal.wdetail { max-height: 100%; overflow-y: auto; border-left: 4px solid var(--rc); }
.wd-power { font-size: 11px; font-weight: 800; letter-spacing: .05em; color: #c4d6f0; margin: -2px 0 8px; } .wd-power b { color: var(--accent2); font-size: 15px; }

/* ---------- Сравнение оружия ---------- */
.modal.cmp-modal { max-width: 400px; max-height: 100%; overflow-y: auto; padding: 12px; background: linear-gradient(180deg, #17305c, #0d1d3a); }
.cmp-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-weight: 900; font-size: 16px; letter-spacing: .04em; }
.cmp-x { appearance: none; border: 1px solid #ff9a90; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(180deg, #ff6a5c, #c7261a); color: #fff; font-weight: 900; font-size: 16px; cursor: pointer; flex: none; box-shadow: 0 2px 0 #7d1209; }
.cmp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp-col { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cmp-card { position: relative; height: 128px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--rc), var(--rc2)); border: 2px solid color-mix(in srgb, var(--rc) 70%, #fff); box-shadow: inset 0 0 30px rgba(0,0,0,.35); }
.cmp-card .gun-ico { width: 150px; height: 68px; transform: rotate(-32deg); filter: drop-shadow(0 4px 4px rgba(0,0,0,.6)); }
.cmp-card .gun-ico svg { width: 100%; height: 100%; display: block; }
.cmp-pow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); text-align: center; padding: 2px 10px 3px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #ffe27a, #f0a81c); color: #3a2400; box-shadow: 0 2px 0 #9a6208; }
.cmp-pow small { display: block; font-size: 7px; font-weight: 900; letter-spacing: .03em; white-space: nowrap; } .cmp-pow b { display: block; font-size: 14px; line-height: 1.05; }
.cmp-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 4px; text-align: center; font-weight: 900; font-size: 12px; background: rgba(5,10,20,.7); color: #fff; white-space: nowrap; overflow: hidden; }
.cmp-note { font-size: 8.5px; font-weight: 800; text-align: center; color: #c4d6f0; letter-spacing: .02em; line-height: 1.2; min-height: 20px; }
.cmp-note.ok { color: #9be04a; }
.cmp-stats { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.cmp-lab { text-align: center; font-size: 9.5px; font-weight: 900; letter-spacing: .05em; color: #c4d6f0; }
.cmp-pair { display: grid; grid-template-columns: 50px 1fr 1fr 50px; align-items: center; gap: 0 3px; }
.cmp-val { font-weight: 900; font-size: 12px; white-space: nowrap; line-height: 1.1; }
.cmp-val.l { text-align: left; } .cmp-val.r { text-align: right; }
.cmp-val small { display: block; font-size: 9px; font-weight: 800; opacity: .9; }
.cmp-val.up { color: var(--good); } .cmp-val.down { color: var(--bad); }
.cmp-bar { height: 10px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14); overflow: hidden; position: relative; }
.cmp-bar i { position: absolute; top: 0; bottom: 0; background: linear-gradient(180deg, #ffe27a, #f0a81c); }
.cmp-bar.l { border-radius: 5px 0 0 5px; } .cmp-bar.l i { right: 0; }
.cmp-bar.r { border-radius: 0 5px 5px 0; } .cmp-bar.r i { left: 0; background: linear-gradient(180deg, #b6f05a, #4fae16); }
.cmp-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; margin-top: 12px; }
.cmp-sel { text-align: center; font-weight: 900; font-size: 15px; color: var(--accent2); letter-spacing: .04em; }
.cmp-pick { appearance: none; border: 1px solid #c6f58a; min-height: 48px; border-radius: 14px; font-weight: 900; font-size: 18px; letter-spacing: .06em; color: #0f2a05; cursor: pointer; background: linear-gradient(180deg, #8ee02a, #3f9d12); box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 0 3px 0 #2a6e0b; }
.cmp-pick:active { transform: translateY(2px); }
.cmp-more { appearance: none; display: block; width: 100%; margin-top: 10px; min-height: 36px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #c4d6f0; font-weight: 800; font-size: 13px; cursor: pointer; }

/* Боеприпасы: подвкладки и «Ящик инструментов» */
.rtabs.atabs .tab { font-size: 13px; letter-spacing: 0; min-height: 44px; }
.toolbox-card .t span { display: block; }
.toolbox-card .tb-lvl { color: #ffd76a; margin-top: 2px; font-weight: 800; }
.toolbox-card .tb-eff { color: var(--good, #9be04a); font-weight: 700; }
.toolbox-card .tb-next { color: var(--muted); }
.toolbox-card .tb-req { color: #ff9a8a; font-weight: 700; }
.toolbox-card .tb-req.ok { color: var(--muted); font-weight: 600; }
.cm-limit { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.cm-limit small { font-size: 12px; }

