.fcm-panel{margin:2rem 0;padding:1.5rem;max-width:100%;border:1px solid #e5e2f0;border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(32,26,85,.06)}
.fcm-panel h2{font-size:clamp(1.25rem,2.8vw,1.8rem);letter-spacing:-.025em;margin:0 0 .75rem;color:#28204b}
.fcm-panel p{line-height:1.65}
.fcm-form{display:grid;gap:.75rem;margin:1.25rem 0;padding:1.2rem;border:1px solid #e8e1fa;border-radius:15px;background:#faf8ff}
.fcm-form label{display:block;color:#332d52;font-weight:650;font-size:.95rem}
.fcm-form textarea,.fcm-form input[type=file]{width:100%;min-width:0;padding:.8rem;box-sizing:border-box;border:1px solid #d6cde9;border-radius:10px;background:#fff;font:inherit}
.fcm-form :focus-visible,.fcm-button:focus-visible{outline:3px solid #f9ae35;outline-offset:3px}
.fcm-hint{font-size:.83rem;color:#635d75;margin:.15rem 0}
.fcm-button{background:#6241db;border:0;border-radius:999px;padding:.85rem 1.2rem;font-size:.92rem;font-weight:750;color:#fff;cursor:pointer;width:fit-content;max-width:100%}
.fcm-button:hover{background:#4825b3}
.fcm-message{border-left:4px solid #6040da;padding:.8rem 1rem;background:#f0edff;color:#33245b;border-radius:4px}
.fcm-current-avatar img{width:108px;height:108px;object-fit:cover;border-radius:100%;border:3px solid #f1ebff}
.fcm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:1rem;margin-top:1.25rem}
.fcm-card{background:#fff;border:1px solid #e8e4f0;border-radius:14px;overflow:hidden;min-width:0}
.fcm-card-media{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;background:#13141b}
.fcm-card-body{padding:1rem;font-size:.94rem}
.fcm-card-body time{display:inline-block;font-size:.78rem;color:#69657d;margin-left:.4rem}
.fcm-card-body p{margin:.65rem 0 0;overflow-wrap:anywhere}
.fcm-empty{font-size:.94rem;color:#69657d}
@media(max-width:540px){.fcm-panel{padding:1rem;margin:1.25rem 0;border-radius:15px}.fcm-form{padding:.85rem}.fcm-button{width:100%}}
.fcm-remove{display:inline-block;margin-top:.6rem}
.fcm-remove-button{border:1px solid #c9bfdc;background:#fff;color:#5426ad;border-radius:999px;font-size:.8rem;font-weight:650;padding:.45rem .75rem;cursor:pointer}
.fcm-remove-button:hover{background:#f5f1ff}
.fcm-local-preview{margin:.15rem 0}.fcm-preview-media{display:block;max-width:100%;max-height:260px;border-radius:12px;background:#1f1839}.fcm-local-preview p{color:#6a597d;font-size:.82rem}.fcm-preview-error{color:#ac243a;font-weight:650}
