/* Wardogs Türkiye - Loadout Planner Master Stylesheet (Single Screen HUD) */
/* assets/css/loadout_planner.css */

:root {
  --lp-bg: #0b0d10;
  --lp-panel-bg: rgba(17, 19, 21, 0.82);
  --lp-card-bg: rgba(24, 26, 28, 0.88);
  --lp-border: rgba(192, 181, 166, 0.24);
  --lp-border-gold: rgba(218, 175, 112, 0.7);
  --lp-gold: #d1a56e;
  --lp-gold-soft: #efc77f;
  --lp-green: #10b981;
  --lp-blue: #7ca9f8;
  --lp-red: #ef4444;
  --lp-red-deep: #8b101b;
  --lp-text-muted: #b3aca2;
  --lp-cell-size: 44px;
}

/* 1. ALLOW PAGE TO SCROLL IF NEEDED WITH SMOOTH THEMED STYLING */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  background-color: transparent !important;
  color: #e5e7eb !important;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: 0.5px;
}

/* MAIN SITE HEADER (FIXED AT TOP MATCHING MAIN SITE) */
.wardogs-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 60px !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 40px !important;
  background: rgba(10, 13, 19, 0.50) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
}

/* HIDE PORTAL FOOTER AND MOBILE NAV ON PLANNER FOR CLEAN EXPERIENCE */
.wardogs-footer,
.mobile-floating-nav,
.staging-preview-bar {
  display: none !important;
}

/* BACKGROUND VIDEO AND TRANSLUCENT OVERLAY */
.wardogs-bg-video {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  min-width: 100vw !important;
  min-height: 100vh !important;
  width: auto !important;
  height: auto !important;
  transform: translate(-50%, -50%) !important;
  object-fit: cover !important;
  z-index: 1 !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.wardogs-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(6, 9, 15, 0.35) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* 2. STANDALONE PAGE WRAPPER (TRANSLUCENT OVER VIDEO) */
.lp-page-section {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  z-index: 10 !important;
  padding-top: 60px !important;
  box-sizing: border-box !important;
}

/* 3. TOP STATS BAR (DOCKED SEAMLESSLY DIRECTLY UNDER SITE HEADER) */
.lp-top-bar {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  height: 54px !important;
  background: linear-gradient(180deg, rgba(13, 14, 17, 0.9) 0%, rgba(17, 16, 14, 0.78) 100%) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(219, 174, 106, 0.3) !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 990 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  box-sizing: border-box !important;
}

.lp-top-bar-inner {
  width: min(86%, 1540px);
  max-width: 1540px;
  height: 100%;
  padding: 0 clamp(18px, 2.2vw, 30px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.lp-stats-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.lp-top-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  letter-spacing: 0.8px;
}
.lp-top-home-btn:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--lp-gold);
  color: var(--lp-gold);
}

.lp-stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-weight-group {
  min-width: 250px;
  height: 44px;
  background: linear-gradient(180deg, rgba(24, 28, 33, 0.95) 0%, rgba(13, 16, 21, 0.9) 100%);
  border: 1px solid rgba(201, 167, 109, 0.42);
  border-radius: 4px;
  padding: 4px 10px 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 18px rgba(0,0,0,0.24);
}

.lp-wt-hud-header {
  font-size: 0.64rem;
  font-weight: 800;
  color: #dce4ee;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: center;
  text-shadow: 0 0 10px rgba(122, 148, 182, 0.45);
}

.lp-wt-hud-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  line-height: 1;
}

.lp-wt-hud-val {
  display: flex;
  align-items: baseline;
  line-height: 1;
  justify-self: start;
}

.lp-wt-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
  transform: translateY(-1px);
}

.lp-wt-unit {
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
  margin-left: 4px;
  letter-spacing: 0.6px;
}

.lp-wt-hud-class {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f5f5f4;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  text-align: center;
}

.lp-wt-hud-meter {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-sizing: border-box;
  overflow: hidden;
}

.lp-wt-meter-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #f5f5f4 0%, #f6d9a9 18%, #f0b86a 32%, #e8804c 55%, #d63b34 75%, #8c0f1d 100%);
  transition: width 0.25s ease-out, filter 0.2s ease;
  box-shadow: 0 0 8px rgba(239, 89, 53, 0.5), 0 0 12px rgba(255,255,255,0.18);
}

.lp-wt-meter-overlay-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
  z-index: 2;
}

.lp-wt-meter-slot {
  border-right: 1px solid rgba(0, 0, 0, 0.7);
}

.lp-wt-meter-slot:last-child {
  border-right: none;
}

.lp-stat-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--lp-text-muted);
  letter-spacing: 1.2px;
  line-height: 1;
}

.lp-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.8px;
}

.lp-stat-value.gold { color: #fff; }
.lp-stat-value.green { color: var(--lp-green); }
.lp-stat-value.blue { color: #93c5fd; font-size: 0.95rem; }

.lp-badge-tag {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.lp-badge-tag.superheavy { background: rgba(127, 29, 29, 0.35); color: #f87171; border: 1px solid #f87171; }
.lp-badge-tag.heavy { background: rgba(239, 68, 68, 0.25); color: var(--lp-red); border: 1px solid var(--lp-red); }
.lp-badge-tag.medium { background: rgba(245, 158, 11, 0.25); color: var(--lp-gold); border: 1px solid var(--lp-gold); }
.lp-badge-tag.light { background: rgba(16, 185, 129, 0.25); color: var(--lp-green); border: 1px solid var(--lp-green); }
.lp-badge-tag.lightest { background: rgba(96, 165, 250, 0.2); color: #93c5fd; border: 1px solid #93c5fd; }

/* RICH MILITARY HUD WEIGHT TOOLTIP STYLES */
.lp-weight-group {
  position: relative;
  cursor: pointer;
}

.lp-weight-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  width: 380px;
  background: rgba(14, 17, 23, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  padding: 14px 16px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  transform: translateY(-4px);
}

.lp-weight-group:hover .lp-weight-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lp-wt-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.lp-wt-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

.lp-wt-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}

.lp-wt-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

.lp-wt-desc {
  font-size: 0.72rem;
  color: #9ca3af;
  line-height: 1.4;
  margin-top: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.lp-wt-table-header {
  display: grid;
  grid-template-columns: 100px 1fr;
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.lp-wt-tier-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.lp-wt-tier-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: start;
  padding: 5px 6px;
  border-radius: 3px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
}

.lp-wt-tier-row.active {
  border: 1px solid var(--lp-gold);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.lp-wt-tier-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid #475569;
  color: #f1f5f9;
  background: #1e293b;
}

.lp-wt-tier-row.active .lp-wt-tier-badge {
  border-color: var(--lp-gold);
  color: var(--lp-gold);
  background: rgba(245, 158, 11, 0.15);
}

.lp-wt-effects-col {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.7rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.lp-wt-red {
  color: #f87171;
  font-weight: 800;
}

.lp-wt-red-bold {
  color: #ef4444;
  font-weight: 900;
}

/* DRAWER CATEGORY DIVIDER HEADERS */
.lp-catalog-category-header {
  font-size: 0.7rem;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 14px 6px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-catalog-category-header:first-child {
  border-top: none;
  margin-top: 0;
}


/* UNLOCKS CONTENT BADGES */
.lp-unlocks-content {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}
.lp-token-badge {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 3px;
}
.lp-level-badge {
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 3px;
}
.lp-unlock-cost {
  color: #10b981;
  font-size: 0.85rem;
  font-weight: 800;
}

/* ACTIONS BUTTONS */
.lp-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lp-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-border);
  color: #e5e7eb;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.6px;
}
.lp-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--lp-gold);
  color: var(--lp-gold);
}
.lp-btn.primary {
  background: linear-gradient(135deg, var(--lp-gold) 0%, #d97706 100%);
  color: #000;
  border: none;
  font-weight: 900;
}
.lp-btn.primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--lp-gold) 100%);
  color: #000;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* 4. MAIN CONTAINER WRAPPER (PERFECT CENTER ALIGNMENT) */
.lp-container-wrap {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: calc(100vh - 110px) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 24px !important;
}

.lp-container {
  width: 100% !important;
  max-width: 1780px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 26px !important;
  align-items: stretch !important;
  background: linear-gradient(180deg, rgba(18, 20, 22, 0.92) 0%, rgba(12, 13, 15, 0.9) 100%) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(208, 172, 115, 0.8) !important;
  border-top: 2px solid var(--lp-gold) !important;
  border-radius: 8px !important;
  padding: 20px 18px 18px !important;
  box-shadow: 0 0 0 1px rgba(208, 172, 115, 0.25), 0 0 14px rgba(208, 172, 115, 0.12), 0 0 26px rgba(0,0,0,0.82), inset 0 0 0 1px rgba(255,255,255,0.04), inset 0 0 18px rgba(208, 172, 115, 0.06) !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.lp-col-left, .lp-col-right {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 14px !important;
  min-height: 0 !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.lp-section-title {
  font-size: 0.82rem;
  font-weight: 900;
  color: #e8cb8d;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(18, 19, 23, 0.96) 0%, rgba(22, 21, 19, 0.88) 100%);
  border: 1px solid rgba(214, 171, 107, 0.7);
  border-left: 3px solid rgba(214, 171, 107, 0.95);
  padding: 8px 12px 8px 10px;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 12px rgba(0,0,0,0.28);
}
.lp-section-title::before {
  content: '';
  display: inline-block;
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, #f4d697 0%, #d79a47 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(214, 171, 107, 0.6);
}

/* 5. WEAPON SLOT CARDS ([1], [2], [3]) - SOLID TACTICAL PROPORTIONS */
.lp-slot-card {
  background: linear-gradient(180deg, rgba(19, 21, 24, 0.96) 0%, rgba(12, 14, 17, 0.98) 100%);
  border: 1px solid rgba(193, 161, 107, 0.72);
  border-left: 2px solid rgba(214, 170, 106, 0.95);
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: all 0.2s ease;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 8px 18px rgba(0,0,0,0.26);
  position: relative;
}
.lp-slot-card::before,
.lp-gear-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.95), rgba(245, 158, 11, 0.2));
  opacity: 0.9;
  box-shadow: 0 0 8px rgba(245,158,11,0.45);
}

.lp-slot-card::after,
.lp-gear-card::after,
.lp-container::after,
.lp-section-title::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255,255,255,0.03);
  pointer-events: none;
}

#slotPrimaryCard { height: 135px; }
#slotSecondaryCard { height: 115px; }
#slotSpecialistCard { height: 115px; }

.lp-slot-card:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75), 0 0 20px rgba(245, 158, 11, 0.18);
}

.lp-slot-main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lp-slot-main-area:hover {
  background: rgba(245, 158, 11, 0.04);
}

.lp-slot-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.lp-slot-num {
  font-size: 0.75rem;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 0.8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 1px 7px;
  border-radius: 3px;
}
.lp-slot-weight {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--lp-text-muted);
}
.lp-slot-remove-btn {
  width: 18px;
  height: 18px;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
  font-weight: 900;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 6px;
  transition: all 0.15s ease;
}
.lp-slot-remove-btn:hover {
  background: #dc2626;
  transform: scale(1.15);
}

.lp-drag-ghost {
  position: fixed !important;
  pointer-events: none !important;
  user-select: none !important;
  z-index: 999999 !important;
  border: 2px dashed #f59e0b !important;
  background: rgba(15, 23, 42, 0.90) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(245, 158, 11, 0.4) !important;
  border-radius: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
}

.lp-drag-ghost img {
  max-width: 90% !important;
  max-height: 90% !important;
  object-fit: contain !important;
  pointer-events: none !important;
  user-select: none !important;
}

.lp-weapon-drag-ghost {
  position: fixed;
  pointer-events: none;
  z-index: 999999;
  width: 140px;
  height: 60px;
  border: 2px dashed #f59e0b;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}
.lp-weapon-drag-ghost img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lp-weapon-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lp-weapon-img {
  max-height: 65px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.8));
}

