/* 올소모아 포토 구역 — /photo 와 첫 화면이 함께 쓴다(원장 2026-11-02 «포토 설명이 이어지게») */
.ph-hero { padding-block: 72px 80px; }
.ph-logo { display: block; width: min(100%, 360px); height: auto; margin: 0 0 22px; }
.ph-hero .shot-frame img { display: block; height: auto; }
.ph-reel video { display: block; width: min(300px, 100%); height: auto; margin-inline: auto; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.ph-hero-cap { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-3); text-align: center; }

/* 세 걸음 — 진료실 PC */
.ph-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.ph-steps li { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 22px 24px; }
.ph-steps .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--btn); color: #fff; font-weight: 800; margin-bottom: 12px; }
.ph-steps h3 { font-size: 20px; margin: 0 0 8px; color: var(--ink); }
.ph-steps p { margin: 0; font-size: 15.5px; line-height: 1.6; }

/* PC 창 모양(그림 아님 — 글자와 장면 그림으로 그린 예시) */
.ph-pc { margin: 40px auto 0; max-width: 980px; background: #fbf8f1; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.ph-pc-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fffdf8; border-bottom: 1px solid var(--line); }
.ph-pc-bar img { width: 150px; height: auto; display: block; }
.ph-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; border-bottom: 2px solid #1e3a5f; }
.ph-tabs span { font-size: 14.5px; font-weight: 700; padding: 6px 14px; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 10px 10px 0 0; background: #f3f3f0; color: var(--ink-2); }
.ph-tabs span.on { background: #e8892b; border-color: #e8892b; color: #fff; }
.ph-pc-body { display: grid; grid-template-columns: 240px 1fr; gap: 14px; padding: 14px; }
.ph-side { display: grid; gap: 8px; align-content: start; font-size: 14.5px; }
.ph-side b { color: var(--ink); }
.ph-side .row { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; justify-content: space-between; gap: 8px; }
.ph-side .row em { font-style: normal; color: var(--ink-3); }
.ph-side .up { background: #e6f5ef; border: 1.5px solid #2f9e78; color: #1d6b51; font-weight: 700; border-radius: 10px; padding: 9px 10px; text-align: center; }
.ph-pc-board { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.ph-pc-board img { display: block; width: 100%; height: auto; }
.ph-cap { margin: 10px 0 0; text-align: center; font-size: 14.5px; color: var(--ink-3); }

/* 원장님 비교 화면 예시 */
.ph-stage { margin: 0; background: #0f3b3a; border-radius: 16px; padding: 14px 14px 14px 58px; position: relative; box-shadow: var(--shadow); }
.ph-stage::before { content: ''; position: absolute; inset: 0; border-radius: 16px; background: radial-gradient(120% 60% at 20% 0%, rgba(255,255,255,.07), transparent 60%); pointer-events: none; }
.ph-tools { position: absolute; left: 12px; top: 14px; display: grid; gap: 8px; }
.ph-tools span { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; font-size: 15px; }
.ph-tools span.back { background: #dc2626; }
.ph-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-pair figure { margin: 0; background: #fff; border-radius: 8px; padding: 4px; position: relative; }
.ph-pair img { display: block; width: 100%; height: auto; border-radius: 5px; }
.ph-date { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); background: rgba(15,59,58,.85); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.ph-stage-cap { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-3); text-align: center; }

/* 보호자 사진첩 예시 — 휴대폰 틀은 안의 내용 높이대로(고정 높이 없음 — 잘림 사고 방지) */
.ph-phone { width: min(100%, 340px); margin: 0 auto; background: #0f1f1e; padding: 8px; border-radius: 30px; box-shadow: var(--shadow); }
.ph-screen { background: #fff; border-radius: 23px; padding: 18px 14px 16px; }
.ph-screen h4 { margin: 0; font-size: 20px; font-weight: 800; color: #1e293b; }
.ph-screen .ph-s-lead { margin: 4px 0 12px; font-size: 13.5px; color: #64748b; line-height: 1.5; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ph-chips span { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f1f5f9; color: #475569; }
.ph-chips span.on { background: #4f46e5; color: #fff; }
.ph-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-two figure { margin: 0; text-align: center; }
.ph-two .mat { background: #fff; border: 1px solid #d6b56a; padding: 4px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.ph-two img { display: block; width: 100%; height: auto; }
.ph-two figcaption { margin-top: 5px; font-size: 13px; font-weight: 700; color: #334155; }
.ph-thumbs { display: flex; gap: 6px; margin-top: 12px; overflow: hidden; }
.ph-thumbs span { flex: 1 1 0; min-width: 0; border: 2px solid #e2e8f0; border-radius: 8px; padding: 3px; text-align: center; font-size: 11.5px; color: #64748b; }
.ph-thumbs span.on { border-color: #4f46e5; color: #4f46e5; font-weight: 700; }
.ph-lock { margin: 12px 0 0; text-align: center; font-size: 13px; color: #64748b; }
.ph-pin { display: flex; justify-content: center; gap: 8px; margin: 6px 0 2px; }
.ph-pin i { width: 12px; height: 12px; border-radius: 50%; background: #4f46e5; display: block; }

.ph-note { margin: 28px auto 0; max-width: 900px; background: #fff; border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px 18px; font-size: 15.5px; }
.ph-note b { color: var(--ink); }

.ph-cta { text-align: center; }
.ph-cta .cta-row { justify-content: center; }

@media (max-width: 900px) {
  .ph-steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .ph-pc-body { grid-template-columns: 1fr; }
  .ph-side { grid-template-columns: 1fr 1fr; }
  .ph-side .up { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .ph-hero { padding-block: 44px 56px; }
  .ph-side { grid-template-columns: 1fr; }
  .ph-stage { padding: 12px 10px 12px 52px; }
  .ph-date { font-size: 11.5px; padding: 1px 7px; bottom: 6px; }
}

/* 보드 만들기 움직이는 예시 — js/phboard.js */
.ph-pc.pb-on { position: relative; overflow: hidden; }
.pb-wrap { position: relative; }
.pb-on .pb-sizer { visibility: hidden; }
.pb-stage { position: absolute; inset: 0; background: #fafafa; }
.pb-slot { position: absolute; border: 1.5px dashed #cdd6d2; border-radius: 4px; background: #f6f8f7; }
.pb-cell { position: absolute; opacity: 0; background-repeat: no-repeat; border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.pb-cell.on { opacity: 1; animation: pbDrop .32s ease-out; }
.pb-date { box-shadow: none; }
.pb-date.on { animation: none; transition: opacity .4s; }
@keyframes pbDrop { 0% { transform: scale(1.05); } 100% { transform: scale(1); } }
.pb-folder { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.pb-path { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.pb-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pb-thumb { aspect-ratio: 3 / 2; border-radius: 4px; background-repeat: no-repeat; outline: 2px solid transparent; transition: opacity .25s, outline-color .15s; }
.pb-thumb.pick { outline-color: #e8892b; }
.pb-thumb.used { opacity: .28; }
.pb-fly { position: absolute; z-index: 3; background-repeat: no-repeat; border-radius: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.pb-cursor { position: absolute; left: -3px; top: -2px; z-index: 4; pointer-events: none; }
.ph-side .up.pb-press { background: #2f9e78; color: #fff; transition: background .25s, color .25s; }
@media (max-width: 900px) {
  .pb-folder { grid-column: 1 / -1; }
  .pb-on .ph-side .row:not(.pb-count) { display: none; } /* 폴더와 보드 사이를 줄여 날아가는 길이 보이게 */
  .pb-thumbs { grid-template-columns: repeat(9, 1fr); gap: 3px; }
}

/* 실제 화면 영상 둘(2026-11-24) — 화면 글씨가 읽히게 위아래로 크게 */
.ph-clips { margin: 40px auto 0; max-width: 920px; display: grid; gap: 26px; }
.ph-clip { margin: 0; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.ph-clip video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 760; background: #f3f0ea; }
.ph-clip figcaption { padding: 14px 16px 16px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.ph-clip figcaption b { color: var(--ink); }
