
*{box-sizing:border-box}
:root{
  --bg:#ececec;--paper:#fff;--ink:#1d1d1d;--muted:#6b6b6b;
  --gold:#e0a318;--gold2:#ffca3d;--red:#b61016;--dark:#222b34;--line:#e1e1e1;
}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.72}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:min(1180px,calc(100% - 28px));margin:auto}

/* HEADER */
.site-header{position:sticky;top:0;z-index:1000;background:#222b34;border-bottom:1px solid #121920;box-shadow:0 2px 8px rgba(0,0,0,.22)}
.header-inner{position:relative;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.brand{display:flex;align-items:center;justify-content:center;width:154px;height:40px;padding:2px 7px;background:#ff4050;border-radius:2px;overflow:hidden}
.brand img{width:138px;max-height:34px;object-fit:contain}
.tools{display:flex;align-items:center;gap:4px}
.icon-btn{width:33px;height:33px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.icon-btn:hover{background:rgba(255,255,255,.09)}
.icon-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon-btn.trophy{border:1px solid rgba(255,255,255,.58);border-radius:3px;color:#f3b72c}
.icon-btn.bell{border:1px solid rgba(255,255,255,.58)}
.icon-btn.menu{width:35px;border-radius:3px}
.menu-lines{position:relative;width:22px;height:16px;display:block}
.menu-lines:before,.menu-lines:after,.menu-lines span{content:"";position:absolute;left:0;width:22px;height:2px;border-radius:4px;background:#fff}
.menu-lines:before{top:0}.menu-lines span{top:7px}.menu-lines:after{top:14px}

.search-pop,.menu-pop{display:none;position:absolute;top:52px;right:0;z-index:1200;background:#fff;border:1px solid #ddd;border-radius:3px;box-shadow:0 12px 30px rgba(0,0,0,.28)}
.search-pop.open,.menu-pop.open{display:block}
.search-pop{width:min(350px,calc(100vw - 18px));padding:9px}
.search-pop form{display:flex;gap:6px;margin:0}
.search-pop input{flex:1;min-width:0;height:37px;padding:0 10px;border:1px solid #ccc;outline:0;font:inherit}
.search-pop button{height:37px;padding:0 14px;border:0;border-radius:2px;background:var(--red);color:#fff;font-weight:800;cursor:pointer}
.menu-pop{width:210px;overflow:hidden}
.menu-pop a{display:block;padding:11px 14px;border-bottom:1px solid #eee;color:#222;font-size:12px;font-weight:800}
.menu-pop a:last-child{border-bottom:0}.menu-pop a:hover{background:#f6f6f6;color:var(--red)}

/* NOTICE */
.noticebar{background:#fff;border-bottom:1px solid #ddd}
.noticebar .container{padding:9px 0;color:#777;font-size:12px}
.noticebar strong{color:var(--red)}

/* FEATURED */
.featured-wrap{padding:20px 0 8px}
.featured{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:14px}
.feature{position:relative;overflow:hidden;background:#111;border-radius:5px;min-height:245px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.25s}
.feature:hover img{transform:scale(1.025)}
.feature:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 38%,rgba(0,0,0,.88))}
.feature-copy{position:absolute;left:18px;right:18px;bottom:16px;z-index:2;color:#fff}
.feature-copy small{display:inline-block;background:var(--red);padding:3px 7px;border-radius:2px;font-weight:800;font-size:10px}
.feature-copy h2,.feature-copy h3{margin:8px 0 0;line-height:1.28;text-shadow:0 1px 3px #000}
.feature-copy h2{font-size:24px}.feature-copy h3{font-size:17px}

/* MAIN */
.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:20px;padding:16px 0 34px}
.content-card,.widget-card,.editorial{background:#fff;border:1px solid #ddd;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.content-head{padding:17px 20px;border-bottom:3px solid var(--gold);display:flex;align-items:center;justify-content:space-between;gap:12px}
.content-head h1{font-size:20px;margin:0}.content-head span{font-size:11px;color:#777}
.article-list{padding:18px 20px}
.article{display:grid;grid-template-columns:160px 1fr;gap:16px;padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid #e8e8e8}
.article:last-child{border-bottom:0;margin-bottom:0}
.article img{width:160px;height:116px;object-fit:cover;border-radius:3px}
.article .meta{font-size:11px;color:#888;margin-bottom:3px}
.article h2{font-size:21px;line-height:1.3;margin:0 0 6px}
.article p{color:#555;margin:0;font-size:13px}
.readmore{display:inline-block;margin-top:8px;color:var(--red);font-size:12px;font-weight:800}

/* SIDEBAR */
.sidebar{display:grid;gap:16px}
.widget-title{background:#1a1a1a;color:#fff;border-bottom:3px solid var(--gold);padding:11px 14px;font-size:13px;font-weight:900;text-transform:uppercase}
.widget-body{padding:14px}
.widget-body p{margin:0;color:#666;font-size:13px}
.quick{display:grid;gap:0}
.quick a{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dotted #ccc;font-size:13px}
.quick a:last-child{border-bottom:0}.quick a:hover{color:var(--red)}
.editorial{margin-top:18px;padding:22px}
.editorial h2{font-size:22px;margin:0 0 10px;border-bottom:1px solid #e6e6e6;padding-bottom:10px}
.editorial h3{font-size:18px;margin:22px 0 7px}
.editorial p{margin:0 0 12px;color:#3c3c3c}

/* FOOTER */
.footer{background:#111;color:#cfcfcf;border-top:4px solid var(--gold)}
.footer-top{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:30px;padding:30px 0}
.footer-logo{width:185px;margin-bottom:10px}
.footer h4{color:#fff;margin:0 0 9px;font-size:14px}
.footer p,.footer a{font-size:12px;color:#aaa}.footer a:hover{color:var(--gold2)}
.copyright{border-top:1px solid #2c2c2c;padding:14px 0;text-align:center;font-size:11px;color:#888}

/* NIGHT */
body.night{background:#151a1f}
body.night .noticebar,body.night .content-card,body.night .widget-card,body.night .editorial{background:#222932;border-color:#343d47;color:#eef1f3}
body.night .article p,body.night .widget-body p,body.night .editorial p,body.night .content-head span{color:#cbd1d7}
body.night .article{border-color:#3a424b}
body.night .article h2,body.night .editorial h2,body.night .editorial h3{color:#fff}



/* =========================
   FORUM DIRECTORY
========================= */
.forum-section{padding:18px 0 2px}
.forum-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:12px
}
.forum-heading h2{
  margin:1px 0 0;
  font-size:23px;
  line-height:1.15
}
.forum-kicker{
  display:block;
  color:#777;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em
}
.forum-new-topic{
  min-height:35px;
  padding:0 13px;
  border:0;
  border-radius:4px;
  background:#4f25e8;
  color:#fff;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 3px 10px rgba(79,37,232,.18)
}
.forum-new-topic:hover{filter:brightness(1.08)}
.forum-board{
  overflow:hidden;
  background:#fff;
  border:1px solid #d7d7d7;
  border-radius:5px;
  box-shadow:0 2px 8px rgba(0,0,0,.05)
}
.forum-board-title{
  padding:11px 13px;
  border-bottom:1px solid #dcdcdc;
  background:#fafafa;
  color:#202020;
  font-size:13px;
  font-weight:800
}
.forum-row{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 58px 210px;
  align-items:center;
  gap:10px;
  min-height:82px;
  padding:11px 12px;
  border-bottom:1px solid #e0e0e0;
  background:#fff;
  transition:background .15s ease
}
.forum-row:last-child{border-bottom:0}
a.forum-row:hover{background:#fafafa}
.forum-row-static{cursor:default}
.forum-icon{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:12px;
  font-weight:900
}
.forum-icon-gold{background:#fff0b7;color:#b17400}
.forum-icon-red{background:#ffe2df;color:#d7352a}
.forum-icon-purple{background:#eadffd;color:#7140ba}
.forum-icon-cyan{background:#d9f4f4;color:#159d9d}
.forum-icon-blue{background:#dce9ff;color:#286ac2}
.forum-icon-pink{background:#fae0f3;color:#b93689}
.forum-icon-dark{background:#e5e7eb;color:#30343a}
.forum-icon-rules{background:#f0e9ff;color:#6140a8}

.forum-main{min-width:0}
.forum-main h3{
  margin:0 0 3px;
  color:#222;
  font-size:12px;
  line-height:1.35
}
.forum-main p{
  margin:0;
  color:#777;
  font-size:9.5px;
  line-height:1.45
}
.forum-tags{
  display:flex;
  flex-wrap:wrap;
  gap:5px 12px;
  margin-top:7px
}
.forum-tags span{
  color:#6a6a6a;
  font-size:8px
}
.forum-tags span:before{
  content:"▪";
  margin-right:4px;
  color:#8d8d8d
}
.forum-count{
  text-align:center;
  color:#555;
  line-height:1.05
}
.forum-count strong{
  display:block;
  font-size:11px;
  font-weight:500
}
.forum-count span{
  display:block;
  margin-top:3px;
  color:#888;
  font-size:8px
}
.forum-last{
  display:grid;
  grid-template-columns:26px minmax(0,1fr);
  align-items:center;
  gap:8px;
  min-width:0
}
.forum-avatar{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-size:10px;
  font-weight:900
}
.av-red{background:#cf6771}.av-green{background:#55b98a}.av-purple{background:#7564d8}
.av-orange{background:#dc8a55}.av-blue{background:#55aab7}.av-pink{background:#c96ab3}
.av-dark{background:#5d6570}.av-rules{background:#633bd0}
.forum-last strong{
  display:block;
  overflow:hidden;
  color:#333;
  font-size:8.5px;
  font-weight:500;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap
}
.forum-last small{
  display:block;
  margin-top:2px;
  color:#888;
  font-size:7.5px
}
.forum-note{
  margin-top:7px;
  color:#888;
  font-size:9px;
  text-align:right
}

/* Forum night mode */
body.night .forum-board,
body.night .forum-row,
body.night .forum-board-title{
  background:#222932;
  border-color:#3b444e
}
body.night .forum-main h3,
body.night .forum-board-title,
body.night .forum-last strong{color:#f1f3f5}
body.night .forum-main p,
body.night .forum-tags span,
body.night .forum-count,
body.night .forum-count span,
body.night .forum-last small,
body.night .forum-note{color:#adb5bd}
body.night a.forum-row:hover{background:#28313a}

@media(max-width:760px){
  .forum-heading{align-items:center}
  .forum-new-topic{min-height:33px;padding:0 10px;font-size:9px}
  .forum-row{
    grid-template-columns:30px minmax(0,1fr) 46px;
    min-height:76px;
    padding:10px 9px;
    gap:8px
  }
  .forum-last{display:none}
  .forum-main h3{font-size:11px}
  .forum-main p{font-size:9px}
  .forum-tags{margin-top:5px;gap:4px 9px}
  .forum-count strong{font-size:10px}
}
@media(max-width:480px){
  .forum-section{padding-top:12px}
  .forum-heading h2{font-size:20px}
  .forum-new-topic span{display:none}
  .forum-row{
    grid-template-columns:28px minmax(0,1fr);
    min-height:72px
  }
  .forum-count{display:none}
  .forum-main p{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden
  }
  .forum-tags span:nth-child(n+3){display:none}
  .forum-note{text-align:left}
}


/* MOBILE NAV */
.mobile-nav{display:none}
@media(max-width:920px){
  .featured{grid-template-columns:1fr 1fr}
  .feature:first-child{grid-column:1/-1;min-height:360px}
  .page-grid{grid-template-columns:1fr}
  .sidebar{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
  body{padding-bottom:58px}
  .container{width:min(100% - 18px,1180px)}
  .header-inner{min-height:54px;gap:3px}
  .brand{width:128px;height:35px;padding:2px 6px}
  .brand img{width:114px;max-height:29px}
  .tools{gap:1px}.icon-btn{width:29px;height:29px}.icon-btn svg{width:16px;height:16px}.icon-btn.menu{width:31px}
  .search-pop,.menu-pop{top:49px}
  .featured{grid-template-columns:1fr;gap:10px}
  .feature,.feature:first-child{grid-column:auto;min-height:310px}
  .feature:nth-child(2){height:220px;min-height:220px}
  .feature:nth-child(2) img{object-position:center center}
  .feature-copy h2{font-size:20px}.feature-copy h3{font-size:17px}
  .page-grid{padding-top:10px}
  .article{grid-template-columns:110px 1fr;gap:12px}
  .article img{width:110px;height:88px}
  .article h2{font-size:17px}
  .article p{display:none}
  .sidebar{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr;gap:18px}
  .mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:2000;height:58px;display:grid;grid-template-columns:repeat(4,1fr);background:#111;border-top:2px solid var(--gold);box-shadow:0 -4px 16px rgba(0,0,0,.32)}
  .mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#fff;font-size:9px;font-weight:800}
  .mobile-nav span{color:#f4b92e;font-size:16px;line-height:17px}
}


/* =========================
   DENSE CONTENT / ARTICLE PAGES
========================= */
.category-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:12px 0 18px
}
.category-chips span{
  padding:6px 9px;
  border:1px solid #e1d29a;
  border-radius:999px;
  background:#fff9e5;
  color:#705500;
  font-size:11px;
  font-weight:800
}
.editorial-cta{
  display:inline-block;
  margin-top:5px;
  padding:9px 12px;
  border-radius:3px;
  background:#b61016;
  color:#fff;
  font-size:11px;
  font-weight:900
}
.article-page{padding:20px 0 40px}
.article-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 12px;
  color:#777;
  font-size:11px
}
.article-breadcrumb a:hover{color:#b61016}
.long-article{
  overflow:hidden;
  background:#fff;
  border:1px solid #ddd;
  border-radius:5px;
  box-shadow:0 2px 10px rgba(0,0,0,.05)
}
.long-article-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
  align-items:center;
  padding:28px;
  border-bottom:1px solid #e7e7e7;
  background:linear-gradient(135deg,#fff,#fafafa)
}
.long-article-head img{
  width:100%;
  height:230px;
  object-fit:cover;
  border-radius:5px
}
.long-tag{
  display:inline-block;
  margin-bottom:8px;
  color:#b61016;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em
}
.long-article h1{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.16;
  letter-spacing:-.02em
}
.lead{
  margin:0;
  color:#626262;
  font-size:15px;
  line-height:1.7
}
.article-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 285px;
  gap:26px;
  padding:28px
}
.article-body h2{
  margin:30px 0 8px;
  padding-left:12px;
  border-left:4px solid #e0a318;
  color:#222;
  font-size:23px;
  line-height:1.3
}
.article-body h2:first-of-type{margin-top:20px}
.article-body p{
  margin:0 0 14px;
  color:#3f3f3f;
  font-size:15px;
  line-height:1.85
}
.info-note,.responsible-note{
  padding:14px 16px;
  border-radius:4px;
  font-size:12px;
  line-height:1.65
}
.info-note{
  border:1px solid #dfd3a7;
  background:#fff9e5;
  color:#61521d
}
.responsible-note{
  margin-top:24px;
  border:1px solid #d7dce3;
  background:#f5f7fa;
  color:#4d5965
}
.key-points{
  margin-top:26px;
  padding:18px;
  border:1px solid #e2e2e2;
  background:#fafafa
}
.key-points h2{
  margin:0 0 8px!important;
  padding:0!important;
  border:0!important;
  font-size:18px!important
}
.key-points ul{margin:0;padding-left:19px}
.key-points li{margin:6px 0;color:#444;font-size:13px}
.article-side{
  display:grid;
  align-content:start;
  gap:16px
}
.related-links{display:grid;gap:0}
.related-links a{
  display:grid;
  gap:2px;
  padding:10px 0;
  border-bottom:1px solid #eee
}
.related-links a:last-child{border-bottom:0}
.related-links strong{
  color:#333;
  font-size:12px;
  line-height:1.4
}
.related-links span{color:#b61016;font-size:9px;font-weight:800}

/* night article pages */
body.night .long-article,
body.night .long-article-head,
body.night .key-points{
  background:#222932;
  border-color:#3b444e
}
body.night .long-article-head{background:#222932}
body.night .long-article h1,
body.night .article-body h2,
body.night .related-links strong{color:#f4f6f8}
body.night .lead,
body.night .article-body p,
body.night .key-points li{color:#cbd1d7}
body.night .info-note{background:#413a21;border-color:#5f5429;color:#e9dfb5}
body.night .responsible-note{background:#20262c;border-color:#3d4852;color:#c3cbd3}
body.night .category-chips span{background:#3a3420;border-color:#594d21;color:#f3dc82}

@media(max-width:850px){
  .long-article-head{grid-template-columns:1fr}
  .long-article-head img{height:320px}
  .article-layout{grid-template-columns:1fr}
}
@media(max-width:650px){
  .article-page{padding-top:12px}
  .long-article-head{padding:18px}
  .long-article-head img{height:220px}
  .long-article h1{font-size:27px}
  .article-layout{padding:18px}
  .article-body h2{font-size:20px}
  .article-body p{font-size:14px}
  .article .meta{font-size:9px}
}


/* =========================
   MEMBER STATISTICS
========================= */
.member-stats-section{
  padding:12px 0 4px
}
.member-stats-card{
  overflow:hidden;
  background:#fff;
  border:1px solid #d7d7d7;
  border-radius:8px;
  box-shadow:0 3px 12px rgba(0,0,0,.06)
}
.member-stats-title{
  padding:13px 17px;
  border-bottom:1px solid #ddd;
  color:#202020;
  font-size:15px;
  font-weight:700
}
.member-stats-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1.6fr;
  min-height:82px
}
.member-stat-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-right:1px solid #ddd;
  text-align:center
}
.member-stat-block strong{
  display:block;
  color:#202020;
  font-size:23px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.02em
}
.member-stat-block span{
  display:block;
  margin-top:5px;
  color:#666;
  font-size:12px;
  font-weight:700
}
.member-newest{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:12px 20px
}
.member-avatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#ca6489;
  color:#fff;
  font-size:20px;
  font-weight:700;
  transition:transform .2s ease,background .2s ease
}
.member-avatar.member-pulse{
  transform:scale(1.12)
}
.member-newest-text{
  min-width:0
}
.member-newest-text strong{
  display:block;
  overflow:hidden;
  color:#222;
  font-size:13px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap
}
.member-newest-text span{
  display:block;
  margin-top:3px;
  color:#777;
  font-size:11px
}
.member-newest-text b{
  font-weight:400
}
.member-stats-disclaimer{
  padding:5px 2px 0;
  color:#999;
  font-size:8px;
  text-align:right
}

/* NIGHT MODE */
body.night .member-stats-card{
  background:#222932;
  border-color:#3b444e
}
body.night .member-stats-title,
body.night .member-stat-block strong,
body.night .member-newest-text strong{
  color:#f4f6f8
}
body.night .member-stats-title,
body.night .member-stat-block{
  border-color:#3b444e
}
body.night .member-stat-block span,
body.night .member-newest-text span,
body.night .member-stats-disclaimer{
  color:#aeb6bf
}

@media(max-width:650px){
  .member-stats-section{
    padding-top:9px
  }
  .member-stats-title{
    padding:11px 12px;
    font-size:13px
  }
  .member-stats-grid{
    grid-template-columns:1fr 1fr;
    min-height:0
  }
  .member-stat-block{
    min-height:72px
  }
  .member-stat-block:nth-child(2){
    border-right:0
  }
  .member-stat-block strong{
    font-size:20px
  }
  .member-stat-block span{
    font-size:10px
  }
  .member-newest{
    grid-column:1/-1;
    justify-content:flex-start;
    min-height:65px;
    padding:10px 14px;
    border-top:1px solid #ddd
  }
  body.night .member-newest{
    border-color:#3b444e
  }
  .member-avatar{
    width:34px;
    height:34px;
    flex-basis:34px;
    font-size:17px
  }
  .member-newest-text strong{
    font-size:12px
  }
  .member-newest-text span{
    font-size:10px
  }
  .member-stats-disclaimer{
    font-size:7px
  }
}


/* =========================================================
   FULL FORUM PAGES
========================================================= */
.forum-page{padding:18px 0 42px}
.forum-breadcrumb{
  display:flex;flex-wrap:wrap;gap:7px;align-items:center;
  margin-bottom:12px;color:#787878;font-size:11px
}
.forum-breadcrumb a:hover{color:#4b3ce8}

.forum-category-hero{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:24px;border:1px solid #d8d8d8;border-radius:8px;background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.04)
}
.forum-category-icon{font-size:25px}
.forum-category-hero h1{margin:5px 0 6px;font-size:30px;line-height:1.15}
.forum-category-hero p{max-width:800px;margin:0;color:#666;font-size:14px}
.forum-follow-btn{
  flex:0 0 auto;padding:9px 14px;border:0;border-radius:7px;
  background:#ededed;color:#555;font-weight:700;cursor:pointer
}

.forum-topic-panel{
  margin-top:20px;overflow:hidden;border:1px solid #d8d8d8;
  border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.04)
}
.forum-topic-toolbar{
  min-height:48px;padding:10px 16px;display:flex;align-items:center;
  justify-content:space-between;gap:12px;border-bottom:1px solid #ddd;
  color:#5d5d5d;font-size:11px
}
.forum-topic-toolbar select{
  border:0;background:#f3f3f3;padding:7px 9px;border-radius:4px;
  color:#666;font-size:10px
}
.forum-topic-card{
  display:grid;grid-template-columns:36px minmax(0,1fr) 210px;
  gap:12px;align-items:start;padding:18px;border-bottom:1px solid #e1e1e1;
  background:#fff;transition:background .15s ease
}
.forum-topic-card:last-child{border-bottom:0}
.forum-topic-card:hover{background:#fafafa}
.topic-avatar{
  width:30px;height:30px;display:grid;place-items:center;border-radius:50%;
  background:#5633df;color:#fff;font-size:11px;font-weight:900
}
.topic-card-main h3{margin:0 0 3px;color:#252525;font-size:14px;line-height:1.35}
.topic-author{color:#858585;font-size:10px}
.topic-card-main p{margin:10px 0 0;color:#666;font-size:12px;line-height:1.6}
.topic-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.topic-tags span{
  padding:3px 7px;border-radius:4px;background:#ece8ff;color:#5b48cb;
  font-size:8px;font-weight:800
}
.topic-card-stats{
  align-self:center;display:flex;justify-content:flex-end;gap:18px;color:#777;font-size:9px
}
.topic-card-stats span{text-align:center}
.topic-card-stats strong{display:block;color:#555;font-size:10px}

/* Topic detail */
.topic-detail-page{background:#f0f0f0}
.topic-title-card{
  display:flex;align-items:flex-start;justify-content:space-between;gap:25px;
  padding:24px;border:1px solid #d7d7d7;border-radius:8px;background:#fff
}
.topic-title-card h1{margin:8px 0 5px;font-size:28px;line-height:1.22}
.topic-title-card p{margin:0;color:#777;font-size:11px}
.topic-title-stats{display:flex;gap:14px;color:#777;font-size:10px;white-space:nowrap}
.thread-wrap{
  margin-top:18px;overflow:hidden;border:1px solid #d7d7d7;
  border-radius:8px;background:#fff
}
.thread-post,.reply-card{
  display:grid;grid-template-columns:150px minmax(0,1fr);
  border-bottom:1px solid #dfdfdf;background:#fff
}
.thread-user,.reply-user{
  padding:20px 14px;text-align:center;background:#fafafa;border-right:1px solid #e4e4e4
}
.thread-avatar,.reply-avatar{
  width:48px;height:48px;margin:0 auto 8px;display:grid;place-items:center;
  border-radius:50%;background:#4a34dc;color:#fff;font-size:20px;font-weight:900
}
.reply-avatar{width:38px;height:38px;font-size:15px;background:#c65e83}
.thread-user strong,.reply-user strong{display:block;color:#222;font-size:12px}
.thread-user span,.reply-user span{display:block;margin-top:3px;color:#888;font-size:9px}
.thread-content,.reply-content{padding:21px 24px}
.thread-meta,.reply-meta{margin-bottom:10px;color:#909090;font-size:9px}
.thread-content h2{margin:0 0 14px;font-size:20px}
.thread-content p,.reply-content p{
  margin:0 0 13px;color:#555;font-size:13px;line-height:1.8
}
.thread-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:16px}
.thread-actions button{
  border:1px solid #ddd;background:#fafafa;padding:6px 10px;border-radius:4px;
  color:#666;font-size:9px;cursor:pointer
}
.replies-heading{
  display:flex;align-items:center;justify-content:space-between;gap:15px;
  padding:12px 18px;background:#f8f8f8;border-bottom:1px solid #ddd
}
.replies-heading strong{font-size:13px}.replies-heading span{color:#888;font-size:9px}

.reply-form-card{padding:20px;background:#fafafa}
.reply-form-card h3{margin:0 0 3px;font-size:17px}
.reply-form-card>p{margin:0 0 12px;color:#888;font-size:9px}
.reply-form-grid{display:grid;gap:9px}
.reply-form-grid input,.reply-form-grid textarea{
  width:100%;border:1px solid #ccc;border-radius:4px;background:#fff;
  padding:10px;font:inherit;font-size:12px;outline:0
}
.reply-form-grid input:focus,.reply-form-grid textarea:focus{border-color:#6c5ce7}
.local-reply-form button{
  margin-top:10px;padding:9px 13px;border:0;border-radius:4px;
  background:#4d35df;color:#fff;font-size:10px;font-weight:900;cursor:pointer
}

/* Forum night */
body.night .forum-category-hero,
body.night .forum-topic-panel,
body.night .forum-topic-card,
body.night .topic-title-card,
body.night .thread-wrap,
body.night .thread-post,
body.night .reply-card{
  background:#222932;border-color:#3c4650
}
body.night .thread-user,body.night .reply-user,body.night .reply-form-card,
body.night .replies-heading{background:#1e252c;border-color:#3c4650}
body.night .forum-category-hero h1,body.night .topic-card-main h3,
body.night .topic-title-card h1,body.night .thread-user strong,
body.night .reply-user strong,body.night .thread-content h2,
body.night .reply-form-card h3{color:#f4f6f8}
body.night .forum-category-hero p,body.night .topic-card-main p,
body.night .thread-content p,body.night .reply-content p{color:#c3cbd3}

@media(max-width:760px){
  .forum-category-hero{padding:18px;align-items:flex-start}
  .forum-category-hero h1{font-size:24px}
  .forum-follow-btn{padding:7px 10px;font-size:10px}
  .forum-topic-card{grid-template-columns:32px minmax(0,1fr)}
  .topic-card-stats{grid-column:2;justify-content:flex-start;margin-top:3px}
  .topic-title-card{padding:18px;display:block}
  .topic-title-card h1{font-size:24px}
  .topic-title-stats{margin-top:10px}
  .thread-post,.reply-card{grid-template-columns:82px minmax(0,1fr)}
  .thread-user,.reply-user{padding:15px 6px}
  .thread-avatar{width:38px;height:38px;font-size:16px}
  .reply-avatar{width:32px;height:32px;font-size:13px}
  .thread-content,.reply-content{padding:16px}
}
@media(max-width:480px){
  .forum-page{padding-top:10px}
  .forum-category-hero{display:block}
  .forum-follow-btn{margin-top:12px}
  .forum-topic-toolbar strong{font-size:10px}
  .forum-topic-card{padding:14px 10px;gap:8px}
  .topic-card-main h3{font-size:12px}
  .topic-card-main p{font-size:10px;margin-top:6px}
  .topic-card-stats{gap:12px}
  .thread-post,.reply-card{display:block}
  .thread-user,.reply-user{
    display:flex;align-items:center;gap:8px;text-align:left;border-right:0;
    border-bottom:1px solid #e4e4e4;padding:9px 12px
  }
  .thread-avatar,.reply-avatar{width:30px;height:30px;margin:0;font-size:12px}
  .thread-user span,.reply-user span{margin:0 0 0 auto}
  .thread-content,.reply-content{padding:14px}
  .replies-heading{align-items:flex-start;flex-direction:column;gap:2px}
}


/* =========================================================
   CONTENT HUB + CONTEXTUAL SEO LINKS
========================================================= */
.content-hub-section{padding:22px 0 8px}
.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}
.section-title-row h2{margin:2px 0 5px;font-size:24px}
.section-title-row p{margin:0;color:#777;font-size:12px}
.section-kicker{color:#b61016;font-size:9px;font-weight:900;letter-spacing:.12em}
.site-main-link{padding:8px 11px;border-radius:4px;background:#1f2933;color:#fff;font-size:10px;font-weight:900}
.content-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.content-hub-card{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:190px;overflow:hidden;border:1px solid #ddd;border-radius:7px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.content-hub-card img{width:180px;height:100%;object-fit:cover}
.content-hub-copy{padding:15px}
.content-hub-copy span{color:#b61016;font-size:8px;font-weight:900;letter-spacing:.06em}
.content-hub-copy h3{margin:5px 0 7px;font-size:16px;line-height:1.35}
.content-hub-copy p{margin:0;color:#6a6a6a;font-size:11px;line-height:1.55}
.content-hub-copy b{display:inline-block;margin-top:9px;color:#b61016;font-size:9px}

.article-cta-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.primary-cta,.secondary-cta{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;border-radius:4px;font-size:10px;font-weight:900}
.primary-cta{background:#b61016;color:#fff}
.secondary-cta{border:1px solid #d8d8d8;background:#fff;color:#333}
.external-link{color:#b61016;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.context-links{margin:26px 0;padding:16px;border:1px solid #e2e2e2;background:#fafafa}
.context-links h3{margin:0 0 8px;font-size:16px}
.context-links a{display:block;padding:6px 0;border-bottom:1px dotted #d5d5d5;color:#b61016;font-size:12px;font-weight:700}
.context-links a:last-child{border-bottom:0}
.faq-block{margin-top:28px}
.faq-block>h2{margin-bottom:10px!important}
.faq-item{border:1px solid #e0e0e0;border-radius:4px;background:#fff;margin-bottom:8px}
.faq-item summary{cursor:pointer;padding:11px 13px;font-size:12px;font-weight:800}
.faq-item p{padding:0 13px 12px;margin:0!important;font-size:12px!important;color:#626262!important}
.site-source-strip{padding:9px;text-align:center;border-top:1px solid #2c2c2c;background:#0c0c0c}
.site-source-strip a{color:#e0a318;font-size:11px;font-weight:800}

body.night .content-hub-card,body.night .context-links,body.night .faq-item{background:#222932;border-color:#3c4650}
body.night .content-hub-copy h3,body.night .context-links h3,body.night .faq-item summary{color:#f3f5f7}
body.night .content-hub-copy p,body.night .faq-item p{color:#c6ced6!important}

@media(max-width:900px){
  .content-hub-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .section-title-row{display:block}
  .site-main-link{display:inline-block;margin-top:9px}
  .content-hub-card{grid-template-columns:112px minmax(0,1fr);min-height:135px}
  .content-hub-card img{width:112px;height:100%}
  .content-hub-copy{padding:10px}
  .content-hub-copy h3{font-size:13px;margin:3px 0 5px}
  .content-hub-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:9px}
  .content-hub-copy b{font-size:8px;margin-top:5px}
  .article-cta-row{display:grid;grid-template-columns:1fr}
}


/* Forum simulated activity label */
.forum-simulated-note{
  display:inline-flex;
  align-items:center;
  color:#8a8a8a;
  font-size:8px;
  font-weight:600;
  white-space:nowrap
}
.topic-title-stats .forum-simulated-note{
  width:100%;
  justify-content:flex-end;
  margin-top:3px
}
body.night .forum-simulated-note{color:#9ca6b0}

@media(max-width:650px){
  .forum-simulated-note{font-size:7px}
  .forum-topic-toolbar .forum-simulated-note{display:none}
}


.section-title-row h2.section-kicker-only{
  margin:0!important;
  color:#b61016;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}


/* =========================================================
   FOOTER PRO - DARK, TWO-COLUMN MOBILE
   Inspired by reference layout, keeps existing dark palette
========================================================= */
.footer.footer-pro{
  background:#111;
  color:#d9d9d9;
  border-top:4px solid var(--gold);
}
.footer-pro-inner{
  padding:26px 0 0;
}
.footer-group{
  padding:0 0 22px;
  margin-bottom:20px;
  border-bottom:1px solid #2f2f2f;
}
.footer-group h4{
  margin:0 0 14px;
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.01em;
}
.footer-link-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 28px;
}
.footer-link-grid a{
  display:block;
  color:#d4d8de;
  font-size:12px;
  line-height:1.45;
  transition:color .15s ease,transform .15s ease;
}
.footer-link-grid a:hover{
  color:var(--gold2);
  transform:translateX(2px);
}
.footer-quick-group{
  padding-top:0;
}
.footer-brand-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:4px 0 24px;
  text-align:center;
}
.footer-brand-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.footer-pro-logo{
  width:245px;
  max-width:76vw;
  height:auto;
  margin:0 auto 10px;
}
.footer-brand-center p{
  margin:3px 0;
  color:#f2f2f2;
  font-size:11px;
}
.footer-brand-center .footer-subline{
  color:#b8bec6;
  font-size:10px;
}
body.night .footer.footer-pro{
  background:#0d0f11;
}
body.night .footer-group{
  border-color:#343b42;
}
body.night .footer-link-grid a{
  color:#d1d7dc;
}

@media(max-width:650px){
  .footer-pro-inner{
    padding-top:24px;
  }
  .footer-group{
    padding-bottom:20px;
    margin-bottom:19px;
  }
  .footer-group h4{
    font-size:13px;
    margin-bottom:13px;
  }
  .footer-link-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 18px;
  }
  .footer-link-grid a{
    font-size:11px;
  }
  .footer-brand-center{
    padding:5px 0 20px;
  }
  .footer-pro-logo{
    width:235px;
    max-width:78vw;
  }
  .footer-brand-center p{
    font-size:10px;
  }
  .footer-brand-center .footer-subline{
    font-size:9px;
  }
}

@media(max-width:380px){
  .footer-link-grid{
    gap:9px 12px;
  }
  .footer-link-grid a{
    font-size:10px;
  }
}
