@charset "UTF-8";
/* 우리 아이(/palja/pet/): 색은 테마 토큰을 쓰고, 표시는 색뿐 아니라 숫자·모양·글자로도 구분한다. 접두어 pt- */
.pt .pt-hero .pm-title { margin-bottom: 6px; }
.pt-sub { margin: 6px 0 0; color: var(--pm-sub-text); font-size: 14px; line-height: 1.65; word-break: keep-all; }
.pt-line { margin: 8px 0; font-size: 15.5px; line-height: 1.7; word-break: keep-all; }
.pt-foot { margin: 14px 0 0; color: var(--pm-sub-text); font-size: 14px; }
.pt-foot a { color: var(--pm-info-ink); }
.pt-h { margin: 0 0 8px; font-family: var(--pm-font-head); font-weight: 400; font-size: 21px; line-height: 1.35; }
.pt-h small { font-family: inherit; font-size: 14px; color: var(--pm-sub-text); }
.pt-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.pt-row .pt-h { margin: 0; }
.pt-empty { margin: 8px 0 12px; font-size: 15.5px; line-height: 1.7; }
.pt-bullets { margin: 0 0 12px; padding: 0 0 0 20px; font-size: 15px; line-height: 1.8; }
.pt-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.pt-acts .pm-btn { min-height: var(--pm-tap, 44px); }
.pt-inline { margin: 10px 0 0; }
.pt-danger .pt-del { border-color: var(--pm-fire-deep, #c0452e); color: var(--pm-fire-deep, #c0452e); }

/* 아이 카드 */
.pt-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.pt-card { padding: 14px; border-radius: 18px; background: var(--pm-soft); min-width: 0; }
.pt-card-h { display: flex; align-items: center; gap: 12px; }
.pt-card-h > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pt-nm { font-family: var(--pm-font-head); font-weight: 400; font-size: 20px; }
.pt-card small { color: var(--pm-sub-text); font-size: 13px; }
.pt-memo summary { cursor: pointer; min-height: var(--pm-tap, 44px); display: flex; align-items: center; gap: 8px; font-weight: 700; }

/* 2D 미리보기(종류 이모지 + 털색 알약) */
.pt-sprite { position: relative; flex: none; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 50% 78%, var(--pt-belly) 0 34%, transparent 35%), var(--pt-main); box-shadow: inset 0 0 0 2.5px #43352d; overflow: hidden; }
.pt-sprite i { font-style: normal; font-size: 28px; line-height: 1; filter: saturate(.9); }
.pt-sprite--lg { width: 84px; height: 84px; }
.pt-sprite--lg i { font-size: 42px; }
.pt-mark-socks::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 20%; background: var(--pt-markc); opacity: .85; border-radius: 50% 50% 0 0; }
.pt-mark-patch::after { content: ""; position: absolute; left: 6%; top: 8%; width: 40%; height: 38%; background: var(--pt-markc); opacity: .8; border-radius: 50%; }
.pt-preview { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.pt-species .me-chip i { font-style: normal; }

/* 털색 고르기 */
.pt-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-sw { position: relative; cursor: pointer; }
.pt-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pt-sw span { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; min-height: var(--pm-tap, 44px); padding: 8px 6px; border: 2px solid var(--pm-line); border-radius: 14px; background: var(--pm-cream); }
.pt-sw span::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 2px #43352d; }
.pt-sw b { font-weight: 400; font-size: 13px; }
.pt-sw input:checked + span { border-color: #43352d; background: var(--pm-wood); font-weight: 700; }
.pt-sw input:focus-visible + span { outline: 3px solid var(--pm-focus); outline-offset: 2px; }

/* 사주 한 장 */
.pt-read { display: flex; flex-direction: column; gap: 12px; }
.pt-chap { position: relative; }
.pt-no { position: absolute; top: 14px; right: 16px; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pm-fire); font-weight: 700; font-size: 14px; }
.pt-badge { display: inline-flex; align-items: center; min-height: 30px; margin: 0; padding: 0 12px; border-radius: 999px; background: var(--pm-info-bg); color: var(--pm-info-ink); font-size: 13.5px; font-weight: 700; }
.pt-meet { display: flex; align-items: center; gap: 14px; margin: 4px 0 6px; }
.pt-meet-name { margin: 0; font-size: 18px; }
.pt-meet-name small { color: var(--pm-sub-text); font-size: 14px; }
.pt-comp { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; padding: 10px; border-radius: 16px; background: var(--pm-soft); }
.pt-comp img { flex: none; border-radius: 14px; background: var(--pm-cream); }
.pt-comp p { margin: 0; font-size: 14px; line-height: 1.6; }
.pt-days { margin: 10px 0 0; font-weight: 700; }
.pt-headline { margin: 4px 0; font-family: var(--pm-font-head); font-size: 19px; line-height: 1.45; word-break: keep-all; }
.pt-el { display: inline-flex; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--pm-soft); font-family: inherit; font-size: 13px; }
.pt-play { margin: 10px 0 0; padding: 12px; border-radius: 16px; background: var(--pm-soft); font-size: 15px; line-height: 1.7; word-break: keep-all; }
.pt-stars { color: #f2c14e; letter-spacing: 2px; font-size: 18px; }
.pt-go { margin-top: 10px; }
.pt-notice { margin: 4px 0 0; padding: 12px 14px; border-radius: var(--pm-r-card); background: var(--pm-info-bg); color: var(--pm-info-ink); font-size: 13.5px; line-height: 1.7; }
.pt-notice ul { margin: 0; padding: 0 0 0 18px; }

/* 보호자 궁합 */
.pt-label { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--pm-soft); font-size: 20px; }
.pt-band-a { color: #8f1f35; }
.pt-band-b { color: #8a4310; }
.pt-band-c { color: #6b5210; }
.pt-band-d { color: #2f4f7f; }
.pt-areas { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pt-area { padding: 10px 12px; border-radius: 14px; background: var(--pm-soft); }
.pt-area-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pt-hearts { font-size: 18px; letter-spacing: 1px; }

/* 이름 짓기 */
.pt-names { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.pt-name { padding: 12px 14px; border-radius: 16px; background: var(--pm-soft); min-width: 0; }
.pt-name-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.pt-name-h small { color: var(--pm-sub-text); font-size: 12.5px; }
.pt-bar { display: flex; align-items: center; gap: 8px; min-height: 28px; font-size: 14px; }
.pt-bar-l { flex: none; min-width: 6.2em; color: var(--pm-sub-text); }
.pt-pips { flex: none; letter-spacing: 2px; color: #43352d; }
.pt-bar-t { font-size: 13px; }
.pt-pick { margin-top: 8px; }

@media (min-width: 720px) {
  .pt-cards, .pt-names { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-names--one { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .pt * { animation: none !important; transition: none !important; }
}

/* 기념일 알림 · 달력 파일 · 카드로 나누기 */
.pt-sharelist { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pt-sharelist li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; font-size: 14px; color: var(--pm-sub-text); }
.pt-opt .pt-acts, .pt-share .pt-acts { margin-top: 8px; }
