/* AIO Community Posts V3 — scoped visuals, no access / auth / download changes. */
body .aio-rich-editor{margin:7px 0 9px;max-width:100%;min-width:0}
body .aio-rich-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px;background:rgb(var(--orbit-p4-panel, 11 41 57));border:1px solid rgb(var(--orbit-p4-line-strong, 54 112 131));border-radius:11px}
body .aio-rich-tool{display:inline-flex;align-items:center;justify-content:center;min-height:39px;min-width:39px;padding:7px 10px;border:1px solid rgb(var(--orbit-p4-line-strong, 66 111 128));border-radius:9px;background:rgb(var(--orbit-p4-raised, 18 60 77));color:#ecfaff;font-weight:850;font-size:13px;cursor:pointer}
body .aio-rich-tool:hover,body .aio-rich-tool:focus-visible{background:#1c5266;border-color:#7dd4ed;outline:2px solid transparent}
body .aio-rich-preview-toggle{margin-left:auto;color:#bff6db;border-color:#4b9a89}
body .aio-rich-preview-toggle.is-active{background:#17584d;border-color:#80d7bd}
body .aio-rich-help{margin:7px 3px!important;font-size:12px;line-height:1.5;color:rgb(var(--orbit-p4-muted, 180 205 218))}
body .aio-rich-preview{margin:9px 0;padding:18px;border-radius:11px;border:1px solid #52a3b6;background:#061e2a;color:#eaf8fb;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
body .aio-rich-preview[hidden]{display:none!important}
body .aio-rich-heading{display:inline-block;font-weight:900;font-size:1.12em;color:#e8fbff;margin:7px 0 3px}
body .aio-rich-bullet{display:inline-block;padding-left:12px}
body .aio-rich-quote{display:inline-block;border-left:3px solid rgb(var(--orbit-p4-line-strong, 116 215 235));padding:3px 9px;color:rgb(var(--orbit-p4-text, 189 230 240));background:rgb(var(--orbit-p4-raised, 11 51 67));border-radius:4px}
body .community-post-text code,body .aio-rich-preview code{font:600 .89em/1.5 ui-monospace,monospace;background:#113746;color:#b5f3de;border:1px solid #2d7083;border-radius:4px;padding:2px 5px;overflow-wrap:anywhere}
body .community-post-text strong,body .community-post-text em,body .community-post-text u,body .community-post-text s{color:inherit}
body .community-post-card.featured,body .community-post-card.is-featured{border-color:#bd9d5e!important;box-shadow:inset 4px 0 rgba(255,211,118,.5)}
body .community-status-pill.featured,body .latest-badge.aio-latest-featured{border:1px solid #9f7e43;background:#41331c;color:#ffe2a3;font-weight:800}
body .community-status-pill.pinned,body .latest-badge.aio-latest-pinned{border:1px solid rgb(var(--orbit-p4-line-strong, 87 179 187));background:rgb(var(--orbit-p4-raised, 16 62 67));color:rgb(var(--orbit-p4-text, 191 244 244));font-weight:800}
body .latest-card.is-pinned{border-color:rgb(var(--orbit-p4-line-strong, 78 175 187))!important}
body .latest-card.is-featured{border-color:#bd9d5e!important}
body .community-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:9px;align-items:stretch}
body .community-media-grid img{width:100%;height:190px;object-fit:cover;border-radius:10px;cursor:zoom-in}
body .community-media-grid.one img{height:auto;max-height:480px;object-fit:contain}
body .community-media-grid .aio-media-more{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;grid-column:1/-1;border:1px solid rgb(var(--orbit-p4-line-strong, 57 121 135));border-radius:10px;background:rgb(var(--orbit-p4-raised, 18 61 75));color:rgb(var(--orbit-p4-text, 216 250 255));text-decoration:none;font-weight:800}
body .community-media-grid .aio-media-more:hover{background:rgb(var(--orbit-p4-control, 27 81 99));color:#fff}
body .community-image-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body .community-image-preview img{min-width:0;width:100%;height:120px;object-fit:cover;border-radius:10px}
body .community-post-footer .community-action{min-height:38px}
body .community-admin-actions [data-admin-action="feature"]{border-color:#ab8a4d;color:#ffe2a4}
@media(max-width:760px){
 body .aio-rich-toolbar{padding:7px;gap:5px}
 body .aio-rich-tool{min-height:42px;min-width:42px;font-size:12px}
 body .aio-rich-preview-toggle{margin-left:0}
 body .community-image-preview{grid-template-columns:repeat(3,minmax(0,1fr))}
 body .community-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .community-media-grid img{height:145px}
}
@media(max-width:440px){body .community-image-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){body .aio-rich-tool{transition:none}}
