.keys-body-editor {border:1px solid #555;border-radius:10px;padding:12px;min-width:0;}
.keys-body-toolbar,.keys-block-actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.keys-body-editor button{min-height:44px;padding:8px 12px;border:1px solid #666;border-radius:6px;color:inherit;background:transparent;cursor:pointer}
.keys-body-editor button:focus-visible,[contenteditable]:focus-visible{outline:3px solid #e5c652;outline-offset:2px}
.keys-body-editor button:disabled{opacity:.45;cursor:default}
.keys-body-block{border:1px solid #555;padding:10px;margin:10px 0;border-radius:8px;min-width:0}
.keys-body-block.is-selected{border-color:#f5c210}
.keys-body-text{min-height:60px;white-space:pre-wrap;overflow-wrap:anywhere;outline:none;line-height:1.7}
.keys-body-text:empty:before{content:'输入这一段的内容';color:#999;pointer-events:none}
.keys-body-editor img,.description img{display:block;max-width:100%;height:auto;object-fit:contain;margin:12px auto;border-radius:8px}
.keys-body-editor figure,.description figure{margin:12px 0;max-width:100%}
.keys-body-editor input[type=text]{display:block;width:100%;min-width:0;margin:8px 0;padding:8px;color:inherit;background:transparent;border:1px solid #777;border-radius:4px;font-size:16px}
.keys-body-preview{background:#f5f5ed;color:#18352a;padding:16px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
.keys-body-preview[hidden]{display:none}
.keys-body-help,.keys-body-status{font-size:13px;line-height:1.6;margin:8px 0;color:#ccc}
.keys-body-status[role=alert]{color:#fca5a5}
.description{overflow-wrap:anywhere}.description p{margin:0 0 1em}.description ul,.description ol{padding-left:1.5em}.description figcaption{font-size:.85em;text-align:center}
@media(max-width:600px){.modal{padding:18px}.keys-body-editor{padding:8px}.keys-body-block{padding:8px}.keys-body-text{font-size:16px}}
.keys-activity-rich-body{overflow-wrap:anywhere}.keys-activity-rich-body img{display:block;width:auto;max-width:100%;height:auto;margin:16px auto}.keys-activity-rich-body figure{margin:16px 0}.keys-activity-rich-body figcaption{text-align:center;font-size:.85em}
body:has(#activityForm) .keys-body-help,body:has(#activityForm) .keys-body-status{color:#315340}
#fDesc[hidden]{display:none!important}