.lp-weapon-ghost,
.lp-gear-ghost,
.lp-bp-ghost,
.lp-traversal-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lp-slot-ghost-silhouette {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lp-slot-ghost-silhouette svg {
  opacity: 0.38;
  fill: currentColor;
  color: #cbd5e1;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.7));
  transition: all 0.25s ease;
}

.lp-slot-ghost-plus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.lp-slot-ghost-plus svg {
  color: var(--lp-gold);
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.8));
}

/* ONLY ON HOVER: Show '+' and dim silhouette (Matching media_1790877540900.png) */
.lp-slot-card:hover .lp-slot-ghost-plus,
.lp-gear-card:hover .lp-slot-ghost-plus,
.lp-storage-card:hover .lp-slot-ghost-plus {
  opacity: 1;
  transform: scale(1);
}

.lp-slot-card:hover .lp-slot-ghost-silhouette svg,
.lp-gear-card:hover .lp-slot-ghost-silhouette svg,
.lp-storage-card:hover .lp-slot-ghost-silhouette svg {
  opacity: 0.05;
  transform: scale(0.95);
}

.lp-slot-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lp-weapon-name {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.lp-weapon-price {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--lp-green);
}

/* ATTACHMENTS 2x2 GRID */
.lp-attachments-grid {
  width: 98px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, 44px);
  grid-template-rows: repeat(2, 44px);
  gap: 5px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  align-content: center;
  justify-content: center;
}

.lp-attachments-grid:empty {
  display: none !important;
}

.lp-spec-grid .lp-att-slot.disabled {
  opacity: 0.25;
  cursor: default;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.05);
}

.lp-no-att-note {
  font-size: 0.65rem;
  color: var(--lp-text-muted);
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  grid-column: span 2;
}

.lp-att-slot {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-att-slot:hover {
  border-color: var(--lp-gold);
  background: rgba(245, 158, 11, 0.15);
}

.lp-att-slot.filled {
  border-style: solid;
  border-color: rgba(245, 158, 11, 0.7);
  background: rgba(245, 158, 11, 0.12);
}

.lp-att-remove-btn {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: var(--lp-red);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  line-height: 13px;
  text-align: center;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.lp-att-slot:hover .lp-att-remove-btn {
  opacity: 1;
  pointer-events: auto;
}

.lp-att-img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.lp-att-label {
  font-size: 0.6rem;
  color: var(--lp-text-muted);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5px;
}

/* 6. GEAR ROW (HELMET, ARMOR, TAC VEST) */
.lp-gear-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.lp-gear-card {
  background: linear-gradient(180deg, rgba(22, 24, 27, 0.9) 0%, rgba(15, 17, 20, 0.94) 100%);
  border: 1px solid rgba(195, 165, 115, 0.65);
  border-left: 2px solid rgba(209, 165, 110, 0.92);
  border-radius: 6px;
  padding: 6px 10px;
  height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 0 0 1px rgba(195,165,115,0.15), 0 0 12px rgba(195,165,115,0.08), inset 0 0 12px rgba(195,165,115,0.05), 0 8px 16px rgba(0,0,0,0.38);
}

.lp-gear-card:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75), 0 0 18px rgba(245, 158, 11, 0.18);
  transform: translateY(-1px);
}

.lp-card-sub-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--lp-text-muted);
}

.lp-gear-img-box, .lp-storage-img-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-gear-img, .lp-bp-img {
  max-height: 52px;
  max-width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

.lp-traversal-ghost {
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-card-sub-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.lp-gear-name, .lp-bp-title {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.70rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% - 40px);
  letter-spacing: 0.2px;
}

.lp-gear-price, .lp-bp-price {
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.38);
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.lp-gear-card:hover .lp-gear-price,
.lp-storage-card:hover .lp-bp-price {
  background: rgba(16, 185, 129, 0.28);
  border-color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* 7. RIGHT COLUMN: STORAGE & BACKPACK GRID */
.lp-storage-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100% !important;
}

.lp-storage-card {
  background: linear-gradient(180deg, rgba(20, 28, 44, 0.85) 0%, rgba(13, 18, 28, 0.90) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 8px 12px;
  flex: 1 !important;
  width: auto !important;
  height: 105px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

#backpackSelectCard {
  flex: 1.4 !important;
}

#parachuteSelectCard {
  flex: 1 !important;
}

.lp-storage-card:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75), 0 0 18px rgba(245, 158, 11, 0.18);
}

.lp-storage-card.active {
  border-color: var(--lp-gold);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}

/* SLINGS ROW */
.lp-slings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lp-sling-card {
  background: var(--lp-panel-bg);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 6px 12px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-sling-card:hover {
  border-color: var(--lp-gold);
  border-style: solid;
  background: rgba(245, 158, 11, 0.05);
}

.lp-sling-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-sling-label {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--lp-gold);
}

.lp-sling-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--lp-text-muted);
}

.lp-sling-mini-grid {
  display: flex;
  gap: 4px;
}

.lp-sling-box {
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

/* 8. GRID STORAGE CONTAINER (LOADOUT ALPHA) */
.lp-grid-container-card {
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.88) 0%, rgba(11, 15, 24, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 16px 20px 12px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 440px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

.lp-grid-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.lp-grid-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.lp-grid-icon-box {
  width: 28px;
  height: 28px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.lp-grid-icon-box:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
  transform: scale(1.04);
}

.lp-grid-bp-icon-thumb {
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.lp-grid-title-main {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #f1f5f9;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
}

.lp-grid-status-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.lp-grid-status-tag.idle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}

.lp-grid-status-tag.warning {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(245, 158, 11, 0.55) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.22);
}

.lp-grid-status-tag.warning:hover {
  background: rgba(245, 158, 11, 0.28) !important;
  border-color: #f59e0b !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.lp-grid-status-tag.active {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.lp-grid-meta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-grid-dim {
  font-size: 0.76rem;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 0.8px;
}

.lp-grid-occupancy-badge {
  font-size: 0.68rem;
  font-weight: 900;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.6px;
  transition: all 0.2s ease;
}

/* MATRIX BOARD WRAPPER WITH TACTICAL CORNER BRACKETS */
.lp-grid-board-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 24px;
  margin: auto;
  width: 100%;
  flex: 1;
  min-height: 310px;
}

.lp-bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.lp-b-tl { top: 0; left: 0; border-top: 2px solid var(--lp-gold); border-left: 2px solid var(--lp-gold); }
.lp-b-tr { top: 0; right: 0; border-top: 2px solid var(--lp-gold); border-right: 2px solid var(--lp-gold); }
.lp-b-bl { bottom: 0; left: 0; border-bottom: 2px solid var(--lp-gold); border-left: 2px solid var(--lp-gold); }
.lp-b-br { bottom: 0; right: 0; border-bottom: 2px solid var(--lp-gold); border-right: 2px solid var(--lp-gold); }

/* SINGLE RECTANGLE GRID BOARD */
.lp-grid-board.lp-grid-single {
  display: grid;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  gap: 2px;
  padding: 3px;
}

/* MULTI-POCKET COMPARTMENT BOARD (ASSAULT BACKPACK 1x3 + 3x5 + 1x3) */
.lp-grid-board.lp-grid-multi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  border: none;
  position: relative;
  padding: 3px;
}

.lp-grid-pocket {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 3px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}
.lp-pocket-left, .lp-pocket-right {
  border-color: rgba(245, 158, 11, 0.3);
}
.lp-pocket-main {
  border-color: rgba(245, 158, 11, 0.5);
}

.lp-grid-cell {
  width: var(--lp-cell-size);
  height: var(--lp-cell-size);
  background: rgba(18, 22, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  box-sizing: border-box;
}

.lp-grid-cell:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--lp-gold);
}

.lp-grid-drop-preview {
  position: absolute !important;
  pointer-events: none !important;
  user-select: none !important;
  z-index: 100 !important;
  box-sizing: border-box !important;
  border-radius: 3px !important;
  transition: all 0.05s ease-out !important;
}

.lp-grid-drop-preview.valid {
  border: 2px solid #10b981 !important;
  background: rgba(16, 185, 129, 0.28) !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.6) !important;
}

.lp-grid-drop-preview.invalid {
  border: 2px solid #ef4444 !important;
  background: rgba(239, 68, 68, 0.28) !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.6) !important;
}

.lp-dragging-active, .lp-dragging-active * {
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
  cursor: grabbing !important;
}

.lp-grid-item {
  position: absolute;
  background: rgba(30, 36, 48, 0.92);
  border: 1px solid var(--lp-border-gold);
  border-radius: 3px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  z-index: 5;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.lp-grid-item:hover {
  border-color: var(--lp-gold);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
  z-index: 10;
}

.lp-grid-item.lp-dragging {
  cursor: grabbing !important;
  z-index: 9999 !important;
  opacity: 0.92;
  transform: scale(1.05);
  border-color: #10b981 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9), 0 0 16px rgba(16, 185, 129, 0.7) !important;
  transition: none !important;
}

.lp-grid-item img {
  pointer-events: none;
  user-select: none;
  display: block;
  margin: auto;
}

.lp-item-lock-icon {
  position: absolute;
  top: 2px;
  left: 2px;
  font-size: 11px;
}

.lp-item-stack-count {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 2px;
}

/* ADD TO PACK BUTTON */
.lp-btn-add-item-full,
.lp-add-pack-btn {
  width: 100% !important;
  height: 34px !important;
  margin-top: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: var(--lp-gold) !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  letter-spacing: 0.8px !important;
}

.lp-add-pack-btn:hover {
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: var(--lp-gold) !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3) !important;
}

/* KEYBOARD SHORTCUTS FOOTER */
.lp-keys-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--lp-text-muted);
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: 0.5px;
}

.lp-key-title {
  font-weight: 900;
  color: var(--lp-gold);
}

.lp-key-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 2px;
}

/* DRAWER / MODAL ITEM CATALOG (AUTHENTIC DESIGN MATCHING PHOTO 2) */
.lp-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow: hidden;
}

.lp-drawer-overlay:not(.active) * {
  pointer-events: none !important;
}

.lp-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.lp-drawer-overlay.active * {
  pointer-events: auto;
}

.lp-drawer-content {
  width: 480px;
  max-width: 92vw;
  height: 100vh;
  max-height: 100vh;
  background: #11141b;
  border-left: 1px solid var(--lp-border-gold);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow: hidden;
  position: relative;
}

.lp-drawer-overlay.active .lp-drawer-content {
  transform: translateX(0);
}

/* DRAWER HEADER WITH GOLD BAR */
.lp-drawer-header {
  flex-shrink: 0;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d0f14;
}

.lp-drawer-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-drawer-back-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--lp-gold);
  border-radius: 4px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.lp-drawer-back-btn:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--lp-gold);
  color: #fff;
  transform: translateX(-2px);
}

.lp-gold-bar-title {
  width: 4px;
  height: 18px;
  background: var(--lp-gold);
  border-radius: 1px;
}

.lp-drawer-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lp-drawer-close {
  background: none;
  border: none;
  color: var(--lp-text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.lp-drawer-close:hover { color: var(--lp-gold); }

/* SEARCH BAR WITH GOLDEN HIGHLIGHT BORDER */
.lp-drawer-search {
  flex-shrink: 0;
  padding: 16px 24px 10px 24px;
}

.lp-search-input-wrap {
  position: relative;
}

.lp-search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--lp-gold);
  border-radius: 4px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-sizing: border-box;
  letter-spacing: 0.5px;
}

