/* UniVerse Hub Orga MVP */
.uvh-orga-page{
  --panel-bg:#050c18;
  --panel-border:#0d1f38;
  --inner-box-bg:#040914;
  --inner-box-border:#132a4a;
  --accent-blue:#3b82f6;
  --accent-cyan:#00e5ff;
  --accent-orange:#f97316;
  --text-main:#fff;
  --text-soft:#94a3b8;
  width:min(1320px, calc(100vw - 40px));
  margin:0 auto;
  padding:40px 0;
  color:var(--text-main);
  box-sizing:border-box;
}
.uvh-orga-page *{box-sizing:border-box}
.uvh-orga-hero{
  position:relative;
  padding:32px;
  margin-bottom:24px;
  border:1px solid var(--panel-border);
  border-radius:14px;
  background:
    radial-gradient(circle at 85% 10%, rgba(0,229,255,.08), transparent 32%),
    linear-gradient(180deg, rgba(5,12,24,.96), rgba(5,12,24,.88));
  box-shadow:0 10px 26px rgba(0,0,0,.24);
  overflow:hidden;
}
.uvh-orga-hero:after{
  content:"";
  position:absolute;
  right:-80px;
  top:-120px;
  width:340px;
  height:340px;
  border-radius:50%;
  border:1px solid rgba(0,229,255,.09);
  box-shadow:inset 0 0 60px rgba(0,229,255,.04);
  pointer-events:none;
}
.uvh-orga-kicker,
.uvh-card-kicker{
  color:var(--accent-cyan);
  text-transform:uppercase;
  letter-spacing:.11em;
  font-weight:700;
  font-size:11px;
  margin-bottom:8px;
}
.uvh-orga-hero h1{
  margin:0 0 10px;
  font-size:clamp(36px, 5vw, 64px);
  line-height:1;
  letter-spacing:-.04em;
  background:linear-gradient(90deg,#fff,#b9ebff 38%,#00b4d8);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.uvh-orga-hero p{
  max-width:720px;
  margin:0;
  color:#c8d4e5;
  line-height:1.6;
}
.uvh-orga-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.uvh-orga-card{
  border:1px solid var(--panel-border);
  border-radius:12px;
  padding:22px;
  background:linear-gradient(180deg, rgba(5,12,24,.96), rgba(5,12,24,.88));
  box-shadow:0 10px 22px rgba(0,0,0,.22);
}
.uvh-orga-card.uvh-wide{grid-column:1/-1}
.uvh-orga-card h2,
.uvh-orga-card h3{
  margin:0 0 10px;
  color:#fff;
}
.uvh-orga-card p{
  color:var(--text-soft);
  line-height:1.55;
}
.uvh-orga-muted{color:var(--text-soft);font-size:13px;line-height:1.5}
.uvh-orga-form{
  display:grid;
  gap:12px;
}
.uvh-orga-form label{
  color:var(--text-soft);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:700;
}
.uvh-orga-form input,
.uvh-orga-form textarea{
  width:100%;
  border:1px solid var(--inner-box-border);
  background:var(--inner-box-bg);
  color:#fff;
  border-radius:8px;
  padding:12px 13px;
  font:inherit;
}
.uvh-orga-form textarea{min-height:120px;resize:vertical}
.uvh-checkline{
  display:flex!important;
  align-items:center;
  gap:8px;
  text-transform:none!important;
  letter-spacing:0!important;
  font-size:13px!important;
}
.uvh-checkline input{width:auto}
.uvh-orga-btn,
.uvh-orga-page button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(0,229,255,.24);
  border-radius:8px;
  background:rgba(0,229,255,.04);
  color:#eafaff;
  text-decoration:none;
  padding:10px 14px;
  font-weight:700;
  font-size:13px;
  cursor:pointer;
  transition:.18s ease;
}
.uvh-orga-btn:hover,
.uvh-orga-page button:hover{
  background:rgba(0,229,255,.09);
  border-color:rgba(0,229,255,.45);
}
.uvh-orga-primary{
  background:rgba(59,130,246,.72)!important;
  border-color:rgba(59,130,246,.9)!important;
  color:#fff!important;
}
.uvh-orga-danger{
  border-color:rgba(248,113,113,.35)!important;
  color:#fecaca!important;
}
.uvh-orga-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.uvh-orga-list{display:grid;gap:14px}
.uvh-orga-item{
  border:1px solid var(--inner-box-border);
  border-radius:10px;
  padding:16px;
  background:rgba(4,9,20,.62);
}
.uvh-orga-item-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.uvh-orga-item h3{margin:0;font-size:20px}
.uvh-badges{display:flex;flex-wrap:wrap;gap:7px}
.uvh-badge{
  display:inline-flex;
  border:1px solid rgba(148,163,184,.18);
  border-radius:999px;
  padding:5px 9px;
  color:#cbd5e1;
  background:rgba(148,163,184,.06);
  font-size:11px;
  font-weight:700;
}
.uvh-badge.ok{border-color:rgba(34,197,94,.35);color:#86efac;background:rgba(34,197,94,.08)}
.uvh-badge.warn{border-color:rgba(249,115,22,.4);color:#fdba74;background:rgba(249,115,22,.08)}
.uvh-member-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:10px;
}
.uvh-member{
  border:1px solid rgba(148,163,184,.14);
  border-radius:8px;
  padding:10px;
  background:rgba(15,23,42,.35);
}
.uvh-member strong{display:block}
.uvh-member span{display:block;color:var(--text-soft);font-size:12px;margin-top:3px}
.uvh-application{
  border:1px solid rgba(0,229,255,.16);
  border-radius:10px;
  padding:14px;
  background:rgba(0,229,255,.035);
}
.uvh-application blockquote{
  margin:10px 0;
  padding:12px;
  border-left:3px solid rgba(0,229,255,.35);
  background:rgba(4,9,20,.5);
  color:#dbeafe;
}
.uvh-alert{
  padding:12px 14px;
  border-radius:8px;
  margin:0 0 14px;
  background:rgba(0,229,255,.06);
  border:1px solid rgba(0,229,255,.18);
  color:#dffaff;
}
.uvh-alert.err{
  background:rgba(248,113,113,.08);
  border-color:rgba(248,113,113,.28);
  color:#fecaca;
}
.uvh-search-top{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  margin-bottom:16px;
}
.uvh-search-top input{
  width:min(420px,100%);
  border:1px solid var(--inner-box-border);
  background:var(--inner-box-bg);
  color:#fff;
  border-radius:8px;
  padding:11px 13px;
}
.uvh-apply-box{
  display:grid;
  gap:10px;
  margin-top:14px;
}
.uvh-apply-box textarea{
  width:100%;
  min-height:92px;
  resize:vertical;
  border:1px solid var(--inner-box-border);
  background:var(--inner-box-bg);
  color:#fff;
  border-radius:8px;
  padding:12px;
  font:inherit;
}
@media(max-width:900px){
  .uvh-orga-grid{grid-template-columns:1fr}
  .uvh-orga-card.uvh-wide{grid-column:auto}
  .uvh-orga-item-head,.uvh-search-top{flex-direction:column;align-items:flex-start}
}


/* V1.3.2 Layout-Fix gegen überstehende innere Boxen */
.uvh-orga-root,
.uvh-orga-app,
.uvh-orga-card,
.uvh-orga-item,
.uvh-application,
.uvh-member,
.uvh-hub-preview,
.uvh-orga-form,
.uvh-apply-box {
  min-width: 0;
  max-width: 100%;
}

.uvh-orga-page {
  overflow-x: hidden;
}

.uvh-orga-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.uvh-orga-card,
.uvh-orga-item,
.uvh-application,
.uvh-member {
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.uvh-orga-form input,
.uvh-orga-form textarea,
.uvh-search-top input,
.uvh-apply-box textarea {
  min-width: 0;
  max-width: 100%;
}

.uvh-orga-item-head > div {
  min-width: 0;
}

.uvh-hub-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.uvh-hub-preview div {
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 9px;
  background: rgba(4,9,20,.58);
  padding: 12px;
  min-width: 0;
}

.uvh-hub-preview strong {
  display: block;
  color: #fff;
  font-size: 13px;
  margin-bottom: 5px;
}

.uvh-hub-preview span {
  display: block;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
}

@media(max-width:900px){
  .uvh-orga-grid{grid-template-columns:1fr}
  .uvh-hub-preview{grid-template-columns:1fr 1fr}
}

@media(max-width:560px){
  .uvh-hub-preview{grid-template-columns:1fr}
}


/* V1.3.3 Orga Hub */
.uvh-hub-big-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:18px 0;
}
.uvh-hub-tile{
  border:1px solid rgba(0,229,255,.16);
  border-radius:12px;
  padding:16px;
  background:rgba(0,229,255,.035);
  min-height:135px;
  min-width:0;
}
.uvh-hub-tile strong{
  display:block;
  color:#fff;
  margin-bottom:8px;
  font-size:15px;
}
.uvh-hub-tile span{
  display:block;
  color:var(--text-soft);
  font-size:13px;
  line-height:1.45;
}
.uvh-hub-tile em{
  display:inline-flex;
  margin-top:13px;
  border:1px solid rgba(249,115,22,.32);
  color:#fdba74;
  background:rgba(249,115,22,.08);
  border-radius:999px;
  padding:4px 8px;
  font-style:normal;
  font-size:11px;
  font-weight:700;
}
.uvh-hub-main{
  overflow:hidden;
}
@media(max-width:1050px){
  .uvh-hub-big-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .uvh-hub-big-grid{grid-template-columns:1fr}
}


/* V1.3.4 Orga Verwaltung + Hub */
.uvh-management-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  margin:18px 0;
}
.uvh-management-panel{
  border:1px solid rgba(148,163,184,.14);
  border-radius:10px;
  padding:16px;
  background:rgba(4,9,20,.52);
  min-width:0;
  overflow:hidden;
}
.uvh-member-table,
.uvh-history-list{
  display:grid;
  gap:10px;
}
.uvh-member-row,
.uvh-history-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:9px;
  padding:12px;
  background:rgba(15,23,42,.30);
  min-width:0;
}
.uvh-member-row > div:first-child,
.uvh-history-row > div:first-child{
  min-width:0;
}
.uvh-member-row strong,
.uvh-history-row strong{
  display:block;
  color:#fff;
}
.uvh-member-row span,
.uvh-history-row span{
  display:block;
  color:var(--text-soft);
  font-size:12px;
  margin-top:3px;
  overflow-wrap:anywhere;
}
.uvh-member-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}
.uvh-member-actions select{
  border:1px solid var(--inner-box-border);
  background:var(--inner-box-bg);
  color:#fff;
  border-radius:8px;
  padding:9px 10px;
}
.uvh-hub-preview a{
  display:block;
  text-decoration:none;
  color:inherit;
}
.uvh-hub-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:18px 0;
}
.uvh-hub-stats div{
  border:1px solid rgba(0,229,255,.16);
  border-radius:10px;
  padding:14px;
  background:rgba(0,229,255,.035);
}
.uvh-hub-stats span{
  display:block;
  color:var(--text-soft);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:6px;
}
.uvh-hub-stats strong{
  display:block;
  font-size:26px;
  color:#fff;
}
@media(max-width:900px){
  .uvh-management-grid,
  .uvh-hub-stats{grid-template-columns:1fr}
  .uvh-member-row,
  .uvh-history-row{align-items:flex-start;flex-direction:column}
  .uvh-member-actions{justify-content:flex-start}
}


