/* ── TARKOV PROFILE ─────────────────────────────────── */
.tarkov-profile-grid { display: grid; grid-template-columns: 260px 1fr; gap: 16px; margin-bottom: 20px; }
.profile-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 18px;
}
.profile-avatar {
  width: 56px; height: 56px; border-radius: 10px; background: var(--bg4);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 12px;
}
.profile-name { font-family: var(--font-d); font-size: 16px; font-weight: 700; }
.profile-meta { font-size: 12px; color: var(--text2); margin-top: 3px; }
.profile-stats { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.pstat { display: flex; justify-content: space-between; align-items: center; }
.pstat-label { font-size: 12px; color: var(--text2); }
.pstat-value { font-size: 13px; font-weight: 500; }
.stats-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

/* ── MISSION TABLE ─────────────────────────────────── */
.mission-table { width: 100%; border-collapse: collapse; }
.mission-table th {
  text-align: left; font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--text3); text-transform: uppercase; padding: 0 12px 10px;
  border-bottom: 1px solid var(--border);
}
.mission-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--border);
  font-size: 13px; vertical-align: middle;
}
.mission-table tr:last-child td { border-bottom: none; }
.mission-table tr:hover td { background: var(--bg3); }

.status-badge { font-size: 10px; padding: 2px 8px; border-radius: 20px; font-weight: 500; }
.s-done   { background: rgba(93,191,160,0.12);  color: var(--accent3); }
.s-active { background: rgba(200,169,110,0.12); color: var(--accent); }
.s-locked { background: rgba(92,91,87,0.3);     color: var(--text3); }

.trader-tag {
  font-size: 10px; padding: 2px 7px; border-radius: 4px;
  background: var(--bg4); color: var(--text2); border: 1px solid var(--border);
}

/* ── MAP GRID ─────────────────────────────────── */
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.map-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s;
}
.map-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.map-thumb {
  width: 100%; aspect-ratio: 16/9; background: var(--bg4);
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--text3);
}
.map-info  { padding: 10px 12px; }
.map-name  { font-size: 13px; font-weight: 500; }
.map-meta  { font-size: 11px; color: var(--text2); margin-top: 2px; }
.map-notes { font-size: 11px; color: var(--text3); margin-top: 5px; font-style: italic; }

/* ── MISSION BADGES ─────────────────────────────── */
.badge-kappa {
  display: inline-block; font-size: 9px; font-weight: 700; padding: 1px 6px;
  border-radius: 3px; background: rgba(200,169,110,0.18); color: var(--accent);
  border: 1px solid rgba(200,169,110,0.3); letter-spacing: .5px; vertical-align: middle;
}
.badge-lk {
  display: inline-block; font-size: 9px; font-weight: 700; padding: 1px 6px;
  border-radius: 3px; background: rgba(93,191,160,0.15); color: var(--accent3);
  border: 1px solid rgba(93,191,160,0.3); letter-spacing: .5px; vertical-align: middle;
}
.badge-kappa-sm, .badge-lk-sm {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 3px; font-size: 9px; font-weight: 700;
}
.badge-kappa-sm { background: rgba(200,169,110,0.18); color: var(--accent); }
.badge-lk-sm    { background: rgba(93,191,160,0.15);  color: var(--accent3); }

/* ── HIDEOUT ─────────────────────────────────────── */
.hideout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
}

.hideout-station {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}

.hideout-station-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
  background: var(--bg4);
}
.hideout-station-name { font-family: var(--font-d); font-size: 13px; font-weight: 700; }
.hideout-station-progress { display: flex; align-items: center; gap: 8px; }
.hideout-progress-bar {
  width: 80px; height: 5px; background: var(--bg5); border-radius: 3px; overflow: hidden;
}
.hideout-progress-fill {
  height: 100%; background: var(--accent3); border-radius: 3px; transition: width 0.3s;
}
.hideout-progress-label { font-size: 11px; color: var(--text3); min-width: 30px; text-align: right; }

.hideout-level {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
}
.hideout-level:last-child { border-bottom: none; }
.hideout-level-done { background: rgba(93,191,160,0.04); }

.hideout-level-title {
  font-size: 11px; font-weight: 600; color: var(--text3); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 8px; display: flex; align-items: center; gap: 5px;
}

.hideout-items { display: flex; flex-wrap: wrap; gap: 6px; }

.hideout-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 58px; cursor: pointer; padding: 6px 4px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg4);
  transition: border-color 0.12s, background 0.12s; position: relative;
}
.hideout-item:hover { border-color: var(--border2); }
.hideout-item-have {
  background: rgba(93,191,160,0.1); border-color: rgba(93,191,160,0.35);
  opacity: 0.7;
}
.hideout-item-img {
  width: 36px; height: 36px; object-fit: contain; border-radius: 4px;
}
.hideout-item-name  { font-size: 9px; color: var(--text2); text-align: center; line-height: 1.2; }
.hideout-item-count { font-size: 9px; color: var(--text3); }
.hideout-item-check {
  position: absolute; top: 2px; right: 2px;
  width: 14px; height: 14px; background: var(--accent3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hideout-item-check i { font-size: 9px; color: var(--bg); }

/* ── ITEM GRID (legacy, se mantiene por si acaso) ── */
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.item-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px; cursor: pointer; transition: border-color 0.15s;
}
.item-card:hover { border-color: var(--border2); }
.item-icon { font-size: 24px; margin-bottom: 8px; }
.item-name { font-size: 12px; font-weight: 500; }
.item-cat  { font-size: 11px; color: var(--text3); margin-top: 2px; }
.item-rarity {
  font-size: 10px; padding: 1px 6px; border-radius: 3px; margin-top: 6px; display: inline-block;
}
.r-rare   { background: rgba(139,125,212,0.15); color: var(--accent2); }
.r-super  { background: rgba(200,169,110,0.15); color: var(--accent); }
.r-common { background: rgba(93,191,160,0.12);  color: var(--accent3); }
