/* 아이 사진 올리기 (2026-10-12). 결과 화면(order-result.html), 엄마·아빠용 화면(photo.html), 사진 확인 화면(photo-admin.html)이 같이 쓴다.
   나이 많은 분도 폰으로 따라 하도록: 본문 19px 이상, 단추 22px, 체크칸 누르는 자리 64px. 색은 style.css 의 토큰만 쓴다. */
.ph{font-size:19px;line-height:1.65;color:var(--ink);}
.ph p{margin:0;}
.ph p + p{margin-top:10px;}
.ph .btn{width:100%;min-height:68px;padding:0 20px;font-size:22px;font-weight:800;border-radius:14px;}
.ph-help{font-size:19px;color:var(--ink-2);margin-top:10px;}
.ph-err{font-size:19px;line-height:1.55;color:#B3321F;font-weight:700;margin-top:10px;}
.ph-err:empty{display:none;}
.ph-err.info{color:var(--ink-2);}
.ph-late{margin:0 0 14px;padding:12px 14px;border-radius:12px;background:#FFF8E1;border:1px solid #F2D675;color:#5B4500;font-size:19px;font-weight:700;}
.ph-late a,.ph-inapp a:not(.btn){text-decoration:underline;}
.ph-inapp{margin:0 0 16px;padding:12px 14px;border-radius:12px;background:#FFF8E1;border:1px solid #F2D675;color:#5B4500;font-size:19px;font-weight:700;}
.ph-inapp .btn{margin-top:12px;min-height:56px;font-size:20px;}
.ph-inapp .ph-copied{margin-top:0;min-height:0;}
.ph-inapp .ph-copied:not(:empty){margin-top:8px;}

.ph-pickbtn{position:relative;overflow:hidden;cursor:pointer;}
.ph-file{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;font-size:200px;}
.ph-frame{margin-top:4px;padding:8px;border-radius:14px;background:#F3F3F3;text-align:center;}
.ph-frame img{display:block;margin:0 auto;max-width:100%;max-height:200px;width:auto;height:auto;border-radius:10px;}
/* 사진을 고른 뒤에는 미리보기를 작게 하고 돌리기와 다시 고르기를 작은 보조 단추로 둔다: 「사진 보내기」까지 한 번 내려가면 닿게 */
.ph-prev-actions{display:flex;flex-direction:row;align-items:stretch;gap:10px;margin-top:10px;}
.ph-sbtn{flex:1 1 0;position:relative;display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 10px;border:1px solid var(--line-btn);border-radius:12px;background:#fff;color:var(--ink-2);font:inherit;font-size:20px;font-weight:700;cursor:pointer;overflow:hidden;text-align:center;}
.ph-ready{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#EAF7EE;border:1px solid #A9D9B8;color:#1B5E36;font-size:19px;font-weight:800;line-height:1.5;scroll-margin-top:90px;}

.ph-consent{margin-top:24px;padding:18px 16px;border:2px solid var(--line-btn);border-radius:16px;background:#fff;}
.ph-consent h3{font-size:22px;margin:0 0 6px;}
.ph-c3{list-style:none;margin:8px 0 0;padding:0;}
.ph-c3 li{margin-top:10px;font-size:19px;line-height:1.6;}
.ph-c3 b{font-weight:800;}
.ph-more{margin-top:14px;font-size:19px;}
.ph-more summary{min-height:48px;display:flex;align-items:center;color:var(--ink-2);text-decoration:underline;cursor:pointer;font-weight:700;}
.ph-more div{padding:4px 0 8px;font-size:17px;line-height:1.7;color:var(--ink-2);}
.ph-more p + p{margin-top:10px;}
.ph-more a{text-decoration:underline;}
.ph-check{display:flex;gap:14px;align-items:flex-start;min-height:64px;margin-top:14px;padding:14px 12px;border:1px solid var(--line-btn);border-radius:12px;background:#FFF8F2;font-size:19px;font-weight:800;line-height:1.55;cursor:pointer;}
.ph-check input{flex:none;width:32px;height:32px;margin:0;accent-color:var(--accent-btn);}
.ph-sms{margin-top:12px;}
.ph-phone{margin-top:16px;}
.ph-phone label{display:block;font-size:19px;font-weight:800;margin-bottom:8px;}
.ph-phone .ord-input{min-height:60px;font-size:22px;}

.ph-refund{margin-top:22px;font-size:19px;color:var(--ink-2);}
.ph-send{margin-top:14px;}
.ph-send[disabled]{opacity:.6;cursor:wait;}
.ph-prog{margin-top:14px;}
.ph-bar{height:16px;border-radius:8px;background:#EEE;overflow:hidden;}
.ph-bar i{display:block;height:100%;width:0;background:var(--accent-btn);transition:width .15s;}

.ph-done{text-align:center;padding:6px 0 2px;}
.ph-check-icon{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;background:#EAF7EE;color:#1B7A43;font-size:38px;margin-bottom:10px;}
.ph-done h3{font-size:28px;margin:0 0 10px;}
.ph-secret{margin-top:12px;}
.ph-link{background:none;border:0;color:var(--ink-2);text-decoration:underline;font:inherit;font-size:19px;font-weight:700;padding:12px;min-height:52px;cursor:pointer;margin-top:8px;}

.ph-alt,.ph-alt-fixed{margin-top:24px;border:1px solid var(--line);border-radius:12px;padding:0 14px;background:#fff;}
.ph-alt-fixed{padding:14px;}
.ph-alt summary{min-height:56px;display:flex;align-items:center;color:var(--ink-2);font-size:19px;font-weight:700;cursor:pointer;}
.ph-alt > div{padding:2px 0 16px;}
.ph-alt .btn,.ph-alt-fixed .btn{margin-top:12px;min-height:56px;font-size:20px;}
.ph-alt .ph-tel{background:#fff;}
.ph-started{margin-top:14px;padding:12px 14px;border-radius:12px;background:#FFF8E1;border:1px solid #F2D675;color:#5B4500;font-size:19px;font-weight:700;line-height:1.55;}
.ph-started a{text-decoration:underline;}
.ph-return{margin-top:22px;text-align:center;color:var(--ink-2);}
.ph-return .btn{margin-top:10px;min-height:56px;font-size:20px;}
.ph-copied{font-size:17px;font-weight:700;color:#1B7A43;margin-top:8px;min-height:24px;word-break:break-all;}

/* 결과 화면(부모 주문, 선물 주문)의 카드: 글자를 키운다 */
/* 결제 완료 화면 위쪽을 조금 줄여 다음 할 일 단추가 폰 첫 화면 안에 들어오게 한다 */
#st-done .res-icon{width:52px;height:52px;font-size:26px;margin-bottom:8px;}
#st-done .res-hero{margin-bottom:14px;}
.ph-card h2{font-size:22px;line-height:1.4;margin:0 0 6px;}
.ph-card .ph-lead{font-size:19px;line-height:1.6;color:var(--ink-2);margin:0 0 16px;}
/* 선물 카드는 한 줄 복사하기 단추가 폰 첫 화면 안에 들어오도록 글을 17px 로(주소가 길어 어디서든 줄이 바뀌게 한다) */
.ph-card .hint{font-size:17px;line-height:1.5;}
.ph-card .res-line{font-size:17px;line-height:1.55;padding:10px 12px;overflow-wrap:anywhere;}
.ph-card .res-actions .btn{flex:1 1 140px;min-height:60px;padding:0 10px;font-size:20px;font-weight:800;}
.ph-card .res-note{font-size:17px;line-height:1.7;}
/* 선물 결제 완료 화면: 엄마·아빠가 사진을 올렸는지 */
.ph-gstat{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#F3F3F3;font-size:19px;font-weight:800;line-height:1.5;color:var(--ink);}
.ph-gstat.ok{background:#EAF7EE;color:#1B5E36;}

/* 선물 주문 새 흐름(10/12 밤): 이모가 올린 뒤 엄마·아빠께 동의 링크를 보내는 순서, 엄마·아빠 동의 화면(consent.html) */
.ph-g2note{margin-top:22px;padding:16px;border:2px solid var(--line-btn);border-radius:16px;background:#fff;}
.ph-g2note .ph-c3{margin-top:0;}
.ph-g2lead{margin-top:6px;font-size:19px;line-height:1.65;color:var(--ink-2);text-align:left;}
.ph-g2send{margin-top:16px;text-align:left;}
.ph-g2step{font-size:21px;margin:0 0 10px;}
.ph-g2send .res-line{font-size:17px;line-height:1.55;padding:12px 14px;overflow-wrap:anywhere;white-space:pre-wrap;text-align:left;}
.ph-g2btns{display:flex;flex-direction:column;gap:10px;margin-top:12px;}
.ph-g2btns .btn{margin:0;}
.ph-askalt{margin-top:20px;border:1px solid var(--line);border-radius:12px;padding:0 14px;background:#fff;text-align:left;}
.ph-askalt summary{min-height:56px;display:flex;align-items:center;color:var(--ink-2);font-size:19px;font-weight:700;cursor:pointer;}
.ph-askalt > div{padding:2px 0 16px;}
.ph-askalt .ord-input{min-height:60px;font-size:22px;margin-top:10px;}
.ph-askalt .btn{margin-top:12px;min-height:56px;font-size:20px;}
.ph-refresh{margin-top:14px;min-height:56px;font-size:20px;background:#fff;}
.ph-check-icon.bad{background:#FDECEA;color:#B3321F;}
.ph-gstat.bad{background:#FDECEA;color:#B3321F;}
.ph-g2stat{text-align:left;}
.ph-change-note{margin-top:2px;}
.cs-who{font-size:19px;line-height:1.6;color:var(--ink-2);margin:0 0 12px;}
.cs-thumb{display:flex;gap:14px;align-items:center;margin:0 0 14px;}
.cs-thumb img{width:112px;height:112px;object-fit:cover;border-radius:12px;background:#EEE;flex:none;}
.cs-thumb p{margin:0;font-size:17px;line-height:1.55;color:var(--ink-2);}
.cs-thumb[hidden]{display:none;}
.cs-states p{font-size:19px;line-height:1.65;}
.cs-decline{display:block;margin:18px auto 0;background:none;border:0;color:var(--ink-3);text-decoration:underline;font:inherit;font-size:17px;padding:12px;min-height:48px;cursor:pointer;}
.cs-confirm{margin-top:16px;padding:16px;border-radius:14px;background:#FFF8E1;border:1px solid #F2D675;}
.cs-confirm p{margin:0;font-size:19px;line-height:1.6;font-weight:700;color:#5B4500;}
.cs-confirm .btn{margin-top:12px;min-height:56px;font-size:20px;}
.cs-confirm .cs-no{background:#fff;}
.cs-photo-msg{margin:0 0 12px;font-size:17px;line-height:1.55;}
.cs-photo-msg[hidden]{display:none;}
.cs-photo-msg .btn{min-height:56px;}
#cs-agree[disabled]{opacity:.5;cursor:not-allowed;}

/* 엄마·아빠용 화면(photo.html) */
.photo-main{padding:24px 0 56px;background:var(--bg-gray);min-height:60vh;}
.photo-top{padding:14px 0;border-bottom:1px solid var(--line);background:#fff;}
.photo-top .wrap{display:flex;align-items:center;}
.photo-top b{font-size:20px;font-weight:800;}
.photo-wrap{max-width:560px;margin:0 auto;padding:0 var(--gutter);}
.photo-wrap h1{font-size:26px;line-height:1.4;margin:6px 0 10px;}
.photo-sub{font-size:19px;color:var(--ink-2);margin:0 0 12px;}
.photo-only{font-size:21px;font-weight:800;line-height:1.5;margin:0 0 16px;}
.photo-card{background:#fff;border:1px solid var(--card-line);border-radius:var(--r-card);padding:18px 16px;margin-bottom:14px;box-shadow:var(--shadow-card);}
.photo-conf{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0;font-size:19px;line-height:1.5;}
.photo-conf dt{color:var(--ink-3);font-weight:700;}
.photo-conf dd{margin:0;font-weight:800;}
.photo-fix{font-size:17px;color:var(--ink-2);margin-top:12px;line-height:1.6;}
.photo-fix a{text-decoration:underline;}
.photo-foot{padding:24px 0 40px;text-align:center;font-size:15px;color:var(--ink-3);line-height:1.8;}
.photo-foot a{text-decoration:underline;}

/* 사진 확인 화면(photo-admin.html, 사장님 폰) */
.adm-wrap{max-width:560px;margin:0 auto;padding:18px var(--gutter) 60px;font-size:18px;}
.adm-wrap h1{font-size:24px;margin:0 0 12px;}
.adm-card{background:#fff;border:1px solid var(--card-line);border-radius:16px;padding:16px;margin-bottom:12px;box-shadow:var(--shadow-card);}
.adm-card .row{display:flex;gap:12px;align-items:flex-start;}
.adm-thumb{width:112px;height:112px;object-fit:cover;border-radius:10px;background:#EEE;flex:none;}
.adm-thumb.gone{display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--ink-3);text-align:center;padding:6px;}
.adm-meta{font-size:17px;line-height:1.6;}
.adm-meta b{font-weight:800;}
.adm-night{margin:0 0 12px;padding:12px 14px;border-radius:12px;background:#FFF8E1;border:1px solid #F2D675;color:#5B4500;font-weight:700;}
.adm-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px;}
.adm-actions .btn{min-height:58px;font-size:19px;font-weight:800;}
.adm-note{font-size:15px;color:var(--ink-3);margin-top:8px;line-height:1.6;}
.adm-key{display:flex;gap:8px;margin:8px 0 14px;}
.adm-key input{flex:1;min-width:0;}
.adm-ok{color:#1B7A43;font-weight:800;}
@media (min-width:768px){
  .photo-wrap h1{font-size:30px;}
}
