/* public/css/pages/dex.css — 도감 상세 /items/{id} · /monsters/{id} · /polymorph/{id} (2026-10-09)
 * 안쪽 요소(dex-head·dex-stats·dex-sec·dex-list·dex-row·dex-tip…)는 도감 레이어(dex-layer.css)의 것을 그대로 쓴다 */

.dex-page {
  max-width: 820px;
  padding: 16px var(--page-pad-x) 32px;
  box-sizing: border-box;
}

.dex-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  font-size: var(--fs-12);
  color: var(--text-muted);
}
.dex-crumbs a { color: var(--text-secondary); text-decoration: none; }
.dex-crumbs a:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.dex-crumbs .ph { font-size: var(--fs-11); opacity: 0.6; }
.dex-crumbs [aria-current] { color: var(--text-primary); font-weight: 600; }

.dex-page__card {
  padding: 20px 22px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-xl);
}

.dex-page__summary {
  margin: 0 0 16px;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--text-secondary);
}

/* 상세 페이지는 레이어보다 넓어 행 이름을 자르지 않는다 */
.dex-page .dex-row__name { white-space: normal; }
.dex-page .dex-actions { margin-top: 20px; }

.dex-page__note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 12px 2px 0;
  font-size: var(--fs-12);
  color: var(--text-muted);
}
.dex-page__note .ph { margin-top: 2px; }

@media (max-width: 640px) {
  .dex-page { padding-top: 12px; }
  .dex-page__card { padding: 16px 14px 18px; }
}