.lp-search-input:focus {
  outline: none;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

/* DRAWER ACTIONS BAR (MOVE TO BACKPACK, UNEQUIP) */
.lp-drawer-actions-bar {
  flex-shrink: 0;
  padding: 8px 24px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-drawer-action-btn {
  background: none;
  border: none;
  color: var(--lp-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
  letter-spacing: 0.5px;
  padding: 4px 0;
}

.lp-drawer-action-btn:hover {
  color: var(--lp-gold);
}

.lp-drawer-action-btn.unequip:hover {
  color: var(--lp-red);
}

/* CATEGORY TABS */
.lp-drawer-tabs {
  flex-shrink: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-drawer-tabs.pack-add-tabs {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.lp-drawer-tabs.pack-add-tabs .lp-tab-scroll-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: 100% !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  padding: 2px 4px !important;
  margin: 0 !important;
}

.lp-drawer-tabs.pack-add-tabs .lp-drawer-main-tabs,
.lp-drawer-tabs.pack-add-tabs .lp-drawer-sub-tabs {
  flex: 0 1 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 6px !important;
  padding: 4px 6px !important;
  margin: 0 !important;
  border: none !important;
}

.lp-drawer-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.lp-drawer-tab-btn.active, .lp-drawer-tab-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--lp-gold);
  color: var(--lp-gold);
}

/* CATEGORY GROUP SUBHEADINGS (Assault Rifle, Marksman Rifle, Sniper, SMG, LMG, Shotgun, Bow) */
.lp-drawer-cat-header {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--lp-gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 16px 0 10px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-drawer-cat-header:first-child {
  margin-top: 4px;
}

/* ITEM ROW CATALOG CARDS (MATCHING PHOTO 2) */
.lp-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll !important;
  overscroll-behavior: contain !important;
  padding: 16px 20px 24px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--lp-gold) rgba(0, 0, 0, 0.4);
}

.lp-drawer-body::-webkit-scrollbar {
  width: 6px;
}

.lp-drawer-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
}

.lp-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.6);
  border-radius: 3px;
}

.lp-drawer-body::-webkit-scrollbar-thumb:hover {
  background: var(--lp-gold);
}

.lp-catalog-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--lp-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lp-catalog-item:hover {
  border-color: var(--lp-gold);
  background: rgba(245, 158, 11, 0.08);
}

.lp-catalog-item.active-equipped {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1.5px solid var(--lp-gold) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25), inset 0 0 10px rgba(245, 158, 11, 0.1) !important;
}

.lp-cat-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.lp-stat-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  letter-spacing: 0.3px;
}

.lp-stat-pill.green {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

.lp-stat-pill.gold {
  color: var(--lp-gold);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

.lp-stat-pill.red {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
}

.lp-stat-pill.gray {
  color: #9ca3af;
  background: rgba(0, 0, 0, 0.4);
}

.lp-cat-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-cat-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.8));
}

.lp-cat-info {
  display: flex;
  flex-direction: column;
}

.lp-cat-name {
  font-size: 0.9rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-cat-meta {
  font-size: 0.72rem;
  color: var(--lp-text-muted);
  margin-top: 2px;
  font-weight: 700;
}

.lp-cat-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.lp-cat-price {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--lp-green);
}

.lp-cat-unlock-badge {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--lp-gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lp-open-icon {
  font-size: 0.78rem;
  color: var(--lp-text-muted);
  margin-left: 6px;
}

/* KEY SHORTCUTS FOOTER */
.lp-keys-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--lp-text-muted);
  font-weight: 800;
}

.lp-key-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 4px;
}

/* FLOATING INSPECTION TOOLTIP CARD (MATCHING PHOTO REFERENCE) */
.lp-weapon-tooltip {
  position: fixed;
  width: 320px;
  background: rgba(14, 17, 23, 0.98);
  border: 1px solid var(--lp-gold);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.95), 0 0 20px rgba(245, 158, 11, 0.15);
  padding: 16px 18px;
  z-index: 9999999 !important;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  backdrop-filter: blur(16px);
}

.lp-weapon-tooltip.active {
  opacity: 1;
  visibility: visible;
}

/* VEST IN-GAME TOOLTIP STYLING (MATCHING IN-GAME SCREENSHOTS) */
.lp-weapon-tooltip.vest-mode {
  width: 350px;
  background: rgba(18, 20, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.96);
  padding: 14px 16px;
  border-radius: 4px;
}

.lp-tt-vest-card {
  display: flex;
  flex-direction: column;
}

.lp-tt-vest-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.lp-tt-vest-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lp-tt-vest-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
}

.lp-tt-vest-type {
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.lp-tt-vest-meta {
  color: #cbd5e1;
  font-weight: 600;
}

.lp-tt-vest-bullets {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 6px 0 0 0;
}

.lp-tt-vest-bullet {
  font-size: 0.73rem;
  font-weight: 600;
  color: #d1d5db;
  line-height: 1.45;
}

.lp-tt-vest-flavor {
  font-size: 0.71rem;
  font-style: italic;
  color: #8b949e;
  line-height: 1.4;
  margin: 4px 0 10px 0;
}

.lp-tt-vest-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
  font-size: 0.73rem;
  font-weight: 700;
  margin-top: 2px;
}

.lp-tt-vest-warn-icon {
  font-size: 0.84rem;
  line-height: 1;
}

.lp-tt-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.lp-tt-header {
  flex: 1;
}

.lp-tt-class {
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--lp-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lp-tt-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 2px 0;
}

.lp-tt-slot {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--lp-text-muted);
  text-transform: uppercase;
}

.lp-tt-preview {
  width: 70px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-tt-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.lp-tt-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.lp-tt-stat {
  display: flex;
  flex-direction: column;
}

.lp-tt-lbl {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--lp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.lp-tt-val {
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
}

.lp-tt-val.price {
  color: var(--lp-green);
}

.lp-tt-size-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.lp-tt-shape-board {
  display: grid;
  gap: 2px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 2px;
}

.lp-tt-shape-board-bp {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 5px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 2px;
}

.lp-tt-bp-diagram {
  display: flex;
  align-items: center;
  gap: 3px;
}

.lp-tt-bp-sling-box {
  width: 9px;
  height: 59px;
  background: rgba(245, 158, 11, 0.25);
  border: 1px dashed rgba(245, 158, 11, 0.8);
  border-radius: 1px;
  box-sizing: border-box;
}

.lp-tt-bp-grid {
  display: grid;
  gap: 1px;
}

.lp-tt-shape-cell {
  width: 9px;
  height: 9px;
  background: var(--lp-gold);
  border-radius: 1px;
}

/* NORMALIZE SLING BACKPACK CATALOG & TOOLTIP ICONS TO MATCH OTHER BACKPACKS */
.lp-cat-img[src*="largeslingbackpack"],
.lp-cat-img[src*="extralargeslingbackpack"],
.lp-tt-preview img[src*="largeslingbackpack"],
.lp-tt-preview img[src*="extralargeslingbackpack"],
.lp-bp-img[src*="largeslingbackpack"],
.lp-bp-img[src*="extralargeslingbackpack"] {
  transform: scale(1.28);
  object-position: center 30%;
}

.lp-tt-size-txt {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--lp-gold);
}

.lp-tt-bullets {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d1d5db;
  margin-bottom: 8px;
  line-height: 1.4;
}

.lp-tt-flavor {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--lp-text-muted);
  line-height: 1.4;
  border-left: 2px solid rgba(245, 158, 11, 0.5);
  padding-left: 8px;
  margin-bottom: 8px;
}

.lp-tt-footer {
  display: flex;
  justify-content: flex-start;
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--lp-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ENHANCED 2x2 WEAPON ATTACHMENTS HUD */
.lp-slot-weight {
  font-family: 'Rajdhani', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.lp-slot-weight:empty,
.lp-gear-weight:empty,
.lp-storage-weight:empty,
.lp-weapon-price:empty,
.lp-gear-price:empty,
.lp-bp-price:empty,
.lp-card-sub-top:empty {
  display: none !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.lp-weapon-lock-svg {
  display: inline-block;
  vertical-align: -1px;
  margin-left: 5px;
  color: #64748b;
}

.lp-att-slot {
  width: 44px;
  height: 44px;
  background: rgba(15, 18, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.15s ease;
  overflow: hidden;
}

.lp-att-slot:hover {
  border-color: rgba(245, 158, 11, 0.7);
  background: rgba(25, 30, 40, 0.9);
}

.lp-att-slot.filled {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(12, 16, 22, 0.9);
}

.lp-att-slot.filled:hover {
  border-color: #f59e0b;
}

.lp-att-slot.empty-frame {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  cursor: default;
}

.lp-att-lock-icon {
  position: absolute;
  top: 2px;
  left: 3px;
  line-height: 1;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
}

.lp-att-count {
  position: absolute;
  bottom: 1px;
  right: 3px;
  font-family: 'Rajdhani', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.lp-att-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  pointer-events: none;
}


/* ----------------------------------------------------
   FUNCTIONAL WEAPON SLINGS STYLING & MULTI-POCKET GRIDS
------------------------------------------------------- */
.lp-slings-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}

.lp-sling-card {
  background: var(--lp-panel-bg);
  border: 1px solid var(--lp-border);
  border-radius: 6px;
  height: 80px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 6px 10px !important;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.lp-sling-card:hover {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.05);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.lp-sling-card.filled {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(18, 22, 30, 0.9);
}

.lp-sling-card.filled:hover {
  border-color: #f59e0b;
}

.lp-sling-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.lp-sling-label {
  font-family: 'Rajdhani', monospace;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--lp-gold);
  letter-spacing: 0.8px;
}

.lp-sling-weight {
  font-family: 'Rajdhani', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 5px;
  border-radius: 2px;
}

.lp-sling-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 32px;
}

.lp-sling-img {
  max-height: 42px;
  max-width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
  z-index: 2;
}

.lp-sling-ghost {
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-sling-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.lp-sling-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-sling-price {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--lp-green);
}

.lp-sling-remove-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  z-index: 10;
}

.lp-sling-card.filled:hover .lp-sling-remove-btn {
  display: flex;
}

.lp-grid-board[style*="display: none"],
.lp-grid-board[style*="display:none"] {
  display: none !important;
}

/* AUTHENTIC MULTI-POCKET COMPARTMENT BOARD */
.lp-grid-board.lp-grid-multi {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 10px !important;
}

.lp-grid-pocket-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-grid-pocket-title {
  font-family: 'Rajdhani', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--lp-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.85;
}

.lp-grid-pocket {
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 4px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
  position: relative;
}


/* ----------------------------------------------------
   AUTHENTIC IN-GAME TOOLTIP DIAGRAMS & INTEGRATED SLINGS
------------------------------------------------------- */
.lp-tt-bp-diagram {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 4px !important;
}

.lp-tt-bp-grid {
  display: grid !important;
  gap: 2px !important;
}

.lp-tt-bp-sling-box {
  width: 14px;
  height: 66px; /* Spans height of 6 rows */
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

/* FLANKING INTEGRATED SLING SLOTS (ARSENAL & NİŞANCI) */
.lp-grid-integrated-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: 100%;
}

.lp-grid-integrated-sling {
  width: 82px;
  height: 274px; /* Exact height of 6 cells (44px) + 5 gaps (2px) */
  background: rgba(12, 15, 20, 0.85);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 8px 6px !important;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.lp-grid-integrated-sling:hover {
  border-color: var(--lp-gold);
  border-style: solid;
  background: rgba(245, 158, 11, 0.06);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.lp-grid-integrated-sling.filled {
  border-style: solid;
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(18, 22, 30, 0.95);
}

.lp-grid-integrated-sling.filled:hover {
  border-color: #f59e0b;
}

.lp-grid-integrated-sling .lp-int-sling-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.lp-grid-integrated-sling .lp-int-sling-label {
  font-family: 'Rajdhani', monospace;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--lp-gold);
  letter-spacing: 0.8px;
}

.lp-grid-integrated-sling .lp-int-sling-weight {
  font-family: 'Rajdhani', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 4px;
  border-radius: 2px;
}

.lp-grid-integrated-sling .lp-int-sling-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lp-grid-integrated-sling .lp-int-sling-img {
  max-height: 160px;
  max-width: 95%;
  object-fit: contain;
  transform: rotate(90deg);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.9));
  z-index: 2;
}

.lp-grid-integrated-sling .lp-int-sling-ghost {
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}

.lp-grid-integrated-sling .lp-int-sling-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  z-index: 2;
}

.lp-grid-integrated-sling .lp-int-sling-name {
  font-size: 0.72rem;
  font-weight: 800;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-grid-integrated-sling .lp-int-sling-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--lp-green);
}

.lp-grid-integrated-sling .lp-int-sling-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  z-index: 10;
}

.lp-grid-integrated-sling.filled:hover .lp-int-sling-remove-btn {
  display: flex;
}

