/* 克隆形象拍摄标准 · 弹窗（形象素材 / AI克隆数字人 共用） */
.dhsg-mask{position:fixed;inset:0;z-index:260;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(28,20,14,.46);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.dhsg-mask.show{display:flex}
.dhsg-panel{width:min(620px,94vw);max-height:86vh;display:flex;flex-direction:column;background:#fffdfb;border:1px solid #eadfd3;border-radius:22px;box-shadow:0 30px 90px rgba(44,28,16,.3);overflow:hidden}
.dhsg-head{display:flex;align-items:flex-start;gap:14px;padding:20px 22px 15px;background:linear-gradient(180deg,#fff7ef 0%,#fffdfb 100%);border-bottom:1px solid #f1e6da}
.dhsg-head-tx{flex:1 1 auto;min-width:0}
.dhsg-kicker{display:block;font-size:9px;font-weight:800;letter-spacing:.2em;color:#a93822;margin-bottom:7px}
.dhsg-head h3{margin:0;font-family:Georgia,"Noto Serif CJK SC","Songti SC",serif;font-size:26px;line-height:1.2;letter-spacing:-.01em;color:#1d1d20}
.dhsg-head p{margin:7px 0 0;font-size:12px;line-height:1.65;color:#7c7168}
.dhsg-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}
.dhsg-chips span{font-size:9.5px;font-weight:700;letter-spacing:.04em;color:#a06a52;background:#fff;border:1px solid #ecd9ca;border-radius:999px;padding:3px 9px}
.dhsg-x{flex:0 0 auto;width:30px;height:30px;border:1px solid #eadfd3;background:#fff;color:#a08f80;border-radius:9px;font-size:17px;line-height:1;cursor:pointer}
.dhsg-x:hover{background:#fbe9e2;border-color:#e0b8a6;color:#a93822}
.dhsg-body{padding:14px 22px 4px;overflow-y:auto;flex:1 1 auto;min-height:0}
.dhsg-item{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;padding:12px 14px;margin-bottom:9px;background:#fffaf5;border:1px solid #f3e8dc;border-radius:14px}
.dhsg-item:last-child{margin-bottom:2px}
.dhsg-no{width:24px;height:24px;border-radius:50%;background:#a93822;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;margin-top:1px}
.dhsg-item-title{font-size:13.5px;font-weight:750;color:#241f1c;letter-spacing:.01em}
.dhsg-item-desc{margin-top:4px;font-size:12px;line-height:1.7;color:#6f665e}
.dhsg-egs{display:flex;flex-direction:column;gap:4px;margin-top:8px}
.dhsg-eg{display:flex;align-items:flex-start;gap:6px;font-size:11.5px;line-height:1.6}
.dhsg-eg b{flex:0 0 16px;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:800;margin-top:1px}
.dhsg-eg.good b{background:#e6f4ec;color:#2f7d4f}
.dhsg-eg.bad b{background:#fbe7e1;color:#b03c25}
.dhsg-eg.good span{color:#3f6b52}
.dhsg-eg.bad span{color:#8a5548}
.dhsg-foot{display:flex;align-items:center;gap:12px;padding:12px 22px 16px;border-top:1px solid #f1e6da;background:#fffdfb}
.dhsg-foot-tip{flex:1;font-size:10.5px;color:#9b8d80;line-height:1.5}
.dhsg-foot-btns{display:flex;gap:8px;flex:0 0 auto}
.dhsg-btn{height:34px;padding:0 15px;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer;border:1px solid transparent;transition:background .15s,border-color .15s,filter .15s}
.dhsg-btn.ghost{background:#fff;border-color:#e6d8ca;color:#6b5c4f}
.dhsg-btn.ghost:hover{background:#fdf5ee}
.dhsg-btn.pri{background:linear-gradient(135deg,#c25532,#a33820);border-color:#a33820;color:#fff;box-shadow:0 8px 18px -12px rgba(169,56,34,.7)}
.dhsg-btn.pri:hover{filter:brightness(1.04)}

/* 入口链接 */
body.dhsg-lock{overflow:hidden}
.ava-guide-link{margin-left:auto;border:1px solid #e8c9b8;background:#fff6ef;color:#a93822;border-radius:999px;height:24px;padding:0 10px;font-size:10.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.ava-guide-link:hover{background:#fbe9e2;border-color:#dfae9a}
.dh22-block-right{margin-left:auto;display:flex;align-items:center;gap:8px}
.dh22-block-right .dh22-block-hint{margin-left:0}
.dh22-guide-link{border:0;background:none;padding:0;color:#a93822;font-size:10px;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.dh22-guide-link:hover{color:#c25532}

@media (max-width:640px){
  .dhsg-mask{padding:0;align-items:flex-end}
  .dhsg-panel{width:100%;max-width:none;max-height:92vh;border-radius:20px 20px 0 0}
  .dhsg-head{padding:16px 16px 12px}
  .dhsg-head h3{font-size:22px}
  .dhsg-body{padding:12px 16px 4px}
  .dhsg-foot{padding:10px 16px 14px;flex-direction:column;align-items:stretch}
  .dhsg-foot-tip{order:2;text-align:center}
  .dhsg-foot-btns{order:1}
  .dhsg-btn{flex:1}
}