/* V1.3.5 Planung, Forum, Chat */
.uvh-hub-big-grid .uvh-hub-tile,
.uvh-hub-tile{
  text-align:left;
  text-decoration:none;
  color:inherit;
}
.uvh-hub-tile:not(.disabled):hover{
  border-color:rgba(0,229,255,.45);
  background:rgba(0,229,255,.07);
}
.uvh-hub-tile.uvh-chat-open{
  width:100%;
  font:inherit;
  cursor:pointer;
}
.uvh-form-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.uvh-form-row > div{min-width:0}
.uvh-orga-form select,
.uvh-task-item select{
  width:100%;
  border:1px solid var(--inner-box-border);
  background:var(--inner-box-bg);
  color:#fff;
  border-radius:8px;
  padding:10px 12px;
  font:inherit;
}
.uvh-task-list,
.uvh-forum-list{
  display:grid;
  gap:14px;
  margin-top:18px;
}
.uvh-task-item,
.uvh-forum-post{
  border:1px solid rgba(148,163,184,.14);
  border-radius:12px;
  padding:16px;
  background:rgba(4,9,20,.54);
  min-width:0;
  overflow:hidden;
}
.uvh-task-item strong,
.uvh-forum-post strong{
  display:block;
  color:#fff;
  font-size:16px;
}
.uvh-task-item span,
.uvh-forum-post span{
  color:var(--text-soft);
  font-size:12px;
}
.uvh-task-item p,
.uvh-forum-post p{
  color:#cbd5e1;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
.uvh-chat-popup{
  position:fixed;
  right:22px;
  bottom:22px;
  width:min(420px, calc(100vw - 28px));
  max-height:min(620px, calc(100vh - 70px));
  display:none;
  flex-direction:column;
  z-index:99999;
  border:1px solid rgba(0,229,255,.30);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(5,12,24,.98), rgba(3,7,18,.98));
  box-shadow:0 20px 60px rgba(0,0,0,.45);
  overflow:hidden;
  color:#fff;
}
.uvh-chat-popup.open{display:flex}
.uvh-chat-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:13px 14px;
  border-bottom:1px solid rgba(148,163,184,.16);
  background:rgba(0,229,255,.04);
}
.uvh-chat-head button{
  width:32px;
  height:32px;
  padding:0;
  border-radius:8px;
}
.uvh-chat-body{
  padding:12px;
  overflow:auto;
  min-height:260px;
  max-height:430px;
  display:grid;
  gap:10px;
}
.uvh-chat-msg{
  border:1px solid rgba(148,163,184,.14);
  border-radius:10px;
  padding:10px;
  background:rgba(15,23,42,.45);
}
.uvh-chat-msg.me{
  border-color:rgba(0,229,255,.25);
  background:rgba(0,229,255,.06);
}
.uvh-chat-msg strong{display:block;font-size:12px;color:#dbeafe}
.uvh-chat-msg p{margin:5px 0;color:#fff;white-space:pre-wrap;overflow-wrap:anywhere}
.uvh-chat-msg span{font-size:11px;color:var(--text-soft)}
.uvh-chat-form{
  display:flex;
  gap:8px;
  padding:12px;
  border-top:1px solid rgba(148,163,184,.16);
}
.uvh-chat-form input{
  flex:1;
  min-width:0;
  border:1px solid var(--inner-box-border);
  background:var(--inner-box-bg);
  color:#fff;
  border-radius:8px;
  padding:11px 12px;
}
@media(max-width:700px){
  .uvh-form-row{grid-template-columns:1fr}
  .uvh-chat-popup{right:14px;bottom:14px}
}


/* V1.3.6 Forum + Aufgaben Details + Chat-Fix */
.uvh-task-summary{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  text-align:left;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  color:inherit!important;
}
.uvh-task-summary strong{font-size:17px}
.uvh-task-summary span{display:block;margin-top:4px}
.uvh-task-details{
  display:none;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(148,163,184,.14);
}
.uvh-task-item.open .uvh-task-details{
  display:block;
}
.uvh-participants{
  margin:12px 0;
}
.uvh-forum-replies{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(148,163,184,.14);
}
.uvh-forum-reply{
  border:1px solid rgba(148,163,184,.12);
  border-radius:10px;
  padding:10px;
  background:rgba(15,23,42,.32);
  margin-bottom:10px;
}
.uvh-forum-reply strong{
  display:block;
  color:#dbeafe;
  font-size:13px;
}
.uvh-forum-reply p{
  margin:6px 0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.uvh-forum-reply span{
  color:var(--text-soft);
  font-size:11px;
}
.uvh-reply-form{
  display:grid;
  gap:8px;
  margin-top:10px;
}
.uvh-reply-form textarea{
  width:100%;
  min-height:76px;
  border:1px solid var(--inner-box-border);
  background:var(--inner-box-bg);
  color:#fff;
  border-radius:8px;
  padding:10px 12px;
  resize:vertical;
  font:inherit;
}
.uvh-inline-danger{
  margin-left:8px;
  border-color:rgba(248,113,113,.35)!important;
  color:#fecaca!important;
  padding:5px 8px!important;
  font-size:11px!important;
}
.uvh-hub-tile.uvh-chat-open{
  appearance:none;
  -webkit-appearance:none;
  display:block;
  cursor:pointer;
}
@media(max-width:760px){
  .uvh-task-summary{
    flex-direction:column;
  }
}


/* V1.3.7 klassischer Forum-Aufbau */
.uvh-forum-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0}
.uvh-forum-toolbar input{flex:1;min-width:220px;border:1px solid var(--inner-box-border);background:var(--inner-box-bg);color:#fff;border-radius:8px;padding:11px 12px}
.uvh-forum-category-list{display:grid;gap:12px}
.uvh-forum-category-card{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,320px);gap:14px;align-items:center;text-align:left;border:1px solid rgba(148,163,184,.16)!important;border-radius:12px!important;background:rgba(4,9,20,.58)!important;padding:16px!important;color:inherit!important}
.uvh-forum-category-card:hover{border-color:rgba(0,229,255,.42)!important;background:rgba(0,229,255,.055)!important}
.uvh-forum-category-card strong{display:block;color:#fff;font-size:17px;margin-bottom:5px}
.uvh-forum-category-card span{color:var(--text-soft);font-size:13px;line-height:1.35}
.uvh-forum-cat-stats{display:grid;gap:4px;justify-content:end;text-align:right}
.uvh-forum-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 16px;color:var(--text-soft)}
.uvh-forum-breadcrumb button{padding:6px 9px!important}
.uvh-topic-table{display:grid;gap:8px;margin-top:14px}
.uvh-topic-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 90px 80px 145px;gap:12px;align-items:center;text-align:left;border:1px solid rgba(148,163,184,.14)!important;border-radius:10px!important;background:rgba(15,23,42,.32)!important;color:#fff!important;padding:12px!important}
.uvh-topic-row:hover:not(.uvh-topic-head){border-color:rgba(0,229,255,.35)!important;background:rgba(0,229,255,.05)!important}
.uvh-topic-head{color:var(--text-soft)!important;font-size:12px;text-transform:uppercase;letter-spacing:.08em;background:rgba(4,9,20,.75)!important;cursor:default!important}
.uvh-topic-row strong{display:block;color:#fff}.uvh-topic-row em{display:block;font-style:normal;color:var(--text-soft);font-size:12px;margin-top:3px}.uvh-topic-empty{padding:16px;color:var(--text-soft)}
.uvh-forum-new-topic{border:1px solid rgba(0,229,255,.18);border-radius:12px;padding:16px;background:rgba(0,229,255,.035)}
.uvh-topic-post{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px;border:1px solid rgba(148,163,184,.14);border-radius:12px;background:rgba(4,9,20,.58);padding:14px;margin-bottom:12px}
.uvh-topic-post.main{border-color:rgba(0,229,255,.20)}.uvh-topic-author{border-right:1px solid rgba(148,163,184,.12);padding-right:12px}.uvh-topic-author strong{display:block;color:#fff}.uvh-topic-author span{display:block;color:var(--text-soft);font-size:12px;margin-top:4px}.uvh-topic-content{min-width:0}.uvh-topic-content h3{margin:0 0 10px}.uvh-topic-content p{white-space:pre-wrap;overflow-wrap:anywhere;color:#dbeafe}.uvh-reply-title{margin-top:18px!important}.uvh-topic-reply-form{margin-top:14px;border:1px solid rgba(148,163,184,.14);border-radius:12px;padding:14px;background:rgba(15,23,42,.28)}
@media(max-width:800px){.uvh-forum-category-card,.uvh-topic-row,.uvh-topic-post{grid-template-columns:1fr}.uvh-forum-cat-stats{text-align:left;justify-content:start}.uvh-topic-author{border-right:0;border-bottom:1px solid rgba(148,163,184,.12);padding-right:0;padding-bottom:10px}}


/* V1.3.8 Orga Abschluss / Forum-Finalisierung */
.uvh-forum-toolbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin:18px 0;
}
.uvh-forum-toolbar input{
  flex:1;
  min-width:220px;
  border:1px solid var(--inner-box-border);
  background:var(--inner-box-bg);
  color:#fff;
  border-radius:8px;
  padding:11px 12px;
}
.uvh-forum-category-list{
  display:grid;
  gap:12px;
}
.uvh-forum-category-card{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(230px,330px);
  gap:14px;
  align-items:center;
  text-align:left;
  border:1px solid rgba(148,163,184,.16)!important;
  border-radius:12px!important;
  background:rgba(4,9,20,.58)!important;
  padding:16px!important;
  color:inherit!important;
}
.uvh-forum-category-card:hover{
  border-color:rgba(0,229,255,.42)!important;
  background:rgba(0,229,255,.055)!important;
}
.uvh-forum-category-card strong{
  display:block;
  color:#fff;
  font-size:17px;
  margin-bottom:5px;
}
.uvh-forum-category-card span{
  color:var(--text-soft);
  font-size:13px;
  line-height:1.35;
}
.uvh-forum-cat-stats{
  display:grid;
  gap:4px;
  justify-content:end;
  text-align:right;
}
.uvh-forum-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:8px 0 16px;
  color:var(--text-soft);
}
.uvh-forum-breadcrumb button{
  padding:6px 9px!important;
}
.uvh-topic-table{
  display:grid;
  gap:8px;
  margin-top:14px;
}
.uvh-topic-row{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) 90px 80px 170px;
  gap:12px;
  align-items:center;
  text-align:left;
  border:1px solid rgba(148,163,184,.14)!important;
  border-radius:10px!important;
  background:rgba(15,23,42,.32)!important;
  color:#fff!important;
  padding:12px!important;
}
.uvh-topic-row:hover:not(.uvh-topic-head){
  border-color:rgba(0,229,255,.35)!important;
  background:rgba(0,229,255,.05)!important;
}
.uvh-topic-head{
  color:var(--text-soft)!important;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  background:rgba(4,9,20,.75)!important;
  cursor:default!important;
}
.uvh-topic-row strong{display:block;color:#fff}
.uvh-topic-row em{
  display:block;
  font-style:normal;
  color:var(--text-soft);
  font-size:12px;
  margin-top:3px;
}
.uvh-topic-empty{padding:16px;color:var(--text-soft)}
.uvh-forum-new-topic,
.uvh-forum-category-manager{
  border:1px solid rgba(0,229,255,.18);
  border-radius:12px;
  padding:16px;
  background:rgba(0,229,255,.035);
}
.uvh-topic-post{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:14px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:12px;
  background:rgba(4,9,20,.58);
  padding:14px;
  margin-bottom:12px;
}
.uvh-topic-post.main{border-color:rgba(0,229,255,.20)}
.uvh-topic-author{
  border-right:1px solid rgba(148,163,184,.12);
  padding-right:12px;
}
.uvh-topic-author strong{display:block;color:#fff}
.uvh-topic-author span{display:block;color:var(--text-soft);font-size:12px;margin-top:4px}
.uvh-topic-content{min-width:0}
.uvh-topic-content h3{margin:0 0 10px}
.uvh-topic-content p{white-space:pre-wrap;overflow-wrap:anywhere;color:#dbeafe}
.uvh-reply-title{margin-top:18px!important}
.uvh-topic-reply-form{
  margin-top:14px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:12px;
  padding:14px;
  background:rgba(15,23,42,.28);
}
.uvh-edit-topic-box{
  border:1px solid rgba(249,115,22,.28);
  background:rgba(249,115,22,.06);
  border-radius:12px;
  padding:14px;
  margin:12px 0;
}
.uvh-category-admin-list{
  display:grid;
  gap:10px;
  margin-bottom:18px;
}
.uvh-category-admin-row{
  display:grid;
  grid-template-columns:minmax(140px,1fr) minmax(180px,2fr) 90px auto auto;
  gap:8px;
  align-items:center;
}
.uvh-category-admin-row input{
  min-width:0;
  border:1px solid var(--inner-box-border);
  background:var(--inner-box-bg);
  color:#fff;
  border-radius:8px;
  padding:10px 12px;
}
.uvh-notify-dot{
  display:inline-flex;
  min-width:20px;
  height:20px;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  background:rgba(249,115,22,.22);
  border:1px solid rgba(249,115,22,.45);
  color:#fed7aa;
  font-size:11px;
  font-weight:800;
}
.uvh-chat-popup{
  backdrop-filter: blur(10px);
}
.uvh-chat-head strong:after{
  content:" · live";
  color:var(--accent-cyan);
  font-weight:700;
  font-size:12px;
}
@media(max-width:900px){
  .uvh-forum-category-card,
  .uvh-topic-row,
  .uvh-topic-post,
  .uvh-category-admin-row{
    grid-template-columns:1fr;
  }
  .uvh-forum-cat-stats{
    text-align:left;
    justify-content:start;
  }
  .uvh-topic-author{
    border-right:0;
    border-bottom:1px solid rgba(148,163,184,.12);
    padding-right:0;
    padding-bottom:10px;
  }
}


/* V1.3.9 Forum Kategorie-Fix + saubere Struktur */
.uvh-forum-category-list{
  display:grid !important;
  gap:12px !important;
}

.uvh-forum-category-card{
  width:100%;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(310px,390px) !important;
  gap:18px !important;
  align-items:stretch !important;
  text-align:left !important;
  border:1px solid rgba(148,163,184,.18) !important;
  border-radius:12px !important;
  background:rgba(4,9,20,.62) !important;
  padding:16px !important;
  color:inherit !important;
  cursor:pointer !important;
}

.uvh-forum-category-card:hover{
  border-color:rgba(0,229,255,.48) !important;
  background:rgba(0,229,255,.065) !important;
}

.uvh-forum-category-main{
  display:flex;
  gap:14px;
  align-items:flex-start;
  min-width:0;
}

.uvh-forum-folder{
  width:38px;
  height:38px;
  min-width:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid rgba(0,229,255,.24);
  background:rgba(0,229,255,.07);
  color:var(--accent-cyan);
  font-size:16px;
  line-height:1;
}

.uvh-forum-category-main strong{
  display:block;
  color:#fff;
  font-size:17px;
  line-height:1.2;
  margin:0 0 6px;
}

.uvh-forum-category-main span:not(.uvh-forum-folder){
  display:block;
  color:var(--text-soft);
  font-size:13px;
  line-height:1.45;
}

.uvh-forum-cat-stats{
  display:grid !important;
  grid-template-columns:80px 90px minmax(0,1fr);
  gap:10px !important;
  align-items:center;
  justify-content:stretch !important;
  text-align:left !important;
  border-left:1px solid rgba(148,163,184,.14);
  padding-left:16px;
  min-width:0;
}

.uvh-forum-cat-stats span{
  display:block;
  min-width:0;
  color:var(--text-soft);
  font-size:12px;
  line-height:1.25;
}

.uvh-forum-cat-stats strong{
  display:block;
  color:#fff;
  font-size:16px;
  line-height:1.2;
  margin-bottom:2px;
}

.uvh-forum-cat-stats em{
  display:block;
  font-style:normal;
  color:var(--text-soft);
  font-size:11px;
  overflow-wrap:anywhere;
}

.uvh-forum-last strong{
  font-size:12px;
  color:#cbd5e1;
}

@media(max-width:980px){
  .uvh-forum-category-card{
    grid-template-columns:1fr !important;
  }

  .uvh-forum-cat-stats{
    border-left:0;
    border-top:1px solid rgba(148,163,184,.14);
    padding-left:0;
    padding-top:12px;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:560px){
  .uvh-forum-cat-stats{
    grid-template-columns:1fr;
  }
}
