/* 操作说明 / 新手引导 / 下一步提示(js/ux-help.js)—— AI 一键成片、爆款复刻、视频下载共用 */
.uxh-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(232, 176, 75, .45); background: rgba(232, 176, 75, .1); color: var(--accent, #c8791f); font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s; }
.uxh-btn:hover { background: rgba(232, 176, 75, .2); }
.uxh-link { border: 0; background: none; color: var(--accent, #c8791f); font-size: 12.5px; cursor: pointer; padding: 2px 4px; }
.uxh-link:hover { text-decoration: underline; }
.uxh-grow { flex: 1; }

/* 说明抽屉 */
.uxh-drawer { position: fixed; inset: 0; z-index: 10100; }
.uxh-bg { position: absolute; inset: 0; background: rgba(8, 9, 14, .45); opacity: 0; transition: opacity .2s; }
.uxh-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg-white, #fff); border-left: 1px solid var(--border, #e8e2d6); box-shadow: -20px 0 60px rgba(0, 0, 0, .3); display: flex; flex-direction: column; transform: translateX(30px); opacity: 0; transition: transform .22s ease, opacity .22s ease; color: var(--text, inherit); }
.uxh-drawer.on .uxh-bg { opacity: 1; }
.uxh-drawer.on .uxh-panel { transform: none; opacity: 1; }
.uxh-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border, #e8e2d6); font-size: 15px; }
.uxh-head > i { color: var(--accent, #c8791f); }
.uxh-head b { flex: 1; color: var(--strong, var(--text)); }
.uxh-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--bg-warm, #f5f2ec); color: var(--text-secondary, #777); cursor: pointer; }
.uxh-body { flex: 1; overflow: auto; padding: 14px 18px 30px; font-size: 13.5px; line-height: 1.7; }
.uxh-intro { margin: 0 0 6px; color: var(--text-secondary, #666); }
.uxh-body h4 { margin: 18px 0 8px; font-size: 13.5px; color: var(--strong, var(--text)); display: flex; align-items: center; gap: 6px; }
.uxh-body h4 i { color: var(--accent, #c8791f); width: 16px; }
.uxh-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 8px; }
.uxh-steps li { counter-increment: s; position: relative; padding: 9px 12px 9px 40px; border-radius: 10px; background: var(--bg-warm, #faf8f3); border: 1px solid var(--border, #e8e2d6); display: flex; flex-direction: column; }
.uxh-steps li::before { content: counter(s); position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent, #c8791f); color: #1b1406; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.uxh-steps li b { color: var(--strong, var(--text)); }
.uxh-steps li span { color: var(--text-secondary, #666); font-size: 12.5px; }
.uxh-qa { border-bottom: 1px dashed var(--border, #e8e2d6); padding: 6px 0; }
.uxh-qa summary { cursor: pointer; font-weight: 600; color: var(--strong, var(--text)); list-style: none; display: flex; align-items: center; gap: 6px; }
.uxh-qa summary::-webkit-details-marker { display: none; }
.uxh-qa summary::before { content: '\f105'; font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free'; font-weight: 900; font-size: 11px; color: var(--text-hint, #999); transition: transform .15s; width: 10px; }
.uxh-qa[open] summary::before { transform: rotate(90deg); }
.uxh-qa p { margin: 6px 0 4px 16px; color: var(--text-secondary, #666); font-size: 12.5px; }
.uxh-tips { margin: 0; padding-left: 18px; color: var(--text-secondary, #666); font-size: 12.5px; }

/* 首次欢迎卡 */
.uxh-welcome { margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(232, 176, 75, .45); background: linear-gradient(135deg, rgba(240, 192, 96, .12), rgba(217, 154, 43, .04)); }
.uxh-wh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.uxh-wh > i { color: var(--accent, #c8791f); }
.uxh-wsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.uxh-wsteps > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--bg-white, #fff); border: 1px solid var(--border, #e8e2d6); font-size: 12px; color: var(--text-secondary, #666); line-height: 1.55; }
.uxh-wsteps em { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: var(--accent, #c8791f); color: #1b1406; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 2px; }
.uxh-wsteps b { color: var(--strong, var(--text)); font-size: 13px; }

/* 下一步提示条 */
.uxh-next { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; padding: 9px 12px; border-radius: 12px; background: var(--bg-warm, #faf8f3); border: 1px solid var(--border, #e8e2d6); font-size: 12.5px; }
.uxh-nt { color: var(--accent, #c8791f); font-weight: 700; margin-right: 2px; }
.uxh-nb { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border, #e8e2d6); background: var(--bg-white, #fff); color: var(--text, inherit); font-size: 12.5px; cursor: pointer; transition: border-color .15s, color .15s; }
.uxh-nb:hover { border-color: rgba(232, 176, 75, .6); color: var(--accent, #c8791f); }
.uxh-nb i { color: var(--accent, #c8791f); font-size: 11.5px; }
.uxh-nx { color: var(--text-secondary, #666); display: inline-flex; align-items: center; gap: 5px; }
.uxh-tip { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 10px; font-size: 12.5px; color: var(--text-secondary, #666); line-height: 1.6; }
.uxh-tip i { color: var(--accent, #c8791f); margin-top: 3px; }

@media (max-width: 720px) {
    .uxh-wsteps { grid-template-columns: 1fr; }
    .uxh-panel { width: 100%; }
}
