/* =====================================================================
   사용자 화면(내 바우처) 전용 스타일
   tokens.css → base.css → app.css → user.css
   ===================================================================== */

/* ---------- QR 카드 ---------- */
.qr-card {
  background: linear-gradient(180deg, var(--user-soft), var(--paper) 70%);
  border: 1px solid var(--line); border-radius: 20px;
  padding: var(--sp-5) var(--sp-5) 18px; text-align: center; margin-bottom: var(--sp-4);
}
.qr-card .product { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 2px; }
.qr-card .bal-label {
  font-size: 11px; color: var(--ink-faint); letter-spacing: .04em;
  text-transform: uppercase; margin: var(--sp-2) 0 1px;
}
.qr-card .balance {
  font-family: var(--font-mono); font-weight: 600; font-size: 22px;
  color: var(--ink); margin-bottom: var(--sp-4); white-space: nowrap;
}
.qr-card canvas {
  border-radius: var(--radius-box); background: #fff; padding: 8px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.qr-card .hint { font-size: 11.5px; color: var(--ink-faint); margin-top: var(--sp-3); }
.qr-card .code-id {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint);
  margin-top: 6px; letter-spacing: .03em;
}
.qr-card .term { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); margin-top: 3px; }

/* ---------- 안내 링크 행 ---------- */
.link-row {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 12px 11px; border-radius: var(--radius-box);
  background: var(--bg-alt); margin-bottom: var(--sp-2);
  text-decoration: none; color: inherit; transition: background .15s ease;
}
.link-row:last-child { margin-bottom: 0; }
.link-row:hover { background: var(--user-soft); }
.link-row:focus-visible { outline: 2px solid var(--user); outline-offset: 2px; }
.link-row-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--user-soft); color: var(--user);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.link-row-icon svg { width: 18px; height: 18px; }
.link-row-text { flex: 1; min-width: 0; }
.link-row-text b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.link-row-text small { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }
.link-row-chevron { color: var(--ink-faint); font-size: 18px; flex-shrink: 0; }

/* ---------- 내 정보 ---------- */
.profile-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 13px; gap: var(--sp-3);
}
.profile-row:last-of-type { border-bottom: none; }
.profile-row span:first-child { color: var(--ink-soft); white-space: nowrap; }
.profile-row span:last-child  { font-family: var(--font-mono); font-weight: 600; text-align: right; }

.pwbox { background: var(--bg-alt); border-radius: 14px; padding: var(--sp-4); margin-top: 6px; }

/* ---------- 선물 메시지 배너 ---------- */
.gift-banner {
  background: var(--user-soft); border: 1px solid var(--user);
  border-radius: 14px; padding: 12px 14px; margin-bottom: var(--sp-4); font-size: 12.5px; line-height: 1.6;
}
.gift-banner b {
  display: block; font-size: 11px; color: var(--user);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px;
}