/* 5-SEGMENT TACTICAL WEIGHT METER */
.lp-weight-meter-segments {
  display: flex;
  gap: 3px;
  width: 100%;
  height: 5px;
  margin-top: 4px;
}
.lp-wt-seg {
  flex: 1;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
  transition: all 0.25s ease;
}
.lp-wt-seg.active.tier-1 {
  background: #a3e635;
  box-shadow: 0 0 6px rgba(163, 230, 53, 0.6);
}
.lp-wt-seg.active.tier-2 {
  background: #facc15;
  box-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
}
.lp-wt-seg.active.tier-3 {
  background: #fb923c;
  box-shadow: 0 0 6px rgba(251, 146, 60, 0.6);
}
.lp-wt-seg.active.tier-4 {
  background: #f87171;
  box-shadow: 0 0 6px rgba(248, 113, 113, 0.7);
}
.lp-wt-seg.active.tier-5 {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.85);
}

/* EMPTY STORAGE BANNER (NO BACKPACK EQUIPPED) */
.lp-empty-storage-prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
  max-height: 100%;
  box-sizing: border-box;
  border: none !important;
  background: transparent !important;
}
.lp-empty-storage-prompt:hover {
  border: none !important;
  background: transparent !important;
}
.lp-empty-pyramid-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}
.lp-empty-storage-prompt:hover .lp-empty-pyramid-icon {
  opacity: 0.85;
}
.lp-pyr-row {
  display: flex;
  gap: 3px;
}
.lp-pyr-box {
  width: 8px;
  height: 8px;
  background: #94a3b8;
  border-radius: 1px;
}
.lp-empty-storage-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #64748b;
  text-align: center;
  transition: color 0.2s ease;
}
.lp-empty-storage-prompt:hover .lp-empty-storage-text {
  color: #e2e8f0;
}

/* HEADER RIGHT & ADD ITEM BUTTON */
.lp-grid-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-btn-add-item-hdr {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lp-btn-add-item-hdr:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #fbbf24;
  color: #fff;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* DRAWER ITEM QUANTITY STEPPER & PACK ADD CONTROLLER */
.lp-pack-add-controller {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.lp-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}
.lp-qty-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fbbf24;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 900;
  font-size: 13px;
  transition: background 0.15s ease;
}
.lp-qty-btn:hover {
  background: rgba(245, 158, 11, 0.3);
  color: #fff;
}
.lp-qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #f3f4f6;
  padding: 0 4px;
}
.lp-btn-add-pack-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lp-btn-add-pack-row:hover {
  background: rgba(16, 185, 129, 0.3);
  border-color: #34d399;
  color: #fff;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}
.lp-btn-add-pack-row.added {
  background: rgba(245, 158, 11, 0.25) !important;
  border-color: #fbbf24 !important;
  color: #fff !important;
}

/* ENHANCED CATEGORY DIVIDER HEADERS */
.lp-catalog-category-header {
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  color: #fbbf24 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  padding: 14px 4px 6px !important;
  margin-top: 10px !important;
  margin-bottom: 8px !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.lp-catalog-category-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.3), transparent);
}

/* FULL-WIDTH ADD ITEM BUTTON (Matching wardogs.zone reference media_1790875511606.png) */
.lp-btn-add-item-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  margin-top: 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lp-btn-add-item-full:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: #fbbf24;
  color: #fff;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}
