/* ================================================================
   account.css — 내 계정(account.html) 전용 조각. 공통 모양은 core-ui.css
================================================================ */

.ac-gate { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 48px 24px; }
.ac-gate svg { width: 28px; height: 28px; color: var(--muted); }
.ac-return { margin-bottom: 24px; }
.ac-return a, .ac-help a { color: var(--focus); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ac-help { margin-top: 12px; }

/* 개요 */
.ac-hero { display: flex; align-items: center; gap: 20px; }
.ac-avatar {   /* 아바타는 원형 예외(design-docs) */
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 24px; font-weight: 700;
}
.ac-hero-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ac-hero-name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ac-hero-body .muted { font-size: 14px; overflow-wrap: anywhere; }
.ac-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.ac-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; transition: border-color .15s; }
.ac-tile:hover { border-color: var(--brand); }
.ac-tile-label { font-size: 14px; color: var(--muted); }
.ac-tile-value { font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* 이름·값 줄 */
.kv { margin: 0; }
.kv-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 14px; }
.kv-row:first-child { border-top: 0; padding-top: 0; min-height: 40px; }
.kv-row:last-child { padding-bottom: 0; }
.kv-row dt { color: var(--muted); flex-shrink: 0; }
.kv-row dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.kv-switch { display: flex; align-items: center; gap: 12px; }
.kv-switch span { font-weight: 400; color: var(--muted); }

/* 서비스 표의 바로가기 */
.ac-link { display: inline-flex; align-items: center; gap: 4px; color: var(--focus); font-weight: 600; }
.ac-link svg { width: 14px; height: 14px; }
/* 서비스 이름 — 세부 화면(#services/키)으로 */
.ac-name { font-weight: 600; }
.ac-name:hover { color: var(--focus); }
.ac-crumb { margin-bottom: 16px; }
.ac-crumb a { color: var(--focus); font-weight: 600; }
.ac-crumb a::before { content: '‹ '; }

/* 활동 기록 */
.ac-timeline { list-style: none; margin: 20px 0 0; padding: 0 0 0 20px; border-left: 2px solid var(--border); }
.ac-timeline li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 24px 4px; font-size: 14px; }
.ac-timeline li::before { content: ''; position: absolute; left: -28px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 2px solid var(--bg); }
.ac-timeline li.empty::before { display: none; }
.ac-timeline strong { font-size: 16px; }

/* 탈퇴 */
.ac-list { margin: 12px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.9; color: var(--muted); }

@media (max-width: 800px) {
  .ac-tiles { grid-template-columns: 1fr; gap: 12px; }
  .ac-hero { gap: 16px; }
  .ac-avatar { width: 52px; height: 52px; font-size: 20px; }
}
