.ph { --g:var(--panel-gap,16px);display:flex;flex-direction:column;gap:var(--g) }
.ph-vh { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap }
.ph h1 { font-size:22px;margin:0 0 4px }
.ph h2 { font-size:16px;margin:0 0 10px }
.ph-ct { font-size:13px;color:#A8A496;font-weight:500;margin-left:8px }
.ph-sub,.ph-meta,.ph-rules,.ph-okline { color:#A8A496;font-size:13px;margin:0 0 var(--g) }
.ph-steps { display:flex;gap:8px;list-style:none;padding:0;margin:0;font-size:12px;color:#A8A496 }
.ph-steps li { flex:1;padding:6px 0;border-bottom:2px solid #2a2e36 }
.ph-steps [aria-current] { color:#C9A24A;border-color:#C9A24A }
.ph-cols { display:flex;flex-direction:column;gap:var(--g) }
.ph-side { display:flex;flex-direction:column;gap:var(--g) }
.ph-panel { background:rgba(14,15,18,.62);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(245,242,234,.10);border-radius:14px;padding:var(--g);margin:0;color:#F5F2EA }
.ph-zone { display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:24px 16px;border:1px dashed rgba(245,242,234,.22);border-radius:12px;margin:0 0 var(--g) }
.ph-zone svg,.ph-priv svg { fill:none;stroke:#C9A24A;stroke-width:1.6;flex:none }
.ph-zone p { margin:0 }
.ph-zone.is-full { opacity:.55 }
.ph-zone.is-err { border-color:#d4675e }
.ph-zone.is-drag { border-color:#C9A24A;background:rgba(201,162,74,.08) }
.ph-desk { display:none }
.ph-btn { display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:12px;border:1px solid rgba(245,242,234,.18);background:rgba(14,15,18,.72);color:#F5F2EA;font-weight:600;font-size:15px;text-decoration:none;cursor:pointer }
.ph-btn:focus-visible,.ph-ib:focus-visible,.ph-lstrip a:focus-visible,.ph-main:focus-visible { outline:2px solid #C9A24A;outline-offset:2px }
#ph-in:focus-visible+.ph-rules,#ph-in:focus+.ph-rules { outline:2px solid #C9A24A;outline-offset:2px }
.ph-pri { background:#C9A24A;color:#0E0F12;border-color:#C9A24A }
.ph-pri[disabled],.ph-btn[disabled] { opacity:.45 }
.ph-js .ph-nojs { display:none }
.ph-grid { list-style:none;padding:0;margin:0 0 8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--g) }
.ph-grid:empty { display:none }
.ph-th { position:relative;background:rgba(14,15,18,.72);border:1px solid rgba(245,242,234,.12);border-radius:12px;padding:8px;cursor:grab }
.ph-th img { display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:8px;background:#1a1c21 }
.ph-th .ph-ph { display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;border-radius:8px;background:#1a1c21;color:#A8A496;font-size:12px;padding:8px;text-align:center;word-break:break-all }
.ph-cov { position:absolute;top:14px;left:14px;background:#C9A24A;color:#0E0F12;font-size:11px;font-weight:700;padding:2px 8px;border-radius:6px }
.ph-pg { width:100%;height:6px;margin-top:8px;accent-color:#C9A24A }
.ph-pct,.ph-ok { font-size:12px;color:#A8A496;display:block;margin-top:4px }
.ph-ok { color:#7fcf9f }
.ph-ctl { display:flex;gap:6px;margin:8px 0 0 }
.ph-ib { flex:1;min-width:0;height:44px;border-radius:10px;border:1px solid rgba(245,242,234,.18);background:rgba(14,15,18,.8);color:#F5F2EA;font-size:16px;cursor:pointer }
.ph-ib[disabled] { opacity:.35;cursor:default }
.ph-rm { color:#e7958e }
.ph-tips ul { margin:0;padding-left:18px;color:#C8C4B6;font-size:14px;line-height:24px }
.ph-priv { display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#C8C4B6 }
.ph-err { border:1px solid #d4675e;background:rgba(80,20,18,.55);border-radius:12px;padding:12px 16px;margin:0 0 var(--g);color:#F5F2EA }
.ph-err h2 { color:#f2a49d }
.ph-err ul { margin:0;padding-left:18px;font-size:14px;line-height:22px }
.ph-err b { word-break:break-all }
.ph-foot { display:flex;gap:12px;justify-content:flex-end }
.ph-done .hn-msg { margin:8px 0 }
.ph-done .hn-removal { margin:0 }
.ph-crumb { font-size:13px;color:#A8A496 }
.ph-crumb a,.ph-meta a { color:#C9A24A }
.ph-main { position:relative;display:block }
.ph-main img { display:block;width:100%;height:auto;border-radius:10px }
.ph-zh { position:absolute;right:10px;bottom:10px;background:rgba(14,15,18,.85);color:#F5F2EA;font-size:12px;padding:4px 10px;border-radius:8px }
.ph-strip { list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:10px 0 0 }
.ph-strip a { display:block;min-height:44px }
.ph-strip img { width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:6px;display:block }
.ph-strip a:focus-visible { outline:2px solid #C9A24A }
.ph-gnote { margin:10px 0 0 }
.ph-zoom { display:none;position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,.94);align-items:center;justify-content:center }
.ph-zoom:target { display:flex }
.ph-zoom img { max-width:100%;max-height:82vh;width:auto;height:auto }
.ph-x,.ph-nv { position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:24px;background:rgba(14,15,18,.8);color:#fff;text-decoration:none;font-size:24px }
.ph-x { top:16px;right:16px }
.ph-prev { left:12px;top:50% }
.ph-next { right:12px;top:50% }
.ph-zc { position:absolute;bottom:20px;margin:0;color:#C8C4B6;font-size:13px }
.ph-detail { min-width:0 }
.ph-detail .hn-listing { margin:0 }
.ph-lphotos { margin:10px 0 4px }
.ph-lh { margin:0 0 6px;font-size:12px;font-weight:600;color:#A8A496 }
.ph-lh a { color:#C9A24A;text-decoration:none;display:inline-flex;min-height:24px;align-items:center }
.ph-lstrip { list-style:none;display:flex;gap:6px;padding:0;margin:0;flex-wrap:wrap }
.ph-lstrip li { flex:0 0 auto }
.ph-lstrip a { display:block;border-radius:6px }
.ph-lstrip img { display:block;width:60px;height:80px;object-fit:cover;border-radius:6px;background:#1a1c21 }
.ph-mod .ph-lstrip img { width:90px;height:120px }
@media (min-width:1024px) {
.ph { --g:var(--panel-gap,24px) }
.ph-mob { display:none }
.ph-desk { display:inline }
p.ph-desk { display:block }
.ph-zone { padding:40px }
.ph-cols { flex-direction:row;align-items:flex-start }
.ph-cols>.ph-panel,.ph-cols>.ph-detail { flex:1 }
.ph-side { width:320px;flex:none }
.ph-grid { grid-template-columns:repeat(4,minmax(0,1fr)) }
.ph-list>.ph-panel:first-child { flex:0 0 520px }
}
.ph-list>.hn-listings.ph-detail { grid-template-columns:minmax(0,1fr);min-width:0;margin-top:0 }
.ph-sh { font-size:15px;margin:0 0 10px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap }
.ph-sh .ph-ct { margin:0 }
.ph-slots { list-style:none;padding:0;margin:0 0 8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px }
.ph-slot { display:flex;flex-direction:column;gap:8px;background:rgba(14,15,18,.72);border:1px solid rgba(245,242,234,.14);border-radius:12px;padding:10px;min-width:0 }
.ph-slot.is-err { border-color:#d4675e;box-shadow:0 0 0 1px #d4675e inset }
.ph-slot.is-set { border-color:rgba(127,207,159,.55) }
.ph-slot-h { display:flex;justify-content:space-between;align-items:center;gap:6px;margin:0;font-size:15px }
.ph-tag { font-size:11px;font-weight:700;padding:2px 8px;border-radius:6px;background:rgba(201,162,74,.16);color:#E2C27A;white-space:nowrap }
.ph-tag-ok { background:rgba(127,207,159,.16);color:#9fe0b8 }
.ph-slot-pv { aspect-ratio:3/4;border-radius:8px;background:#1a1c21;overflow:hidden;display:flex;align-items:center;justify-content:center }
.ph-slot-pv img { display:block;width:100%;height:100%;object-fit:cover }
.ph-slot-ph { display:flex;flex-direction:column;align-items:center;gap:6px;color:#A8A496;font-size:12px;text-align:center;padding:8px }
.ph-slot-ph svg { fill:none;stroke:#8E8A7E;stroke-width:1.5 }
.ph-slot.is-err .ph-slot-pv { outline:1px dashed #d4675e;outline-offset:-1px }
.ph-slot-err { margin:0;color:#f2a49d;font-size:13px;line-height:18px }
.ph-slot-f { margin:0;display:flex;flex-direction:column;gap:6px }
.ph-slot-f .ph-btn { width:100%;padding:0 10px;font-size:14px;text-align:center;min-height:48px }
.ph-slot-in:focus-visible+label,.ph-slot-in:focus+label { outline:2px solid #C9A24A;outline-offset:2px }
.ph-slot-pg { width:100%;height:6px;accent-color:#C9A24A }
.ph-err a { color:#F5F2EA;text-decoration:underline;display:inline-flex;min-height:44px;align-items:center }
.ph-err:focus { outline:2px solid #C9A24A;outline-offset:2px }
.ph-foot { flex-direction:column;align-items:stretch;margin:0 }
.ph-ready { margin:0;font-size:14px;color:#E2C27A }
.ph-ready.is-ok { color:#9fe0b8 }
.ph-foot .ph-btn { width:100% }
@media (min-width:1024px) {
.ph-slots { gap:16px }
.ph-foot { flex-direction:row;align-items:center;justify-content:flex-end;gap:16px }
.ph-foot .ph-btn { width:auto;min-width:220px }
}
body.vault.v3 .ph-err h2 { font:600 15px/21px var(--vt-sans,inherit);text-transform:none;letter-spacing:0;color:#f2a49d;margin:0 0 8px }
