/* stats.css — 유저 탭 (양육자/도감/앨범/일지) */

/* ── 양육자 카드 ────────────────────── */
.keeper-box {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(120, 145, 100, 0.1);
}

.keeper-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.keeper-xp {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-sub);
  text-align: right;
}

.stats-next {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(120, 145, 100, 0.12);
  color: var(--color-text-sub);
  font-size: 13px;
  font-weight: 600;
}

/* ── 여행 보내기 ────────────────────── */
.graduate-box {
  margin-top: 14px;
}

/* ── 성장 일지 ──────────────────────── */
.journal-title {
  font-size: 15px;
  margin: 22px 0 10px;
}

.journal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}

.journal-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  color: var(--color-text);
  padding: 9px 12px;
  background: rgba(120, 145, 100, 0.08);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.journal-date {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-sub);
}

.journal-empty {
  color: var(--color-text-sub);
}

/* ── 도감 ───────────────────────────── */
.dex-count {
  font-size: 12px;
  color: var(--color-text-sub);
  font-weight: 700;
}

.dex-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.dex-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  background: rgba(120, 145, 100, 0.08);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-sub);
}

.dex-cell.found {
  color: var(--color-text);
  background: rgba(120, 145, 100, 0.16);
}

.dex-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b9bdb3;                 /* 미발견 실루엣 */
  box-shadow: inset 0 -3px 4px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.rarity-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(120, 130, 115, 0.18);
  color: var(--color-text-sub);
}

.rarity-badge.rarity-rare {
  background: rgba(111, 141, 219, 0.2);
  color: #4a67b5;
}

.rarity-badge.rarity-epic {
  background: rgba(210, 164, 55, 0.22);
  color: #9a7413;
}

.dex-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(20, 18, 10, 0.25));
}

.album-img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

/* ── 앨범 ───────────────────────────── */
.album-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.album-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(120, 145, 100, 0.1);
}

.album-name {
  font-size: 14px;
  font-weight: 800;
}

.album-desc {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-top: 2px;
  line-height: 1.5;
}

.album-empty {
  font-size: 13px;
  color: var(--color-text-sub);
  padding: 10px 12px;
  background: rgba(120, 145, 100, 0.08);
  border-radius: var(--radius-sm);
}

/* ── 도감 등급 섹션 (12차) ───────────────── */
.dex-section { margin-bottom: 18px; }

.dex-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin: 14px 0 10px;
}

.dex-section-prog {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-sub);
}

.dex-empty {
  font-size: 13px;
  color: var(--color-text-sub);
  padding: 10px 12px;
  background: rgba(120, 145, 100, 0.08);
  border-radius: var(--radius-sm);
}

/* ── 앨범 내부 스크롤 (12차) ──────────────── */
.album-list {
  max-height: 300px;
  overflow-y: auto;
}
