
:root{
  --tramx-red:#e3001b;
  --tramx-dark:#111827;
  --tramx-bg:#f6f7f9;
  --tramx-card:#ffffff;
  --tramx-border:#e5e7eb;
  --tramx-muted:#6b7280;
  --tramx-text:#111827;
  --tramx-brand:#e3001b;
  --tramx-radius:16px;
}
body.tramx-community-page{margin:0}
body.tramx-hide-theme-header header,
body.tramx-hide-theme-header .site-header,
body.tramx-hide-theme-header #masthead,
body.tramx-hide-theme-header .wp-block-template-part:first-child{display:none!important}
body.tramx-community-page .entry-header,
body.tramx-community-page .page-header,
body.tramx-community-page .entry-title{display:none!important}
body.tramx-community-page main,
body.tramx-community-page .site-main,
body.tramx-community-page .content-area,
body.tramx-community-page .entry-content,
body.tramx-community-page .wp-site-blocks,
body.tramx-community-page .wp-block-group{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
.tramx-toolbar,.tramx-toolbar *{box-sizing:border-box}
body.tramx-toolbar-active{padding-top:68px!important}
.tramx-toolbar{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:99998!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--tramx-border)!important;box-shadow:0 4px 18px rgba(17,24,39,.08)!important;margin:0!important;padding:0!important;font-family:inherit!important;line-height:1.25!important}
.admin-bar .tramx-toolbar{top:32px!important}
.tramx-toolbar__inner{box-sizing:border-box!important;width:100%!important;max-width:1680px!important;margin:0 auto!important;min-height:68px!important;padding:0 18px!important;display:flex!important;align-items:center!important;gap:12px!important;position:relative!important}
.tramx-home{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:10px!important;font-size:25px!important;text-decoration:none!important;color:var(--tramx-dark)!important;background:#f3f4f6!important;line-height:1!important;margin:0!important}
.tramx-home:hover{color:var(--tramx-red)!important;background:#fee2e2!important}
.tramx-brand{display:flex!important;align-items:baseline!important;gap:7px!important;flex:0 0 auto!important;text-decoration:none!important;color:var(--tramx-dark)!important;margin:0!important;white-space:nowrap!important}
.tramx-brand strong{font-size:25px!important;line-height:1!important;color:var(--tramx-red)!important;font-weight:900!important}
.tramx-brand small{font-size:11px!important;line-height:1!important;color:var(--tramx-muted)!important;font-weight:700!important}
.tramx-nav{margin:0 0 0 auto!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:2px!important;flex-wrap:nowrap!important;background:transparent!important;border:0!important;box-shadow:none!important;list-style:none!important}
.tramx-nav a{display:inline-flex!important;align-items:center!important;min-height:38px!important;padding:8px 9px!important;border:0!important;border-radius:9px!important;text-decoration:none!important;color:var(--tramx-dark)!important;background:transparent!important;font-weight:750!important;font-size:13px!important;line-height:1.15!important;white-space:nowrap!important;margin:0!important;box-shadow:none!important}
.tramx-nav a:hover,.tramx-nav a:focus{background:#f3f4f6!important;color:var(--tramx-red)!important;text-decoration:none!important}
.tramx-nav a.tramx-nav__cta{background:var(--tramx-red)!important;color:#fff!important;padding-left:13px!important;padding-right:13px!important}
.tramx-nav a.tramx-nav__cta:hover{filter:brightness(.94)!important}
.tramx-nav a.tramx-nav__muted{color:var(--tramx-muted)!important}
 .tramx-toolbar .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.tramx-toolbar-login{
 display:flex!important;align-items:center!important;gap:6px!important;margin:0 4px 0 8px!important;padding:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;min-width:0!important
}
.tramx-toolbar-login input[type="text"],.tramx-toolbar-login input[type="password"]{
 width:142px!important;min-width:0!important;height:38px!important;margin:0!important;padding:7px 9px!important;
 border:1px solid #cbd5e1!important;border-radius:9px!important;background:#fff!important;color:var(--tramx-dark)!important;
 font-family:inherit!important;font-size:12px!important;font-weight:600!important;line-height:1.2!important;box-shadow:none!important
}
.tramx-toolbar-login input:focus{border-color:var(--tramx-red)!important;outline:2px solid rgba(227,0,27,.14)!important;outline-offset:0!important}
.tramx-toolbar-login__remember{
 display:inline-flex!important;align-items:center!important;gap:4px!important;margin:0 2px!important;color:var(--tramx-muted)!important;
 font-size:11px!important;font-weight:650!important;white-space:nowrap!important;cursor:pointer!important
}
.tramx-toolbar-login__remember input{width:14px!important;height:14px!important;margin:0!important;padding:0!important}
.tramx-toolbar-login__submit{
 min-height:38px!important;margin:0!important;padding:8px 11px!important;border:0!important;border-radius:9px!important;
 background:var(--tramx-red)!important;color:#fff!important;font-family:inherit!important;font-size:12px!important;font-weight:800!important;line-height:1!important;cursor:pointer!important;white-space:nowrap!important
}
.tramx-toolbar-login__submit:hover,.tramx-toolbar-login__submit:focus{filter:brightness(.94)!important}
.tramx-toolbar-login__lost{
 min-height:auto!important;padding:5px!important;font-size:11px!important;font-weight:650!important;color:var(--tramx-muted)!important
}
.tramx-menu-toggle{display:none!important;margin:0 0 0 auto!important;border:0!important;background:#f3f4f6!important;color:var(--tramx-dark)!important;border-radius:10px!important;font-size:23px!important;line-height:1!important;padding:7px 11px!important;min-width:42px!important;min-height:42px!important;cursor:pointer!important}
.tramx-shell{width:100%;max-width:1600px;margin:0 auto;padding:18px}
.tramx-page-head{margin:12px 0 18px}
.tramx-page-head h1{margin:0 0 5px;font-size:clamp(28px,4vw,46px)}
.tramx-page-head p{margin:0;color:var(--tramx-muted)}
.tramx-card{background:var(--tramx-card);border:1px solid var(--tramx-border);border-radius:18px;padding:20px;margin:0 0 18px;box-shadow:0 8px 30px rgba(17,24,39,.05)}
.tramx-card h1,.tramx-card h2,.tramx-card h3{margin-top:0}
.tramx-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:var(--tramx-red);color:#fff!important;padding:10px 14px;text-decoration:none;font-weight:800;cursor:pointer}
.tramx-btn--ghost{background:#f3f4f6;color:var(--tramx-dark)!important}
.tramx-btn--danger{background:#991b1b}
.tramx-form{display:grid;gap:14px}
.tramx-form label{display:grid;gap:6px;font-weight:700}
.tramx-form input,.tramx-form textarea,.tramx-form select{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:11px 12px;font:inherit;background:#fff}
.tramx-form textarea{min-height:120px;resize:vertical}
.tramx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.tramx-member-card{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--tramx-border);border-radius:16px;overflow:hidden;transition:.18s transform,.18s box-shadow}
.tramx-member-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(17,24,39,.09)}
.tramx-member-card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#e5e7eb}
.tramx-member-card div{padding:13px}
.tramx-member-card h3{margin:0 0 5px;font-size:18px}
.tramx-member-card p{margin:0;color:var(--tramx-muted)}
.tramx-profile-photo img{width:180px;height:180px;border-radius:18px;object-fit:cover}
.tramx-profile-view{max-width:900px;margin:0 auto}
.tramx-profile-hero{width:100%;max-height:520px;object-fit:cover;border-radius:18px 18px 0 0;display:block}
.tramx-profile-view .tramx-card{border-radius:0 0 18px 18px}
.tramx-badge{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;margin-right:6px;font-size:12px;font-weight:900;vertical-align:middle}
.tramx-badge--mod{background:#f59e0b;color:#111}
.tramx-messages-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px}
.tramx-conversations{background:#fff;border:1px solid var(--tramx-border);border-radius:16px;padding:14px}
.tramx-conversation{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;text-decoration:none;color:inherit}
.tramx-conversation:hover{background:#f3f4f6}
.tramx-conversation img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.tramx-conversation span{display:grid;min-width:0}
.tramx-conversation small{color:var(--tramx-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tramx-chat{background:#fff;border:1px solid var(--tramx-border);border-radius:16px;padding:14px;min-height:560px;display:flex;flex-direction:column}
.tramx-chat__messages{display:flex;flex-direction:column;gap:8px;overflow:auto;flex:1;min-height:400px;padding-bottom:10px}
.tramx-msg{max-width:76%;padding:10px 12px;border-radius:14px;background:#f3f4f6}
.tramx-msg.is-mine{align-self:flex-end;background:#fee2e2}
.tramx-chat form{display:flex;gap:8px}
.tramx-chat textarea{flex:1;min-height:54px;max-height:140px;border:1px solid #cbd5e1;border-radius:12px;padding:10px}
.tramx-friend-card{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--tramx-border)}
.tramx-friend-card img{width:52px;height:52px;border-radius:50%;object-fit:cover}
.tramx-friend-card span{flex:1}
.tramx-friend-state{display:inline-block;padding:8px 10px;background:#ecfdf5;border-radius:10px;color:#065f46;font-weight:800}
.tramx-event h2{margin-bottom:5px}
.tramx-topic{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--tramx-border);text-decoration:none;color:inherit}
.tramx-topic small{color:var(--tramx-muted)}

.tramx-group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;margin-bottom:18px}
.tramx-group-card{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--tramx-border);border-radius:16px;padding:18px;text-decoration:none!important;color:inherit!important;box-shadow:0 6px 22px rgba(17,24,39,.04);transition:transform .18s,box-shadow .18s}
.tramx-group-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(17,24,39,.09)}
.tramx-group-card__icon,.tramx-group-hero__icon{display:flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px;border-radius:14px;background:#fee2e2;font-size:28px}
.tramx-group-card h2{margin:0 0 6px;font-size:20px}
.tramx-group-card p{margin:0 0 8px;color:#374151}
.tramx-group-card small{color:var(--tramx-muted)}
.tramx-group-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:start;background:#fff;border:1px solid var(--tramx-border);border-radius:18px;padding:22px;margin-bottom:18px}
.tramx-group-hero h1{margin:0 0 7px}
.tramx-group-hero p{margin:0 0 8px}
.tramx-group-hero__action{align-self:center}
.tramx-state{display:inline-flex;padding:9px 11px;border-radius:10px;background:#ecfdf5;color:#065f46;font-weight:800}
.tramx-two-col{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px}
.tramx-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tramx-section-head h2{margin:0}
.tramx-group-members{display:grid;gap:6px}
.tramx-group-members a{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;text-decoration:none!important;color:inherit!important}
.tramx-group-members a:hover{background:#f3f4f6}
.tramx-group-members img{width:42px;height:42px;object-fit:cover;border-radius:50%}
.tramx-group-members span{display:grid}
.tramx-group-members small{color:var(--tramx-muted)}
.tramx-backlink{display:inline-flex;margin:4px 0 14px;text-decoration:none!important;font-weight:800}
.tramx-forum-categories{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 15px}
.tramx-forum-categories a{display:inline-flex;padding:8px 11px;border-radius:999px;border:1px solid var(--tramx-border);background:#fff;color:var(--tramx-dark)!important;text-decoration:none!important;font-size:13px;font-weight:800}
.tramx-forum-categories a.is-active,.tramx-forum-categories a:hover{background:var(--tramx-dark);border-color:var(--tramx-dark);color:#fff!important}
.tramx-forum-list{padding-top:8px;padding-bottom:8px}
.tramx-topic{align-items:center}
.tramx-topic>span{display:grid;gap:4px;min-width:0}
.tramx-topic__category,.tramx-forum-labels span{display:inline-flex;width:max-content;max-width:100%;padding:3px 7px;border-radius:999px;background:#f3f4f6;color:#4b5563;font-size:11px;font-weight:800}
.tramx-topic time{color:var(--tramx-muted);font-size:12px;white-space:nowrap}
.tramx-forum-post{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px}
.tramx-forum-post__meta{display:flex;gap:10px;align-items:flex-start}
.tramx-forum-post__meta img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.tramx-forum-post__meta div{display:grid}
.tramx-forum-post__meta small{color:var(--tramx-muted)}
.tramx-forum-post__body h1{font-size:clamp(24px,3vw,36px);margin:8px 0 12px}
.tramx-forum-post__body p{margin:0;white-space:normal}
.tramx-forum-labels{display:flex;gap:6px;flex-wrap:wrap}
.tramx-form-card{max-width:800px}
@media(max-width:1380px){
 .tramx-menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important}
 .tramx-nav{display:none!important;position:absolute!important;top:68px!important;left:0!important;right:0!important;background:#fff!important;border:1px solid var(--tramx-border)!important;border-top:0!important;padding:10px 14px 14px!important;box-shadow:0 14px 26px rgba(0,0,0,.10)!important}
 .tramx-nav.is-open{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.tramx-toolbar-login{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto!important;gap:8px!important;margin:4px 0 2px!important;padding:10px!important;background:#f8fafc!important;border:1px solid var(--tramx-border)!important;border-radius:12px!important}
 .tramx-toolbar-login input[type="text"],.tramx-toolbar-login input[type="password"]{width:100%!important;min-height:42px!important;font-size:14px!important}
 .tramx-toolbar-login__remember{align-self:center!important}
 .tramx-toolbar-login__submit{min-height:42px!important}
 .tramx-toolbar-login__lost{grid-column:1/-1!important;justify-self:start!important;padding:2px 0!important}
 .tramx-nav a{padding:12px!important}
 .tramx-brand small{display:none!important}
 .tramx-messages-layout{grid-template-columns:1fr}
 .tramx-chat{min-height:500px}
 .tramx-two-col{grid-template-columns:1fr}
}
@media(max-width:640px){
 body.tramx-toolbar-active{padding-top:60px!important}
 .admin-bar .tramx-toolbar{top:46px!important}
 .tramx-nav{top:60px!important}
 .tramx-nav.is-open{grid-template-columns:1fr!important}
 .tramx-toolbar-login{grid-template-columns:1fr!important;padding:10px!important}
 .tramx-toolbar-login__remember,.tramx-toolbar-login__lost{grid-column:1!important}
 .tramx-toolbar-login__submit{width:100%!important}
 .tramx-group-grid{grid-template-columns:1fr}
 .tramx-group-hero{grid-template-columns:auto minmax(0,1fr)}
 .tramx-group-hero__action{grid-column:1/-1}
 .tramx-forum-post{grid-template-columns:1fr}
 .tramx-forum-post__meta{border-bottom:1px solid var(--tramx-border);padding-bottom:10px}

 .tramx-toolbar__inner{padding:0 10px;min-height:60px}
 .tramx-brand strong{font-size:22px}
 .tramx-shell{padding:10px 8px}
 .tramx-card{border-radius:14px;padding:14px}
 .tramx-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .tramx-member-card div{padding:9px}
 .tramx-member-card h3{font-size:15px}
 .tramx-member-card p{font-size:12px}
 .tramx-chat form{flex-direction:column}
 .tramx-msg{max-width:88%}
}


/* Direktnachrichten als globales Popup / Overlay */
body.tramx-chat-open{overflow:hidden!important}
.tramx-chat-overlay[hidden]{display:none!important}
.tramx-chat-overlay{
 position:fixed!important;
 inset:0!important;
 z-index:2147483000!important;
 display:flex!important;
 align-items:flex-end!important;
 justify-content:flex-end!important;
 padding:22px!important;
 background:rgba(15,23,42,.48)!important;
 opacity:0;
 transition:opacity .16s ease;
 box-sizing:border-box!important;
}
.tramx-chat-overlay.is-open{opacity:1}
.tramx-chat-dialog{
 width:min(980px,calc(100vw - 44px))!important;
 height:min(720px,calc(100vh - 110px))!important;
 max-height:calc(100vh - 44px)!important;
 display:flex!important;
 flex-direction:column!important;
 overflow:hidden!important;
 background:#fff!important;
 border:1px solid var(--tramx-border)!important;
 border-radius:20px!important;
 box-shadow:0 28px 90px rgba(15,23,42,.34)!important;
 color:var(--tramx-dark)!important;
 transform:translateY(14px) scale(.985);
 transition:transform .16s ease;
}
.tramx-chat-overlay.is-open .tramx-chat-dialog{transform:translateY(0) scale(1)}
.tramx-chat-dialog__header{
 min-height:66px!important;
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:16px!important;
 padding:12px 14px 12px 18px!important;
 border-bottom:1px solid var(--tramx-border)!important;
 background:#fff!important;
}
.tramx-chat-dialog__title{display:grid!important;gap:1px!important;min-width:0}
.tramx-chat-dialog__title strong{font-size:18px!important;line-height:1.2!important}
.tramx-chat-dialog__title small{font-size:12px!important;color:var(--tramx-muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tramx-chat-close{
 width:40px!important;height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 40px!important;border:0!important;border-radius:12px!important;background:#f3f4f6!important;color:#111827!important;
 font:700 28px/1 Arial,sans-serif!important;cursor:pointer!important;padding:0!important
}
.tramx-chat-close:hover,.tramx-chat-close:focus{background:#e5e7eb!important;outline:2px solid transparent!important}
.tramx-chat-dialog__body{display:grid!important;grid-template-columns:320px minmax(0,1fr)!important;min-height:0!important;flex:1!important}
.tramx-chat-inbox{
 display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;
 border-right:1px solid var(--tramx-border)!important;background:#f8fafc!important
}
.tramx-chat-inbox__head{
 min-height:52px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:8px!important;padding:10px 12px 8px 14px!important
}
.tramx-chat-refresh{
 width:34px!important;height:34px!important;border:0!important;border-radius:10px!important;background:#fff!important;
 color:#374151!important;cursor:pointer!important;font-size:20px!important
}
.tramx-chat-inbox__list{overflow:auto!important;padding:0 8px 10px!important;min-height:0!important}
.tramx-chat-inbox .tramx-conversation{
 width:100%!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important;
 gap:10px!important;padding:9px!important;margin:2px 0!important;border:0!important;border-radius:12px!important;
 background:transparent!important;color:inherit!important;text-align:left!important;cursor:pointer!important;font:inherit!important
}
.tramx-chat-inbox .tramx-conversation:hover{background:#fff!important}
.tramx-chat-inbox .tramx-conversation.is-active{background:#fff!important;box-shadow:0 2px 10px rgba(15,23,42,.06)!important}
.tramx-chat-inbox .tramx-conversation img{width:48px!important;height:48px!important;border-radius:50%!important;object-fit:cover!important}
.tramx-chat-inbox .tramx-conversation span{display:grid!important;gap:2px!important;min-width:0!important}
.tramx-chat-inbox .tramx-conversation strong,.tramx-chat-inbox .tramx-conversation small{
 overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
}
.tramx-chat-inbox .tramx-conversation small{color:var(--tramx-muted)!important;font-size:12px!important}
.tramx-conversation__unread{
 min-width:22px!important;height:22px!important;padding:0 6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 border-radius:999px!important;background:var(--tramx-red)!important;color:#fff!important;font-size:11px!important;line-height:1!important
}
.tramx-chat-popup{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;background:#fff!important}
.tramx-chat-popup__user{
 min-height:58px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:8px 14px!important;
 border-bottom:1px solid var(--tramx-border)!important;background:#fff!important
}
.tramx-chat-popup__user[hidden]{display:none!important}
.tramx-chat-popup__user img{width:40px!important;height:40px!important;border-radius:50%!important;object-fit:cover!important}
.tramx-chat-popup__user>div{display:grid!important;min-width:0!important;flex:1!important}
.tramx-chat-popup__user strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tramx-chat-popup__user small{font-size:11px!important;color:var(--tramx-muted)!important}
.tramx-chat-back{display:none!important;border:0!important;background:#f3f4f6!important;border-radius:9px!important;padding:8px 10px!important;font-weight:800!important;cursor:pointer!important}
.tramx-chat-popup .tramx-chat__messages{
 flex:1!important;min-height:0!important;overflow:auto!important;padding:16px!important;display:flex!important;flex-direction:column!important;gap:9px!important;
 background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)!important
}
.tramx-chat-popup .tramx-msg{
 align-self:flex-start!important;max-width:min(76%,620px)!important;padding:9px 11px 7px!important;border-radius:14px 14px 14px 4px!important;
 background:#fff!important;border:1px solid #e5e7eb!important;box-shadow:0 2px 7px rgba(15,23,42,.04)!important;white-space:pre-wrap!important
}
.tramx-chat-popup .tramx-msg.is-mine{
 align-self:flex-end!important;background:#fee2e2!important;border-color:#fecaca!important;border-radius:14px 14px 4px 14px!important
}
.tramx-chat-popup .tramx-msg time{display:block!important;margin-top:4px!important;color:#6b7280!important;font-size:10px!important;text-align:right!important}
.tramx-chat-popup form{
 display:flex!important;align-items:flex-end!important;gap:8px!important;padding:10px!important;border-top:1px solid var(--tramx-border)!important;background:#fff!important
}
.tramx-chat-popup form[hidden]{display:none!important}
.tramx-chat-popup textarea{
 flex:1!important;min-height:46px!important;max-height:120px!important;resize:vertical!important;border:1px solid #cbd5e1!important;
 border-radius:12px!important;padding:11px 12px!important;font:inherit!important;background:#fff!important
}
.tramx-chat-popup form .tramx-btn{min-height:46px!important}
.tramx-chat-empty,.tramx-chat-error{padding:18px!important;color:var(--tramx-muted)!important;font-size:14px!important;line-height:1.5!important}
.tramx-chat-error{color:#991b1b!important}
.tramx-messages-page{max-width:720px!important}

@media(max-width:760px){
 .tramx-chat-overlay{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
 .tramx-chat-dialog{
   width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;
   transform:translateY(10px)!important
 }
 .tramx-chat-overlay.is-open .tramx-chat-dialog{transform:none!important}
 .tramx-chat-dialog__header{min-height:58px!important;padding:8px 10px 8px 14px!important}
 .tramx-chat-dialog__body{display:block!important;position:relative!important;overflow:hidden!important}
 .tramx-chat-inbox,.tramx-chat-popup{
   position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transition:transform .18s ease!important
 }
 .tramx-chat-inbox{border-right:0!important;transform:translateX(0)!important}
 .tramx-chat-popup{transform:translateX(100%)!important}
 .tramx-chat-dialog.show-chat .tramx-chat-inbox{transform:translateX(-100%)!important}
 .tramx-chat-dialog.show-chat .tramx-chat-popup{transform:translateX(0)!important}
 .tramx-chat-back{display:inline-flex!important;align-items:center!important}
 .tramx-chat-popup .tramx-chat__messages{padding:12px 10px!important}
 .tramx-chat-popup .tramx-msg{max-width:88%!important}
 .tramx-chat-popup form{padding:8px!important}
 .tramx-chat-popup textarea{font-size:16px!important;min-height:44px!important}
 .tramx-chat-popup form .tramx-btn{min-height:44px!important;padding-left:12px!important;padding-right:12px!important}
}

/* TramX 1.3: configurable toolbar logo and protected content */
.tramx-toolbar-logo{display:block;width:auto;max-width:220px;object-fit:contain}
.tramx-brand>span{display:flex;flex-direction:column;line-height:1.05}
.tramx-protected-preview>.tramx-card{margin-top:1.25rem}
@media(max-width:760px){.tramx-toolbar-logo{max-width:150px}}


/* TramX 1.4: generic community content popups */
body.tramx-content-open{overflow:hidden!important}
.tramx-content-overlay[hidden]{display:none!important}
.tramx-content-overlay{
 position:fixed!important;inset:0!important;z-index:999990!important;display:flex!important;align-items:center!important;justify-content:center!important;
 padding:24px!important;background:rgba(15,23,42,.62)!important;backdrop-filter:blur(3px)!important;opacity:0!important;transition:opacity .16s ease!important
}
.tramx-content-overlay.is-open{opacity:1!important}
.tramx-content-dialog{
 width:min(980px,96vw)!important;max-height:min(88dvh,900px)!important;display:flex!important;flex-direction:column!important;
 background:#f8fafc!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:18px!important;overflow:hidden!important;
 box-shadow:0 28px 80px rgba(15,23,42,.32)!important;transform:translateY(8px) scale(.99)!important;transition:transform .16s ease!important
}
.tramx-content-overlay.is-open .tramx-content-dialog{transform:none!important}
.tramx-content-dialog__header{
 min-height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
 padding:10px 12px 10px 18px!important;background:#fff!important;border-bottom:1px solid var(--tramx-border)!important
}
.tramx-content-dialog__header strong{font-size:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tramx-content-close{
 width:40px!important;height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 border:0!important;border-radius:10px!important;background:#f1f5f9!important;color:#111827!important;font-size:28px!important;line-height:1!important;cursor:pointer!important
}
.tramx-content-close:hover{background:#e2e8f0!important}
.tramx-content-dialog__body{min-height:180px!important;overflow:auto!important;padding:20px!important}
.tramx-content-dialog__body>.tramx-card:first-child,
.tramx-content-dialog__body>.tramx-page-head:first-child{margin-top:0!important}
.tramx-content-loading{padding:36px!important;text-align:center!important;color:var(--tramx-muted)!important}
.tramx-content-dialog .tramx-shell{max-width:none!important;padding:0!important;margin:0!important}
.tramx-content-dialog .tramx-profile-view{max-width:820px!important;margin:0 auto!important}
.tramx-friend-card__profile{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;flex:1!important;color:inherit!important;text-decoration:none!important}
.tramx-forum-post__meta a{color:inherit!important;text-decoration:none!important}
.tramx-forum-post__meta a:hover{text-decoration:underline!important}

@media(max-width:760px){
 .tramx-content-overlay{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
 .tramx-content-dialog{width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}
 .tramx-content-dialog__header{min-height:58px!important;padding:8px 10px 8px 14px!important}
 .tramx-content-dialog__body{padding:12px 10px 24px!important}
}


/* TramX 1.5: activity mail preferences and photo ranking */
.tramx-notification-settings{
 margin:8px 0 4px!important;padding:14px 16px!important;border:1px solid var(--tramx-border)!important;border-radius:12px!important;background:#f8fafc!important
}
.tramx-notification-settings legend{padding:0 6px!important;font-weight:700!important}
.tramx-notification-settings label{display:flex!important;align-items:flex-start!important;gap:8px!important;margin:8px 0!important}
.tramx-notification-settings input[type=checkbox]{margin-top:3px!important}
.tramx-form-help{margin:0 0 8px!important;color:var(--tramx-muted)!important;font-size:14px!important}

.tramx-ranking-tabs{
 display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 18px!important
}
.tramx-ranking-tabs a{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:9px 14px!important;border:1px solid var(--tramx-border)!important;
 border-radius:999px!important;background:#fff!important;color:var(--tramx-text)!important;text-decoration:none!important;font-weight:700!important
}
.tramx-ranking-tabs a.is-active{background:var(--tramx-brand)!important;border-color:var(--tramx-brand)!important;color:#fff!important}
.tramx-ranking-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-bottom:20px!important
}
.tramx-ranking-card{
 position:relative!important;overflow:hidden!important;background:#fff!important;border:1px solid var(--tramx-border)!important;border-radius:16px!important;
 box-shadow:0 8px 24px rgba(15,23,42,.06)!important
}
.tramx-ranking-card__rank{
 position:absolute!important;z-index:2!important;top:10px!important;left:10px!important;min-width:42px!important;padding:6px 9px!important;border-radius:999px!important;
 background:rgba(15,23,42,.86)!important;color:#fff!important;text-align:center!important;font-weight:800!important
}
.tramx-ranking-card__image{display:block!important;width:100%!important;aspect-ratio:4/3!important;object-fit:cover!important;background:#e5e7eb!important}
.tramx-ranking-card__body{padding:16px!important}
.tramx-ranking-card__body h2{margin:0 0 8px!important;font-size:20px!important}
.tramx-ranking-meta{font-size:14px!important;color:var(--tramx-muted)!important}
.tramx-ranking-vote{
 display:flex!important;align-items:end!important;gap:10px!important;flex-wrap:wrap!important;margin-top:12px!important
}
.tramx-ranking-vote label{display:flex!important;flex-direction:column!important;gap:5px!important;font-weight:700!important}
.tramx-ranking-vote select{min-width:150px!important}
.tramx-btn--small{min-height:38px!important;padding:8px 12px!important}
.tramx-ranking-upload{margin-top:20px!important}
.tramx-ranking-own{display:grid!important;gap:8px!important}
.tramx-ranking-own>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 0!important;border-bottom:1px solid var(--tramx-border)!important}
.tramx-ranking-own>div:last-child{border-bottom:0!important}
.tramx-ranking-own span{color:var(--tramx-muted)!important;font-size:14px!important;text-align:right!important}

@media(max-width:760px){
 .tramx-ranking-grid{grid-template-columns:1fr!important;gap:14px!important}
 .tramx-ranking-card__body{padding:14px!important}
 .tramx-ranking-vote{align-items:stretch!important}
 .tramx-ranking-vote label,.tramx-ranking-vote select,.tramx-ranking-vote .tramx-btn{width:100%!important}
 .tramx-ranking-own>div{align-items:flex-start!important;flex-direction:column!important}
 .tramx-ranking-own span{text-align:left!important}
}


/* TramX 1.6: consolidated responsive/mobile layer */
html{max-width:100%;overflow-x:hidden}
body.tramx-toolbar-active,
body.tramx-community-page{max-width:100%;overflow-x:hidden}
.tramx-shell,
.tramx-shell *,
.tramx-content-dialog *,
.tramx-chat-dialog *{box-sizing:border-box}
.tramx-shell img,
.tramx-card img,
.tramx-content-dialog img{max-width:100%;height:auto}
.tramx-card,
.tramx-topic,
.tramx-group-card,
.tramx-group-hero,
.tramx-friend-card,
.tramx-forum-post,
.tramx-ranking-card{min-width:0}
.tramx-card,
.tramx-card p,
.tramx-card a,
.tramx-card div,
.tramx-topic,
.tramx-topic *,
.tramx-forum-post,
.tramx-forum-post *,
.tramx-group-card,
.tramx-group-card *{overflow-wrap:anywhere;word-break:normal}
.tramx-toolbar__inner{padding-left:max(14px,env(safe-area-inset-left))!important;padding-right:max(14px,env(safe-area-inset-right))!important}
.tramx-nav{max-height:calc(100dvh - 68px - env(safe-area-inset-bottom))!important;overflow-y:auto!important;overscroll-behavior:contain!important}
.tramx-content-dialog__body,
.tramx-chat-dialog__body{-webkit-overflow-scrolling:touch}
.tramx-btn,
.tramx-menu-toggle,
.tramx-content-close,
.tramx-chat-close,
.tramx-chat-back{touch-action:manipulation}
.tramx-form input,
.tramx-form textarea,
.tramx-form select,
.tramx-toolbar-login input{max-width:100%}

@media(max-width:1024px){
  .tramx-shell{padding:16px 14px!important}
  .tramx-page-head{margin:8px 0 16px!important}
  .tramx-page-head h1{font-size:clamp(26px,6vw,38px)!important;line-height:1.08!important}
  .tramx-card{padding:18px!important;border-radius:16px!important}
  .tramx-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .tramx-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .tramx-two-col{grid-template-columns:1fr!important}
  .tramx-messages-layout{grid-template-columns:1fr!important}
  .tramx-profile-view{max-width:760px!important}
  .tramx-profile-hero{max-height:430px!important}
  .tramx-group-hero{grid-template-columns:auto minmax(0,1fr)!important}
  .tramx-group-hero__action{grid-column:1/-1!important;justify-self:start!important}
  .tramx-ranking-grid{gap:14px!important}
  .tramx-nav.is-open{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tramx-nav a{min-height:46px!important}
}

@media(max-width:760px){
  :root{--tramx-radius:14px}
  body.tramx-toolbar-active{padding-top:60px!important}
  .tramx-toolbar{min-height:60px!important}
  .tramx-toolbar__inner{
    min-height:60px!important;
    padding-left:max(10px,env(safe-area-inset-left))!important;
    padding-right:max(10px,env(safe-area-inset-right))!important;
    gap:8px!important
  }
  .tramx-home{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:11px!important;font-size:23px!important}
  .tramx-brand{min-width:0!important;gap:5px!important;flex:1 1 auto!important}
  .tramx-brand>span{min-width:0!important}
  .tramx-brand strong{font-size:20px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .tramx-brand small{display:none!important}
  .tramx-toolbar-logo{max-width:128px!important;max-height:40px!important;width:auto!important}
  .tramx-menu-toggle{display:inline-flex!important;flex:0 0 auto!important;width:44px!important;height:44px!important;padding:0!important}
  .tramx-nav{
    top:60px!important;
    left:0!important;right:0!important;
    padding:10px max(10px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;
    max-height:calc(100dvh - 60px - env(safe-area-inset-bottom))!important;
    border-left:0!important;border-right:0!important;border-radius:0 0 14px 14px!important
  }
  .admin-bar .tramx-nav{max-height:calc(100dvh - 106px - env(safe-area-inset-bottom))!important}
  .tramx-nav.is-open{grid-template-columns:1fr 1fr!important;gap:7px!important}
  .tramx-nav a{
    width:100%!important;min-width:0!important;min-height:48px!important;
    justify-content:flex-start!important;padding:11px 12px!important;border:1px solid #eef0f3!important;background:#fafafa!important;
    white-space:normal!important;font-size:14px!important
  }
  .tramx-nav a.tramx-nav__cta{justify-content:center!important}
  .tramx-toolbar-login{
    grid-column:1/-1!important;grid-template-columns:1fr!important;
    gap:9px!important;padding:12px!important;margin:2px 0!important;border-radius:13px!important
  }
  .tramx-toolbar-login input[type="text"],
  .tramx-toolbar-login input[type="password"]{width:100%!important;min-height:48px!important;font-size:16px!important}
  .tramx-toolbar-login__submit{width:100%!important;min-height:48px!important;font-size:14px!important}
  .tramx-toolbar-login__remember,.tramx-toolbar-login__lost{grid-column:1!important;font-size:13px!important}
  .tramx-shell{width:100%!important;padding:12px 10px 24px!important}
  .tramx-page-head{margin:6px 2px 14px!important}
  .tramx-page-head h1{font-size:28px!important;line-height:1.08!important}
  .tramx-page-head p{font-size:14px!important;line-height:1.5!important}
  .tramx-card{padding:14px!important;margin-bottom:12px!important;border-radius:14px!important;box-shadow:0 4px 16px rgba(17,24,39,.045)!important}
  .tramx-card h2{font-size:21px!important;line-height:1.2!important}
  .tramx-card h3{font-size:18px!important;line-height:1.25!important}
  .tramx-form{gap:12px!important}
  .tramx-form label{gap:6px!important;font-size:14px!important}
  .tramx-form input,
  .tramx-form textarea,
  .tramx-form select{
    min-height:48px!important;border-radius:11px!important;padding:11px 12px!important;font-size:16px!important;line-height:1.35!important
  }
  .tramx-form textarea{min-height:130px!important}
  .tramx-form input[type=checkbox],
  .tramx-form input[type=radio]{min-height:0!important;width:20px!important;height:20px!important;padding:0!important}
  .tramx-btn{min-height:46px!important;padding:10px 14px!important;border-radius:11px!important;font-size:14px!important}
  .tramx-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .tramx-member-card{border-radius:13px!important}
  .tramx-member-card div{padding:10px!important}
  .tramx-member-card h3{font-size:15px!important;line-height:1.2!important}
  .tramx-member-card p{font-size:12px!important;line-height:1.35!important}
  .tramx-profile-view{width:100%!important;max-width:none!important}
  .tramx-profile-hero{width:100%!important;max-height:360px!important;border-radius:14px 14px 0 0!important}
  .tramx-profile-view .tramx-card{border-radius:0 0 14px 14px!important}
  .tramx-profile-photo img{width:132px!important;height:132px!important;border-radius:16px!important}
  .tramx-group-grid{grid-template-columns:1fr!important;gap:10px!important}
  .tramx-group-card{padding:14px!important;gap:12px!important;border-radius:14px!important}
  .tramx-group-card__icon,.tramx-group-hero__icon{width:48px!important;height:48px!important;flex-basis:48px!important;font-size:24px!important}
  .tramx-group-card h2{font-size:18px!important}
  .tramx-group-hero{grid-template-columns:auto minmax(0,1fr)!important;gap:12px!important;padding:14px!important;border-radius:14px!important}
  .tramx-group-hero__action{grid-column:1/-1!important;width:100%!important}
  .tramx-group-hero__action .tramx-btn{width:100%!important}
  .tramx-section-head{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
  .tramx-section-head .tramx-btn{width:100%!important}
  .tramx-topic{flex-direction:column!important;align-items:flex-start!important;gap:5px!important;padding:12px 2px!important}
  .tramx-topic__main,.tramx-topic__category{width:100%!important;min-width:0!important}
  .tramx-forum-post{grid-template-columns:1fr!important;padding:0!important;border-radius:14px!important;overflow:hidden!important}
  .tramx-forum-post__meta{padding:12px 14px!important;border-right:0!important;border-bottom:1px solid var(--tramx-border)!important}
  .tramx-forum-post__body{padding:14px!important}
  .tramx-forum-post__body h1{font-size:24px!important}
  .tramx-friend-card{align-items:flex-start!important;flex-wrap:wrap!important;padding:12px 0!important}
  .tramx-friend-card__profile{width:100%!important}
  .tramx-friend-card>.tramx-btn,
  .tramx-friend-card>form{margin-left:64px!important}
  .tramx-event{padding:14px!important}
  .tramx-event h2{font-size:20px!important}
  .tramx-event .tramx-btn{width:100%!important;margin-top:8px!important}
  .tramx-ranking-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .tramx-ranking-tabs a{min-height:44px!important;padding:8px 10px!important;border-radius:11px!important;text-align:center!important}
  .tramx-ranking-grid{grid-template-columns:1fr!important;gap:12px!important}
  .tramx-ranking-card{border-radius:14px!important}
  .tramx-ranking-card__image{aspect-ratio:4/3!important}
  .tramx-ranking-card__body{padding:13px!important}
  .tramx-ranking-card__body h2{font-size:19px!important}
  .tramx-ranking-vote{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .tramx-ranking-vote label,.tramx-ranking-vote select,.tramx-ranking-vote .tramx-btn{width:100%!important}
  .tramx-ranking-vote select{min-height:46px!important;font-size:16px!important}
  .tramx-ranking-own>div{flex-direction:column!important;align-items:flex-start!important}
  .tramx-ranking-own span{text-align:left!important}
  .tramx-notification-settings{padding:12px!important}
  .tramx-notification-settings label{min-height:34px!important;gap:10px!important}
  .tramx-notification-settings input[type=checkbox]{width:20px!important;height:20px!important;flex:0 0 auto!important}
  .tramx-content-overlay{padding:0!important}
  .tramx-content-dialog{
    width:100%!important;height:100dvh!important;max-height:100dvh!important;
    border-radius:0!important;border:0!important
  }
  .tramx-content-dialog__header{
    min-height:58px!important;padding:8px max(10px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left))!important;
    flex:0 0 auto!important
  }
  .tramx-content-dialog__body{
    min-height:0!important;flex:1 1 auto!important;
    padding:10px max(10px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important
  }
  .tramx-content-dialog__body .tramx-shell{padding:0!important}
  .tramx-chat-overlay{padding:0!important}
  .tramx-chat-dialog{width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
  .tramx-chat-dialog__header{flex:0 0 auto!important}
  .tramx-chat-dialog__body{min-height:0!important;flex:1 1 auto!important}
  .tramx-chat-inbox,.tramx-chat-popup{min-width:0!important}
  .tramx-chat-inbox__head{padding:10px!important}
  .tramx-chat-popup .tramx-chat__messages{padding:10px!important}
  .tramx-chat-popup form{
    padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;
    align-items:stretch!important
  }
  .tramx-chat-popup textarea{font-size:16px!important;min-height:48px!important;max-height:110px!important}
  .tramx-chat-popup form .tramx-btn{min-height:48px!important}
  .tramx-msg{max-width:86%!important;font-size:14px!important;line-height:1.45!important}
}

@media(max-width:520px){
  .tramx-form>.tramx-btn,.tramx-form>button.tramx-btn{width:100%!important}
  .tramx-nav.is-open{grid-template-columns:1fr!important}
  .tramx-grid{grid-template-columns:1fr!important;gap:10px!important}
  .tramx-member-card{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;align-items:center!important}
  .tramx-member-card img{width:92px!important;height:92px!important;aspect-ratio:1!important}
  .tramx-member-card div{padding:11px!important}
  .tramx-profile-hero{max-height:300px!important}
  .tramx-profile-photo img{width:112px!important;height:112px!important}
  .tramx-ranking-tabs{grid-template-columns:1fr!important}
  .tramx-group-card{align-items:center!important}
  .tramx-friend-card>.tramx-btn,
  .tramx-friend-card>form{margin-left:0!important;width:100%!important}
  .tramx-friend-card>.tramx-btn,
  .tramx-friend-card>form .tramx-btn{width:100%!important}
  .tramx-toolbar-logo{max-width:112px!important}
  .tramx-home{display:none!important}
}

@media(max-width:380px){
  .tramx-toolbar__inner{padding-left:8px!important;padding-right:8px!important}
  .tramx-brand strong{font-size:18px!important}
  .tramx-toolbar-logo{max-width:96px!important}
  .tramx-shell{padding-left:8px!important;padding-right:8px!important}
  .tramx-card{padding:12px!important}
  .tramx-page-head h1{font-size:25px!important}
}


/* TramX 1.7 – eigene Authentifizierungsseiten */
.tramx-auth-card{max-width:620px;margin:32px auto}
.tramx-auth-card h1{margin-top:0}
.tramx-auth-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.tramx-notice{padding:13px 15px;border-radius:12px;margin:0 0 18px;font-weight:600}
.tramx-notice--success{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}
.tramx-notice--error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
@media (max-width:640px){
  .tramx-auth-card{margin:12px 0;max-width:none}
  .tramx-auth-card .tramx-btn{width:100%;min-height:48px}
}


/* TramX v1.7.1 – Toolbar notification counters */
.tramx-nav a[data-tramx-nav-key],
.tramx-menu-toggle{
    position:relative!important;
    overflow:visible!important;
}
.tramx-nav-label{display:inline-block!important}
.tramx-nav-badge{
    position:absolute!important;
    top:-6px!important;
    right:-4px!important;
    z-index:3!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:19px!important;
    height:19px!important;
    padding:0 5px!important;
    border:2px solid #fff!important;
    border-radius:999px!important;
    background:#dc2626!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:0!important;
    box-shadow:0 2px 7px rgba(127,29,29,.28)!important;
    pointer-events:none!important;
}
.tramx-nav-badge[hidden]{display:none!important}
.tramx-nav-badge--menu{
    top:-5px!important;
    right:-5px!important;
    min-width:20px!important;
    height:20px!important;
}
@media (max-width:1180px){
    .tramx-nav.is-open a[data-tramx-nav-key]{padding-right:38px!important}
    .tramx-nav.is-open .tramx-nav-badge{
        top:50%!important;
        right:10px!important;
        transform:translateY(-50%)!important;
    }
}


/* TramX v1.8 – Frontend-Moderation & popupfähige Community-Bereiche */
.tramx-moderation-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 0 18px;
}
.tramx-moderation-summary .tramx-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  margin:0;
}
.tramx-moderation-summary strong{
  font-size:30px;
  line-height:1;
}
.tramx-moderation-summary span{
  font-size:13px;
  opacity:.75;
}
.tramx-moderation-section{margin-bottom:18px}
.tramx-moderation-section>h2{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.tramx-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:26px;
  height:26px;
  padding:0 8px;
  border-radius:999px;
  background:#f3f4f6;
  font-size:12px;
  font-weight:800;
}
.tramx-moderation-list{
  display:grid;
  gap:10px;
}
.tramx-moderation-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
}
.tramx-moderation-item__main{min-width:0}
.tramx-moderation-item__main h3{margin:0 0 5px;font-size:17px}
.tramx-moderation-item__main p{margin:3px 0}
.tramx-moderation-item__main small{opacity:.72}
.tramx-moderation-avatar{
  width:64px;
  height:64px;
  border-radius:12px;
  object-fit:cover;
}
.tramx-moderation-photo{
  width:120px;
  height:84px;
  border-radius:10px;
  object-fit:cover;
  display:block;
}
.tramx-moderation-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
}
.tramx-inline-form{display:inline-flex;margin:0}
.tramx-moderation-preview{font-size:14px;line-height:1.45}
.tramx-moderation-preview p{margin:4px 0}
.tramx-content-dialog__body .tramx-ranking-grid,
.tramx-content-dialog__body .tramx-events,
.tramx-content-dialog__body .tramx-grid{
  width:100%;
}

@media(max-width:900px){
  .tramx-moderation-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tramx-moderation-item{grid-template-columns:auto minmax(0,1fr)}
  .tramx-moderation-actions{grid-column:1/-1;justify-content:flex-start}
}

@media(max-width:640px){
  .tramx-moderation-summary{grid-template-columns:1fr 1fr;gap:8px}
  .tramx-moderation-summary .tramx-card{padding:12px!important}
  .tramx-moderation-summary strong{font-size:25px}
  .tramx-moderation-item{
    grid-template-columns:1fr!important;
    gap:10px!important;
    align-items:start!important;
  }
  .tramx-moderation-avatar{width:72px;height:72px}
  .tramx-moderation-photo{width:100%;height:auto;aspect-ratio:4/3}
  .tramx-moderation-actions{
    grid-column:auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
  }
  .tramx-inline-form,
  .tramx-inline-form .tramx-btn{width:100%!important}
}


/* TramX v1.9 – Blog-Dropdown & Kontosicherheit */
.tramx-nav-dropdown{position:relative!important;display:flex!important;align-items:center!important;margin:0!important;padding:0!important}
.tramx-nav-dropdown__top{display:flex!important;align-items:center!important;gap:0!important}
.tramx-nav-dropdown__top>a{border-radius:9px 0 0 9px!important;padding-right:6px!important}
.tramx-nav-dropdown__toggle{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:28px!important;min-width:28px!important;height:38px!important;min-height:38px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0 9px 9px 0!important;
  background:transparent!important;color:var(--tramx-dark)!important;font:inherit!important;font-weight:900!important;cursor:pointer!important
}
.tramx-nav-dropdown__top:hover,.tramx-nav-dropdown__top:focus-within{background:#f3f4f6!important;border-radius:9px!important}
.tramx-nav-dropdown__menu{
  position:absolute!important;top:calc(100% + 7px)!important;left:0!important;z-index:100005!important;
  min-width:220px!important;max-width:min(320px,90vw)!important;padding:8px!important;
  background:#fff!important;border:1px solid var(--tramx-border)!important;border-radius:12px!important;
  box-shadow:0 14px 35px rgba(17,24,39,.16)!important;display:none!important
}
.tramx-nav-dropdown:hover .tramx-nav-dropdown__menu,
.tramx-nav-dropdown:focus-within .tramx-nav-dropdown__menu,
.tramx-nav-dropdown.is-open .tramx-nav-dropdown__menu{display:grid!important;gap:2px!important}
.tramx-nav-dropdown__menu a{display:flex!important;width:100%!important;min-height:38px!important;justify-content:flex-start!important;padding:8px 10px!important;border-radius:8px!important}
.tramx-danger-zone{border-color:#fecaca;background:#fffafa}
.tramx-danger-zone h2{color:#991b1b}
.tramx-account-security,.tramx-danger-zone{max-width:900px}

@media(max-width:1380px){
  .tramx-nav.is-open .tramx-nav-dropdown{display:block!important;width:100%!important}
  .tramx-nav.is-open .tramx-nav-dropdown__top{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;width:100%!important}
  .tramx-nav.is-open .tramx-nav-dropdown__top>a{width:100%!important;border-radius:9px 0 0 9px!important}
  .tramx-nav.is-open .tramx-nav-dropdown__toggle{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;background:#f3f4f6!important}
  .tramx-nav.is-open .tramx-nav-dropdown__menu{
    position:static!important;min-width:0!important;max-width:none!important;width:100%!important;
    margin-top:4px!important;box-shadow:none!important;background:#f8fafc!important
  }
  .tramx-nav.is-open .tramx-nav-dropdown:not(.is-open) .tramx-nav-dropdown__menu{display:none!important}
  .tramx-nav.is-open .tramx-nav-dropdown.is-open .tramx-nav-dropdown__menu{display:grid!important}
}
