/* UniVerse Hub Global Forum V1.4.0 */
.uvh-forum-page .uvh-orga-hero{
  margin-bottom:18px;
}
.uvh-forum-shell{
  overflow:hidden;
}
.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 !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-card.archive{
  opacity:.88;
}
.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-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(120px,1fr) minmax(160px,2fr) 80px 120px 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;
}
@media(max-width:980px){
  .uvh-forum-category-card,.uvh-topic-row,.uvh-topic-post,.uvh-category-admin-row{
    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));
  }
  .uvh-topic-author{
    border-right:0;
    border-bottom:1px solid rgba(148,163,184,.12);
    padding-right:0;
    padding-bottom:10px;
  }
}
@media(max-width:560px){
  .uvh-forum-cat-stats{grid-template-columns:1fr}
}
