/* 更新公告、使用帮助和问题反馈 */
.footer-link { padding: 0; border: 0; background: transparent; color: #94a3b8; font: inherit; cursor: pointer; text-decoration: none; }
.footer-link:hover { color: white; }
.site-dialog { width: min(620px, calc(100vw - 28px)); max-height: min(86vh, 820px); padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 24px 80px rgba(15,23,42,.35); }
.site-dialog-wide { width: min(760px, calc(100vw - 28px)); }
.site-dialog::backdrop { background: rgba(15,23,42,.64); backdrop-filter: blur(3px); }
.site-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px 18px; border-bottom: 1px solid var(--border); background: #f8fafc; }
.site-dialog-header.update-header { background: linear-gradient(135deg,#fff7ed,#ffedd5); }
.site-dialog-header h2 { margin: 3px 0 0; font-size: 1.45rem; }
.dialog-kicker { color: #ea580c; font-size: .76rem; font-weight: 800; letter-spacing: .11em; }
.dialog-close { flex: 0 0 auto; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--text-light); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { border-color: var(--primary); color: var(--primary); }
.site-dialog-body { max-height: calc(86vh - 150px); padding: 22px 24px; overflow-y: auto; }
.site-dialog-body > p { margin-bottom: 14px; }
.site-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px 18px; border-top: 1px solid var(--border); }
.update-list { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.update-list li { display: grid; grid-template-columns: minmax(145px, .8fr) 1.5fr; gap: 12px; padding: 11px 13px; border: 1px solid #fed7aa; border-radius: 9px; background: #fffaf5; }
.update-list span, .dialog-note { color: var(--text-light); }
.dialog-note { font-size: .9rem; }
.help-content section + section { margin-top: 22px; }
.help-content h3, .feedback-result h3 { margin-bottom: 8px; font-size: 1.06rem; }
.help-content ol { padding-left: 22px; }
.help-content details { padding: 10px 0; border-bottom: 1px solid var(--border); }
.help-content summary { font-weight: 650; cursor: pointer; }
.help-content details p { margin: 8px 0 0; color: var(--text-light); }
.feedback-form { display: grid; gap: 14px; }
.feedback-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 650; }
.feedback-form em { color: var(--danger); font-size: .82rem; font-style: normal; }
.feedback-form input, .feedback-form select, .feedback-form textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--text); font: inherit; resize: vertical; }
.feedback-form input:focus, .feedback-form select:focus, .feedback-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.feedback-form .btn-primary { justify-self: start; }
.feedback-result { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.feedback-result.hidden { display: none; }
.feedback-result pre { max-height: 230px; margin-bottom: 12px; padding: 14px; overflow: auto; white-space: pre-wrap; border-radius: var(--radius); background: #f8fafc; font: .9rem/1.55 Consolas, monospace; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.button-link { display: inline-flex; align-items: center; text-decoration: none; }
.dialog-status { min-height: 22px; margin-top: 10px; font-size: .9rem; }
.dialog-status.error { color: var(--danger); }
.dialog-status.success { color: var(--success); }
body.dialog-open { overflow: hidden; }
@media (max-width: 560px) { .site-dialog-header, .site-dialog-body { padding-left: 17px; padding-right: 17px; } .site-dialog-actions { padding: 12px 17px 16px; flex-wrap: wrap; } .update-list li { grid-template-columns: 1fr; gap: 2px; } }