.lp-btn-add-plus {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

/* 2-COLUMN MODAL LAYOUT FOR PACK ADD MODE (media_1790875519485.png) */
.lp-drawer-overlay.pack-mode {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lp-drawer-overlay.pack-mode .lp-drawer-content {
  position: relative !important;
  width: 1120px !important;
  max-width: 95vw !important;
  height: 84vh !important;
  max-height: 84vh !important;
  background: rgba(12, 16, 24, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  border-radius: 6px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.15) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: none !important;
  animation: lpModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes lpModalPop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lp-drawer-main-wrap {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* LEFT COLUMN: BACKPACK REAL-TIME PREVIEW IN MODAL */
.lp-drawer-left-col {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 11, 17, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 20px;
  gap: 16px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

.lp-drawer-overlay,
.lp-drawer-content,
.lp-drawer-main-wrap,
.lp-drawer-right-col,
.lp-pack-preview-box {
  overflow-x: hidden !important;
}

::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

.lp-pack-preview-box {
  position: relative;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  width: 100%;
}

.lp-pack-preview-hint {
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-align: center;
  line-height: 1.4;
  text-transform: uppercase;
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.lp-hover-item-card {
  width: 100%;
  background: rgba(14, 20, 32, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 4px;
  padding: 10px 12px;
  text-align: left;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.lp-hic-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-hic-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.lp-hic-info {
  flex: 1;
}

.lp-hic-name {
  font-size: 0.84rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lp-hic-meta {
  font-size: 0.70rem;
  font-weight: 800;
  color: var(--lp-gold);
  margin-top: 2px;
}

.lp-hic-desc {
  font-size: 0.68rem;
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

.lp-pack-preview-stats {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 10px 14px;
}

.lp-pstat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lp-ps-lbl {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--lp-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lp-ps-val {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
}
.lp-ps-val.green {
  color: var(--lp-green);
}

/* RIGHT COLUMN: CATALOG IN MODAL */
.lp-drawer-right-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.lp-drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-drawer-dim-txt {
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
}
.lp-drawer-done-btn {
  background: #f59e0b;
  color: #000;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lp-drawer-done-btn:hover {
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

/* SEARCH ICON IN DRAWER */
.lp-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.lp-search-svg {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
}
.lp-drawer-search .lp-search-input {
  padding-left: 36px !important;
}

/* DRAG & ROTATE VISUAL FEEDBACK & DROP PREVIEW */
.lp-drag-ghost {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.85));
  opacity: 0.9;
  border: 1.5px dashed #f59e0b;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: width 0.1s ease, height 0.1s ease;
}
.lp-drag-ghost img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.15s ease;
}

.lp-grid-drop-preview {
  position: absolute;
  pointer-events: none;
  z-index: 50;
  border-radius: 3px;
  transition: background 0.1s ease, border-color 0.1s ease;
}
.lp-grid-drop-preview.valid {
  border: 2px solid #10b981 !important;
  background: rgba(16, 185, 129, 0.38) !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.7) !important;
}
.lp-grid-drop-preview.invalid {
  border: 2px solid #ef4444 !important;
  background: rgba(239, 68, 68, 0.48) !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.8) !important;
}

/* GAME SCREENSHOT STYLING MATCH (media_1790894106986.png) */
.lp-slot-ghost-silhouette svg {
  opacity: 0.35 !important;
  color: #94a3b8 !important;
  transition: all 0.25s ease !important;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6)) !important;
}

.lp-slot-card:hover .lp-slot-ghost-silhouette svg,
.lp-gear-card:hover .lp-slot-ghost-silhouette svg,
.lp-storage-card:hover .lp-slot-ghost-silhouette svg {
  opacity: 0.08 !important;
  transform: scale(0.95) !important;
}

/* CARD SLOT TITLE HUD TAGS (Matching BİRİNCİL SİLAH, YAN SİLAH, ÖZEL EŞYA boxes in screenshot) */
.lp-weapon-name, .lp-gear-name, .lp-bp-title {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.lp-weapon-name.equipped, .lp-gear-name.equipped, .lp-bp-title.equipped {
  background: transparent;
  border-color: transparent;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  padding: 0;
}

/* EMPTY STORAGE PROMPT WITH BACKPACK SILHOUETTE & RED BADGE */
.lp-empty-storage-prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
  max-height: 100%;
  box-sizing: border-box;
}

.lp-empty-backpack-bg-silhouette {
  color: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  max-height: 65%;
}

.lp-empty-backpack-bg-silhouette svg {
  max-height: 130px;
  max-width: 80%;
  width: auto;
  height: auto;
}

.lp-empty-storage-prompt:hover .lp-empty-backpack-bg-silhouette {
  color: rgba(245, 158, 11, 0.3);
  transform: scale(1.03);
}

.lp-empty-storage-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.6);
  color: #ef4444;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 90%;
}

.lp-empty-storage-prompt:hover .lp-empty-storage-badge {
  background: rgba(239, 68, 68, 0.28);
  border-color: #ef4444;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

/* ITEM CATALOG ROW IN PACK ADD MODAL (Matching media_1790894434120.png & media_1790894456063.png) */
.lp-catalog-item.disabled-no-fit {
  opacity: 0.40 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.5) !important;
}

.lp-catalog-item.disabled-no-fit:hover {
  background: rgba(255, 255, 255, 0.01) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.lp-cat-price.green {
  color: #10b981 !important;
  font-weight: 900 !important;
  font-size: 0.92rem !important;
}

.lp-cat-price.disabled {
  color: #64748b !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
}

.lp-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  margin-left: 10px;
  flex-shrink: 0;
}

.lp-add-btn.fit {
  background: #f59e0b;
  color: #000000;
}

.lp-add-btn.fit:hover {
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
  transform: scale(1.05);
}

.lp-add-btn.fit.added {
  background: #10b981;
  color: #ffffff;
}

.lp-add-btn.disabled {
  background: rgba(255, 255, 255, 0.05);
  color: #475569;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

.lp-icon-plus, .lp-icon-x {
  line-height: 1;
  display: inline-block;
}

/* SUB-TABS ROW IN ITEM CATALOG MODAL */
.lp-drawer-main-tabs-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

.lp-drawer-sub-tabs-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-drawer-sub-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.5px;
}

.lp-drawer-sub-tab-btn:hover {
  border-color: #f59e0b;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
}

.lp-drawer-sub-tab-btn.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
  color: #f59e0b;
  font-weight: 900;
}

/* LOAD MAGAZINE CONTROL PANEL MATCHING SCREENSHOT media_1790901390910.png */
.lp-load-mag-control-panel {
  background: rgba(12, 17, 26, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 4px;
  margin: 8px 12px 12px 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.lp-load-mag-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-load-mag-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.8px;
}

.lp-load-mag-cap {
  font-size: 0.85rem;
  font-weight: 800;
  color: #f59e0b;
}

.lp-load-mag-slider-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.lp-mag-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.lp-mag-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: #f59e0b;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

.lp-slider-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  width: 28px;
  height: 26px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.lp-slider-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #f59e0b;
}

.lp-slider-btn.full {
  width: 44px;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.lp-load-mag-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding-top: 4px;
}

.lp-load-mag-actions-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.lp-btn-add-another {
  background: transparent;
  border: 1px solid #f59e0b;
  color: #f59e0b;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lp-btn-add-another:hover {
  background: rgba(245, 158, 11, 0.2);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.lp-mag-in-pack-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lp-btn-add-backpack-prompt {
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed #f59e0b;
  color: #fbbf24;
  font-size: 0.70rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lp-btn-add-backpack-prompt:hover {
  background: rgba(245, 158, 11, 0.25);
  border-style: solid;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.lp-btn-mag-done {
  background: #f59e0b;
  border: none;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 6px 18px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.lp-btn-mag-done:hover {
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.lp-load-mag-empty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.15s ease;
}

.lp-load-mag-empty-row:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.lp-load-mag-empty-row.active-equipped {
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid #10b981;
  color: #ffffff;
}

.lp-empty-x {
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 900;
}

.lp-load-mag-ammo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.lp-load-mag-ammo-row:hover {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
}

.lp-load-mag-ammo-row.active-equipped {
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid #10b981;
}

.lp-load-mag-ammo-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-load-mag-ammo-icon img {
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.lp-load-mag-ammo-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-load-mag-ammo-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-load-mag-ammo-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.lp-load-mag-lock-col {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lp-inline-lock {
  color: #94a3b8;
}

.lp-att-lock-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  color: #94a3b8;
  z-index: 5;
  pointer-events: none;
  opacity: 0.85;
}

/* SUBTITLE & SKIP BUTTON STYLES FOR WEAPON PICK FLOW (MATCHING PHOTO 2) */
.lp-drawer-subtitle-bar {
  font-size: 0.72rem;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px 4px 16px;
}

.lp-drawer-skip-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-right: 8px;
  letter-spacing: 0.5px;
}

.lp-drawer-skip-btn:hover {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

/* POLISHED LAYOUT AND RESPONSIVE LOADOUT PLANNER */
.lp-top-bar {
  min-height: 62px !important;
  height: auto !important;
  padding: 8px clamp(16px, 3vw, 44px) !important;
  gap: 18px !important;
  background: rgba(8, 12, 19, 0.94) !important;
  border-bottom-color: rgba(245, 158, 11, 0.38) !important;
}

.lp-stats-group {
  gap: clamp(12px, 2vw, 24px);
}

.lp-stat-item:not(.lp-weight-group) {
  min-height: 40px;
  padding: 4px 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-container-wrap {
  align-items: flex-start !important;
  padding: clamp(14px, 2vw, 26px) !important;
}

.lp-container {
  max-width: 1600px !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr) !important;
  gap: clamp(18px, 2.4vw, 36px) !important;
  padding: clamp(18px, 2.4vw, 32px) !important;
  background: linear-gradient(145deg, rgba(14, 20, 32, 0.94), rgba(7, 10, 17, 0.96)) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.lp-col-left,
.lp-col-right {
  justify-content: flex-start !important;
  gap: 14px !important;
}

.lp-section-title {
  min-height: 36px;
  padding: 8px 14px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.14), rgba(245, 158, 11, 0.025) 78%) !important;
}

.lp-slot-card,
.lp-gear-card,
.lp-storage-card {
  background: linear-gradient(150deg, rgba(23, 32, 48, 0.96), rgba(12, 17, 27, 0.98)) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

.lp-slot-card:hover,
.lp-gear-card:hover,
.lp-storage-card:hover {
  border-color: rgba(245, 158, 11, 0.65) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 18px rgba(245, 158, 11, 0.12) !important;
}

.lp-grid-container-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background: rgba(5, 8, 14, 0.52);
  overflow: hidden;
}

.lp-grid-header {
  min-height: 48px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-grid-board-wrapper {
  min-height: 300px;
  padding: 22px 18px;
}

.lp-btn-add-item-full {
  width: calc(100% - 28px);
  margin: 0 14px 12px;
  border-radius: 7px;
}

.lp-keys-footer {
  margin: 0 14px 14px;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.lp-drawer-content {
  background: linear-gradient(160deg, rgba(16, 22, 33, 0.99), rgba(8, 11, 18, 0.99));
  border-left-color: rgba(245, 158, 11, 0.42);
}

.lp-drawer-header {
  padding: 16px 22px;
  background: rgba(9, 13, 21, 0.98);
}

.lp-drawer-overlay.pack-mode .lp-drawer-content {
  border-radius: 12px !important;
}

.lp-load-mag-control-panel {
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(19, 27, 40, 0.98), rgba(10, 14, 22, 0.98));
  border-color: rgba(245, 158, 11, 0.42);
  padding: 16px;
  gap: 14px;
}

.lp-load-mag-ammo-row {
  margin: 4px 10px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  background: rgba(17, 24, 36, 0.58);
}

.lp-load-mag-ammo-row.active-equipped {
  border-color: rgba(16, 185, 129, 0.45);
  border-left: 3px solid #10b981;
}

.lp-load-mag-ammo-row:hover {
  transform: translateX(2px);
  background: rgba(245, 158, 11, 0.08);
}

.lp-load-mag-ammo-icon {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .lp-top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 10px 16px !important;
  }

  .lp-stats-group {
    display: grid;
    grid-template-columns: minmax(180px, 1.35fr) repeat(2, minmax(0, 0.75fr));
    gap: 8px;
  }

  .lp-weight-group {
    min-width: 0 !important;
    width: 100%;
  }

  .lp-stat-item:not(.lp-weight-group) {
    border-left: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    padding: 6px 9px;
  }

  .lp-stat-value.blue {
    font-size: 0.78rem;
  }

  .lp-actions-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .lp-actions-group .lp-btn {
    justify-content: center;
    min-width: 0;
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .lp-container-wrap {
    min-height: 0 !important;
    padding: 14px 16px 24px !important;
  }

  .lp-container {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    padding: 18px !important;
  }

  .lp-col-left,
  .lp-col-right {
    gap: 12px !important;
  }

  .lp-drawer-overlay.pack-mode .lp-drawer-content {
    max-width: calc(100vw - 28px) !important;
  }

  .lp-drawer-left-col {
    width: 34%;
  }
}

@media (max-width: 560px) {
  .wardogs-header {
    padding: 0 12px !important;
  }

  .nav-logo {
    height: 36px;
  }

  .nav-brand {
    font-size: 0.82rem;
    letter-spacing: 0.6px;
    white-space: nowrap;
  }

  .wardogs-nav-right-group {
    gap: 8px;
  }

  .nav-discord-btn {
    gap: 5px;
    padding: 6px 10px;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .lp-top-bar {
    top: 60px !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  .lp-stats-group {
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
    gap: 6px;
  }

  .lp-weight-group {
    height: 48px;
    padding: 4px 7px;
  }

  .lp-wt-hud-class {
    font-size: 0.72rem;
    letter-spacing: 0.4px;
  }

  .lp-wt-num {
    font-size: 1.15rem;
  }

  .lp-stat-item:not(.lp-weight-group) {
    min-height: 48px;
    padding: 6px;
  }

  .lp-stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.8px;
  }

  .lp-stat-value {
    font-size: 0.95rem;
  }

  .lp-stat-value.blue {
    font-size: 0.68rem;
    line-height: 1.15;
    letter-spacing: 0.2px;
  }

  .lp-actions-group {
    gap: 6px;
  }

  .lp-actions-group .lp-btn {
    min-height: 34px;
    height: auto;
    padding: 6px 4px;
    font-size: 0.61rem;
    letter-spacing: 0.15px;
  }

  .lp-container-wrap {
    padding: 10px 10px 22px !important;
  }

  .lp-container {
    gap: 18px !important;
    padding: 12px !important;
    border-radius: 10px !important;
  }

  .lp-section-title {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  #slotPrimaryCard {
    height: 126px;
  }

  #slotSecondaryCard,
  #slotSpecialistCard {
    height: 108px;
  }

  .lp-attachments-grid {
    width: 88px;
    grid-template-columns: repeat(2, 38px);
    grid-template-rows: repeat(2, 38px);
    gap: 4px;
    padding: 5px;
  }

  .lp-att-slot {
    width: 38px;
    height: 38px;
  }

  .lp-gear-row {
    gap: 7px;
  }

  .lp-gear-card {
    height: 94px;
    padding: 6px;
  }

  .lp-gear-name,
  .lp-bp-title {
    font-size: 0.61rem;
  }

  .lp-gear-price,
  .lp-bp-price {
    font-size: 0.62rem;
    padding: 2px 5px;
  }

  .lp-storage-row {
    gap: 8px !important;
  }

  .lp-storage-card {
    height: 92px !important;
    padding: 7px 8px;
  }

  .lp-grid-board-wrapper {
    min-height: 250px;
    padding: 16px 8px;
    overflow: auto;
    justify-content: flex-start;
  }

  .lp-grid-board.lp-grid-single,
  .lp-grid-board.lp-grid-multi,
  .lp-grid-integrated-wrap {
    flex-shrink: 0;
  }

  .lp-grid-header {
    gap: 8px;
    padding: 8px 10px;
  }

  .lp-grid-dim {
    font-size: 0.64rem;
    text-align: right;
  }

  .lp-loadout-name-input {
    max-width: 150px;
    font-size: 0.8rem;
  }

  .lp-keys-footer {
    margin: 0 10px 12px;
    font-size: 0.6rem;
  }

  .lp-btn-add-item-full {
    width: calc(100% - 20px);
    margin: 0 10px 10px;
    padding: 10px;
    font-size: 0.72rem;
  }

  .lp-drawer-content,
  .lp-drawer-overlay.pack-mode .lp-drawer-content {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }

  .lp-drawer-header {
    padding: 12px 14px;
  }

  .lp-drawer-title {
    font-size: 0.95rem;
  }

  .lp-drawer-header-actions {
    gap: 7px;
  }

  .lp-drawer-search {
    padding: 12px 14px 8px;
  }

  .lp-drawer-tabs {
    padding: 8px 14px;
  }

  .lp-drawer-body {
    padding: 10px 10px 18px;
  }

  .lp-drawer-overlay.pack-mode .lp-drawer-main-wrap {
    flex-direction: column;
    overflow-y: auto;
  }

  .lp-drawer-overlay.pack-mode .lp-drawer-left-col {
    width: 100%;
    flex: 0 0 auto;
    max-height: 42dvh;
    padding: 12px;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: auto !important;
  }

  .lp-pack-preview-box {
    min-height: 140px;
    padding: 8px;
  }

  .lp-pack-preview-hint {
    min-height: auto;
    font-size: 0.58rem;
  }

  .lp-pack-preview-stats {
    padding: 7px 9px;
  }

  .lp-ps-lbl {
    font-size: 0.52rem;
  }

  .lp-ps-val {
    font-size: 0.78rem;
  }

  .lp-drawer-overlay.pack-mode .lp-drawer-right-col {
    flex: 1 0 0;
    min-height: 0;
  }

  .lp-load-mag-control-panel {
    margin: 6px 4px 10px;
    padding: 12px;
  }

  .lp-load-mag-actions-row,
  .lp-load-mag-actions-left {
    flex-wrap: wrap;
  }

  .lp-btn-add-another,
  .lp-btn-add-backpack-prompt {
    padding: 7px 9px;
    font-size: 0.65rem;
  }

  .lp-load-mag-ammo-row {
    margin: 4px 0;
    padding: 10px;
  }
}

@media (min-width: 901px) {
  html,
  body {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .lp-page-section {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .lp-container-wrap {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    align-items: stretch !important;
  }

  .lp-container {
    min-height: 0 !important;
    height: 100% !important;
  }
}

@media (min-width: 901px) and (max-height: 800px) {
  .lp-container-wrap {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .lp-container {
    gap: 18px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .lp-col-left,
  .lp-col-right {
    gap: 9px !important;
  }

  .lp-section-title {
    min-height: 32px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  #slotPrimaryCard {
    height: 112px;
  }

  #slotSecondaryCard,
  #slotSpecialistCard {
    height: 94px;
  }

  .lp-gear-card,
  .lp-storage-card {
    height: 88px !important;
  }

  .lp-grid-container-card {
    min-height: 0;
    padding: 10px 14px;
  }

  .lp-grid-board-wrapper {
    min-height: 220px;
    padding: 12px 18px;
  }

  .lp-btn-add-item-full {
    margin-top: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .lp-keys-footer {
    margin-top: 2px;
    padding-top: 4px;
  }
}

/* Refined visual system: restrained brass accents, warm graphite panels and real item art. */
:root {
  --lp-bg: #0a0b0d;
  --lp-panel-bg: rgba(17, 18, 20, 0.9);
  --lp-card-bg: rgba(25, 26, 28, 0.94);
  --lp-border: rgba(230, 224, 212, 0.13);
  --lp-border-gold: rgba(214, 174, 111, 0.34);
  --lp-gold: #d6ae6f;
  --lp-green: #67b99b;
  --lp-blue: #a9bfd2;
  --lp-text-muted: #a3a09a;
}

.lp-page-section {
  background:
    radial-gradient(ellipse at 50% 55%, rgba(185, 132, 61, 0.075), transparent 56%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.08), rgba(8, 9, 11, 0.42)) !important;
}

.lp-top-bar {
  background: rgba(10, 11, 13, 0.92) !important;
  border-bottom-color: rgba(214, 174, 111, 0.19) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24) !important;
}

.lp-container-wrap {
  padding: 18px clamp(16px, 4vw, 54px) !important;
}

.lp-container {
  max-width: 1560px !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr) !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
  padding: clamp(18px, 2.2vw, 30px) !important;
  border: 1px solid rgba(214, 174, 111, 0.2) !important;
  border-top: 1px solid rgba(214, 174, 111, 0.38) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(25, 25, 25, 0.96), rgba(12, 13, 15, 0.97) 58%, rgba(15, 16, 18, 0.96)) !important;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.lp-col-left,
.lp-col-right {
  gap: 12px !important;
}

.lp-section-title {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(214, 174, 111, 0.15);
  border-left: 2px solid var(--lp-gold);
  border-radius: 7px;
  background: linear-gradient(100deg, rgba(214, 174, 111, 0.075), rgba(255, 255, 255, 0.018) 72%);
  box-shadow: none;
  color: #e3c99f;
  font-size: 0.78rem;
  letter-spacing: 1.65px;
}

.lp-section-title::before {
  width: 3px;
  height: 13px;
  border-radius: 2px;
  box-shadow: 0 0 9px rgba(214, 174, 111, 0.46);
}

.lp-slot-card,
.lp-gear-card,
.lp-storage-card {
  border: 1px solid rgba(218, 216, 209, 0.105) !important;
  border-top-color: rgba(255, 255, 255, 0.11) !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, rgba(30, 31, 33, 0.97), rgba(19, 20, 22, 0.98)) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

.lp-slot-card:hover,
.lp-gear-card:hover,
.lp-storage-card:hover {
  border-color: rgba(214, 174, 111, 0.48) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34), 0 0 22px rgba(214, 174, 111, 0.075) !important;
  transform: translateY(-1px) !important;
}

.lp-slot-main-area:hover {
  background: rgba(214, 174, 111, 0.035);
}

.lp-slot-num {
  color: #e1c18f;
  border-color: rgba(214, 174, 111, 0.24);
  background: rgba(214, 174, 111, 0.075);
}

.lp-weapon-name,
.lp-gear-name,
.lp-bp-title {
  color: #e7e3dc;
  letter-spacing: 0.75px;
}

.lp-weapon-price,
.lp-gear-price,
.lp-bp-price {
  color: #79c3a6;
}

.lp-weapon-preview {
  min-width: 0;
}

.lp-weapon-img {
  max-width: 88%;
  max-height: 82px;
  filter: drop-shadow(0 9px 14px rgba(0, 0, 0, 0.52));
}

.lp-slot-ghost-silhouette {
  overflow: hidden;
}

.lp-slot-ghost-silhouette::before {
  position: absolute;
  inset: 12% 15%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(214, 174, 111, 0.075), transparent 70%);
  content: "";
}

.lp-slot-ghost-silhouette img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(84%, 460px);
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
  opacity: 0.4;
  filter: grayscale(1) brightness(1.35) contrast(0.78);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lp-slot-ghost-plus {
  opacity: 0;
  transform: translateY(5px);
}

.lp-slot-ghost-plus span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(232, 200, 151, 0.48);
  border-radius: 5px;
  background: rgba(16, 16, 17, 0.88);
  color: #f0d7ad;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.lp-slot-card:hover .lp-slot-ghost-plus {
  opacity: 1;
  transform: translateY(0);
}

.lp-slot-card:hover .lp-slot-ghost-silhouette img {
  opacity: 0.16;
  transform: scale(0.97);
}

.lp-gear-card,
.lp-storage-card {
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

.lp-gear-price,
.lp-bp-price {
  background: rgba(103, 185, 155, 0.085);
  border-color: rgba(103, 185, 155, 0.25);
}

.lp-grid-container-card {
  border: 1px solid rgba(218, 216, 209, 0.1);
  border-top-color: rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(23, 24, 26, 0.93), rgba(13, 14, 16, 0.96));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.lp-grid-header {
  border-bottom-color: rgba(255, 255, 255, 0.075);
}

.lp-loadout-name-input:focus {
  color: #e2c18e;
}

.lp-grid-dim {
  color: #a9a49b;
}

.lp-btn {
  border-color: rgba(230, 224, 212, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.lp-btn:hover {
  border-color: rgba(214, 174, 111, 0.52);
  background: rgba(214, 174, 111, 0.09);
  color: #e8c995;
}

.lp-btn.primary {
  background: linear-gradient(135deg, #e4bd7f, #c99a54);
  color: #17130d;
  box-shadow: 0 5px 16px rgba(199, 151, 79, 0.16);
}

.lp-btn.primary:hover {
  background: linear-gradient(135deg, #efd09c, #d8ac6c);
  color: #17130d;
}

@media (max-width: 900px) {
  .lp-page-section {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  .lp-container-wrap {
    flex: 0 0 auto !important;
  }

  .lp-container-wrap {
    padding: 14px 12px 24px !important;
  }

  .lp-container {
    grid-template-columns: minmax(0, 1fr) !important;
    border-radius: 13px !important;
  }

  .lp-slot-ghost-silhouette img {
    width: 82%;
    max-width: 82%;
  }

}

/* Lift the page surfaces slightly so warm accents and labels remain clear. */
.lp-page-section {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(201, 156, 91, 0.11), transparent 62%),
    linear-gradient(180deg, #191918 0%, #141515 100%) !important;
}

.lp-top-bar {
  background: rgba(35, 34, 31, 0.96) !important;
  border-bottom-color: rgba(214, 174, 111, 0.32) !important;
}

.lp-container {
  background:
    linear-gradient(135deg, rgba(39, 39, 36, 0.98), rgba(27, 28, 27, 0.98) 58%, rgba(31, 32, 30, 0.98)) !important;
}

.lp-slot-card,
.lp-gear-card,
.lp-storage-card {
  background: linear-gradient(135deg, rgba(49, 49, 46, 0.98), rgba(36, 37, 35, 0.98)) !important;
  border-color: rgba(230, 224, 212, 0.16) !important;
}

.lp-grid-container-card,
.lp-grid-board-wrapper {
  background: linear-gradient(145deg, rgba(36, 37, 34, 0.97), rgba(27, 28, 26, 0.98)) !important;
  border-color: rgba(230, 224, 212, 0.16) !important;
}

.lp-slot-ghost-silhouette .lp-weapon-ghost-icon {
  display: block;
  width: 264px;
  max-width: 54%;
  height: 72px;
  overflow: visible;
  fill: none !important;
  stroke: currentColor;
  color: #b7b2a6 !important;
  opacity: 0.3 !important;
  filter: none !important;
  transform: none;
}

.lp-slot-ghost-silhouette .lp-weapon-ghost-icon-pistol {
  width: 112px;
  height: 76px;
  max-width: 30%;
}

.lp-slot-card:hover .lp-slot-ghost-silhouette .lp-weapon-ghost-icon {
  opacity: 0.07 !important;
  transform: scale(0.95);
}

.lp-actions-group .lp-btn {
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(230, 224, 212, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #e8e3da;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.65px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.lp-actions-group .lp-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-actions-group .lp-btn:hover {
  border-color: rgba(226, 191, 137, 0.72);
  background: rgba(214, 174, 111, 0.16);
  color: #f0d6ad;
}

.lp-actions-group .lp-btn.primary {
  border: 1px solid rgba(242, 211, 162, 0.8);
  background: linear-gradient(135deg, #e6c58f, #d2aa6e);
  color: #282118;
  box-shadow: 0 4px 14px rgba(194, 148, 80, 0.2);
}

.lp-actions-group .lp-btn.primary:hover {
  background: linear-gradient(135deg, #f0d5aa, #dfba82);
  color: #211a11;
}

.lp-actions-group #btnResetLoadout {
  border-color: rgba(225, 154, 136, 0.36);
  color: #e4b1a1;
}

.lp-actions-group #btnResetLoadout:hover {
  border-color: rgba(231, 147, 124, 0.72);
  background: rgba(173, 75, 57, 0.18);
  color: #f0c1b2;
}

@media (max-width: 900px) {
  .lp-actions-group .lp-btn {
    padding: 0 9px;
    font-size: 0.66rem;
  }
}

@media (max-width: 560px) {
  .lp-actions-group .lp-btn {
    gap: 4px;
    padding: 5px 4px;
    font-size: 0.56rem;
    letter-spacing: 0;
  }

  .lp-actions-group .lp-btn svg {
    width: 13px;
    height: 13px;
  }
}

/* Birincil silah referans görseli (boş durum) - şeffaf çizgi görseli, logo gibi oturur */
.lp-slot-ghost-silhouette .lp-weapon-ghost-ref {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 82px;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lp-slot-card:hover .lp-slot-ghost-silhouette .lp-weapon-ghost-ref {
  opacity: 0.16;
  transform: scale(0.97);
}

/* Üst bar butonları her zaman tek satırda kalsın */
.lp-actions-group {
  flex-wrap: nowrap;
  flex-shrink: 0;
  white-space: nowrap;
}

.lp-actions-group .lp-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .lp-top-bar .lp-stats-group {
    min-width: 0;
    gap: 16px;
  }
}

@media (min-width: 761px) and (max-width: 1280px) {
  .lp-actions-group {
    gap: 6px;
  }
  .lp-actions-group .lp-btn {
    padding: 0 10px;
    font-size: 0.64rem;
    letter-spacing: 0.3px;
  }
  .lp-top-bar {
    padding: 0 16px !important;
  }
}

/* ---- Silah referans görselleri: kartı doldursun ---- */
.lp-slot-ghost-silhouette .lp-weapon-ghost-ref {
  width: 104%;
  height: 104%;
  max-width: 104%;
  max-height: 104%;
  object-fit: contain;
  opacity: 0.5;
}

.lp-slot-ghost-silhouette .lp-helmet-ghost-ref {
  width: 72%;
  height: 72%;
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
  opacity: 0.62;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lp-gear-card:hover .lp-slot-ghost-silhouette .lp-helmet-ghost-ref {
  opacity: 0.16;
  transform: scale(0.97);
}

.lp-slot-ghost-silhouette .lp-gear-ghost-ref,
.lp-slot-ghost-silhouette .lp-storage-ghost-ref {
  position: relative;
  z-index: 1;
  display: block;
  width: 98%;
  height: 98%;
  max-width: 98%;
  max-height: 84px;
  object-fit: contain;
  opacity: 0.62;
  filter: none;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lp-slot-ghost-silhouette .lp-storage-ghost-ref {
  max-height: 58px;
}

.lp-slot-ghost-silhouette .lp-gear-ghost-ref {
  max-height: 84px;
}

.lp-gear-card:hover .lp-slot-ghost-silhouette .lp-gear-ghost-ref,
.lp-storage-card:hover .lp-slot-ghost-silhouette .lp-storage-ghost-ref {
  opacity: 0.16;
  transform: scale(0.97);
}

.lp-slot-ghost-silhouette .lp-weapon-ghost-ref-pistol {
  width: 78%;
  max-width: 78%;
}

/* ---- Eklenti kutuları: ikon üstte, yazı altta, kareye sığar ---- */
.lp-att-slot {
  flex-direction: column;
  gap: 3px;
  padding: 3px 2px;
  box-sizing: border-box;
  overflow: hidden;
}

.lp-att-slot .lp-att-ghost-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  flex: 0 0 auto;
  line-height: 0;
}

.lp-att-slot .lp-att-ghost-icon svg {
  max-width: 22px;
  max-height: 20px;
}

.lp-att-slot .lp-att-label {
  display: block;
  max-width: 100%;
  font-size: 0.5rem;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.lp-att-slot.filled {
  padding: 2px;
}

.lp-att-slot .lp-att-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

/* ---- Askı (sling) yuvaları: silah silüeti ---- */
.lp-grid-integrated-sling .lp-int-sling-ghost {
  transform: none;
  width: 100%;
  height: 100%;
}

.lp-grid-integrated-sling .lp-int-sling-ghost-img {
  width: 178px;
  max-width: none;
  height: auto;
  flex: 0 0 auto;
  transform: rotate(90deg);
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
}

.lp-grid-integrated-sling:hover .lp-int-sling-ghost-img {
  opacity: 0.7;
}
/* =====================================================================
   GLASSMORPHISM HUD - arka plan videosu görünür, paneller cam efektli
   ===================================================================== */
.wardogs-bg-video {
  z-index: 0 !important;
  filter: saturate(1.05) brightness(0.9);
}

.wardogs-overlay {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(6, 8, 12, 0.10), rgba(4, 6, 9, 0.55) 100%) !important;
  z-index: 1 !important;
}

.lp-page-section {
  background: transparent !important;
}

.lp-top-bar {
  background: linear-gradient(180deg, rgba(22, 22, 21, 0.66), rgba(12, 13, 14, 0.58)) !important;
  backdrop-filter: blur(16px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.15) !important;
  border-bottom: 1px solid rgba(214, 174, 111, 0.30) !important;
}

.lp-container {
  background:
    linear-gradient(135deg, rgba(34, 34, 32, 0.60), rgba(14, 15, 16, 0.70) 58%, rgba(20, 21, 20, 0.62)) !important;
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  border: 1px solid rgba(214, 174, 111, 0.28) !important;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(214, 174, 111, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.lp-slot-card,
.lp-gear-card,
.lp-storage-card {
  background: linear-gradient(135deg, rgba(58, 58, 54, 0.46), rgba(24, 25, 24, 0.56)) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: rgba(230, 224, 212, 0.16) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lp-slot-card:hover,
.lp-gear-card:hover,
.lp-storage-card:hover {
  border-color: rgba(226, 191, 137, 0.55) !important;
  box-shadow: 0 0 18px rgba(214, 174, 111, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.lp-grid-container-card,
.lp-grid-board-wrapper {
  background: linear-gradient(145deg, rgba(30, 31, 29, 0.55), rgba(14, 15, 14, 0.66)) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(230, 224, 212, 0.16) !important;
}

.lp-attachments-grid {
  background: rgba(0, 0, 0, 0.28);
}

.lp-att-slot {
  background: rgba(10, 11, 13, 0.55);
}

.lp-grid-cell {
  background: rgba(14, 18, 26, 0.72);
}

.lp-section-title {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Reference-matched graphite HUD finish. */
.wardogs-bg-video {
  filter: saturate(0.88) brightness(0.76) contrast(1.04);
}

.wardogs-overlay {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(7, 12, 18, 0.2), rgba(3, 6, 10, 0.72) 100%) !important;
}

.lp-top-bar {
  background: linear-gradient(180deg, rgba(7, 11, 16, 0.92), rgba(9, 13, 18, 0.86)) !important;
  border-bottom-color: rgba(216, 157, 48, 0.38) !important;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.42) !important;
}

.lp-weight-group {
  background: linear-gradient(180deg, rgba(10, 15, 20, 0.96), rgba(7, 11, 15, 0.94)) !important;
  border-color: rgba(172, 179, 183, 0.28) !important;
}

.lp-container-wrap {
  padding: 16px 20px !important;
}

.lp-container {
  background: linear-gradient(145deg, rgba(11, 16, 21, 0.94), rgba(7, 10, 14, 0.96)) !important;
  border: 1px solid rgba(216, 157, 48, 0.54) !important;
  border-top: 2px solid rgba(232, 171, 58, 0.9) !important;
  border-radius: 10px !important;
  box-shadow:
    0 22px 65px rgba(0, 0, 0, 0.58),
    0 0 24px rgba(216, 157, 48, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.lp-col-left,
.lp-col-right {
  gap: 11px !important;
}

.lp-section-title {
  min-height: 34px;
  padding: 6px 11px;
  color: #e5e8e8;
  background: linear-gradient(90deg, rgba(10, 15, 19, 0.98), rgba(14, 18, 21, 0.82)) !important;
  border: 1px solid rgba(163, 174, 179, 0.2) !important;
  border-left: 2px solid #dfa62f !important;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  letter-spacing: 1.25px;
}

.lp-section-title::before {
  width: 2px;
  height: 13px;
  background: linear-gradient(180deg, #ffd25f, #d68b1e);
  box-shadow: 0 0 8px rgba(239, 174, 48, 0.5);
}

.lp-slot-card,
.lp-gear-card,
.lp-storage-card {
  background: linear-gradient(140deg, rgba(17, 23, 28, 0.97), rgba(9, 13, 17, 0.98)) !important;
  border-color: rgba(151, 164, 171, 0.24) !important;
  border-radius: 6px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 7px 16px rgba(0, 0, 0, 0.32) !important;
}

.lp-slot-card {
  border-left: 2px solid rgba(222, 158, 44, 0.85) !important;
}

.lp-gear-card {
  border-left: 2px solid rgba(222, 158, 44, 0.85) !important;
}

.lp-slot-card:hover,
.lp-gear-card:hover,
.lp-storage-card:hover {
  border-color: rgba(230, 172, 60, 0.58) !important;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.42), 0 0 14px rgba(222, 158, 44, 0.09) !important;
}

.lp-grid-container-card {
  background: linear-gradient(145deg, rgba(10, 15, 19, 0.96), rgba(7, 10, 14, 0.98)) !important;
  border-color: rgba(151, 164, 171, 0.22) !important;
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 9px 25px rgba(0, 0, 0, 0.34) !important;
}

.lp-grid-header {
  background: rgba(14, 19, 23, 0.92);
  border-bottom-color: rgba(220, 161, 49, 0.22);
}

.lp-grid-cell {
  background: rgba(13, 19, 23, 0.88);
  border-color: rgba(174, 184, 187, 0.1);
}

.lp-empty-storage-prompt {
  gap: 10px;
}

.lp-empty-backpack-bg-silhouette {
  width: min(190px, 45%);
  height: min(220px, 58%);
  max-height: 58%;
  opacity: 0.52;
}

.lp-empty-backpack-ref {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.68;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lp-empty-storage-prompt:hover .lp-empty-backpack-bg-silhouette {
  opacity: 0.78;
  transform: translateY(-2px);
}

.lp-empty-storage-badge {
  background: rgba(46, 19, 20, 0.86);
  border-color: rgba(218, 70, 65, 0.7);
  border-radius: 3px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.42);
  letter-spacing: 0.85px;
}

.lp-empty-storage-prompt:hover .lp-empty-storage-badge {
  background: rgba(79, 24, 24, 0.92);
}

.lp-slot-ghost-silhouette .lp-specialist-ghost-ref {
  width: 30%;
  height: 92%;
  max-width: 30%;
  max-height: 92%;
  object-fit: contain;
  opacity: 0.62;
  filter: none;
}

.lp-slot-card:hover .lp-slot-ghost-silhouette .lp-specialist-ghost-ref {
  opacity: 0.16;
  transform: scale(0.97);
}

@media (min-width: 901px) {
  .lp-container {
    width: 86% !important;
    max-width: 1540px !important;
  }
}

@media (max-width: 760px) {
  .lp-container-wrap {
    padding: 10px !important;
  }

  .lp-container {
    width: 100% !important;
  }

  .lp-slot-ghost-silhouette .lp-specialist-ghost-ref {
    width: 36%;
    max-width: 36%;
  }
}

/* Keep the stats row inside the planner frame, as in the reference HUD. */
.lp-top-bar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  align-self: center;
  width: min(86%, 1540px) !important;
  max-width: 1540px !important;
  height: 56px !important;
  min-height: 56px !important;
  flex: 0 0 56px !important;
  margin: 12px auto 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(216, 157, 48, 0.46) !important;
  border-bottom: 0 !important;
  border-radius: 9px 9px 0 0 !important;
  background: linear-gradient(180deg, rgba(11, 16, 21, 0.98), rgba(8, 12, 17, 0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 5px 18px rgba(0, 0, 0, 0.3) !important;
  z-index: 20 !important;
  box-sizing: border-box !important;
}

.lp-top-bar-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.lp-stats-group {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  height: 100% !important;
}

.lp-weight-group {
  width: 220px;
  min-width: 220px !important;
  height: 42px !important;
  padding: 4px 10px 3px !important;
  border-color: rgba(151, 164, 171, 0.32) !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg, rgba(15, 21, 26, 0.98), rgba(8, 13, 18, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-self: center !important;
}

.lp-wt-hud-header {
  gap: 5px;
  color: #aab4ba !important;
  font-size: 0.58rem;
  letter-spacing: 0.9px;
  text-shadow: none !important;
}

.lp-wt-hud-header svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  opacity: 0.82;
}

.lp-wt-hud-main {
  align-items: center;
}

.lp-wt-num {
  font-size: 1.12rem !important;
}

.lp-wt-unit {
  font-size: 0.68rem !important;
}

.lp-wt-hud-class {
  font-size: 0.7rem !important;
}

.lp-stat-item:not(.lp-weight-group) {
  height: 42px !important;
  min-height: 42px !important;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(165, 176, 181, 0.2);
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-self: center !important;
}

.lp-stat-label {
  color: #aab4ba !important;
  font-size: 0.56rem !important;
  letter-spacing: 0.9px !important;
}

.lp-stat-value.green {
  color: #84c7a5 !important;
  font-size: 0.9rem !important;
}

.lp-stat-value.blue {
  color: #a9c4d2 !important;
  font-size: 0.73rem !important;
}

.lp-actions-group {
  gap: 7px !important;
}

.lp-actions-group .lp-btn {
  height: 32px;
  padding: 0 10px;
  border-color: rgba(155, 166, 172, 0.25);
  background: rgba(17, 23, 28, 0.82);
  font-size: 0.66rem;
  letter-spacing: 0.45px;
}

.lp-actions-group .lp-btn.primary {
  background: linear-gradient(135deg, #d6ab62, #b87d2a);
  color: #111;
}

.lp-container-wrap {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  padding: 0 20px 14px !important;
}

.lp-container {
  width: min(86%, 1540px) !important;
  max-width: 1540px !important;
  height: 100% !important;
  border-top: 0 !important;
  border-radius: 0 0 10px 10px !important;
  padding-top: 12px !important;
  background: linear-gradient(145deg, rgba(11, 16, 21, 0.96), rgba(7, 10, 14, 0.98)) !important;
}

@media (max-width: 900px) {
  .lp-top-bar {
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 56px !important;
    flex: 0 0 auto !important;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px !important;
  }

  .lp-container-wrap {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    padding: 0 12px 18px !important;
  }

  .lp-container {
    width: 100% !important;
    height: auto !important;
    border-top: 0 !important;
    border-radius: 0 0 10px 10px !important;
  }
}

@media (max-width: 560px) {
  .lp-stats-group {
    width: 100%;
  }

  .lp-weight-group {
    width: 42%;
    min-width: 0 !important;
  }

  .lp-stat-item:not(.lp-weight-group) {
    margin-left: 8px;
    padding-left: 8px;
  }

  .lp-stat-value.blue {
    font-size: 0.62rem !important;
  }

  .lp-actions-group {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Balance both planner columns and keep the frame visibly glass-like. */
.wardogs-header {
  background: rgba(10, 13, 19, 0.45) !important;
  border-bottom-color: rgba(245, 158, 11, 0.22) !important;
}

.lp-top-bar {
  background: linear-gradient(180deg, rgba(41, 47, 51, 0.94), rgba(30, 36, 40, 0.92)) !important;
}

.lp-container {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  background: linear-gradient(145deg, rgba(26, 33, 38, 0.68), rgba(9, 14, 18, 0.62)) !important;
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
}

.lp-wt-hud-meter {
  height: 5px;
  min-height: 5px;
  flex: 0 0 5px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.lp-wt-meter-fill {
  min-width: 0;
  z-index: 1;
  box-shadow: 0 0 10px rgba(239, 89, 53, 0.68), 0 0 14px rgba(255, 255, 255, 0.24);
}

.lp-wt-meter-overlay-grid {
  z-index: 2;
}

.lp-slot-card-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  z-index: 3;
  min-width: 0;
  min-height: 24px;
  gap: 8px;
}

.lp-weapon-preview {
  box-sizing: border-box;
  padding-bottom: 24px;
}

.lp-slot-card-bottom .lp-weapon-name {
  display: inline-flex !important;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 70px);
  overflow: hidden;
  color: #f4f3ef;
  font-size: 0.92rem;
  line-height: 1.15;
  opacity: 1 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-slot-card-bottom .lp-weapon-name.equipped {
  padding: 0;
  border-color: transparent;
  background: transparent;
  font-size: 0.92rem !important;
  font-weight: 900;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}

.lp-slot-card-bottom .lp-weapon-price {
  flex: 0 0 auto;
  white-space: nowrap;
}

.lp-btn-add-item-full,
.lp-keys-footer {
  box-sizing: border-box;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.lp-keys-footer {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 40px;
  align-items: stretch;
  gap: 4px;
  padding: 8px 0 0;
  flex-wrap: initial;
}

.lp-keys-footer > * {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 2px;
  border: 1px solid rgba(166, 177, 183, 0.15);
  border-radius: 4px;
  background: rgba(20, 27, 32, 0.62);
  text-align: center;
  line-height: 1.15;
  white-space: normal;
  font-size: 0.52rem;
}

.lp-col-left,
.lp-col-right {
  min-width: 0;
}

.lp-gear-row {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.lp-gear-card {
  min-width: 0;
}

.lp-gear-card .lp-card-sub-bottom {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  min-height: 22px;
  padding: 2px;
  border: 1px solid rgba(166, 177, 183, 0.16);
  border-radius: 3px;
  background: rgba(9, 13, 17, 0.96);
}

.lp-gear-card .lp-gear-name {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: none;
  overflow: hidden;
  padding: 2px 4px;
  font-size: 0.58rem !important;
  text-overflow: ellipsis;
}

.lp-gear-card .lp-gear-price {
  position: relative;
  z-index: 1;
  justify-self: end;
  font-size: 0.58rem;
  padding: 1px 4px;
}

.lp-gear-img-box {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.lp-gear-img-box .lp-gear-ghost {
  inset: 0;
}

.lp-gear-row {
  flex: 1 0 140px;
  align-items: center;
}

.lp-gear-card {
  height: 100% !important;
  align-self: stretch;
  box-sizing: border-box;
}

.lp-storage-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.lp-storage-card {
  min-width: 0;
}

.lp-grid-container-card,
.lp-grid-header,
.lp-grid-board-wrapper {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.lp-grid-board-wrapper {
  overflow: hidden;
}

.lp-grid-board {
  max-width: 100%;
}

.lp-keys-footer .lp-key-title {
  align-self: stretch;
  width: 100%;
  overflow: visible;
  color: #d7b567;
  font-size: 0.58rem !important;
  letter-spacing: 0.2px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.lp-key-badge {
  flex: 0 0 auto;
  margin: 0;
  padding: 3px 4px;
  border: 1px solid rgba(198, 207, 211, 0.22);
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.55rem;
  line-height: 1;
}

.lp-key-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #c6cbd0;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Restore the site's normal, brighter background without changing planner panels. */
.wardogs-bg-video {
  filter: none !important;
}

.wardogs-overlay {
  background: radial-gradient(
    circle at 50% 35%,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(5, 8, 14, 0.5) 100%
  ) !important;
}

@media (max-width: 900px) {
  .lp-container {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ==========================================================================
   LOADOUT SHARE MODAL (MATCHING MILITARY HUD THEME)
   ========================================================================== */
.lp-share-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.lp-share-modal-backdrop[hidden] {
  display: none !important;
}

.lp-share-modal {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  background: linear-gradient(155deg, rgba(23, 27, 33, 0.98), rgba(12, 15, 19, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 24px 26px 20px;
  box-sizing: border-box;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.08);
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #f1f5f9;
}

.lp-share-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #71717a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
.lp-share-modal-close:hover {
  color: #f59e0b;
}

.lp-share-modal-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.lp-share-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

/* DISCORD USER BADGE IN SHARE MODAL */
.lp-share-user-badge {
  margin-bottom: 14px;
}
.lp-share-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}
.lp-share-user-pill.logged-in {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.lp-share-user-pill.not-logged-in {
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.25);
}
.lp-share-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  object-fit: cover;
  flex-shrink: 0;
}
.lp-share-user-avatar-fallback {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.lp-share-user-details {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex: 1;
}
.lp-share-user-tag {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.lp-share-user-status {
  color: #10b981;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}
.lp-share-login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5865F2;
  color: #fff !important;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  transition: background 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.lp-share-login-link:hover {
  background: #4752c4;
}

/* SUMMARY CARD */
.lp-share-summary-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #0b0e12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-bottom: 18px;
}

.lp-share-summary-art {
  width: 90px;
  height: 54px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.lp-share-summary-art img {
  max-width: 82px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.lp-share-summary-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lp-share-summary-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.lp-share-summary-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.4px;
}

/* FIELD GROUPS */
.lp-share-field-group {
  margin-bottom: 15px;
}

.lp-share-field-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.lp-share-field-header label {
  font-size: 0.76rem;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lp-share-optional {
  color: #64748b;
  font-weight: 600;
  text-transform: none;
}

.lp-share-char-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: #71717a;
  letter-spacing: 0.5px;
}

.lp-share-field-group input[type="text"],
.lp-share-field-group textarea {
  width: 100%;
  box-sizing: border-box;
  background: #090c10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 0.88rem;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-share-field-group input[type="text"]:focus,
.lp-share-field-group textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.lp-share-field-group textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.45;
}

/* ROLE SELECTOR GRID */
.lp-share-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 6px;
}

.lp-share-role-btn {
  background: #090c10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 8px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #71717a;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-share-role-btn svg {
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.lp-share-role-btn span {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
}

.lp-share-role-btn:hover {
  border-color: rgba(245, 158, 11, 0.4);
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.03);
}

.lp-share-role-btn.active {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.22);
}

.lp-share-role-btn.active svg {
  color: #f59e0b;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.45));
}

/* ACTION BUTTONS */
.lp-share-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.lp-share-btn-draft {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lp-share-btn-draft:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.lp-share-btn-publish {
  background: linear-gradient(135deg, #d97706, #b45309);
  border: 1px solid #f59e0b;
  border-radius: 6px;
  color: #0f1216;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 11px 14px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.28);
  transition: all 0.15s ease;
}
.lp-share-btn-publish:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.lp-share-footer-notice {
  margin: 14px 0 0 0;
  font-size: 0.72rem;
  color: #71717a;
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   TOP BAR STATS CARDS & CONTAINER ALIGNMENT FIX (AĞIRLIK, BÜTÇE, ÇANTA)
   ========================================================================== */
.lp-top-bar .lp-top-bar-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1780px !important;
  margin: 0 auto !important;
  padding: 0 42px !important;
  height: 56px !important;
  box-sizing: border-box !important;
}

.lp-top-bar .lp-stats-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 18px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lp-top-bar .lp-stat-item,
.lp-top-bar .lp-weight-group {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.lp-top-bar .lp-weight-group {
  width: 230px !important;
  min-width: 230px !important;
  padding: 4px 10px 3px !important;
  border: 1px solid rgba(245, 158, 11, 0.7) !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg, rgba(16, 20, 25, 0.98), rgba(9, 13, 17, 0.98)) !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.12) !important;
}

.lp-top-bar .lp-stat-item:not(.lp-weight-group) {
  padding-left: 18px !important;
  border-left: 1px solid rgba(165, 176, 181, 0.25) !important;
}

.lp-top-bar .lp-wt-hud-header {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  color: #cbd5e1 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.lp-top-bar .lp-wt-hud-header svg {
  width: 12px !important;
  height: 12px !important;
  fill: currentColor !important;
}

.lp-top-bar .lp-wt-hud-main {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  line-height: 1 !important;
  width: 100% !important;
  margin: 1px 0 2px 0 !important;
}

.lp-top-bar .lp-wt-num {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  font-family: 'Rajdhani', sans-serif !important;
}

.lp-top-bar .lp-wt-unit {
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  margin-left: 3px !important;
}

.lp-top-bar .lp-wt-hud-class {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.7px !important;
  text-transform: uppercase !important;
  font-family: 'Rajdhani', sans-serif !important;
  line-height: 1 !important;
}

.lp-top-bar .lp-stat-label {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  letter-spacing: 1px !important;
  line-height: 1 !important;
  margin-bottom: 2px !important;
  display: flex !important;
  align-items: center !important;
  text-transform: uppercase !important;
}

.lp-top-bar .lp-stat-value {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.6px !important;
}

.lp-top-pack-item {
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.lp-top-pack-item:hover {
  opacity: 0.9;
}

.lp-top-pack-icon {
  width: 13px !important;
  height: 13px !important;
  object-fit: contain !important;
  vertical-align: -1px !important;
  margin-right: 4px !important;
  display: inline-block !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7)) !important;
}

.lp-top-bar .lp-stat-value.warning-prompt {
  color: #fbbf24 !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
}

/* Copy Link 48h Expiry Hint */
.lp-btn-wrap-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.lp-btn-expiry-hint {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Tab Horizontal Scroll Controls */
.lp-tab-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.lp-tab-scroll-wrapper:has(.pack-add-tabs),
.lp-tab-scroll-wrapper.is-pack-add {
  display: block !important;
  background: transparent !important;
  border-bottom: none !important;
  padding: 0 !important;
}

.lp-tab-scroll-wrapper:has(.pack-add-tabs) > .lp-tab-scroll-arrow,
.lp-tab-scroll-wrapper.is-pack-add > .lp-tab-scroll-arrow {
  display: none !important;
}

.lp-tab-scroll-wrapper .lp-drawer-tabs {
  flex: 1 1 auto;
  min-width: 0;
  border-bottom: none;
  background: transparent;
  padding: 10px 10px;
}

.lp-drawer-tabs:not(.pack-add-tabs) {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 6px !important;
}

.lp-drawer-main-tabs,
.lp-drawer-sub-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 6px !important;
  padding: 4px 6px !important;
}

.lp-drawer-main-tabs::-webkit-scrollbar,
.lp-drawer-sub-tabs::-webkit-scrollbar,
.lp-drawer-tabs::-webkit-scrollbar {
  height: 4px;
}

.lp-drawer-main-tabs::-webkit-scrollbar-thumb,
.lp-drawer-sub-tabs::-webkit-scrollbar-thumb,
.lp-drawer-tabs::-webkit-scrollbar-thumb {
  background: rgba(245, 166, 35, 0.6);
  border-radius: 2px;
}

.lp-tab-scroll-arrow {
  flex: 0 0 28px;
  width: 28px;
  height: 32px;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: #f5a623;
  font-size: 18px;
  line-height: 1;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  user-select: none;
  transition: all 0.15s ease;
  z-index: 5;
  margin: 0 4px;
}

.lp-tab-scroll-arrow:hover {
  background: #f5a623;
  color: #000;
  border-color: #f5a623;
  transform: scale(1.05);
}

/* ==========================================================================
   LOADOUT PUBLISH SUCCESS MODAL
   ========================================================================== */
.lp-success-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 10, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.lp-success-modal-backdrop[hidden] {
  display: none !important;
}

.lp-success-modal {
  position: relative;
  width: min(500px, calc(100vw - 32px));
  background: linear-gradient(155deg, rgba(20, 24, 30, 0.98), rgba(10, 13, 17, 0.98));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-top: 3px solid #10b981;
  border-radius: 10px;
  padding: 26px 28px 24px;
  box-sizing: border-box;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 40px rgba(16, 185, 129, 0.12);
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #f1f5f9;
  text-align: left;
  animation: lpModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lpModalPop {
  0% { opacity: 0; transform: scale(0.95) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.lp-success-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #71717a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
.lp-success-modal-close:hover {
  color: #10b981;
}

.lp-success-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.lp-success-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: lpPulse 1.8s infinite;
}

@keyframes lpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.lp-success-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.lp-success-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 8px;
  margin-bottom: 16px;
}

.lp-success-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #10b981;
  object-fit: cover;
  flex-shrink: 0;
  background: #1e293b;
}

.lp-success-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.lp-success-username {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #f8fafc;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.lp-success-badge {
  color: #10b981;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lp-success-preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #090c10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 12px;
}

.lp-success-preview-art {
  width: 96px;
  height: 56px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(0, 0, 0, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.lp-success-preview-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.lp-success-preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.lp-success-preview-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-success-preview-role {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lp-success-preview-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

.lp-success-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid #10b981;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 14px;
  font-style: italic;
  line-height: 1.4;
  max-height: 80px;
  overflow-y: auto;
}

.lp-success-prompt {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 18px 0;
}

.lp-success-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.lp-success-btn-stay {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #cbd5e1;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lp-success-btn-stay:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lp-success-btn-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: 6px;
  color: #ffffff !important;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: all 0.15s ease;
}
.lp-success-btn-view:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

/* Toast Notification (Tactical HUD Alert) */
.comm-toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid #f59e0b;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 20000;
}

.comm-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}