/* 마을 절 글 본체 (/palja/temple/) — 읽기형(열 폭은 layout.css 가 정함), 토큰만 사용 */
.tp-hero .tp-notice { margin: 10px 0 0; color: var(--pm-sub-text); font-size: 14px; }
.tp-toc { display: flex; flex-wrap: wrap; gap: var(--pm-gap-item); margin: 14px 0 0; }
.tp-toc a { display: inline-flex; align-items: center; min-height: var(--pm-tap); padding: 0 14px; border: 2px solid var(--pm-line); border-radius: var(--pm-r-pill); background: var(--pm-cream); color: var(--pm-ink); text-decoration: none; font-size: 14px; }
.tp-toc a:hover { background: var(--pm-soft); }
.tp-toc a:focus-visible, .tp-tel a:focus-visible, .tp-ext:focus-visible { outline: 3px solid var(--pm-focus); outline-offset: 2px; }
.tp-p { margin: 0 0 10px; line-height: 1.75; }
.tp-sv { list-style: none; margin: 4px 0 12px; padding: 0; display: flex; flex-direction: column; gap: var(--pm-gap-item); }
.tp-sv-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; border: 2px solid var(--pm-line); border-radius: 18px; background: var(--pm-cream); }
.tp-sv-item.is-next { border-color: var(--pm-ink); background: var(--pm-soft); }
.tp-sv-item.is-past { color: var(--pm-sub-text); }
.tp-sv-clock { flex: 0 0 auto; min-width: 92px; font-family: var(--pm-font-head); font-size: 18px; }
.tp-sv-body { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.55; }
.tp-badge { display: inline-block; padding: 2px 10px; border-radius: var(--pm-r-pill); background: var(--pm-info-bg); color: var(--pm-info-ink); font-size: 13px; font-weight: 700; }
.tp-badge--soft { background: var(--pm-soft); color: var(--pm-ink); }
.tp-until { font-weight: 700; }
.tp-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tp-list li { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--pm-line); line-height: 1.7; }
.tp-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.tp-list strong { font-size: 16px; }
.tp-tel { display: flex; flex-wrap: wrap; gap: var(--pm-gap-item); margin: 0; }
.tp-tel a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--pm-tap); min-width: 120px; padding: 0 18px; border: 2px solid var(--pm-ink); border-radius: var(--pm-r-pill); background: var(--pm-cream); color: var(--pm-ink); text-decoration: none; font-family: var(--pm-font-head); font-size: 18px; }
.tp-src-list { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.65; }
.tp-state { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 480px) {
  .tp-sv-clock { min-width: 0; flex-basis: 100%; }
}
.tp-credit-a { display: inline-flex; align-items: center; min-height: var(--pm-tap); color: var(--pm-ink); text-decoration: underline; }
.tp-credit-a:focus-visible { outline: 3px solid var(--pm-focus); outline-offset: 2px; }

/* 마음 올리기 간단 경로(3D 없이): 그림 칩은 12띠 그림(ddi)과 같은 화풍 */
.tp-lite .tpl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pm-gap-item); margin: 8px 0 12px; }
.tp-lite .tpl-card { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 120px; padding: 12px 6px; border: 2px solid var(--pm-line); border-radius: var(--pm-r-card); background: var(--pm-card); color: var(--pm-ink); font: inherit; cursor: pointer; text-align: center; }
.tp-lite .tpl-card i, .tp-lite .tpl-chip i { display: block; width: 52px; height: 52px; }
.tp-lite .tpl-card svg, .tp-lite .tpl-chip svg { display: block; width: 100%; height: 100%; }
.tp-lite .tpl-card small { color: var(--pm-sub-text); font-size: 12px; line-height: 1.35; word-break: keep-all; }
.tp-lite .tpl-card[aria-pressed="true"], .tp-lite .tpl-chip[aria-pressed="true"] { border-color: var(--pm-ink); box-shadow: 0 0 0 2px var(--pm-card), 0 0 0 4px var(--pm-ink); }
.tp-lite .tpl-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 6px 0 10px; }
.tp-lite .tpl-chip { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 84px; padding: 6px 2px; border: 2px solid var(--pm-line); border-radius: 14px; background: var(--pm-cream); color: var(--pm-ink); font: inherit; font-size: 13px; line-height: 1.2; text-align: center; word-break: keep-all; cursor: pointer; }
.tp-lite .tpl-h { margin: 10px 0 4px; font-family: var(--pm-font-head); font-weight: 400; font-size: 17px; }
.tp-lite .tpl-label { display: block; margin: 8px 0 4px; font-size: 15px; }
.tp-lite .tpl-ta { box-sizing: border-box; display: block; width: 100%; min-height: 70px; padding: 10px 12px; border: 2px solid var(--pm-line); border-radius: 12px; font: inherit; font-size: 16px; line-height: 1.5; resize: none; -webkit-appearance: none; appearance: none; background: var(--pm-card); color: var(--pm-ink); }
.tp-lite .tpl-check { display: inline-flex; align-items: center; gap: 8px; min-height: var(--pm-tap); }
.tp-lite .tpl-check input { -webkit-appearance: checkbox; appearance: auto; width: 22px; height: 22px; margin: 0; }
.tp-lite .tpl-note { margin: 10px 0 0; line-height: 1.6; }
.tp-lite .tpl-note.is-bad { color: var(--pm-error); }
.tp-lite .tpl-tel { display: flex; flex-wrap: wrap; gap: var(--pm-gap-item); margin: 8px 0 0; }
.tp-lite button:focus-visible, .tp-lite a:focus-visible, .tp-lite textarea:focus-visible, .tp-lite input:focus-visible { outline: 3px solid var(--pm-focus); outline-offset: 2px; }
