/* STOSSACHSE Origin Module Compatibility Layer */
:root{--card-bg:var(--origin-panel);--panel-bg:var(--origin-panel);--accent:var(--origin-gold);}

/* Admin/runtime status */
.success,.alert-success,.notice-success{border-color:rgba(112,192,119,.45)!important;background:rgba(72,138,75,.14)!important;color:#d7ffd8!important;}
.error,.alert-error,.danger,.notice-error{border-color:rgba(220,83,54,.45)!important;background:rgba(135,35,25,.16)!important;color:#ffd8d1!important;}
.warning,.alert-warning,.notice-warning{border-color:rgba(241,181,94,.45)!important;background:rgba(180,105,28,.16)!important;color:#ffe7bd!important;}
.muted,.text-muted,small{color:var(--origin-muted)!important;}

/* Forum */
.forum-topic,.topic-row,.forum-row,.reply-card,.post-card{border:1px solid var(--origin-line)!important;border-radius:16px!important;background:rgba(18,14,10,.88)!important;}
.forum-topic:hover,.topic-row:hover,.forum-row:hover{border-color:var(--origin-line-strong)!important;}

/* News */
.news-card,.news-item,.article-card{overflow:hidden;}
.news-card img,.article-card img,.news-cover img{width:100%;object-fit:cover;border-radius:14px;}
.news-meta,.article-meta{color:var(--origin-muted)!important;}

/* DashboardNext */
.dashboard-widget,.dashboard-card{padding:16px!important;}
.dashboard-widget-header,.widget-header{border-bottom:1px solid rgba(215,151,70,.15);padding-bottom:10px;margin-bottom:12px;}

/* UserPanelNext */
.userpanel-next-widget,.userpanel-widget{padding:14px!important;overflow:hidden;}
.userpanel-next-widget img,.userpanel-widget img{border-radius:14px;border:1px solid var(--origin-line);}

/* RichEditorNext/TinyMCE fallback */
.tox .tox-toolbar,.tox .tox-toolbar__primary,.tox .tox-menubar{background:#15100c!important;border-color:var(--origin-line)!important;}
.tox .tox-edit-area__iframe{background:#0e0b09!important;}

/* Admin tables/cards */
.admin-actions,.form-actions,.card-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.admin-header,.page-header,.module-header{margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid rgba(215,151,70,.18);}
