/* Shared with the universe-first home: ink navy, warm paper, restrained brass. */
:root{--pj-bg:#0B1020;--pj-card:#121A2B;--pj-line:#293348;--pj-ink:#F5F0E6;--pj-muted:#ACB5C6;--pj-gold:#D4B67A;--pj-jade:#8BCCB6;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--pj-bg);color:var(--pj-ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans KR","Apple SD Gothic Neo",sans-serif;line-height:1.7;-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit}button,a,input,summary{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-underline-offset:4px}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--pj-jade);outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:clamp(27px,4vw,40px);line-height:1.35;letter-spacing:-.055em;word-break:keep-all}h2{font-size:22px;line-height:1.45;letter-spacing:-.035em}h3{font-size:18px}button{border:0}input,select,textarea{min-height:48px;width:100%;background:#0D1423;color:var(--pj-ink);border:1px solid #485169;border-radius:10px;padding:11px 13px;font-size:16px}input[type=radio],input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--pj-gold);flex-shrink:0}input::placeholder,textarea::placeholder{color:#8893A8}fieldset{border:0;padding:0;margin:0;min-width:0}legend{padding:0}summary{cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none}summary::-webkit-details-marker{display:none}summary:after{content:'+';color:var(--pj-gold);font-size:22px}details[open]>summary:after{content:'−'}[hidden]{display:none!important}
.pj-header{max-width:1080px;margin:auto;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--pj-line);gap:20px}.pj-brand{font-family:"Noto Serif KR",Georgia,serif;font-size:22px;color:var(--pj-gold);text-decoration:none;font-weight:700;letter-spacing:-.04em;display:flex;gap:12px;align-items:baseline}.pj-brand span{font-family:inherit;font-size:9px;letter-spacing:.2em;color:var(--pj-muted)}.pj-back{font-size:13px;min-height:44px;display:flex;align-items:center;color:var(--pj-muted);white-space:nowrap}.pj-skip{position:absolute;left:16px;top:-100px;z-index:100;background:var(--pj-gold);color:#0B1020;padding:12px}.pj-skip:focus{top:12px}.pj-progress{max-width:1080px;padding:20px 24px;margin:auto}.pj-progress ol{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:0;margin:0;gap:16px}.pj-progress li{border-top:2px solid var(--pj-line);padding-top:10px;color:#8590A5;font-size:12px;display:flex;gap:8px;align-items:center}.pj-progress li.current{color:var(--pj-gold);border-color:var(--pj-gold)}.pj-progress li.done{color:var(--pj-jade);border-color:var(--pj-jade)}.pj-progress li span{font-variant-numeric:tabular-nums;font-size:10px}.pj-main{max-width:1080px;margin:0 auto;padding:28px 24px 48px}.pj-eyebrow{color:var(--pj-gold);font-size:11px;letter-spacing:.13em;font-weight:650;margin-bottom:14px}.pj-intro{margin-bottom:30px}.pj-intro>p:not(.pj-eyebrow){max-width:600px;color:var(--pj-muted);font-size:15px;margin-top:14px}.pj-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:32px;align-items:start}.pj-panel{border:1px solid var(--pj-line);border-radius:18px;background:var(--pj-card);padding:24px;min-width:0}.pj-panel+.pj-panel{margin-top:18px}.pj-panel h2{margin-bottom:12px}.pj-panel p{color:var(--pj-muted);font-size:14px}.pj-panel ul{padding-left:18px;color:var(--pj-muted);font-size:14px}.pj-panel li+li{margin-top:8px}.pj-panel .pj-price{font-size:28px;color:var(--pj-ink);font-variant-numeric:tabular-nums;letter-spacing:-.04em}.pj-price small{font-size:12px;font-weight:400;letter-spacing:0;color:var(--pj-muted);margin-left:8px}.pj-note{font-size:12px;color:var(--pj-muted);margin-top:12px}.pj-inline{display:flex;align-items:center;justify-content:space-between;gap:12px}.pj-section-label{font-size:13px;color:var(--pj-muted);margin-bottom:12px}.pj-button{display:inline-flex;min-height:50px;align-items:center;justify-content:center;gap:12px;padding:13px 20px;background:var(--pj-gold);color:#0B1020;border:1px solid var(--pj-gold);border-radius:11px;font-weight:700;font-size:15px;line-height:1.5;text-decoration:none}.pj-button.secondary{background:transparent;color:var(--pj-ink);border-color:#485169}.pj-button.full{width:100%}.pj-text-button{background:none;color:var(--pj-muted);border:0;padding:9px 12px;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:4px}.pj-text-button.danger{color:#F0ACA9}.pj-error{border:1px solid #995E64;background:#2A1C2A;border-radius:12px;padding:14px;color:#F6CFCA;font-size:14px;margin:12px 0}.pj-notice{padding:16px 18px;border-left:2px solid var(--pj-jade);background:#14252A;color:var(--pj-ink);font-size:14px;border-radius:0 10px 10px 0;margin:20px 0}.pj-muted{color:var(--pj-muted)}.pj-help{max-width:1080px;margin:auto;padding:24px 24px 36px;border-top:1px solid var(--pj-line);font-size:12px;color:var(--pj-muted);display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.pj-help>div{display:flex;gap:20px;width:100%;font-size:11px}.pj-people{display:grid;gap:10px}.pj-person{border:1px solid var(--pj-line);border-radius:14px;background:var(--pj-card);overflow:hidden}.pj-person.selected{border-color:var(--pj-gold);background:#1C2331}.pj-person-choice{display:flex;align-items:center;gap:14px;width:100%;padding:18px;text-align:left;color:var(--pj-ink);background:transparent;min-height:86px}.pj-initial{display:grid;place-items:center;background:#293344;color:var(--pj-gold);width:40px;height:40px;border-radius:12px;flex-shrink:0;font-size:19px}.pj-person-body{flex:1;min-width:0}.pj-person-name{display:block;font-weight:650;font-size:17px;overflow-wrap:anywhere}.pj-person-meta{display:block;font-size:12px;color:var(--pj-muted);margin-top:4px;line-height:1.65;overflow-wrap:anywhere}.pj-person-relation{font-size:10px;color:var(--pj-gold);margin-left:8px;border:1px solid #55503F;border-radius:5px;padding:2px 5px;font-weight:400}.pj-check{width:22px;height:22px;border:1px solid #6F7990;display:grid;place-items:center;border-radius:50%;flex-shrink:0;font-size:13px;color:transparent}.pj-person.selected .pj-check{color:#0B1020;background:var(--pj-gold);border-color:var(--pj-gold)}.pj-person-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--pj-line);padding:0 10px}.pj-add{margin-top:12px;width:100%;border-style:dashed}.pj-empty{padding:30px 22px;text-align:center;border:1px dashed #485169;border-radius:14px}.pj-empty h2{font-size:20px}.pj-empty p{font-size:14px;color:var(--pj-muted);margin-top:10px}.pj-sticky-action{position:sticky;bottom:0;z-index:8;background:rgba(11,16,32,.97);border-top:1px solid var(--pj-line);padding:14px 0 max(14px,env(safe-area-inset-bottom));margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.pj-sticky-action .pj-button{flex-shrink:0;min-width:220px}.pj-selection-copy{font-size:13px;min-width:0}.pj-selection-copy strong{display:block;overflow-wrap:anywhere}.pj-selection-copy span{font-size:11px;color:var(--pj-muted)}
.pj-dialog{position:fixed;inset:0;max-width:520px;width:calc(100% - 28px);max-height:calc(100dvh - 40px);margin:auto;border:1px solid #485169;background:var(--pj-bg);color:var(--pj-ink);padding:0;border-radius:20px;overflow:auto}.pj-dialog::backdrop{background:rgba(3,7,16,.8)}.pj-dialog-head{position:sticky;top:0;background:var(--pj-bg);padding:20px 22px 16px;border-bottom:1px solid var(--pj-line);display:flex;justify-content:space-between;align-items:center;z-index:2}.pj-dialog-head h2{font-size:20px}.pj-dialog-head button{width:44px;height:44px;background:transparent;color:var(--pj-muted);font-size:24px;border-radius:10px}.pj-form{padding:22px}.pj-form>p{font-size:13px;color:var(--pj-muted);margin-bottom:20px}.pj-field{margin-bottom:18px;min-width:0}.pj-field>label,.pj-field>legend{display:block;font-size:13px;margin-bottom:7px}.pj-field small{display:block;color:var(--pj-muted);font-size:11px;margin-top:6px}.pj-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pj-radios{display:flex;gap:12px}.pj-radios label{display:flex;gap:8px;align-items:center;min-height:48px;border:1px solid var(--pj-line);padding:8px 14px;border-radius:10px;flex:1;font-size:14px}.pj-form details{border-top:1px solid var(--pj-line);margin-top:12px;padding-top:6px}.pj-form-actions{display:flex;gap:12px;margin-top:24px}.pj-form-actions .pj-button{flex:1}.pj-reading-mark{display:flex;gap:5px;align-items:flex-end;height:42px;margin-bottom:24px}.pj-reading-mark i{display:block;width:7px;border-radius:2px;background:var(--pj-gold);height:22px;animation:pj-read 2s ease-in-out infinite}.pj-reading-mark i:nth-child(2){height:32px;animation-delay:.2s}.pj-reading-mark i:nth-child(3){height:42px;animation-delay:.4s}.pj-reading-mark i:nth-child(4){height:28px;animation-delay:.6s}.pj-reading-mark i:nth-child(5){height:36px;animation-delay:.8s}@keyframes pj-read{50%{opacity:.35}}.pj-wait{max-width:760px}.pj-wait .pj-intro{margin-bottom:24px}.pj-activity{height:3px;background:var(--pj-line);overflow:hidden;border-radius:3px;margin:24px 0}.pj-activity:after{content:'';display:block;width:35%;height:100%;background:var(--pj-gold);animation:pj-scan 2s ease-in-out infinite}@keyframes pj-scan{from{transform:translateX(-100%)}to{transform:translateX(390%)}}.pj-status-list{list-style:none;margin:22px 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.pj-status-list li{border-top:1px solid var(--pj-line);padding-top:10px;color:var(--pj-muted);font-size:12px}.pj-status-list li[data-state=done]{color:var(--pj-jade);border-color:var(--pj-jade)}.pj-status-list li[data-state=current]{color:var(--pj-gold);border-color:var(--pj-gold)}.pj-order-reference{overflow-wrap:anywhere;font-size:12px;color:var(--pj-muted);margin-top:22px}.pj-wait-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.pj-wait #wait-instant-slot{margin-top:28px}.pj-wait #wait-instant-slot:empty{display:none}.pj-wait-preview summary{font-weight:600;font-size:15px}.pj-wait-preview{margin-top:26px;padding:16px 20px;border:1px solid var(--pj-line);border-radius:16px}.pj-wait-preview>p{font-size:13px;color:var(--pj-muted)}
@media(max-width:700px){.pj-header{padding:14px 20px}.pj-brand span{display:none}.pj-progress{padding:16px 20px}.pj-progress ol{gap:10px}.pj-progress li{display:block;font-size:10px}.pj-progress li span{display:block;font-size:9px;margin-bottom:4px}.pj-main{padding:20px 20px 32px}.pj-intro{margin-bottom:24px}.pj-intro>p:not(.pj-eyebrow){font-size:14px}.pj-columns{grid-template-columns:1fr;gap:24px}.pj-panel{padding:20px}.pj-sticky-action{flex-direction:column;align-items:stretch;gap:10px;position:fixed;left:0;right:0;bottom:0;margin:0;padding:12px 20px max(12px,env(safe-area-inset-bottom))}.pj-sticky-action .pj-button{min-width:0;width:100%}.pj-selection-copy{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.pj-selection-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pj-selection-copy span{flex-shrink:0}.pj-buy-page{padding-bottom:130px}.pj-help{padding:22px 20px 30px}.pj-dialog{max-height:calc(100dvh - 20px);border-radius:16px}.pj-dialog-head{padding:14px 18px}.pj-form{padding:18px}.pj-choice-grid{grid-template-columns:1fr;gap:0}.pj-person-choice{padding:15px;gap:11px}.pj-status-list{gap:10px}.pj-wait .pj-reading-mark{margin-bottom:20px}.pj-wait-preview{padding:14px}}
@media(max-width:350px){.pj-main,.pj-header,.pj-progress{padding-left:14px;padding-right:14px}.pj-form-grid{grid-template-columns:1fr;gap:0}.pj-initial{width:32px;height:36px}.pj-person-choice{gap:8px}.pj-person-relation{margin-left:5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}.pj-activity:after{width:100%;opacity:.5}}

/* v0.17.203 대상 선택 카드: 만세력 요약 · 오행 % · 우주인 얼굴 */
.pj-face{padding:0;overflow:hidden;background:#0b1020}.pj-face img{width:100%;height:100%;object-fit:cover;display:block}
.pj-universe{border-color:rgba(122,156,212,.6);color:#9AB6E8}
.pj-manse{display:inline-flex;gap:10px;margin-top:8px;margin-right:22px;font-family:"Noto Serif KR","Nanum Myeongjo",serif;font-size:17px;line-height:1.05;vertical-align:bottom}
.pj-manse .pj-col{display:inline-flex;flex-direction:column;align-items:center;gap:1px}.pj-manse small{font-family:system-ui;font-size:9px;color:#8B8478;letter-spacing:.5px;margin-bottom:2px}
.pj-wx{display:inline-flex;gap:6px;margin:8px 0 2px 0;align-items:flex-end;height:46px;vertical-align:bottom}
.pj-wxc{display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-end;width:22px;height:46px}
.pj-wxc i{display:block;width:16px;border-radius:3px 3px 0 0;min-height:2px}.pj-wxc small{font-size:9.5px;line-height:1;margin-top:3px;font-family:system-ui}
.pj-person-choice{align-items:flex-start}
