/* MALGORIS Forum — Visual refresh 2026-11-06.
   Presentation only: no changes to API, accounts, moderation or roles. */
:root{
  --forum-accent:#83ece9;
  --forum-accent-soft:#b9fcf4;
  --forum-line:rgba(151,217,232,.24);
  --forum-panel:#122238;
  --forum-panel-raised:#172a42;
  --forum-text:#f0f8ff;
  --forum-muted:#b4cada;
}
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(1000px 480px at 80% -10%,rgba(40,104,137,.31),transparent 75%),
    radial-gradient(690px 440px at 0% 35%,rgba(13,100,111,.15),transparent 80%),
    #08111d;
  color:var(--forum-text);
}
.topbar{
  width:min(1260px,calc(100% - 44px));
  border-color:var(--forum-line);
  position:relative;
  z-index:5;
}
.topbar nav .primary{box-shadow:0 8px 28px rgba(79,204,219,.17)}
.topbar nav button,.topbar nav a{font-size:12px}
.hero{gap:clamp(26px,5vw,68px);padding-block:clamp(45px,7vw,88px) clamp(28px,5vw,68px)}
.hero-copy:before{
  letter-spacing:.13em;
  border:1px solid rgba(121,220,231,.4);
  background:rgba(13,54,73,.65);
}
.hero h1{font-size:clamp(46px,6.2vw,87px);line-height:1.01}
.hero h1 em{color:#a4f4ed}
.hero .lead{max-width:590px;color:#bed3e0;font-size:clamp(15px,1.45vw,18px)}
.hero-actions .primary.large{min-height:54px;padding-inline:23px}
.hero-art{
  border:1px solid rgba(131,213,233,.38);
  border-radius:27px;
  box-shadow:0 28px 85px rgba(0,4,15,.4), inset 0 1px 0 rgba(255,255,255,.12);
}
.tile{border:1px solid rgba(158,224,233,.32);box-shadow:0 18px 38px rgba(0,8,21,.4)}
.tile strong{font-size:clamp(14px,1.25vw,17px)}
.quick-access{gap:14px}
.quick-card{
  border:1px solid var(--forum-line);
  background:linear-gradient(135deg,rgba(25,47,71,.98),rgba(15,32,52,.98));
  border-radius:18px;
  min-height:94px;
  box-shadow:0 12px 38px rgba(0,7,17,.16);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.quick-card:hover{
  transform:translateY(-3px);
  border-color:rgba(129,235,226,.72);
  box-shadow:0 18px 40px rgba(0,6,20,.27);
}
.quick-card:focus-visible{outline:3px solid var(--forum-accent);outline-offset:3px}
.quick-card strong{color:#f6fcff;font-size:14px}
.quick-card small{color:#bed3e2;line-height:1.45}
.quick-card-icon{
  background:rgba(106,229,226,.11);
  border:1px solid rgba(121,224,230,.24);
  border-radius:12px;
}
.cats-community{
  border:1px solid rgba(121,211,221,.33);
  border-radius:25px;
  background:linear-gradient(145deg,#173049,#111d30 65%,#13253b);
  box-shadow:0 22px 60px rgba(0,5,17,.2);
}
.cats-community .cat-grid{align-items:start}
.cats-community form{
  border:1px solid rgba(141,207,220,.27);
  border-radius:18px;
  background:rgba(6,21,37,.4);
}
.cats-community .cat-thread,.cats-community .cat-topic{
  overflow-wrap:anywhere;
}
.cats-community input:not([type=checkbox]):focus,
.cats-community textarea:focus{border-color:#7ce8e8}
.member-welcome{box-shadow:0 12px 38px rgba(0,8,20,.14)}
.portal{
  border:1px solid rgba(139,207,225,.24);
  border-radius:22px;
  background:#101d30;
  box-shadow:0 28px 70px rgba(0,5,17,.22);
}
.sidebar{background:linear-gradient(180deg,#102239,#0d1b2c);border-color:var(--forum-line)}
.nav-label{color:#96b5c6}
.nav-item{border-radius:11px;transition:background .15s,color .15s}
.nav-item.active{background:linear-gradient(120deg,#1f6579,#175364);color:#f3ffff}
.nav-item:hover:not(.active){background:rgba(130,208,222,.1);color:#fff}
.content{background:rgba(12,24,42,.52)}
.section-head h2{letter-spacing:-.055em}
.section-copy{color:var(--forum-muted);font-size:13px}
.category-grid{gap:13px}
.category{
  background:linear-gradient(145deg,#192d44,#142237);
  border:1px solid rgba(143,202,218,.26);
  border-radius:15px;
  min-height:124px;
  transition:transform .18s,border-color .18s,background .18s;
}
.category:nth-child(2),.category:nth-child(3){
  background:linear-gradient(145deg,#1b3147,#15263b);
}
.category:hover{transform:translateY(-2px);border-color:rgba(131,231,228,.8)}
.category.selected{outline:2px solid #86efeb;outline-offset:-3px}
.category strong{font-size:13px;color:#f0f9ff}
.category small{font-size:11px;color:#b9d0df}
.list-heading{border-bottom:1px solid rgba(137,195,213,.18);padding-bottom:12px}
.topic-row{transition:background .15s;padding-inline:12px;border-radius:10px}
.topic-row:hover{background:rgba(128,212,228,.06)}
.topic-title:hover{color:#a9f9f2}
.form-card,.info-card,.job,.empty{
  border-color:rgba(133,197,218,.3);
  border-radius:15px;
}
input:not([type=checkbox]),textarea,select{font-size:16px}
input:not([type=checkbox]):focus,textarea:focus,select:focus{
  border-color:#8aeeee;box-shadow:0 0 0 3px rgba(118,222,227,.12);
}
.primary,.secondary{min-height:44px}
.primary{box-shadow:0 8px 26px rgba(70,203,212,.14)}
.primary:disabled{box-shadow:none}
a:focus-visible,button:focus-visible,input:focus-visible,
textarea:focus-visible,select:focus-visible{outline:3px solid #a9fbef;outline-offset:3px}
@media(max-width:1050px){
  .quick-card{min-height:82px;padding:14px}
  .category{min-height:112px}
}
@media(max-width:740px){
  .topbar,main,footer{width:calc(100% - 28px)}
  .hero{padding-top:36px}
  .hero h1{font-size:clamp(41px,11vw,65px)}
  .hero-art{border-radius:21px}
  .quick-access{grid-template-columns:1fr;gap:10px}
  .quick-card{min-height:70px;padding:13px 15px;border-radius:14px}
  .portal{border-radius:16px}
  .sidebar{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
  .sidebar .nav-item{white-space:nowrap;flex-shrink:0;min-height:44px}
  .content{padding:22px 15px}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .category,.category:nth-child(2),.category:nth-child(3){min-height:106px;padding:15px 12px}
  .category small{font-size:10px}
  .section-head{flex-wrap:wrap}
  .cats-community{padding:20px 15px;border-radius:18px}
  .cats-community .cat-grid{grid-template-columns:1fr}
  .cats-community form{padding:17px 13px}
  .hero-actions .primary{width:100%}
  .hero-actions .text-button{width:auto}
}
@media(max-width:400px){
  .category-grid{grid-template-columns:1fr}
  .category,.category:nth-child(2),.category:nth-child(3){min-height:0}
  .hero-art{min-height:295px}
  .tile{padding:12px 13px}
  .tile-chat{left:44px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{transition:none!important;animation:none!important}
}

/* A display-only member status; not an authorization role. */
.member-status{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid #9b6947;border-radius:999px;background:linear-gradient(135deg,#6b3e27,#412515);color:#f4cfb0;font-size:9px;font-weight:800;letter-spacing:.08em;line-height:1.35;white-space:nowrap;box-shadow:0 2px 10px rgba(20,8,3,.24)}

.member-status::before{content:"??";font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;font-size:15px;line-height:1}
