/* AMFTool Forum — single-source stylesheet, consolidated P439. No legacy visual layer. */
:root{--navy:#071b44;--navy2:#0b2b63;--blue:#0b3b82;--line:#dce5f2;--bg:#f5f8fc;--text:#13213b;--muted:#66758c;--white:#fff;--green:#15925f}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}.site-header{position:sticky;top:0;z-index:30;background:linear-gradient(110deg,var(--navy),var(--navy2));color:#fff;box-shadow:0 8px 24px #06152e26}.header-inner{max-width:1180px;margin:auto;min-height:72px;padding:10px 22px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:9px;font-size:21px;font-weight:800;white-space:nowrap}.brand span span{color:#80b9ff}.site-header nav{display:flex;gap:8px;flex:1}.site-header nav a{padding:9px 13px;border-radius:12px;color:#dfeaff;font-weight:600}.site-header nav a:hover,.site-header nav a.active{background:#ffffff18;color:#fff}.header-actions{display:flex;align-items:center;gap:9px}.btn{border:1px solid transparent;border-radius:12px;padding:10px 16px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.btn.solid{background:#1768d5;color:#fff;box-shadow:0 8px 20px #041c4880}.btn.solid:hover{background:#2679e8}.btn.outline{border-color:#79a9e7;color:#fff;background:transparent}.user-chip{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dce9ff}.wrap{max-width:1120px;margin:0 auto;padding:34px 20px 60px}.hero{background:linear-gradient(135deg,#071b44,#0d438f);color:#fff;padding:34px;border-radius:22px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;box-shadow:0 20px 45px #0b2d6626}.hero h1{margin:0 0 8px;font-size:clamp(27px,4vw,42px);line-height:1.15}.hero p{margin:0;color:#dbe9ff;max-width:690px}.toolbar{display:flex;gap:12px;margin:22px 0;align-items:center}.search{flex:1;display:flex;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.search input{border:0;outline:0;flex:1;padding:13px 15px;font:inherit}.search button{border:0;padding:0 18px;background:#edf4ff;color:var(--blue);font-weight:700}.grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px #1b37660b}.panel-title{padding:18px 20px;border-bottom:1px solid var(--line);font-size:18px;font-weight:800}.topic{padding:18px 20px;border-bottom:1px solid #edf1f7;display:grid;grid-template-columns:1fr auto;gap:15px}.topic:last-child{border-bottom:0}.topic h2{font-size:17px;line-height:1.35;margin:0 0 7px}.meta,.excerpt{color:var(--muted);font-size:13px}.excerpt{font-size:14px;margin-top:8px}.stats{text-align:right;min-width:90px;color:var(--muted);font-size:12px}.stats strong{display:block;font-size:17px;color:var(--text)}.badge{display:inline-flex;padding:3px 8px;border-radius:999px;background:#e9f2ff;color:#185cae;font-size:11px;font-weight:800;margin-right:6px}.category{display:block;padding:12px 2px;border-bottom:1px solid #edf1f7}.category:last-child{border:0}.form-card{max-width:820px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:0 15px 40px #13315d10}.form-card h1{margin-top:0}.field{margin-bottom:17px}.field label{display:block;font-weight:750;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;padding:12px 14px;border:1px solid #cdd9e9;border-radius:12px;font:inherit;outline:none;background:#fff}.field textarea{min-height:260px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#2778df;box-shadow:0 0 0 3px #2778df1c}.hint{font-size:12px;color:var(--muted)}.alert{padding:12px 15px;border-radius:12px;margin-bottom:16px;background:#fff0f0;color:#9e2828;border:1px solid #ffd3d3}.topic-page{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px}.topic-page h1{line-height:1.2;font-size:clamp(25px,4vw,38px);margin:8px 0 10px}.topic-body{font-size:16px;line-height:1.8;overflow-wrap:anywhere}.topic-body img,.topic-image{max-width:100%;border-radius:16px;margin:18px 0}.download-box{margin:24px 0;padding:18px;border:1px solid #bcd2ef;background:#f0f6ff;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:15px}.reply:last-child{border:0}.reply-head{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.reply-body{margin-top:8px;white-space:pre-wrap}.auth-card{max-width:470px}.tabs{display:flex;gap:8px;margin-bottom:20px}.tabs a{flex:1;text-align:center;padding:10px;border-radius:11px;background:#eef3fa;font-weight:700}.tabs a.active{background:var(--navy2);color:#fff}footer{background:linear-gradient(110deg,var(--navy),var(--navy2));color:#dbe8fb;padding:32px max(20px,calc((100% - 1120px)/2));display:flex;justify-content:space-between;gap:20px}footer p{margin:4px 0}footer a{color:#fff}@media(max-width:820px){.header-inner{flex-wrap:wrap;gap:8px}.site-header nav{order:3;width:100%;overflow:auto}.header-actions{margin-left:auto}.user-chip{display:none}.grid{grid-template-columns:1fr}.hero{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}.topic{grid-template-columns:1fr}.stats{text-align:left}.download-box{align-items:flex-start;flex-direction:column}footer{flex-direction:column}}

.meta-badges{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 18px}.meta-badge{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border:1px solid #c9d8ec;border-radius:999px;background:#f8fbff;color:#52647d;font-size:12px;line-height:1.2}.meta-badge strong{color:#1a2c49}.meta-badge.role{border-color:#a9c8ef;background:#eef6ff;color:#155ea9;font-weight:800}.topic-topline,.reply-head,.comments-title,.action-row,.manage-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.manage-actions{justify-content:flex-end}.manage-actions form,.reply-head form,.solved-form{margin:0}.btn.compact{padding:7px 11px;border-radius:10px;font-size:12px}.btn.light{background:#f3f7fc;color:#25466f;border-color:#c9d8ea}.btn.light:hover{background:#e7f0fb}.btn.danger{background:#fff3f3;color:#b4232f;border-color:#f0b7bd}.btn.danger:hover{background:#ffe5e8}.comments-panel{margin-top:22px;padding:0 22px;overflow:hidden}.comments-panel>.panel-title{margin:0 -22px}.count-pill{display:inline-flex;min-width:28px;height:28px;align-items:center;justify-content:center;border-radius:999px;background:#eaf3ff;color:#155ea9;font-size:12px}.comment-empty{display:flex;flex-direction:column;gap:4px}.reply-head .meta-badges{margin:0}.reply-body{margin-top:12px;padding:14px 16px;border:1px solid #e0e8f3;background:#fafcff;border-radius:14px;color:#273954}.reply-form-card{margin-top:22px;max-width:none}.reply-textarea{min-height:130px!important}.solved-form{margin-top:18px}.topic .meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.topic .meta .meta-badge{padding:4px 8px}.topic .meta-text{display:inline-flex;align-items:center;border:1px solid #d6e1ef;border-radius:999px;padding:4px 8px;background:#fbfdff}.stat-chip{min-width:72px;padding:8px;border:1px solid #dae4f1;border-radius:12px;background:#f9fbfe;text-align:center}.stat-chip strong{display:block}@media(max-width:640px){.topic-topline,.reply-head{align-items:flex-start;flex-direction:column}.manage-actions{width:100%;justify-content:flex-start}.meta-badges{gap:6px}.meta-badge{white-space:normal}.stats{width:100%}.stat-chip{flex:1}.action-row{align-items:stretch;flex-direction:column}.action-row .btn{width:100%}}

.meta-badges{min-width:0;max-width:100%}
.meta-badge,.meta-text{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:linear-gradient(180deg,#f7fbff,#edf5ff);border-color:#b9d1ee;color:#385675;box-shadow:0 2px 8px rgba(8,45,96,.06)}
.meta-badge strong,.meta-text strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#123a70}
.topic .meta{display:flex;flex-wrap:wrap;gap:7px;min-width:0;max-width:100%}
.topic .meta-text{padding:4px 9px;font-weight:650}
.topic>div:first-child{min-width:0}
.topic h2,.topic h2 a,.excerpt{overflow-wrap:anywhere;word-break:break-word}
.reply-head{gap:12px;align-items:flex-start}
.reply-head .meta-badges{flex:1;min-width:0}
@media(max-width:560px){.meta-badge,.meta-text{max-width:100%;font-size:11px}.topic .meta{align-items:flex-start}.reply-head{flex-direction:column}.reply-head form{align-self:flex-end}}

.icon{width:17px;height:17px;flex:0 0 auto}.site-header nav a,.header-actions .btn,.user-chip{display:inline-flex;align-items:center;gap:8px}.menu-toggle{display:none;width:42px;height:42px;border:1px solid #ffffff2e;border-radius:12px;background:#ffffff12;color:#fff;align-items:center;justify-content:center;cursor:pointer}.menu-toggle svg{width:21px;height:21px}.menu-close{display:none}.menu-shell{display:flex;align-items:center;gap:20px;flex:1;min-width:0}.menu-shell nav{min-width:0}.forum-footer{display:block;padding:0;background:linear-gradient(125deg,#071b44,#0b3474);color:#dbe8fb}.footer-inner{width:min(1120px,100%);margin:auto;padding:44px 20px 34px;display:grid;grid-template-columns:minmax(220px,1.1fr) minmax(0,2fr);gap:48px}.footer-profile{min-width:0}.footer-brand{display:inline-flex;align-items:center;gap:11px;color:#fff;font-size:18px;font-weight:800}.footer-brand img{width:40px;height:40px;border-radius:12px}.footer-profile p{max-width:390px;color:#b9cbe5;line-height:1.75;margin:14px 0 18px}.social-links{display:flex;flex-wrap:wrap;gap:9px}.social-links a{width:38px;height:38px;border:1px solid #ffffff26;border-radius:11px;background:#ffffff0d;display:inline-flex;align-items:center;justify-content:center;color:#fff;transition:.2s}.social-links a:hover{background:#1873df;border-color:#4193f0;transform:translateY(-2px)}.footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.footer-column{min-width:0}.footer-column h3{margin:0 0 14px;color:#fff;font-size:14px}.footer-column a{display:flex;align-items:center;gap:6px;padding:6px 0;color:#b9cbe5;min-width:0}.footer-column a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer-column a .icon{width:14px;height:14px;color:#6ca8ef}.footer-column a:hover{color:#fff}.footer-bottom{border-top:1px solid #ffffff16;width:min(1120px,calc(100% - 40px));margin:auto;padding:16px 0 22px;display:flex;justify-content:space-between;gap:18px;color:#92a9c8;font-size:12px}

@media(max-width:900px){
 .header-inner{min-height:64px;padding:10px 14px;flex-wrap:nowrap;gap:10px}.brand{font-size:18px}.brand img{width:32px;height:32px}.menu-toggle{display:inline-flex;margin-left:auto}.menu-shell{display:none;position:absolute;top:100%;left:10px;right:10px;padding:12px;background:linear-gradient(135deg,#071b44,#0b3474);border:1px solid #ffffff24;border-radius:0 0 18px 18px;box-shadow:0 20px 35px #06152e55;flex-direction:column;align-items:stretch;gap:12px;max-height:calc(100vh - 86px);overflow:auto}.forum-menu-open .menu-shell{display:flex}.forum-menu-open .menu-open{display:none}.forum-menu-open .menu-close{display:block}.site-header nav{display:grid;grid-template-columns:1fr 1fr;order:initial;width:auto;overflow:visible;gap:8px}.site-header nav a{min-width:0;padding:11px 12px;background:#ffffff0a;border:1px solid #ffffff12}.site-header nav a.active{background:#1768d5;border-color:#3989ed}.header-actions{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.header-actions .btn{width:100%;padding:11px 10px}.user-chip{grid-column:1/-1;max-width:100%;padding:10px 12px;border-radius:12px;background:#ffffff0b;border:1px solid #ffffff16}.user-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.footer-inner{grid-template-columns:1fr;gap:30px}.footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 body{font-size:14px}.wrap{padding:20px 12px 42px}.hero{padding:22px 18px;border-radius:18px}.hero h1{font-size:25px}.toolbar{margin:16px 0}.search{width:100%}.search input{min-width:0}.grid{gap:16px}.panel{border-radius:15px}.panel-title{padding:15px 14px;font-size:16px}.topic{padding:15px 12px;gap:12px}.topic h2{font-size:15px;max-width:100%}.topic h2 a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:3.4em}.meta-badges,.topic .meta{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;gap:6px}.meta-badge,.meta-text{width:100%;max-width:100%;font-size:10px;padding:4px 7px}.meta-badge:nth-child(2n),.meta-text:nth-child(2n){width:auto;max-width:145px}.stats{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.stat-chip{min-width:0;padding:7px}.side{padding:12px}.category{padding:10px 0}.form-card,.topic-page{padding:18px 14px;border-radius:16px}.comments-panel{padding:0 14px}.comments-panel>.panel-title{margin:0 -14px}.footer-inner{padding:34px 16px 26px}.footer-links{grid-template-columns:1fr;gap:22px}.footer-column{border-top:1px solid #ffffff16;padding-top:16px}.footer-bottom{width:calc(100% - 32px);flex-direction:column;gap:3px}.forum-footer{overflow:hidden}
}
@media(max-width:380px){.site-header nav,.header-actions{grid-template-columns:1fr}.brand span{font-size:16px}.menu-shell{left:6px;right:6px}.meta-badges,.topic .meta{grid-template-columns:1fr}.meta-badge:nth-child(2n),.meta-text:nth-child(2n){max-width:100%;width:100%}}

.engagement-bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid #e1e9f4}.reaction-group{display:flex;flex-wrap:wrap;gap:9px}.reaction-group form{margin:0}.engagement-btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;border:1px solid #cad8ea;border-radius:13px;background:#f8fbff;color:#314967;font:inherit;font-size:13px;font-weight:750;cursor:pointer;box-shadow:0 4px 12px #17345c0a;transition:.18s ease;text-decoration:none}.engagement-btn strong{min-width:22px;height:22px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#e7eef8;color:#27496f;font-size:11px}.engagement-btn.active.like{border-color:#6fb693;background:#e9f8f0;color:#087649}.engagement-btn.active.like strong{background:#cdeedc;color:#07623d}.engagement-btn.active.dislike{border-color:#e9a5aa;background:#fff0f1;color:#a92b37}.engagement-btn.active.dislike strong{background:#ffd8dc;color:#8d1f2a}.engagement-icon{font-size:16px;line-height:1}.share-wrap{position:relative}.share-menu{position:absolute;right:0;bottom:calc(100% + 9px);z-index:30;width:190px;padding:8px;border:1px solid #d2deed;border-radius:14px;background:#fff;box-shadow:0 18px 45px #10294d24}.share-menu[hidden]{display:none}.share-menu a,.share-menu button{width:100%;display:flex;align-items:center;gap:9px;padding:10px;border:0;border-radius:9px;background:transparent;color:#253b59;font:inherit;font-size:13px;text-align:left;cursor:pointer;text-decoration:none}.share-menu a:hover,.share-menu button:hover{background:#edf5ff;color:#155ea9}.share-menu span{width:20px;text-align:center}
@media(max-width:640px){.engagement-bar{align-items:stretch;flex-direction:column}.reaction-group{display:grid;grid-template-columns:1fr 1fr}.reaction-group form,.reaction-group .engagement-btn{width:100%}.share-wrap,.share-wrap>.engagement-btn{width:100%}.share-menu{right:auto;left:0;bottom:calc(100% + 8px);width:min(100%,260px)}}
@media(max-width:390px){.reaction-group{grid-template-columns:1fr}.engagement-btn{justify-content:flex-start}.engagement-btn strong{margin-left:auto}}

.engagement-bar{
  margin:28px 0 4px;
  padding:16px;
  border:1px solid #d7e3f2;
  border-radius:18px;
  background:linear-gradient(145deg,#ffffff,#f5f9ff);
  box-shadow:0 10px 28px rgba(19,54,96,.08);
}
.reaction-group{align-items:stretch;gap:10px}
.reaction-group form{display:flex}
.engagement-btn{
  min-width:122px;
  min-height:46px;
  padding:10px 14px;
  border:1px solid #bfcfe4;
  border-radius:14px;
  background:#fff;
  color:#24415f;
  box-shadow:0 3px 10px rgba(13,54,102,.07);
}
.engagement-btn:hover{background:#eff6ff;border-color:#6fa6e8;box-shadow:0 8px 18px rgba(17,86,166,.12)}
.engagement-btn strong{
  margin-left:3px;
  min-width:25px;
  height:25px;
  border:1px solid #d3dfed;
  background:#eef3f9;
}
.engagement-btn.active.like{border-color:#65b58d;background:#ecfbf3;box-shadow:0 6px 16px rgba(13,133,78,.12)}
.engagement-btn.active.dislike{border-color:#df8f98;background:#fff1f2;box-shadow:0 6px 16px rgba(174,42,56,.11)}
.share-wrap>.engagement-btn{background:linear-gradient(135deg,#0d57ad,#1876dd);border-color:#1768c8;color:#fff}
.share-wrap>.engagement-btn:hover{background:linear-gradient(135deg,#0b4c98,#1269c8);border-color:#0b4c98}
.share-wrap>.engagement-btn strong{background:#ffffff24;border-color:#ffffff38;color:#fff}
.share-menu{bottom:auto;top:calc(100% + 10px);overflow:hidden}
.share-menu a,.share-menu button{border:1px solid transparent}
.share-menu a:hover,.share-menu button:hover{border-color:#d5e4f6}
.comments-panel{
  margin-top:24px;
  border:1px solid #d9e4f1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(20,55,96,.06);
}
.comments-panel>.panel-title{
  background:linear-gradient(180deg,#fbfdff,#f3f7fc);
  border-bottom:1px solid #dde7f2;
}
.reply{padding:18px 0;border-bottom:1px solid #e5edf6}
.reply:last-child{border-bottom:0}
.reply-head{padding:0 2px}
.reply-body{
  background:linear-gradient(145deg,#fbfdff,#f5f9fe);
  border-color:#d7e3f0;
  box-shadow:inset 0 1px 0 #fff;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.reply-form-card{
  border:1px solid #d8e4f2;
  box-shadow:0 10px 28px rgba(20,55,96,.06);
}
@media(max-width:640px){
  .engagement-bar{padding:12px;border-radius:16px}
  .reaction-group{grid-template-columns:1fr 1fr;gap:8px}
  .engagement-btn{min-width:0;width:100%;padding:10px 9px}
  .share-wrap>.engagement-btn{justify-content:center}
  .share-menu{top:calc(100% + 8px);bottom:auto;width:100%}
  .comments-panel{border-radius:16px}
}
@media(max-width:360px){
  .reaction-group{grid-template-columns:1fr}
}

.upload-field{position:relative;isolation:isolate}.file-picker{display:flex;align-items:center;gap:12px;min-height:58px;padding:9px;border:1px dashed #9fbce0;border-radius:14px;background:linear-gradient(145deg,#f9fcff,#eef5ff);position:relative;z-index:1}.file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}.file-button{margin:0!important;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 14px;border:1px solid #1768d5;border-radius:11px;background:linear-gradient(135deg,#0d57ad,#1876dd);color:#fff!important;font-weight:800!important;cursor:pointer!important;box-shadow:0 6px 16px rgba(20,91,177,.18);user-select:none;position:relative;z-index:2}.file-button:hover{background:linear-gradient(135deg,#0b4c98,#1269c8)}.file-button:focus-visible{outline:3px solid #7fb4f4;outline-offset:2px}.file-name{min-width:0;flex:1;color:#536780;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-preview{margin-top:12px;padding:12px;border:1px solid #d4e1f0;border-radius:14px;background:#fbfdff}.image-preview img{display:block;width:auto;max-width:100%;max-height:260px;margin:0 auto 10px;border-radius:10px;object-fit:contain}.remove-image{display:block;margin:0 auto;border:1px solid #e4a6ad;border-radius:9px;padding:7px 11px;background:#fff4f5;color:#a72d38;font:inherit;font-size:12px;font-weight:750;cursor:pointer}.remove-image:hover{background:#ffe7e9}@media(max-width:560px){.file-picker{align-items:stretch;flex-direction:column}.file-button{width:100%}.file-name{width:100%;text-align:center;white-space:normal;overflow-wrap:anywhere}}

.topic-card,.category-card,.forum-panel,.comment-card,.forum-footer{content-visibility:auto;contain-intrinsic-size:1px 240px;}
.topic-image,.image-preview img{max-width:100%;height:auto;}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}

.forum-back{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #75a5e2;border-radius:12px;color:#fff;background:#ffffff0b;font-weight:750;white-space:nowrap;transition:.18s ease}
.forum-back:hover{background:#ffffff1a;border-color:#9bc2f3;transform:translateX(-1px)}
.forum-back .icon{width:18px;height:18px}
.site-header .header-inner{gap:16px}
.site-header .header-actions{margin-left:auto}
@media(max-width:760px){
 .site-header .header-inner{min-height:64px;padding:9px 12px;gap:9px;flex-wrap:nowrap}
 .site-header .brand span{display:none}
 .site-header .brand img{width:34px;height:34px}
 .forum-back{padding:9px 10px}
 .forum-back span{display:none}
 .site-header .header-actions{display:flex;gap:7px;min-width:0}
 .site-header .header-actions .btn{width:auto;padding:9px 10px;white-space:nowrap}
 .site-header .user-chip{display:none}
}
@media(max-width:430px){
 .site-header .header-actions .btn span{display:none}
 .site-header .header-actions .btn{width:40px;height:40px;padding:0}
}

:root{
  --navy:#081a3a;
  --navy2:#0c2f63;
  --blue:#1769d2;
  --blue-soft:#eaf3ff;
  --line:#e2e9f3;
  --bg:#f6f8fc;
  --text:#17243a;
  --muted:#6c7a90;
  --white:#fff;
  --shadow:0 14px 40px rgba(26,48,83,.08);
}
body{background:radial-gradient(circle at 20% 0,#eef5ff 0,transparent 30%),var(--bg);color:var(--text);letter-spacing:-.005em}
.site-header{background:rgba(8,26,58,.96);backdrop-filter:blur(16px);box-shadow:0 1px 0 rgba(255,255,255,.08),0 8px 25px rgba(4,18,42,.16)}
.header-inner{max-width:1160px;min-height:68px;padding:9px 20px}
.brand{font-size:19px;letter-spacing:-.02em}.brand img{width:36px;height:36px;border-radius:11px;box-shadow:0 5px 15px rgba(0,0,0,.2)}
.forum-back,.site-header .btn{border-radius:11px;min-height:42px}
.forum-back{background:rgba(255,255,255,.06);border-color:rgba(180,209,247,.5);font-weight:700}
.forum-back:hover{background:rgba(255,255,255,.12);transform:none}
.site-header .btn.outline{border-color:rgba(155,194,243,.58);background:rgba(255,255,255,.045)}
.site-header .btn.solid{background:#fff;color:#123e78;box-shadow:none}
.user-chip{display:inline-flex;align-items:center;gap:7px;max-width:220px;padding:8px 11px;border-radius:11px;background:rgba(255,255,255,.07);color:#eff6ff}
.user-chip .icon{width:17px;height:17px;flex:none}
.wrap{max-width:1120px;padding:30px 20px 68px}
.forum-home{padding-top:28px}
.hero{position:relative;overflow:hidden;padding:32px 34px;border-radius:20px;background:linear-gradient(132deg,#0a224b 0%,#0d3b78 72%,#1764bb 100%);box-shadow:0 18px 46px rgba(13,56,115,.18)}
.hero:after{content:"";position:absolute;right:-55px;top:-80px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.08)}
.hero-copy{position:relative;z-index:1}.eyebrow{display:inline-flex;margin-bottom:11px;padding:5px 10px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);color:#dcecff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.hero h1{max-width:700px;font-size:clamp(27px,4vw,39px);letter-spacing:-.035em}.hero p{font-size:15px;line-height:1.7;max-width:650px;color:#d9e7fb}
.hero-cta{position:relative;z-index:1;gap:8px;min-height:46px;padding:11px 17px;background:#fff!important;color:#123e78!important;box-shadow:0 10px 28px rgba(0,0,0,.16)!important}.hero-cta .icon{width:18px;height:18px}
.toolbar{margin:18px 0}.search{height:50px;border-radius:14px;border-color:#dce5f1;box-shadow:0 8px 25px rgba(28,55,91,.05)}
.search-icon{display:flex;align-items:center;padding-left:15px;color:#8090a7;font-size:22px;line-height:1}.search input{padding-left:10px;background:transparent}.search button{padding:0 20px;background:#edf4ff;border-left:1px solid #dce7f5;color:#155dad}
.grid{grid-template-columns:minmax(0,1fr) 268px;gap:20px}
.panel{border-color:var(--line);border-radius:17px;box-shadow:var(--shadow);overflow:hidden}
.panel-title{padding:17px 19px;background:#fbfcfe;border-bottom-color:#e8edf5;font-size:16px;letter-spacing:-.01em}
.topic{padding:19px;grid-template-columns:minmax(0,1fr) auto;gap:18px;transition:background .16s ease}
.topic:hover{background:#fbfdff}.topic h2{font-size:16.5px;margin-bottom:9px}.topic h2 a{display:block}.topic h2 a:hover{color:#155fad}
.meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}.badge,.meta-chip{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:4px 9px;border:1px solid #d8e5f3;border-radius:999px;background:#f5f9fe;color:#4d6380;font-size:11.5px;font-weight:720;line-height:1.2;margin:0;max-width:100%}.category-badge{border-color:#cde0f7;background:#edf5ff;color:#155da9}.badge.solved{border-color:#bfe9d4;background:#eaf9f1;color:#087649}.meta-chip .icon{width:13px;height:13px;flex:none}.author-chip{min-width:0;max-width:min(100%,280px)}.author-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-chip{white-space:nowrap}
.excerpt{margin-top:10px;color:#69788d;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.stats{display:flex;align-items:center;gap:7px;min-width:0;text-align:center}.stat-chip{min-width:68px;padding:8px 9px;border:1px solid #e0e8f2;border-radius:12px;background:#fafcff}.stat-chip strong{font-size:15px;line-height:1.15}.stat-chip span{display:block;margin-top:2px;color:#7d8ba0;font-size:10px}
.side{padding:0}.side .panel-title{margin:0!important}.category{padding:13px 18px;border-color:#edf1f6;transition:.15s ease}.category:hover{background:#f6faff;color:#155fad;padding-left:21px}.category strong{display:block;font-size:13.5px}.category small{display:block;margin-top:2px;color:#7b889a;line-height:1.45}
.empty{padding:34px 20px;color:#77869b;text-align:center}
.topic-page,.form-card,.auth-card,.comments-panel{border-radius:18px!important;border-color:#e0e8f2!important;box-shadow:var(--shadow)!important}
.topic-page{background:#fff}.topic-body{color:#26364d;line-height:1.78}.topic-body img,.topic-image{border-radius:14px}
.meta-badges{gap:7px}.meta-badge{border:1px solid #dbe5f1!important;border-radius:999px!important;background:#f7faff!important;color:#536981!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.form-card{padding:22px}.field input,.field textarea,.field select{border-radius:12px;border-color:#d8e2ee;background:#fbfdff}.field input:focus,.field textarea:focus,.field select:focus{border-color:#6da8ea;box-shadow:0 0 0 4px rgba(45,125,217,.1)}
.forum-footer{margin-top:20px;background:linear-gradient(90deg,#073f9d 0%,#0869dc 100%)}.footer-inner{max-width:1120px}.footer-profile p,.footer-column a,.footer-bottom{color:#b9c8dc}.footer-column h3{color:#fff}
@media(max-width:820px){.side{order:-1}.side .category{display:none}.side .category:first-of-type{display:block}.hero{grid-template-columns:1fr;padding:27px}.hero-cta{justify-self:start}.stats{align-self:start}}
@media(max-width:640px){.wrap{padding:20px 12px 48px}.hero{padding:23px 20px;border-radius:17px}.hero h1{font-size:27px}.toolbar{margin:14px 0}.topic{grid-template-columns:1fr;padding:16px}.author-chip{max-width:100%}.date-chip{white-space:normal}.header-inner{padding-left:10px;padding-right:10px}.forum-back{order:-1}.brand{margin-right:auto}.site-header .header-actions{margin-left:0}.site-header .btn{min-height:40px}.footer-inner{padding-left:18px;padding-right:18px}}
@media(max-width:430px){.hero-cta{width:100%}.hero-cta span{display:inline}.meta{align-items:flex-start}.meta-chip,.badge{font-size:11px}.topic h2{font-size:16px}.site-header .brand{display:none}.forum-back span{display:inline}}

.site-header .header-inner{min-height:60px;padding-top:7px;padding-bottom:7px}
.forum-back,.site-header .header-actions .btn{min-height:36px;padding:7px 10px;border-radius:10px;font-size:13px;gap:6px}
.site-header .header-actions .btn .icon,.forum-back .icon{width:16px;height:16px}
.site-header .header-actions{gap:7px}
.engagement-bar{margin-top:26px;padding:12px;border:1px solid #dfe7f1;border-radius:16px;background:linear-gradient(180deg,#fbfdff,#f5f9fe);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.reaction-group,.share-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

.engagement-btn,.social-share,.share-label{min-height:38px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px;font:inherit;font-size:13px;font-weight:750;white-space:nowrap}
.engagement-btn{border:1px solid #cddbec;background:#fff;color:#31506f;cursor:pointer;transition:.18s ease}
.engagement-btn:hover{border-color:#86afe0;background:#f1f7ff;transform:translateY(-1px)}
.engagement-btn.like-btn.active{border-color:#f2a9b8;background:#fff1f4;color:#c03757;box-shadow:0 5px 14px rgba(190,52,82,.12)}
.engagement-btn strong{min-width:22px;height:22px;border-radius:999px;background:#eaf2fc;color:#28557f;display:inline-flex;align-items:center;justify-content:center;font-size:11px}
.engagement-btn.active strong{background:#fff;color:inherit}
.engagement-icon{width:16px;height:16px;flex:0 0 auto}
.share-label{padding-left:4px;padding-right:4px;color:#74839a;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.social-share{border:1px solid transparent;cursor:pointer;transition:.18s ease}
.social-share:hover{transform:translateY(-1px);filter:brightness(.98)}
.social-share.whatsapp{background:#eafaf1;border-color:#bce9cf;color:#137a49}
.social-share.facebook{background:#edf4ff;border-color:#c6dafa;color:#1f5fac}
.social-share.copy-link{background:#fff;border-color:#d3dfed;color:#405d7d}
.social-share.copy-link.copied{background:#e9f8ef;border-color:#b7e3c8;color:#14804a}
@media(max-width:680px){
 .engagement-bar{align-items:stretch;flex-direction:column}
 .reaction-group,.share-actions{width:100%}
 .reaction-group .engagement-btn,.reaction-group form{flex:1}
 .reaction-group form .engagement-btn{width:100%}
 .share-label{width:100%;justify-content:flex-start}
 .social-share{flex:1;min-width:0}
 .social-share span{overflow:hidden;text-overflow:ellipsis}
 .forum-back,.site-header .header-actions .btn{min-height:34px;padding:6px 8px;font-size:12px}
}
@media(max-width:430px){
 .social-share span{display:none}
 .social-share{min-width:42px;flex:1}
 .share-label span{display:inline}
 .site-header .header-actions .btn{width:36px;height:36px;padding:0}
 .forum-back{height:36px}
}

.site-header{background:linear-gradient(135deg,#0b3268,#0d4f91)!important;border-bottom:1px solid rgba(147,197,253,.22)!important;box-shadow:0 8px 26px rgba(5,35,75,.16)!important}.site-header .header-inner{max-width:1120px;min-height:60px;flex-wrap:nowrap!important}.site-header .brand{margin-right:auto}.forum-back{order:0!important}
.forum-registered-partners{max-width:1120px;margin:0 auto;padding:18px 20px 22px;border-top:1px solid rgba(191,211,237,.16)}.forum-partner-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px;color:#fff}.forum-partner-title strong{font-size:14px}.forum-partner-title span{font-size:11px;color:#9fb5d1}.forum-partner-list{display:flex;flex-wrap:wrap;gap:8px}.forum-partner-chip{display:grid;gap:2px;padding:8px 10px;border:1px solid rgba(183,207,238,.2);border-radius:10px;background:rgba(255,255,255,.055);color:#eaf3ff}.forum-partner-chip b{font-size:11px}.forum-partner-chip small{font-size:9px;color:#9fb5d1}
.topic-body img,.topic-image,.panel img{border:1px solid #cbd5e1!important}
@media(max-width:640px){.site-header .header-inner{gap:7px}.site-header .brand{display:flex!important}.site-header .brand span{display:none}.forum-back span{display:none}.forum-partner-title{align-items:flex-start;flex-direction:column}.forum-registered-partners{padding-left:14px;padding-right:14px}.forum-partner-chip{flex:1 1 calc(50% - 8px);min-width:130px}.site-header .header-actions{gap:5px}}

.forum-registered-partners{box-sizing:border-box!important;overflow:hidden!important}
.forum-partner-title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px 18px!important;flex-wrap:wrap!important}
.forum-partner-title strong{font-size:14px!important;line-height:1.35!important;color:#eef6ff!important;white-space:normal!important}
.forum-partner-title span{font-size:11px!important;line-height:1.45!important;color:#9fb5d1!important;white-space:normal!important}
.forum-partner-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:8px!important;width:100%!important}
.forum-partner-chip{display:grid!important;min-width:0!important;gap:3px!important;padding:9px 10px!important;border:1px solid rgba(183,207,238,.22)!important;border-radius:11px!important;background:rgba(255,255,255,.06)!important;overflow:hidden!important}
.forum-partner-chip b,.forum-partner-chip small{display:block!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;word-break:normal!important}
.forum-partner-chip b{font-size:11px!important;line-height:1.35!important;color:#f1f7ff!important}.forum-partner-chip small{font-size:9px!important;line-height:1.35!important;color:#9fb5d1!important}
@media(max-width:640px){.forum-registered-partners{padding:16px 14px 20px!important}.forum-partner-list{grid-template-columns:1fr!important}.forum-partner-title{flex-direction:column!important}.forum-partner-chip{width:100%!important}}

.hero{border:1px solid rgba(147,197,253,.22)!important;background:radial-gradient(circle at 88% 10%,rgba(56,189,248,.18),transparent 28%),linear-gradient(135deg,#0d376e,#125ba9)!important;box-shadow:0 18px 44px rgba(13,55,110,.16)!important}.hero h1{letter-spacing:-.035em!important}.hero-cta{border:1px solid rgba(255,255,255,.72)!important;box-shadow:0 9px 22px rgba(8,47,99,.16)!important}.toolbar input{min-height:46px!important;border-radius:13px!important;border-color:#cbdcec!important;box-shadow:0 5px 16px rgba(15,23,42,.035)!important}.topic{border-bottom-color:#e7eef6!important}.category{border-left:3px solid transparent!important}.category:hover{border-left-color:#2f80ed!important}.site-header .btn,.forum-back{border:1px solid rgba(147,197,253,.45)!important;background:rgba(255,255,255,.08)!important;color:#eef6ff!important}.site-header .header-actions .btn:last-child{background:#fff!important;color:#155ba7!important;border-color:#fff!important}.forum-footer{background:linear-gradient(90deg,#073f9d 0%,#0869dc 100%)!important;border-top:1px solid rgba(147,197,253,.24)!important}@media(max-width:640px){.site-header{position:sticky!important;top:0!important;z-index:80!important}.site-header .header-inner{min-height:56px!important;padding:6px 10px!important}.site-header .brand img{width:38px!important;height:38px!important}.hero{margin-top:10px!important;padding:21px 17px!important}.hero h1{font-size:25px!important;line-height:1.12!important}.hero p{font-size:13px!important;line-height:1.55!important}.hero-cta{width:100%!important;justify-content:center!important}.toolbar{display:grid!important;grid-template-columns:1fr!important}.grid{grid-template-columns:1fr!important}.side{order:2!important}.side .category{display:flex!important}.topic{grid-template-columns:1fr!important}.stats{width:100%!important}.stat-chip{flex:1!important}.site-header .header-actions .btn{min-width:38px!important}}

.forum-back{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 11px;border:1px solid rgba(191,219,254,.42);border-radius:11px;background:rgba(255,255,255,.08);color:#eef6ff;font-weight:800;white-space:nowrap}
.forum-back:hover{background:rgba(255,255,255,.15)}
.topic,.topic>div,.topic h2,.topic h2 a,.excerpt,.meta,.meta-chip,.badge{min-width:0;max-width:100%}
.topic h2 a{white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}
.excerpt{overflow-wrap:anywhere;word-break:break-word}
.search{max-width:100%;overflow:hidden}.search input{min-width:0;width:100%}
@media(max-width:640px){.forum-back{width:38px;height:38px;padding:0;flex:0 0 38px}.forum-back span{display:none!important}.topic{grid-template-columns:minmax(0,1fr)!important}.topic h2 a{white-space:normal!important}.meta{display:flex!important;flex-wrap:wrap!important}.meta-chip,.badge{width:auto!important;max-width:100%!important}.stats{display:grid!important;grid-template-columns:1fr 1fr!important}.search{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important}.search button{padding:0 14px!important}}

:root{--forum-fixed-header-h:60px}
html{scroll-padding-top:calc(var(--forum-fixed-header-h) + 12px)}
body.amf-standalone-page{padding-top:var(--forum-fixed-header-h)!important}
body.amf-standalone-page>.site-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:9999!important;
  margin:0!important;
  transform:translateZ(0);
  -webkit-transform:translateZ(0);
  will-change:transform;
}
body.amf-standalone-page>.site-header .header-inner{
  min-height:var(--forum-fixed-header-h)!important;
}
@media(max-width:640px){
  :root{--forum-fixed-header-h:56px}
  body.amf-standalone-page{padding-top:var(--forum-fixed-header-h)!important}
  body.amf-standalone-page>.site-header{
    position:fixed!important;
    top:0!important;
    z-index:9999!important;
  }
  body.amf-standalone-page>.site-header .header-inner{
    min-height:var(--forum-fixed-header-h)!important;
    padding-top:6px!important;
    padding-bottom:6px!important;
  }
}

.forum-nav-shell{max-width:1280px;min-height:64px;padding:8px 22px;gap:18px}
.forum-nav-shell .brand{font-size:20px;color:#fff}.forum-nav-shell .brand img{width:38px;height:38px;border-radius:50%}.forum-nav-shell .brand>span>span{color:#fff}
.forum-top-nav{display:flex!important;align-items:center;justify-content:center;gap:2px;white-space:nowrap}.forum-top-nav a{padding:9px 10px!important;border-radius:9px!important;font-size:13px!important;color:#fff!important;font-weight:650!important}.forum-top-nav a.active{background:#1670e6!important;box-shadow:inset 0 0 0 1px #4ba2ff55,0 5px 12px #00397955}.forum-header-actions{gap:7px}.header-icon,.lang-chip{height:38px;border:1px solid #ffffff2b;background:#07439a;color:#fff;border-radius:10px;padding:0 12px;font-weight:750}.header-icon{width:38px;padding:0}.forum-login{background:#fff!important;color:#0a4fae!important;border:0!important;box-shadow:none!important}.forum-menu-toggle{display:none;border:0;background:#ffffff12;color:#fff;border-radius:10px;width:42px;height:42px}.forum-menu-toggle .icon{width:22px}
.forum-ref-layout{max-width:1280px;padding:20px 20px 32px}.forum-hero-pro{position:relative;min-height:286px;border-radius:15px;padding:46px 430px 34px 36px;color:#fff;overflow:hidden;background:radial-gradient(circle at 84% 30%,#0b62d744 0 15%,transparent 16%),linear-gradient(115deg,#061c50 0%,#092f75 60%,#062257 100%);box-shadow:0 8px 24px #092e701d}.forum-hero-pro:after{content:"";position:absolute;inset:0;background-image:radial-gradient(#2c79e355 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent 30%,#000 100%);pointer-events:none}.forum-breadcrumb{display:inline-flex;gap:6px;align-items:center;font-size:12px;color:#dbe9ff;margin-bottom:13px}.forum-hero-copy h1{font-size:34px;line-height:1.08;margin:0 0 12px}.forum-hero-copy p{font-size:14px;line-height:1.65;color:#e0ebff;max-width:520px;margin:0}.forum-hero-stats{display:flex;gap:34px;margin-top:30px}.forum-hero-stats span{display:grid;grid-template-columns:36px auto;grid-template-rows:auto auto;column-gap:8px;position:relative}.forum-hero-stats span:before{content:"◎";grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border:1px solid #1786ff;border-radius:50%;color:#1494ff}.forum-hero-stats b{font-size:14px}.forum-hero-stats small{font-size:11px;color:#cbdcf7}.forum-hero-art{position:absolute;right:180px;top:46px;width:180px;height:130px;z-index:1}.bubble{position:absolute;display:grid;place-items:center;font-size:28px;font-weight:900;box-shadow:0 16px 28px #0019424d}.bubble-a{left:0;top:0;width:95px;height:72px;border-radius:28px 28px 28px 8px;background:#176fe9}.bubble-b{right:0;bottom:0;width:108px;height:78px;border-radius:30px 30px 8px 30px;background:#fff;color:#1762d1}.forum-new-topic{position:absolute;right:42px;bottom:42px;z-index:2;background:linear-gradient(180deg,#176ee9,#075bd0);color:#fff;border-radius:7px;padding:12px 20px;font-weight:800;box-shadow:0 8px 18px #001f5c55}.forum-new-topic b{font-size:20px;margin-right:5px}.forum-notice{margin:14px 0 0;border-radius:12px;background:#fff;border:1px solid #dbe5f3;padding:14px}.forum-category-strip{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;margin:18px 0 14px}.forum-cat-card{min-width:0;height:104px;border:1px solid #dde5f1;background:#fff;border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-shadow:0 4px 16px #12305e08}.forum-cat-card.active{border-color:#2d75f1;box-shadow:0 0 0 1px #2d75f120}.cat-ico{font-size:24px;color:#0c62d4}.forum-cat-card b{font-size:12px}.forum-cat-card small{font-size:11px;color:#52698b}.forum-cat-card.active b,.forum-cat-card.active small{color:#075ed2}.forum-toolbar-pro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;margin:0 0 14px}.forum-search-pro{display:flex;height:50px;background:#fff;border:1px solid #dde6f2;border-radius:10px;overflow:hidden;align-items:center}.forum-search-pro>span{font-size:22px;color:#7d90aa;padding-left:15px}.forum-search-pro input{border:0;outline:0;flex:1;min-width:0;padding:0 12px;font:inherit}.forum-search-pro button{align-self:stretch;width:86px;border:0;background:linear-gradient(#1770ed,#075bd3);color:#fff;font-weight:800}.forum-filters{display:flex;gap:8px;align-items:center}.forum-filter-chip,.forum-filter-clear{height:50px;border:1px solid #dbe4f0;border-radius:9px;background:#fff;color:#273858;padding:0 18px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.forum-filter-chip.active{border-color:#8bb8ef;background:#f0f6ff;color:#075ed2}.forum-filter-clear{border-color:#f0caca;background:#fff7f7;color:#b33c3c}.forum-main-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.forum-topic-panel{background:#fff;border:1px solid #dde5f1;border-radius:11px;box-shadow:0 5px 18px #12305e09}.forum-panel-head{height:48px;padding:0 18px;display:flex;align-items:center;border-bottom:1px solid #e4eaf3}.forum-panel-head h2{font-size:14px;margin:0}.forum-topic-row{min-height:82px;display:grid;grid-template-columns:18px 34px minmax(0,1fr) 64px 64px 140px 28px 14px;gap:8px;align-items:center;padding:10px 16px;border-bottom:1px solid #edf1f6;transition:background .16s ease,border-color .16s ease}.forum-topic-row:hover{background:#f8fbff;border-bottom-color:#dbe8f7}.topic-pin{font-size:10px;color:#9cacc1}.topic-round{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#1971dc;color:#fff;font-weight:900}.topic-round.solved{background:#20ad6e}.topic-round.question{background:#8a46dc}.topic-round.important{background:#1971dc}.topic-copy{min-width:0}.topic-copy h3{font-size:12px;line-height:1.25;margin:3px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topic-copy h3 a:hover{color:#075fd3}.topic-copy p{font-size:10px;color:#607390;margin:0}.topic-copy p i{font-style:normal;padding:0 5px}.topic-status{display:inline-block;font-size:9px;line-height:17px;padding:0 7px;border-radius:3px;background:#1971dc;color:#fff;font-weight:900}.topic-status.solved{background:#17a965}.topic-status.question{background:#7c42d4}.topic-metric{text-align:center}.topic-metric b{display:block;font-size:10px;color:#486587}.topic-metric small{font-size:9px;color:#7b8ba0}.topic-last{display:flex;align-items:center;justify-content:flex-end;gap:7px;text-align:right}.topic-last small{font-size:9px;line-height:1.3;color:#526987;max-width:110px;overflow:hidden;text-overflow:ellipsis}.avatar-dot{width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:linear-gradient(135deg,#ca9a6c,#60351f);color:#fff;display:grid;place-items:center;font-size:10px;font-weight:800}.topic-wa{color:#11ac65;font-size:22px;line-height:1}.topic-go{color:#35649a;font-size:20px}.forum-pagination{display:flex;justify-content:center;gap:6px;padding:18px 12px 8px}.forum-pagination a{width:32px;height:32px;border:1px solid #dbe4ef;border-radius:7px;background:#fff;color:#28405f;display:grid;place-items:center;font-size:12px;font-weight:700}.forum-pagination a:hover{border-color:#91b9ea;background:#f4f8ff}.forum-pagination a.active{background:#1266dc;color:#fff;border-color:#1266dc}.forum-count-note{text-align:center;font-size:11px;color:#788aa1;padding-bottom:18px}.forum-stat-card h3{margin-bottom:10px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stat-grid span{padding:9px;border-radius:7px;background:#f6f9fd}.stat-grid b{display:block;font-size:13px;color:#075dcf}.stat-grid small{font-size:9px;color:#788ba4}.side-more{display:block;text-align:center;margin-top:9px;padding:7px;background:#eff5ff;color:#075ecf;border-radius:6px;font-size:9px;font-weight:800}.member-dots{display:flex;gap:5px;flex-wrap:wrap}.member-dots span{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#146ad8,#082e78);border:2px solid #e8f2ff;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900}.forum-footer{margin-top:0}
@media(max-width:1040px){.forum-top-nav a{font-size:12px!important;padding:8px 7px!important}.forum-hero-pro{padding-right:300px}.forum-hero-art{right:120px}.forum-category-strip{grid-template-columns:repeat(4,1fr)}.forum-main-grid{grid-template-columns:minmax(0,1fr)}.forum-topic-row{grid-template-columns:14px 30px minmax(0,1fr) 52px 52px 100px 24px 12px}.topic-last small{display:none}}
@media(max-width:820px){.forum-nav-shell{flex-wrap:nowrap!important}.forum-menu-toggle{display:grid;place-items:center;order:3}.forum-top-nav{display:none!important;position:absolute;left:12px;right:12px;top:58px;background:#fff;border-radius:14px;box-shadow:0 18px 40px #001c4d38;padding:10px;flex-direction:column;align-items:stretch!important;z-index:100}.forum-top-nav.open{display:flex!important}.forum-top-nav a{color:#163254!important}.forum-top-nav a.active{color:#fff!important}.forum-header-actions{margin-left:auto}.forum-header-actions .header-icon{display:none}.forum-header-actions .user-chip{display:none}.forum-header-actions .btn span{display:none}.forum-header-actions .btn{width:40px;padding:0}.forum-ref-layout{padding:14px 12px 24px}.forum-hero-pro{min-height:315px;padding:28px 20px 86px}.forum-hero-copy h1{font-size:30px}.forum-hero-art{right:10px;top:30px;transform:scale(.7);transform-origin:top right;opacity:.65}.forum-new-topic{left:20px;right:20px;bottom:22px;text-align:center}.forum-hero-stats{gap:12px;flex-wrap:wrap}.forum-hero-stats span{grid-template-columns:28px auto}.forum-hero-stats span:before{width:26px;height:26px}.forum-category-strip{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px}.forum-cat-card{min-width:92px;height:88px}.forum-toolbar-pro{grid-template-columns:1fr}.forum-filters{overflow-x:auto}.forum-filter-chip,.forum-filter-clear{height:42px;padding:0 14px}.forum-main-grid{grid-template-columns:1fr}.forum-topic-row{min-height:78px;grid-template-columns:12px 30px minmax(0,1fr) 42px 42px 18px;padding:9px 10px}.topic-last,.topic-wa{display:none}.topic-go{font-size:18px}.topic-copy h3{font-size:12px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.topic-metric small{display:none}.forum-pagination{overflow-x:auto;justify-content:flex-start;padding-left:10px;padding-right:10px}}
@media(max-width:520px){.forum-nav-shell{padding:7px 10px}.forum-nav-shell .brand>span{display:none}.forum-header-actions .lang-chip{padding:0 8px}.forum-hero-pro{border-radius:13px}.forum-hero-copy h1{font-size:27px;max-width:320px}.forum-hero-copy p{font-size:13px}.forum-hero-stats span:nth-child(2){display:none}.forum-topic-row{grid-template-columns:26px minmax(0,1fr) 36px 36px 14px}.topic-pin{display:none}.topic-round{width:24px;height:24px}.topic-copy p{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-filter-chip,.forum-filter-clear{font-size:11px;padding:0 12px}}

.forum-only-header{background:linear-gradient(100deg,#08285f 0%,#0a438d 48%,#0b4e9d 100%);box-shadow:0 1px 0 rgba(255,255,255,.10),0 8px 24px rgba(3,25,65,.16)}
.forum-only-header .forum-nav-shell{max-width:1360px;min-height:66px;padding:8px 20px;gap:14px;position:relative}
.forum-only-header .brand{flex:0 0 auto;gap:8px;font-size:18px;line-height:1;letter-spacing:-.025em}
.forum-only-header .brand img{width:36px;height:36px;border-radius:50%;box-shadow:none}
.forum-only-header .brand>span{display:inline-flex;align-items:baseline;color:#fff}
.forum-only-header .brand>span>span{color:#dbeaff;margin-left:1px}
.forum-only-header .forum-top-nav{display:flex!important;align-items:center;justify-content:center;gap:2px;min-width:0;flex:1;white-space:nowrap}
.forum-only-header .forum-top-nav a{height:40px;padding:0 9px!important;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:9px!important;color:#e8f2ff!important;font-size:12.5px!important;font-weight:680!important;line-height:1;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.forum-only-header .forum-top-nav a .icon{width:15px;height:15px;opacity:.9;stroke-width:2}
.forum-only-header .forum-top-nav a:hover{background:rgba(255,255,255,.10);color:#fff!important}
.forum-only-header .forum-top-nav a.active{background:#1471e8!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(119,184,255,.32),0 5px 13px rgba(0,40,103,.23)}
.forum-only-header .forum-header-actions{flex:0 0 auto;display:flex;align-items:center;gap:6px;margin-left:2px}
.forum-only-header .header-icon,.forum-only-header .lang-chip{height:38px;border:1px solid rgba(255,255,255,.18);background:rgba(2,44,105,.40);color:#fff;border-radius:9px;display:inline-flex;align-items:center;justify-content:center}
.forum-only-header .header-icon{width:38px;padding:0}
.forum-only-header .header-icon .icon{width:17px;height:17px}
.forum-only-header .header-icon:hover,.forum-only-header .lang-chip:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.30)}
.forum-only-header .lang-chip{padding:0 9px;gap:5px;font-size:12px;font-weight:800;white-space:nowrap}
.forum-only-header .lang-flag{font-size:14px;line-height:1}.forum-only-header .lang-caret{font-size:11px;opacity:.8;margin-left:1px}
.forum-only-header .forum-login,.forum-only-header .btn.outline{height:38px;min-height:38px;border-radius:9px;padding:0 11px;font-size:12.5px;gap:6px;white-space:nowrap}
.forum-only-header .forum-login{background:#fff!important;color:#0b4d9f!important;font-weight:800!important}
.forum-only-header .forum-login .icon,.forum-only-header .btn.outline .icon{width:16px;height:16px}
.forum-only-header .user-chip{display:none!important;height:38px;padding:0 10px;max-width:155px;border-radius:9px;font-size:12px}
.forum-only-header .forum-menu-toggle{width:40px;height:40px;flex:0 0 40px;border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.08);border-radius:9px}

@media(max-width:1160px){
 .forum-only-header .forum-nav-shell{max-width:100%;padding-left:14px;padding-right:14px}
 .forum-only-header .forum-menu-toggle{display:grid;place-items:center;order:3}
 .forum-only-header .forum-top-nav{display:none!important;position:absolute;left:12px;right:12px;top:calc(100% + 6px);z-index:120;padding:8px;background:#fff;border:1px solid #dce6f3;border-radius:13px;box-shadow:0 18px 42px rgba(0,31,78,.24);flex-direction:column;align-items:stretch!important;gap:3px;white-space:normal}
 .forum-only-header .forum-top-nav.open{display:flex!important}
 .forum-only-header .forum-top-nav a{width:100%;height:43px;padding:0 12px!important;justify-content:flex-start;color:#173557!important;font-size:13px!important;border-radius:9px!important}
 .forum-only-header .forum-top-nav a .icon{width:17px;height:17px;color:#236ac1}
 .forum-only-header .forum-top-nav a:hover{background:#eef5ff;color:#0c57ad!important}
 .forum-only-header .forum-top-nav a.active{background:#126adf!important;color:#fff!important}
 .forum-only-header .forum-top-nav a.active .icon{color:#fff}
 .forum-only-header .forum-header-actions{margin-left:auto}
}
@media(max-width:700px){
 .forum-only-header .forum-nav-shell{min-height:60px;padding:7px 10px;gap:7px}
 .forum-only-header .brand{font-size:17px;margin-right:auto}
 .forum-only-header .brand img{width:34px;height:34px}
 .forum-only-header .forum-header-actions{gap:5px;margin-left:0}
 .forum-only-header .header-icon{display:none}
 .forum-only-header .user-chip{display:none!important;display:none}
 .forum-only-header .forum-header-actions .btn span{display:none}
 .forum-only-header .forum-header-actions .btn{width:38px;height:38px;padding:0}
 .forum-only-header .lang-chip{height:38px;padding:0 8px}
 .forum-only-header .forum-menu-toggle{width:38px;height:38px;flex-basis:38px}
 .forum-only-header .forum-top-nav{left:8px;right:8px;top:calc(100% + 4px)}
}
@media(max-width:430px){
 .forum-only-header .brand>span{display:none}
 .forum-only-header .brand{margin-right:auto}
 .forum-only-header .lang-chip .lang-flag{display:none}
 .forum-only-header .lang-chip{padding:0 7px;gap:3px}
}

.forum-create-wrap{max-width:1240px;padding-top:26px}.forum-compose-shell{background:#fff;border:1px solid #dfe7f2;border-radius:18px;box-shadow:0 18px 48px rgba(22,51,91,.09);overflow:hidden}.forum-compose-topbar{min-height:76px;padding:14px 20px;border-bottom:1px solid #e7edf5;display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(180deg,#fff,#fbfdff)}.forum-compose-heading{display:flex;align-items:center;gap:12px;min-width:0}.forum-compose-heading h1{margin:1px 0 0;font-size:21px;line-height:1.2;color:#182a42}.compose-eyebrow{display:block;color:#1268d7;font-size:9px;line-height:1.1;font-weight:900;letter-spacing:.12em}.forum-compose-back{width:40px;height:40px;border:1px solid #d9e4f1;border-radius:10px;display:grid;place-items:center;color:#376084;background:#fff}.forum-compose-back:hover{background:#eef5ff;color:#0c61cb}.forum-compose-back .icon{width:18px;height:18px}.forum-compose-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#eff7ff;color:#1761b4;font-size:11px;font-weight:800}.compose-dot{width:7px;height:7px;border-radius:50%;background:#1685ef;box-shadow:0 0 0 4px #1685ef16}.forum-compose-alert{margin:16px 20px 0}.forum-compose-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;min-height:580px}.forum-compose-editor{padding:20px 20px 24px;border-right:1px solid #e8edf4;min-width:0}.compose-title-field{position:relative;margin-bottom:14px}.compose-title-field input{width:100%;height:54px;padding:0 72px 0 16px;border:1px solid #d7e0eb;border-radius:10px;background:#fff;color:#17273d;font:700 20px/1.2 Inter,system-ui,sans-serif;outline:0}.compose-title-field input::placeholder{color:#96a4b7;font-weight:600}.compose-title-field input:focus{border-color:#2476d7;box-shadow:0 0 0 3px #2476d71b}.compose-counter{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:10px;color:#8796a9}.compose-counter b{color:#4f6580}.compose-editor-card{border:1px solid #d7e0eb;border-radius:10px;overflow:hidden;background:#fff}.compose-toolbar{min-height:44px;padding:5px 7px;display:flex;align-items:center;gap:2px;border-bottom:1px solid #e0e6ee;background:#f8fafc;overflow-x:auto}.compose-toolbar button{height:32px;min-width:32px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:#46576d;font:700 11px/1 system-ui;cursor:pointer;white-space:nowrap}.compose-toolbar button:hover{background:#e8f1ff;color:#0c62cd}.toolbar-separator{width:1px;height:21px;background:#d9e0e9;margin:0 3px;flex:none}.compose-editor-card textarea{display:block;width:100%;min-height:420px;padding:18px;border:0!important;border-radius:0!important;resize:vertical;outline:0;box-shadow:none!important;background:#fff;color:#202c3b;font:15px/1.75 Inter,system-ui,sans-serif}.compose-editor-footer{min-height:37px;padding:8px 12px;border-top:1px solid #e7edf4;display:flex;justify-content:space-between;gap:10px;color:#8190a3;background:#fbfcfe;font-size:10px}.forum-compose-settings{background:#fbfcfe;padding:18px 16px 20px}.compose-settings-head{display:flex;align-items:center;justify-content:space-between;padding:0 2px 12px;border-bottom:1px solid #e4eaf2}.compose-settings-head h2{margin:0;font-size:14px;color:#21334b}.compose-settings-head span{padding:4px 7px;border-radius:999px;background:#e8f7ef;color:#158352;font-size:9px;font-weight:900}.compose-setting-block{padding:15px 2px;border-bottom:1px solid #e6ebf2}.compose-setting-block>label{display:flex;justify-content:space-between;gap:8px;margin-bottom:7px;color:#344860;font-size:11px;font-weight:850}.compose-setting-block label small{color:#8998aa;font-size:9px;font-weight:600}.compose-setting-block select,.compose-setting-block>input{width:100%;height:40px;padding:0 10px;border:1px solid #d4deea;border-radius:8px;background:#fff;color:#304258;font:12px system-ui;outline:0}.compose-setting-block select:focus,.compose-setting-block>input:focus{border-color:#2777d7;box-shadow:0 0 0 3px #2777d712}.compose-setting-block p{margin:6px 0 0;color:#8a98a9;font-size:9.5px;line-height:1.5}.compose-publish-box{padding:16px 2px 0}.compose-publish-box>div{display:flex;flex-direction:column;margin-bottom:10px}.compose-publish-box strong{font-size:11px;color:#31455d}.compose-publish-box span{font-size:9.5px;color:#8897aa}.compose-publish{width:100%;min-height:42px;border-radius:8px!important;gap:7px;box-shadow:0 8px 18px rgba(17,101,205,.16)!important}.compose-publish .icon{width:16px;height:16px}.compose-publish span{color:#fff;font-size:11px;font-weight:850}
@media(max-width:860px){.forum-create-wrap{padding:16px 12px 40px}.forum-compose-grid{grid-template-columns:1fr}.forum-compose-editor{border-right:0;border-bottom:1px solid #e8edf4;padding:15px}.forum-compose-settings{padding:14px 15px 18px}.compose-editor-card textarea{min-height:340px}.compose-setting-block{padding:12px 2px}.compose-publish-box{padding-top:14px}}
@media(max-width:520px){.forum-compose-shell{border-radius:13px}.forum-compose-topbar{min-height:66px;padding:11px 12px}.forum-compose-heading h1{font-size:17px}.forum-compose-back{width:36px;height:36px}.forum-compose-status{display:none}.forum-compose-editor{padding:12px}.compose-title-field input{height:49px;padding-left:12px;font-size:17px}.compose-toolbar{padding:4px}.compose-toolbar button{height:31px;padding:0 8px}.compose-editor-card textarea{min-height:310px;padding:14px;font-size:14px}.compose-editor-footer{align-items:flex-start;flex-direction:column;gap:2px}.forum-compose-settings{padding:12px}.compose-publish{min-height:44px}}

.room-topic-card{position:relative;overflow:hidden;padding:24px 26px 26px}.room-kicker{display:flex;align-items:center;gap:8px;margin-bottom:17px;color:#31506f;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}.room-kicker small{margin-left:auto;color:#8a98aa;font-size:11px;font-weight:650;text-transform:none;letter-spacing:0}.room-live-dot{width:8px;height:8px;border-radius:50%;background:#2d7fe5;box-shadow:0 0 0 5px #2d7fe51a}.room-topic-heading{display:flex;align-items:flex-start;gap:14px}.room-avatar,.room-message-avatar,.room-compose-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:50%;background:linear-gradient(145deg,#1769cf,#0d3f85);color:#fff;font-weight:850;box-shadow:0 6px 16px #0c448733}.room-avatar-topic{width:46px;height:46px;font-size:18px}.room-topic-title{min-width:0;flex:1}.room-topic-title h1{margin:0 0 7px}.room-author-line{display:flex;align-items:center;gap:8px;color:#65758b;font-size:12px}.room-author-line strong{color:#243a59}.room-author-line span{padding:2px 7px;border-radius:999px;background:#edf5ff;color:#1c61ad;font-size:10px;font-weight:800}.room-topic-card .meta-badges{margin-left:60px}.room-topic-card .topic-image,.room-topic-card .topic-body,.room-topic-card .download-box,.room-topic-card .engagement-bar,.room-topic-card .solved-form{margin-left:60px}.comments-panel{background:linear-gradient(180deg,#fff,#fbfdff)}.comments-title>div{display:grid;gap:1px}.comments-title small{color:#8694a6;font-size:11px;font-weight:500}.room-section-title{font-weight:850}.room-message{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;border-bottom:0!important;padding:15px 0}.room-message+.room-message{border-top:1px solid #edf2f7!important}.room-message-avatar{width:38px;height:38px;font-size:14px;margin-top:2px}.room-message-content{min-width:0}.room-message .reply-head{margin-bottom:6px}.room-message .meta-badges{margin:0}.room-message-bubble{display:inline-block;max-width:min(100%,760px);margin-top:0!important;padding:12px 15px!important;border:1px solid #dbe6f3!important;border-radius:6px 16px 16px 16px!important;background:#f2f7fd!important;color:#243a57!important;box-shadow:0 5px 15px #0f3f7008;line-height:1.65}.room-composer{padding:20px 22px!important}.room-composer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.room-composer-head h2{margin:0;font-size:18px}.room-composer-head p{margin:2px 0 0;color:#7a899c;font-size:12px}.room-online-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #c9e3f9;border-radius:999px;background:#eef7ff;color:#1765b6;font-size:11px;font-weight:800}.room-compose-row{display:flex;align-items:flex-start;gap:11px}.room-compose-avatar{width:36px;height:36px;font-size:13px;margin-top:3px}.room-compose-field{flex:1;margin:0!important}.room-compose-field textarea{min-height:94px!important;border-radius:16px!important;background:#f8fbff!important}.room-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.room-compose-actions span{color:#8694a6;font-size:11px}.room-compose-actions .btn{min-height:38px;padding:8px 14px;border-radius:11px;font-size:12px}
@media(max-width:640px){.room-topic-card{padding:18px 14px}.room-topic-heading{gap:10px}.room-avatar-topic{width:40px;height:40px}.room-topic-card .meta-badges,.room-topic-card .topic-image,.room-topic-card .topic-body,.room-topic-card .download-box,.room-topic-card .engagement-bar,.room-topic-card .solved-form{margin-left:0}.room-topic-card .meta-badges{margin-top:14px}.room-kicker small{display:none}.room-message{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:13px 0}.room-message-avatar{width:32px;height:32px;font-size:12px}.room-message .meta-badges{display:flex!important}.room-message-bubble{max-width:100%;border-radius:5px 14px 14px 14px!important;padding:11px 12px!important}.room-composer{padding:16px 13px!important}.room-compose-row{gap:8px}.room-compose-avatar{width:32px;height:32px}.room-compose-actions{align-items:stretch;flex-direction:column}.room-compose-actions .btn{width:100%}.room-compose-actions span{order:2}.room-composer-head{margin-bottom:12px}}

.badge.pinned,.topic-status.pinned{background:#f3a313;color:#fff}.badge.locked,.topic-status.locked{background:#5d6b7c;color:#fff}.topic-pin.active{color:#f3a313}.topic-round.pinned{background:#fff4db;color:#b66d00}.topic-round.locked{background:#eef1f5;color:#4e5a69}
.moderator-tools{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0 60px}.moderator-tools form{margin:0}.reply-quote{display:grid;gap:2px;max-width:min(100%,720px);margin:0 0 6px;padding:8px 11px;border-left:3px solid #4d8fdf;border-radius:8px;background:#edf5ff;color:#496783;text-decoration:none}.reply-quote strong{font-size:11px;color:#1b5da8}.reply-quote span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.reply-actions-row{display:flex;align-items:center;gap:8px;margin-top:6px}.reply-actions-row form{margin:0}.reply-to-btn,.reply-like-btn,.reply-like-static{border:0;background:transparent;color:#6b7c91;font-size:11px;font-weight:750;padding:4px 6px;border-radius:7px;text-decoration:none;cursor:pointer}.reply-to-btn:hover,.reply-like-btn:hover{background:#edf5ff;color:#1765b6}.reply-like-btn.active{background:#e9f3ff;color:#1269d5}.reply-like-btn b{margin-left:3px}.reply-like-static{cursor:default}.reply-target{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px 47px;padding:8px 10px;border:1px solid #cfe0f4;border-radius:10px;background:#f3f8ff;color:#45617f;font-size:11px}.reply-target[hidden]{display:none}.reply-target strong{color:#155eaf}.reply-target button{width:26px;height:26px;border:0;border-radius:7px;background:#e3eefb;color:#416182;font-size:18px;line-height:1;cursor:pointer}.locked-topic-note{padding:13px 14px;border:1px solid #d6dee8;border-radius:11px;background:#f5f7fa;color:#596779;font-size:12px;font-weight:700}
@media(max-width:640px){.moderator-tools{margin-left:0}.moderator-tools .btn{width:auto}.reply-target{margin-left:40px}.reply-actions-row{flex-wrap:wrap}.reply-quote{max-width:100%}}

.forum-only-header .forum-top-nav{justify-content:flex-start;gap:5px}
.forum-only-header .forum-top-nav a{padding-left:12px!important;padding-right:12px!important}
.forum-only-header .forum-header-actions{margin-left:auto}
@media(min-width:821px){
 .forum-only-header .forum-menu-toggle{display:none!important}
 .forum-only-header .forum-top-nav{flex:0 1 auto;margin-left:8px}
}
@media(max-width:820px){
 .forum-only-header .forum-header-actions{margin-left:auto}
}

.forum-notification-page{padding-top:28px}.notification-page-card{background:#fff;border:1px solid #e1eaf5;border-radius:20px;box-shadow:0 14px 38px rgba(32,71,122,.08);overflow:hidden}.notification-page-head{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;padding:24px;border-bottom:1px solid #e8eef7}.notification-page-head h1{margin:6px 0 4px}.notification-page-head p{margin:0;color:#728096}.notification-list{display:block}.notification-row{display:flex;align-items:center;gap:13px;padding:15px 20px;border-bottom:1px solid #edf2f8;text-decoration:none;color:#1b2a40}.notification-row:hover{background:#f7fbff}.notification-row.unread{background:#eef7ff}.notification-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#dff0ff;color:#0878e8;font-weight:800;flex:0 0 auto}.notification-copy{min-width:0;flex:1}.notification-copy strong{display:block;font-size:14px}.notification-copy>span{display:block;margin-top:3px;color:#4f6178;font-size:12px;line-height:1.45}.notification-copy small{display:block;margin-top:4px;color:#758297;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-dot{width:9px;height:9px;border-radius:50%;background:#0878e8;flex:0 0 auto}
@media(max-width:720px){.notification-page-head{padding:18px;flex-direction:column}.notification-row{padding:14px 15px}.user-chip{display:none}}

.room-live-typing{display:flex;align-items:center;gap:8px;min-height:24px;margin:2px 0 8px;color:#5f6f89;font-size:13px;font-weight:600}
.typing-dots{display:inline-flex;align-items:center;gap:3px;padding:6px 8px;border-radius:999px;background:#eef5ff;border:1px solid #d9e9ff}
.typing-dots i{width:5px;height:5px;border-radius:50%;background:#2387e8;animation:amfTypingDot 1.1s infinite ease-in-out}
.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}
@keyframes amfTypingDot{0%,70%,100%{transform:translateY(0);opacity:.45}35%{transform:translateY(-3px);opacity:1}}
.room-message-live{opacity:0;transform:translateY(8px);transition:opacity .22s ease,transform .22s ease}
.room-message-live.visible{opacity:1;transform:none}
.room-online-chip{white-space:nowrap}
@media (prefers-reduced-motion:reduce){.typing-dots i,.room-message-live{animation:none;transition:none}.room-message-live{opacity:1;transform:none}}

.forum-create-wrap .forum-compose-shell{border-color:#d7e1ed;box-shadow:0 14px 42px rgba(24,54,91,.08)}
.forum-create-wrap .forum-compose-topbar{background:#fff;min-height:72px}.forum-create-wrap .forum-compose-heading h1{font-weight:800;letter-spacing:-.015em}
.forum-create-wrap .compose-editor-card{border-radius:12px;border-color:#cfdbe8;box-shadow:0 3px 12px rgba(28,55,88,.035)}
.forum-create-wrap .compose-toolbar{min-height:48px;background:#f7f9fc;padding:6px 8px;gap:3px}.forum-create-wrap .compose-toolbar button{border:1px solid transparent;min-width:34px;height:34px;font-size:11px}.forum-create-wrap .compose-toolbar button:hover{border-color:#c8dcf3;background:#fff}
.forum-create-wrap .forum-compose-settings{background:#f8fafc}.forum-create-wrap .compose-setting-block{background:#fff;border:1px solid #e0e7f0;border-radius:11px;margin:10px 0;padding:13px}.forum-create-wrap .compose-setting-block+.compose-setting-block{border-bottom:1px solid #e0e7f0}.forum-create-wrap .compose-settings-head{border-bottom:0;padding-bottom:2px}.forum-create-wrap .compose-publish-box{position:sticky;bottom:10px;padding:12px;background:#fff;border:1px solid #dce6f1;border-radius:12px;box-shadow:0 8px 24px rgba(23,50,84,.08)}
@media(max-width:860px){.forum-create-wrap .compose-publish-box{position:static}.forum-create-wrap .compose-setting-block{margin:8px 0}}

.forum-topic-quote{margin:8px 0;padding:9px 12px;border-left:3px solid #3d85df;background:#f2f7fd;color:#405d7d;border-radius:0 9px 9px 0;font-style:italic}

.room-delivery-status{display:inline-flex;align-items:center;gap:3px;padding:4px 6px;border-radius:7px;color:#8a97a8;font-size:10px;font-weight:800;letter-spacing:.01em}.room-delivery-status.read{color:#1684e8;background:#edf7ff}.room-unread-divider{display:flex;align-items:center;gap:10px;margin:8px 0;color:#1477d4;font-size:11px;font-weight:850}.room-unread-divider::before,.room-unread-divider::after{content:"";height:1px;flex:1;background:#b9dcfb}.room-unread-divider span{padding:4px 8px;border-radius:999px;background:#eef7ff;border:1px solid #cfe8ff}.room-new-message-btn{position:sticky;bottom:14px;z-index:9;margin:10px auto 0;display:flex;align-items:center;gap:7px;border:1px solid #c7e1fb;border-radius:999px;background:#0878e8;color:#fff;box-shadow:0 10px 28px rgba(8,120,232,.25);padding:9px 13px;font-size:12px;font-weight:800;cursor:pointer}.room-new-message-btn[hidden]{display:none}.room-new-message-btn b{min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#fff;color:#0878e8;display:grid;place-items:center;font-size:10px}.room-message-focus{animation:amfRoomFocus 2.8s ease both}.room-message-focus .room-message-bubble{box-shadow:0 0 0 3px rgba(8,120,232,.18),0 10px 28px rgba(34,105,174,.12)}@keyframes amfRoomFocus{0%,100%{background:transparent}15%,75%{background:#f2f8ff}}@media(max-width:640px){.room-new-message-btn{bottom:10px}.room-delivery-status{padding-left:2px}.room-unread-divider{margin:6px 0}}
@media(prefers-reduced-motion:reduce){.room-message-focus{animation:none}}

/* AMFTool Forum P444 — approved back + account icon header. */
.sr-only{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}

.forum-only-header{
  position:sticky!important;top:0!important;z-index:100!important;width:100%!important;
  background:linear-gradient(90deg,#073f9d 0%,#0869dc 100%)!important;
  border:0!important;box-shadow:0 2px 12px rgba(4,48,116,.16)!important
}
body.amf-standalone-page>.forum-only-header>.forum-nav-shell{
  width:100%!important;max-width:1460px!important;min-height:72px!important;
  margin:0 auto!important;padding:10px 22px!important;
  display:grid!important;grid-template-columns:190px minmax(520px,1fr) auto!important;
  align-items:center!important;gap:22px!important
}
.forum-only-header .brand{
  width:190px!important;margin:0!important;display:flex!important;align-items:center!important;gap:9px!important;
  color:#fff!important;text-decoration:none!important;font-size:19px!important;font-weight:900!important;letter-spacing:-.4px!important;white-space:nowrap!important
}
.forum-only-header .brand img{width:38px!important;height:38px!important;border-radius:9px!important;object-fit:contain!important}
.forum-only-header .brand>span{display:inline-flex!important;align-items:baseline!important}
.forum-only-header .brand>span>span{color:#8bc9ff!important;margin-left:1px!important}

.forum-header-search{
  width:100%!important;min-width:0!important;max-width:none!important;height:48px!important;margin:0!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) 54px!important;align-items:center!important;
  background:#fff!important;border:0!important;border-radius:11px!important;overflow:hidden!important;
  box-shadow:0 3px 10px rgba(0,31,84,.16)!important
}
.forum-header-search input{
  appearance:none!important;-webkit-appearance:none!important;display:block!important;
  width:100%!important;min-width:0!important;max-width:none!important;height:48px!important;
  margin:0!important;padding:0 18px!important;border:0!important;outline:0!important;
  background:#fff!important;color:#17263b!important;font:500 14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif!important
}
.forum-header-search input::placeholder{color:#8b99ab!important;opacity:1!important}
.forum-header-search button{
  width:54px!important;height:48px!important;margin:0!important;padding:0!important;border:0!important;
  display:grid!important;place-items:center!important;background:#fff!important;color:#1269d5!important;cursor:pointer!important
}
.forum-header-search button:hover{background:#f1f7ff!important}
.forum-header-search button .icon{width:22px!important;height:22px!important}

.forum-only-header .forum-header-actions{
  width:auto!important;margin:0!important;padding:0!important;display:flex!important;
  align-items:center!important;justify-content:flex-end!important;gap:14px!important;white-space:nowrap!important
}
.forum-head-icon{
  position:relative!important;width:40px!important;height:40px!important;min-width:40px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
  color:#fff!important;display:grid!important;place-items:center!important;text-decoration:none!important;cursor:pointer!important
}
.forum-head-icon:hover{color:#c9e5ff!important}
.forum-head-icon .icon{width:21px!important;height:21px!important;stroke-width:2!important}
.forum-only-header .forum-back-link .icon{width:20px!important;height:20px!important;stroke-width:2.2!important}
.forum-only-header .forum-account-link .icon{width:23px!important;height:23px!important;stroke-width:1.9!important}
.forum-only-header .user-chip{display:none!important;
  height:36px!important;max-width:150px!important;margin:0!important;padding:0 9px!important;
  display:inline-flex!important;align-items:center!important;gap:6px!important;
  background:rgba(255,255,255,.10)!important;border:0!important;border-radius:8px!important;color:#fff!important;font-size:11px!important
}
.forum-only-header .user-chip>span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.forum-only-header .notification-badge{top:-2px!important;right:-4px!important;border-color:#0869dc!important}
.forum-only-header .forum-menu-toggle,.forum-only-header .forum-top-nav,.forum-only-header .amf-ai-trigger-v238{display:none!important}

@media(max-width:980px){
 body.amf-standalone-page>.forum-only-header>.forum-nav-shell{
   grid-template-columns:155px minmax(300px,1fr) auto!important;gap:12px!important;padding-left:14px!important;padding-right:14px!important
 }
 .forum-only-header .brand{width:155px!important;font-size:17px!important}
 .forum-only-header .user-chip{display:none!important;display:none!important}
 .forum-only-header .forum-header-actions{gap:8px!important}
}
@media(max-width:720px){
 body.amf-standalone-page>.forum-only-header>.forum-nav-shell{
   min-height:112px!important;grid-template-columns:auto 1fr!important;grid-template-rows:40px 46px!important;
   gap:7px 8px!important;padding:8px 11px 10px!important
 }
 .forum-only-header .brand{width:auto!important;font-size:17px!important}
 .forum-only-header .brand img{width:34px!important;height:34px!important}
 .forum-only-header .forum-header-actions{grid-column:2!important;grid-row:1!important;justify-self:end!important;gap:5px!important}
 .forum-header-search{grid-column:1/-1!important;grid-row:2!important;height:46px!important}
 .forum-header-search input,.forum-header-search button{height:46px!important}
 .forum-head-icon{width:32px!important;height:32px!important;min-width:32px!important}
 .forum-head-icon .icon{width:18px!important;height:18px!important}
}
@media(max-width:390px){.forum-only-header .brand>span{display:none!important}}


/* P446 — detail topic + comment conversation polish (single-source, no duplicate component) */
.room-topic-card{border-top:3px solid #1670dc!important}
.room-topic-card .topic-topline{padding-bottom:10px;margin-bottom:4px;border-bottom:1px solid #eef3f8}
.room-topic-title h1{font-size:clamp(22px,2.1vw,32px);line-height:1.22;letter-spacing:-.025em;color:#17304f}
.room-topic-card .topic-body{margin-top:18px;padding:18px 20px;border:1px solid #e3ebf5;border-radius:14px;background:#fff;color:#263c57;line-height:1.8;box-shadow:0 8px 22px rgba(24,73,126,.045)}
.room-topic-card .topic-image{margin-top:18px;border-radius:14px;border:1px solid #e1e9f3;box-shadow:0 8px 24px rgba(17,57,101,.08)}
.comments-panel{padding:18px 20px!important}
.comments-panel>.panel-title{margin:-2px 0 8px;padding:0 0 13px;border-bottom:1px solid #e9eff6}
.room-message{position:relative;padding:16px 0}
.room-message-content{padding-right:2px}
.room-message .reply-head{align-items:flex-start}
.room-message .meta-badge{background:#f7faff;border-color:#e4edf7;color:#657b95}
.room-message .meta-badge strong{color:#284768}
.room-message-bubble{min-width:120px}
.reply-actions-row{margin-top:7px;padding-left:2px}
.reply-to-btn,.reply-like-btn{transition:background .15s ease,color .15s ease,transform .15s ease}
.reply-to-btn:active,.reply-like-btn:active{transform:scale(.97)}
.reply-form-card{position:relative;overflow:hidden}
.reply-form-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#1670dc,#54a7ff)}
.room-compose-field textarea{border-color:#d7e4f2!important;box-shadow:inset 0 1px 2px rgba(22,63,106,.035)}
.room-compose-field textarea:focus{border-color:#69a7ec!important;box-shadow:0 0 0 3px rgba(34,125,225,.10)!important;background:#fff!important}
.room-compose-actions .btn:disabled{opacity:.7;cursor:wait;transform:none!important}
.comment-empty{margin:12px 0 2px;border:1px dashed #cbd9e8!important;background:#f8fbff!important}
@media(max-width:640px){
 .room-topic-card .topic-body{padding:15px 14px;border-radius:12px}
 .comments-panel{padding:15px 13px!important}
 .room-message{padding:14px 0}
 .room-message .reply-head .meta-badges{gap:4px}
 .room-message .meta-badge{font-size:9px;padding:3px 6px}
 .reply-actions-row{gap:4px}
}

/* P450 — forum final completion: compose preview, edit actions, notification pagination */
.forum-image-preview{margin-top:10px;padding:9px;border:1px solid #d8e3ef;border-radius:10px;background:#fff;display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center}.forum-image-preview[hidden]{display:none!important}.forum-image-preview img{width:64px;height:48px;object-fit:cover;border-radius:7px;border:1px solid #dbe5ef}.forum-image-preview div{min-width:0;display:grid;gap:5px}.forum-image-preview b{font-size:10px;color:#36506d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forum-image-preview button{justify-self:start;border:0;background:none;padding:0;color:#c24155;font-size:10px;font-weight:800;cursor:pointer}.compose-publish.is-loading,.compose-publish:disabled{opacity:.7;cursor:wait;transform:none!important}.forum-edit-cancel{width:100%;margin-top:8px;min-height:40px;border-radius:8px!important}.notification-pagination{margin:14px 16px 18px}.notification-pagination a{min-width:36px;height:36px}.notification-pagination a.active{background:#176bd1;color:#fff;border-color:#176bd1}.notification-page-card{overflow:hidden}
@media(max-width:640px){.forum-compose-grid{grid-template-columns:1fr!important}.forum-compose-editor{border-right:0!important;border-bottom:1px solid #e8edf4!important;padding:14px!important}.forum-compose-settings{padding:14px!important}.compose-title-field input{font-size:17px!important}.compose-editor-card textarea{min-height:330px!important;padding:14px!important}.compose-editor-footer{align-items:flex-start;flex-direction:column}.forum-image-preview{grid-template-columns:56px minmax(0,1fr)}.forum-image-preview img{width:56px;height:44px}.notification-page-head{gap:12px}.notification-page-head form{width:100%}.notification-page-head form .btn{width:100%}}

/* P451 — mobile forum header: single compact row, search fills remaining space. */
@media(max-width:720px){
  :root{--forum-fixed-header-h:62px!important}
  body.amf-standalone-page{padding-top:var(--forum-fixed-header-h)!important}
  body.amf-standalone-page>.forum-only-header{position:fixed!important;top:0!important;left:0!important;right:0!important}
  body.amf-standalone-page>.forum-only-header>.forum-nav-shell{
    width:100%!important;max-width:none!important;min-height:62px!important;height:62px!important;
    padding:8px 10px!important;margin:0!important;
    display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;grid-template-rows:46px!important;
    align-items:center!important;gap:7px!important
  }
  .forum-only-header .brand{
    grid-column:1!important;grid-row:1!important;width:34px!important;min-width:34px!important;
    margin:0!important;padding:0!important;justify-content:flex-start!important
  }
  .forum-only-header .brand img{width:34px!important;height:34px!important;border-radius:8px!important}
  .forum-only-header .brand>span{display:none!important}
  .forum-header-search{
    grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;
    height:42px!important;border-radius:10px!important;box-shadow:0 2px 8px rgba(0,31,84,.14)!important;
    grid-template-columns:minmax(0,1fr) 42px!important
  }
  .forum-header-search input{
    width:100%!important;min-width:0!important;height:42px!important;padding:0 12px!important;
    font-size:13px!important;text-overflow:ellipsis!important
  }
  .forum-header-search button{width:42px!important;height:42px!important}
  .forum-header-search button .icon{width:20px!important;height:20px!important}
  .forum-only-header .forum-header-actions{
    grid-column:3!important;grid-row:1!important;justify-self:end!important;margin:0!important;gap:3px!important
  }
  .forum-head-icon{
    width:30px!important;height:34px!important;min-width:30px!important
  }
  .forum-head-icon .icon{width:18px!important;height:18px!important}
  .forum-only-header .forum-account-link .icon{width:21px!important;height:21px!important}
  .forum-only-header .forum-back-link .icon{width:18px!important;height:18px!important}
}
@media(max-width:390px){
  body.amf-standalone-page>.forum-only-header>.forum-nav-shell{
    grid-template-columns:32px minmax(0,1fr) auto!important;gap:5px!important;padding-left:8px!important;padding-right:8px!important
  }
  .forum-only-header .brand{width:32px!important;min-width:32px!important}
  .forum-only-header .brand img{width:32px!important;height:32px!important}
  .forum-only-header .forum-header-actions{gap:1px!important}
  .forum-head-icon{width:28px!important;min-width:28px!important}
  .forum-header-search input{padding-left:10px!important;font-size:12px!important}
}


/* P457 — Forum blue harmonization: content + footer follow the same header blue family. */
.forum-hero-pro{
  background:radial-gradient(circle at 84% 30%,rgba(255,255,255,.08) 0 15%,transparent 16%),linear-gradient(90deg,#073f9d 0%,#0869dc 100%)!important;
}

.forum-hero-pro .bubble-a{background:#0a63cf!important}
.forum-hero-pro .bubble-b{background:#fff!important;color:#1269d5!important}

/* P454 — modern forum presence indicator */
.forum-hero-stats .forum-presence-stat:before{content:"";position:relative;grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid #45a6ff;background:radial-gradient(circle,currentColor 0 5px,transparent 6px);transition:color .18s ease,box-shadow .18s ease}
.forum-hero-stats .forum-presence-stat.is-online{color:#3ee58d}.forum-hero-stats .forum-presence-stat.is-online:before{border-color:#45a6ff;box-shadow:inset 0 0 0 1px #45a6ff33,0 0 10px #3ee58d33}
.forum-hero-stats .forum-presence-stat.is-offline{color:#ff5968}.forum-hero-stats .forum-presence-stat.is-offline:before{border-color:#45a6ff;box-shadow:inset 0 0 0 1px #45a6ff33,0 0 10px #ff596833}
.forum-hero-stats .forum-presence-stat b{color:#fff}.forum-hero-stats .forum-presence-stat small{color:#d9e7fb}
.stat-grid .stat-presence{position:relative}.stat-grid .stat-presence:after{content:"";display:inline-block;width:7px;height:7px;margin-left:6px;border-radius:50%;vertical-align:middle;background:currentColor;box-shadow:0 0 8px currentColor}.stat-grid .stat-presence.is-online{color:#20b96b}.stat-grid .stat-presence.is-offline{color:#dc4b5b}.stat-grid .stat-presence b{color:inherit}

/* P455 — unread notification bell state: green count badge, hidden when all read */
.forum-only-header .notification-badge{
  background:#22c55e!important;
  color:#fff!important;
  border:2px solid #0869dc!important;
  box-shadow:0 0 0 3px rgba(34,197,94,.14),0 4px 12px rgba(34,197,94,.28)!important;
  font-weight:900!important;
}
.forum-only-header .notification-badge:not([hidden]){animation:amfForumUnreadPulse 1.8s ease-in-out infinite}
@keyframes amfForumUnreadPulse{0%,100%{box-shadow:0 0 0 3px rgba(34,197,94,.12),0 4px 12px rgba(34,197,94,.24)}50%{box-shadow:0 0 0 6px rgba(34,197,94,.04),0 4px 14px rgba(34,197,94,.34)}}
@media (prefers-reduced-motion:reduce){.forum-only-header .notification-badge:not([hidden]){animation:none}}

/* P459 — modern category cards + single search source + support actions */
.forum-category-modern{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch;margin-top:18px}
.forum-category-modern .forum-cat-card{position:relative;height:172px;padding:18px 14px 14px;border-radius:18px;justify-content:flex-start;gap:8px;overflow:hidden;border:1px solid #dfe7f2;box-shadow:0 8px 24px rgba(18,48,94,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.forum-category-modern .forum-cat-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(18,48,94,.13)}
.forum-category-modern .forum-cat-card.active{border-color:#2b7df0;box-shadow:0 0 0 2px rgba(43,125,240,.12),0 12px 30px rgba(19,97,209,.16)}
.forum-category-modern .cat-ribbon{position:absolute;left:0;top:0;width:48px;height:42px;border-radius:0 0 22px 0;background:#1673ee;color:#fff;display:grid;place-items:center;font-size:16px;font-style:normal}
.forum-category-modern .cat-purple .cat-ribbon{background:linear-gradient(135deg,#6d58ef,#8c61ff)}
.forum-category-modern .cat-green .cat-ribbon{background:linear-gradient(135deg,#12b98d,#19d3bd)}
.forum-category-modern .cat-orange .cat-ribbon{background:linear-gradient(135deg,#ff8b21,#ffae32)}
.forum-category-modern .cat-ico{margin-top:14px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#eef6ff,#fff);box-shadow:0 6px 18px rgba(14,97,208,.12);font-size:24px;color:#1169dc}
.forum-category-modern .cat-purple .cat-ico{color:#6651e9;background:#f2efff}.forum-category-modern .cat-green .cat-ico{color:#09a982;background:#eafbf6}.forum-category-modern .cat-orange .cat-ico{color:#f37b10;background:#fff5e9}
.forum-category-modern .forum-cat-card b{font-size:15px;line-height:1.2;text-align:center;color:#172a45}.forum-category-modern .forum-cat-card.active b{color:#0864d5}
.forum-category-modern .forum-cat-card em{font-style:normal;font-size:10px;line-height:1.35;text-align:center;color:#657a95;min-height:27px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.forum-category-modern .forum-cat-card small{margin-top:auto;width:100%;min-height:34px;border-radius:10px;background:#eef6ff;display:flex;gap:4px;align-items:center;justify-content:center;color:#1764c8;font-size:10px;font-weight:700}.forum-category-modern .forum-cat-card small strong{font-size:14px}
.forum-category-modern .cat-purple small{background:#f1efff;color:#5d49db}.forum-category-modern .cat-green small{background:#eafaf5;color:#079774}.forum-category-modern .cat-orange small{background:#fff2e6;color:#e66e08}
.forum-toolbar-filter-only{display:flex;justify-content:flex-start;margin-top:2px}.forum-toolbar-filter-only .forum-filters{width:100%}

@media(max-width:1040px){.forum-category-modern{grid-template-columns:repeat(4,minmax(160px,1fr));overflow-x:auto;padding-bottom:6px}.forum-category-modern .forum-cat-card{min-width:160px}}
@media(max-width:820px){.forum-category-modern{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x proximity}.forum-category-modern .forum-cat-card{min-width:150px;height:156px;scroll-snap-align:start}.forum-category-modern .cat-ico{width:46px;height:46px;font-size:20px}.forum-category-modern .forum-cat-card b{font-size:13px}.forum-category-modern .forum-cat-card em{font-size:9px}.forum-toolbar-filter-only{margin-top:0}}

/* P464 — forum hero + member online placement */
.forum-hero-pro{background:#fff!important;color:#14233a!important;border:1px solid #dce5f1!important;box-shadow:0 10px 30px #153a6b12!important}
.forum-hero-copy h1{color:#11223c!important}.forum-hero-copy p,.forum-breadcrumb{color:#60728d!important}.forum-hero-art{opacity:.24!important}.forum-hero-pro .bubble-a{background:#eaf2ff!important;color:#8396b5!important}.forum-hero-pro .bubble-b{background:#f7faff!important;color:#3478e5!important}
.forum-hero-stats-color{background:#fbfdff;border:1px solid #dce6f3;border-radius:14px;padding:13px 16px;gap:0!important;max-width:760px}
.forum-hero-stats-color span{min-width:0;flex:1;padding:2px 20px;border-right:1px solid #e1e8f2}.forum-hero-stats-color span:last-child{border-right:0}.forum-hero-stats-color span:before{width:42px!important;height:42px!important;border:0!important}
.forum-hero-stats-color .hero-stat-topic:before{background:#eaf2ff!important;color:#176de2!important;box-shadow:inset 0 0 0 1px #d9e8ff}.forum-hero-stats-color .hero-stat-topic b{color:#176de2!important}
.forum-hero-stats-color .hero-stat-member:before{background:#eaf9ef!important;color:#28a94e!important;box-shadow:inset 0 0 0 1px #d2f0dc}.forum-hero-stats-color .hero-stat-member b{color:#269c49!important}
.forum-hero-stats-color .hero-stat-online:before{background:#eaf3ff!important;color:#1769e8!important;box-shadow:inset 0 0 0 1px #cfe2fb!important}.forum-hero-stats-color .hero-stat-online b{color:#1769e8!important}.forum-hero-stats-color small{color:#657791!important}
.forum-new-topic{background:#f8fbff!important;color:#2670d9!important;border:1px solid #cfe0f7!important;box-shadow:none!important}
.forum-online-wide{margin:16px 0;background:#fff;border:1px solid #dce5f1;border-radius:15px;padding:18px 20px;box-shadow:0 8px 24px #16365d0b}.forum-online-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.forum-online-head>div{display:grid;gap:2px}.forum-online-head>div>span{font-size:10px;color:#7c8ba0}.forum-online-head h2{font-size:18px;margin:0;color:#172840}.forum-online-head a{font-size:12px;color:#0964d9}.forum-online-list{display:flex;gap:18px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin}.forum-online-person{flex:0 0 64px;text-align:center;text-decoration:none}.forum-online-avatar{width:54px;height:54px;margin:auto;position:relative;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#1774e8,#073c91);border:3px solid #edf4ff;box-shadow:0 0 0 1px #cadcf4;overflow:visible}.forum-online-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.forum-online-avatar b{color:#fff;font-size:18px}.forum-online-avatar i{position:absolute;right:-1px;bottom:1px;width:13px;height:13px;border-radius:50%;border:2px solid #fff}.forum-online-person.is-online .forum-online-avatar i{background:#22c55e;box-shadow:0 0 0 2px #d9f7e5}.forum-online-person.is-offline .forum-online-avatar i{background:#ef4444}.forum-online-person small{display:block;margin-top:7px;font-size:10px;color:#2c405d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-online-person:hover small{color:#1769e8}.forum-online-empty{font-size:12px;color:#7b8ba0;padding:8px 0}
@media(max-width:820px){.forum-hero-stats-color{padding:10px 6px}.forum-hero-stats-color span{padding:0 8px}.forum-hero-stats-color span:before{width:34px!important;height:34px!important}.forum-online-wide{padding:15px 14px}.forum-online-list{gap:12px}.forum-online-person{flex-basis:58px}.forum-online-avatar{width:48px;height:48px}}
@media(max-width:520px){.forum-hero-stats-color{flex-wrap:nowrap!important}.forum-hero-stats-color span{display:grid!important;grid-template-columns:34px auto!important}.forum-hero-stats-color b{font-size:18px!important}.forum-hero-stats-color small{font-size:9px!important}.forum-hero-pro{padding-bottom:78px!important}.forum-online-head h2{font-size:16px}}
/* P465 global profile avatar integration */
.forum-account-avatar{overflow:hidden;padding:0!important}.forum-account-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.forum-online-person{text-decoration:none;color:inherit}.forum-online-person:hover small{color:#1769e8}

/* P467 — Member Online horizontal swipe carousel */
.forum-online-list{
  overflow-x:scroll!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pinch-zoom;
  overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;
  scroll-behavior:smooth;
  scrollbar-width:none!important;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  padding-bottom:8px!important;
}
.forum-online-list::-webkit-scrollbar{display:none;width:0;height:0}
.forum-online-list:active{cursor:grabbing}
.forum-online-person{scroll-snap-align:start;scroll-snap-stop:normal;flex-shrink:0!important;-webkit-user-drag:none}
.forum-online-person img{-webkit-user-drag:none;pointer-events:none}
@media(max-width:820px){
  .forum-online-list{gap:14px!important;padding-right:22px!important}
  .forum-online-person{flex:0 0 62px!important}
}

/* === P469 — separated modern topic cards + compact category menu === */
.forum-topic-panel{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.forum-topic-panel .forum-panel-head{height:54px;padding:0 18px;background:#fff;border:1px solid #dce5f1!important;border-radius:13px;box-shadow:0 5px 18px rgba(18,48,94,.045)}
.forum-topic-panel .forum-panel-head h2{font-size:15px;color:#162940}
.forum-topic-row{min-height:94px;margin-top:10px;padding:14px 16px;background:#fff;border:1px solid #dce5f1!important;border-radius:13px;box-shadow:0 6px 20px rgba(18,48,94,.045);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.forum-topic-row:hover{background:#fff!important;border-color:#bcd3ef!important;box-shadow:0 10px 26px rgba(18,76,145,.09);transform:translateY(-1px)}
.topic-round{width:34px;height:34px;font-size:14px}
.topic-copy h3{font-size:13.5px;margin-bottom:6px;color:#14243a}
.topic-copy p{font-size:10.5px}
.topic-metric{min-width:52px;padding:5px 2px;border-radius:9px;background:#f8fbff}
.topic-metric b{font-size:11px;color:#345c87}
.topic-metric small{display:block!important;margin-top:2px;font-size:8.5px;color:#7d8da2;line-height:1.1}
.forum-pagination{margin-top:12px;padding:14px 12px 8px;background:#fff;border:1px solid #dce5f1;border-radius:12px}
.forum-count-note{background:#fff;border:1px solid #dce5f1;border-top:0;border-radius:0 0 12px 12px;margin-top:-12px;padding-top:12px}

/* Category is intentionally at the bottom of the forum home page. Keep it as a compact menu, not tall cards. */
.forum-category-modern{margin:18px 0 4px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important}
.forum-category-modern .forum-cat-card{height:54px!important;min-width:0!important;padding:0 14px!important;border-radius:11px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;box-shadow:0 4px 15px rgba(18,48,94,.035)!important;scroll-snap-align:none!important}
.forum-category-modern .cat-ribbon,.forum-category-modern .forum-cat-card em,.forum-category-modern .forum-cat-card small{display:none!important}
.forum-category-modern .cat-ico{margin:0!important;width:30px!important;height:30px!important;min-width:30px!important;border-radius:9px!important;font-size:16px!important;box-shadow:none!important}
.forum-category-modern .forum-cat-card b{font-size:11.5px!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

@media(max-width:820px){
  .forum-topic-row{min-height:102px;margin-top:9px;padding:13px 11px;grid-template-columns:34px minmax(0,1fr) 48px 48px 14px!important;gap:7px!important}
  .topic-pin{display:none!important}.topic-last,.topic-wa{display:none!important}
  .topic-round{width:32px;height:32px}
  .topic-copy h3{font-size:13px!important;line-height:1.3;margin:0 0 6px;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .topic-copy p{font-size:9.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .topic-metric{min-width:44px;padding:6px 1px;background:#f7faff}
  .topic-metric b{font-size:10.5px}.topic-metric small{font-size:7.5px!important}
  .forum-category-modern{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .forum-category-modern .forum-cat-card{height:50px!important;padding:0 11px!important;gap:8px!important}
  .forum-category-modern .cat-ico{width:28px!important;height:28px!important;min-width:28px!important;font-size:15px!important}
  .forum-category-modern .forum-cat-card b{font-size:11px!important}
}
@media(max-width:390px){
  .forum-topic-row{grid-template-columns:31px minmax(0,1fr) 43px 43px 12px!important;padding:12px 9px;gap:5px!important}
  .topic-round{width:29px;height:29px;font-size:12px}
  .topic-metric{min-width:40px}.topic-metric b{font-size:10px}.topic-metric small{font-size:7px!important}
}

/* === P470 — social forum home + Facebook-style comments === */
.forum-home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 16px}
.forum-home-stat{min-height:86px;display:flex;align-items:center;gap:13px;padding:14px 16px;background:#fff;border:1px solid #dce5f1;border-radius:13px;box-shadow:0 6px 20px rgba(18,48,94,.045);text-decoration:none;color:inherit}.forum-home-stat.clickable{cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.forum-home-stat.clickable:hover{border-color:#9fc7f5;box-shadow:0 8px 24px rgba(23,105,232,.10);transform:translateY(-1px)}.forum-home-stat.clickable.active{border-color:#1769e8;box-shadow:0 0 0 2px rgba(23,105,232,.10)}
.forum-home-stat .stat-icon{width:42px;height:42px;min-width:42px;border-radius:12px;display:grid;place-items:center;font-size:21px;background:#edf5ff}
.forum-home-stat>div{display:grid;min-width:0;line-height:1.2}.forum-home-stat b{font-size:23px;line-height:1;color:#176de2}.forum-home-stat strong{font-size:11px;margin-top:4px;color:#263b56}.forum-home-stat small{font-size:9px;color:#8390a3;margin-top:3px}
.forum-home-stat.stat-member .stat-icon{background:#eaf9ef}.forum-home-stat.stat-member b{color:#269c49}.forum-home-stat.stat-online .stat-icon{background:#eaf3ff}.forum-home-stat.stat-online b{color:#1769e8}.forum-home-stat.stat-post .stat-icon{background:#f3ecff}.forum-home-stat.stat-post b{color:#7b3fe4}
.topic-label-soft{display:inline-flex;align-items:center;padding:2px 6px;border-radius:999px;background:#eef5ff;color:#3b6ea8;font-size:9px;font-style:normal}.removed-badge{display:inline-flex;align-items:center;margin-left:5px;padding:2px 6px;border-radius:999px;background:#f0f2f5;color:#6f7782;font-size:9px;font-weight:850;vertical-align:middle}.meta-badge.removed{background:#f2f3f5!important;color:#737b86!important;border-color:#e1e4e8!important}
.social-profile-avatar,.social-comment-avatar,.social-compose-avatar{overflow:hidden!important}.social-profile-avatar img,.social-comment-avatar img,.social-compose-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.social-profile-avatar.removed,.social-comment-avatar.removed{background:#e9edf2!important;color:#7b8491!important}.forum-default-user-icon{width:58%;height:58%;color:currentColor;stroke-width:1.75}

.social-comments-panel{margin-top:18px!important;background:#fff!important;border:1px solid #dce5f1!important;border-radius:20px!important;padding:16px 18px 18px!important;box-shadow:0 10px 30px rgba(22,54,91,.07)!important}.social-sheet-handle{width:72px;height:5px;border-radius:999px;background:#aab1ba;margin:0 auto 14px}.social-comments-panel>.comments-title{margin:0!important;padding:0 0 10px!important;border-bottom:0!important}.social-comments-panel .room-section-title{font-size:21px!important}.social-comment-sort{padding:4px 0 10px}.social-comment-sort button{border:0;background:transparent;color:#344150;font:inherit;font-size:12px;font-weight:800;padding:4px 0;cursor:pointer}
.social-comment{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;padding:10px 0!important;border:0!important;position:relative}.social-comment.is-child{margin-left:48px}.social-comment.is-child:before{content:"";position:absolute;left:-28px;top:-10px;bottom:18px;width:1px;background:#e1e5ea}.social-comment-avatar{width:42px!important;height:42px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#1774e8,#073c91)!important;color:#fff!important;font-size:13px!important;font-weight:850!important;text-decoration:none!important;box-shadow:0 0 0 1px #dbe6f3}.social-comment-content{min-width:0}.social-comment-bubble{display:block;max-width:min(760px,100%);padding:10px 12px 11px;border-radius:17px!important;background:#f0f2f5!important;border:0!important;color:#15191f!important;box-shadow:none!important}.social-comment-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.social-comment-head>div{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.social-comment-head strong{font-size:13px;color:#161a20}.social-role-badge{padding:1px 5px;border-radius:999px;background:#e4efff;color:#1a68c8;font-size:8px;font-weight:850}.social-comment-more{border:0;background:transparent;color:#7f8791;letter-spacing:1px;font-size:13px;cursor:pointer;padding:0 2px}.social-comment-bubble .room-message-bubble{margin:5px 0 0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;color:#20242a!important;white-space:pre-wrap;font-size:13px;line-height:1.55}.social-reply-quote{margin:6px 0 4px!important;background:#e7eaee!important;border-left-color:#9ea7b2!important;color:#53606e!important}.social-comment-actions{display:flex!important;align-items:center!important;gap:3px!important;flex-wrap:wrap!important;margin-top:3px!important;padding-left:8px!important}.social-comment-time{font-size:10px;color:#8a929c;margin-right:4px}.social-reaction-form{margin:0!important}
.reply-reaction-wrap{position:relative;display:inline-flex;align-items:center}
.reply-reaction-trigger{min-height:28px;display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border:0;border-radius:999px;background:transparent;color:#59636f;text-decoration:none;font:inherit;font-size:10px;cursor:pointer}
.reply-reaction-trigger:hover,.reply-reaction-trigger.active{background:#edf3fb;color:#1769e8}.reply-reaction-trigger b{font-size:10px}.reply-reaction-icon{width:15px;height:15px;fill:none;stroke:currentColor}
.reply-reaction-picker{position:absolute;left:0;bottom:calc(100% + 5px);z-index:65;display:flex;align-items:center;gap:3px;padding:5px;border:1px solid #dfe6ee;border-radius:999px;background:#fff;box-shadow:0 9px 26px rgba(25,52,82,.16)}
.reply-reaction-picker[hidden]{display:none!important}.reply-reaction-picker form{margin:0!important}
.reply-reaction-choice{min-width:36px;height:36px;border:0;border-radius:50%;background:transparent;display:grid;place-items:center;padding:2px;cursor:pointer}.reply-reaction-choice:hover,.reply-reaction-choice.active{background:#eef4fb}.reply-reaction-choice span{font-size:20px;line-height:1}.reply-reaction-choice b{font-size:8px;color:#667589;line-height:1}
.reply-default-user-icon{width:22px;height:22px;color:#fff}.social-comment-avatar.removed .reply-default-user-icon{color:#7b8491}
.social-reply-btn{font-size:11px!important;font-weight:800!important;color:#59636f!important;padding:4px 7px!important}.social-reaction-total{font-size:9px;color:#87919c;margin-left:auto}.social-composer{border-radius:18px!important}.social-compose-avatar{width:42px!important;height:42px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#edf3fa;color:#2a5d98;font-weight:850}.social-comment-input{position:relative}.social-comment-input textarea{min-height:92px!important;padding:12px 46px 12px 14px!important;border-radius:20px!important;background:#f4f6f8!important;border-color:#e3e7eb!important}.comment-emoji-toggle{position:absolute;right:10px;bottom:10px;width:32px;height:32px;border:0;border-radius:50%;background:transparent;font-size:20px;cursor:pointer}.comment-emoji-picker{display:flex;gap:4px;flex-wrap:wrap;margin:7px 0 4px;padding:7px;border:1px solid #e0e6ee;border-radius:12px;background:#fff}.comment-emoji-picker[hidden]{display:none}.comment-emoji-picker button{width:32px;height:32px;border:0;border-radius:9px;background:#f6f8fa;font-size:18px;cursor:pointer}.compose-auto-category strong{display:block;color:#1b2d45;margin-bottom:3px}.compose-auto-category p{margin:0!important}
@media(max-width:820px){.forum-home-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.forum-home-stat{min-height:76px;padding:11px 12px;gap:9px}.forum-home-stat .stat-icon{width:36px;height:36px;min-width:36px;font-size:18px}.forum-home-stat b{font-size:19px}.social-comment.is-child{margin-left:30px}.social-comment.is-child:before{left:-18px}.social-comments-panel{padding:14px 12px 16px!important}.social-reaction-total{margin-left:0}}
@media(max-width:480px){.forum-home-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}.forum-home-stat{border-radius:11px}.forum-home-stat strong{font-size:10px}.forum-home-stat small{font-size:8px}.social-comment{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important}.social-comment-avatar{width:36px!important;height:36px!important}.social-comment.is-child{margin-left:24px}.social-comment-bubble{padding:9px 10px 10px}.social-comment-bubble .room-message-bubble{font-size:12.5px}.social-comment-actions{padding-left:5px!important}}


/* === P473 FINAL — Facebook-style forum feed cleanup === */
.topic-author-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#1774e8,#073c91);color:#fff;box-shadow:0 0 0 1px #d8e4f1;text-decoration:none;align-self:center}
.topic-author-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.topic-author-avatar b{font-size:12px}
.topic-author-avatar.removed{background:#e9edf2;color:#7c8794}
.topic-author-name{font-weight:750;color:#526987}
.topic-author-name:hover,.room-author-profile-link:hover{color:#1769e8}
.room-author-profile-link{text-decoration:none;color:inherit}
.forum-topic-row{grid-template-columns:18px 36px minmax(0,1fr) 64px 64px 140px 28px 14px!important}
.forum-topic-row.forum-topic-card-social{display:block!important;min-height:0!important;padding:0!important;margin:0!important;border-bottom:1px solid #edf1f6!important;background:#fff!important}
.forum-topic-card-main{display:grid;grid-template-columns:46px minmax(0,1fr) 28px;gap:12px;align-items:center;padding:16px 18px 12px}
.forum-topic-card-main .topic-author-avatar{width:46px;height:46px}
.forum-topic-card-main .topic-copy h3{margin:2px 0 4px;font-size:15px;line-height:1.35;white-space:normal;overflow:visible}
.forum-topic-card-main .topic-copy p{font-size:11px}
.topic-default-user-icon{width:24px;height:24px;color:#fff;stroke-width:1.8}
.topic-author-avatar.removed .topic-default-user-icon{color:#748195}
.forum-topic-card-main .topic-go{justify-self:end;font-size:28px;line-height:1;color:#47749f}
.forum-topic-card-meta{display:flex;align-items:center;gap:0;padding:0 12px 11px 66px;color:#667589}
.forum-topic-card-meta>a,.forum-topic-card-meta>button{min-height:38px;display:inline-flex;align-items:center;gap:5px;padding:7px 11px;border:0!important;border-radius:9px;background:transparent!important;color:#667589;text-decoration:none;font:inherit;font-size:11px;cursor:pointer}
.forum-topic-card-meta>a:hover,.forum-topic-card-meta>button:hover{background:#f4f7fb!important;color:#1769e8}
.forum-topic-card-meta>button.copied{color:#15925f}
.forum-topic-card-meta .topic-meta-icon{width:17px;height:17px;flex:0 0 17px}
.forum-topic-card-meta span{font-weight:800;color:#344a65}
.forum-topic-card-meta small{font-size:10px;color:#7a8798}
.topic-copy p .removed-badge{margin-left:4px}
@media(max-width:1040px){.forum-topic-row:not(.forum-topic-card-social){grid-template-columns:14px 34px minmax(0,1fr) 52px 52px 100px 24px 12px!important}}
@media(max-width:820px){.forum-topic-row:not(.forum-topic-card-social){grid-template-columns:36px minmax(0,1fr) 48px 48px 14px!important}.topic-author-avatar{width:34px;height:34px}.topic-copy p{white-space:normal!important;line-height:1.35}.forum-topic-card-main{grid-template-columns:40px minmax(0,1fr) 24px;padding:14px 13px 9px;gap:9px}.forum-topic-card-main .topic-author-avatar{width:40px;height:40px}.forum-topic-card-main .topic-copy h3{font-size:14px}.forum-topic-card-meta{padding:0 7px 9px 52px;overflow-x:auto;scrollbar-width:none}.forum-topic-card-meta::-webkit-scrollbar{display:none}.forum-topic-card-meta>a,.forum-topic-card-meta>button{flex:0 0 auto;padding:7px 8px}.forum-topic-card-meta small{display:none}}
@media(max-width:390px){.forum-topic-row:not(.forum-topic-card-social){grid-template-columns:32px minmax(0,1fr) 43px 43px 12px!important}.topic-author-avatar{width:31px;height:31px}.forum-topic-card-main{grid-template-columns:36px minmax(0,1fr) 20px;padding:12px 10px 8px}.forum-topic-card-main .topic-author-avatar{width:36px;height:36px}.forum-topic-card-meta{padding-left:43px}.forum-topic-card-meta>a,.forum-topic-card-meta>button{font-size:10px;padding:6px 7px}}

/* === P477 — simple Facebook-like topic detail === */
.fb-topic-card{padding:0!important;border:1px solid #e3e8ef!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 28px rgba(22,45,76,.06)!important;overflow:visible!important}
.fb-topic-head{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;padding:18px 20px 8px}
.fb-topic-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#1978ec,#0b4aa8);color:#fff;text-decoration:none;box-shadow:0 0 0 1px #d8e3f0}
.fb-topic-avatar img{width:100%;height:100%;object-fit:cover;display:block}.fb-topic-avatar b{font-size:15px}.fb-topic-avatar.removed{background:#edf0f4;color:#7a8592}
.fb-topic-identity{min-width:0}.fb-topic-name-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.fb-topic-name-line a{text-decoration:none;color:#16243a}.fb-topic-name-line strong{font-size:15px;font-weight:850}.fb-role-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;background:#eaf3ff;color:#1768c7;font-size:10px;font-weight:850}.fb-topic-time{margin-top:3px;color:#7a8594;font-size:11px}
.fb-topic-menu{position:relative}.fb-topic-menu summary{list-style:none;cursor:pointer;border:0;background:transparent;color:#667384;font-size:17px;font-weight:900;letter-spacing:2px;padding:8px}.fb-topic-menu summary::-webkit-details-marker{display:none}.fb-topic-menu-pop{position:absolute;right:0;top:calc(100% + 4px);z-index:40;min-width:150px;padding:6px;border:1px solid #e0e6ed;border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(18,43,76,.15)}.fb-topic-menu-pop a,.fb-topic-menu-pop button{width:100%;display:block;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#26374d;text-align:left;text-decoration:none;font:inherit;font-size:12px;cursor:pointer}.fb-topic-menu-pop a:hover,.fb-topic-menu-pop button:hover{background:#f3f6fa}.fb-topic-menu-pop form{margin:0}
.fb-topic-flags{display:flex;gap:6px;flex-wrap:wrap;padding:0 20px 6px}.fb-topic-title{margin:12px 20px 14px!important;font-size:clamp(23px,3vw,38px)!important;line-height:1.12!important;color:#142844!important;letter-spacing:-.02em}.fb-topic-card>.topic-image{width:100%!important;max-height:620px!important;border-radius:0!important;margin:0!important;border:0!important;box-shadow:none!important}.fb-topic-card>.topic-body{margin:0!important;padding:18px 20px 22px!important;border:0!important;border-radius:0!important;background:#fff!important;font-size:15px!important;line-height:1.7!important;color:#202d3f!important}.fb-topic-card>.download-box{margin:0 20px 18px!important}
.fb-engagement{margin:0!important;padding:0 20px 18px!important;border:0!important;background:#fff!important;box-shadow:none!important}
.fb-engagement-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 8px;border:0;color:#687586;font-size:11px}.fb-reaction-total{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.fb-reaction-summary-icons{display:inline-flex;align-items:center}.fb-reaction-summary-icons i{font-style:normal;font-size:16px;line-height:1;margin-left:-3px}.fb-reaction-summary-icons i:first-child{margin-left:0}.fb-reaction-total b{font-size:11px;color:#516176}.fb-summary-right{display:flex;align-items:center;justify-content:flex-end;gap:13px;flex-wrap:wrap}.fb-summary-right a,.fb-summary-right span{color:#687586;text-decoration:none}.fb-summary-right a:hover{color:#1769e8}
.fb-action-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;border:0;position:relative}.fb-action-row form{margin:0;display:block}.fb-action-btn{width:100%;min-height:45px;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 7px;border:0;background:transparent;color:#596575;text-decoration:none;font:inherit;font-size:11px;font-weight:750;cursor:pointer;border-radius:0}.fb-action-btn:hover{background:#f5f7fa}.fb-action-btn.active{color:#1769e8;background:#f4f8ff}.fb-action-btn:disabled{opacity:.62;cursor:wait}.fb-action-btn .emoji{font-size:17px;line-height:1}.fb-like-outline{display:inline-flex;align-items:center;justify-content:center}.fb-thumb-icon{width:20px!important;height:20px!important;fill:none;stroke:currentColor;stroke-width:1.8;transition:fill .15s ease,stroke .15s ease}.fb-action-btn.active .fb-thumb-icon{fill:#1769e8;stroke:#1769e8}.fb-action-count{min-width:9px;font-size:10px;line-height:1;color:currentColor}.fb-action-count[hidden]{display:none!important}
.fb-action-svg{width:19px!important;height:19px!important;flex:0 0 19px}
.fb-reaction-wrap{position:relative;min-width:0}
.fb-reaction-trigger{width:100%;height:100%}
.fb-reaction-trigger-visual{display:inline-flex;align-items:center;justify-content:center;min-width:21px}
.fb-reaction-picker{position:absolute;left:4px;bottom:calc(100% + 8px);z-index:70;display:flex;align-items:center;gap:5px;padding:7px;border:1px solid #dbe4ef;border-radius:999px;background:#fff;box-shadow:0 12px 34px rgba(17,48,86,.18);white-space:nowrap}
.fb-reaction-picker[hidden]{display:none!important}.fb-reaction-choice-form{margin:0!important}
.fb-reaction-choice{min-width:48px;height:48px;padding:3px 6px;border:0;border-radius:999px;background:transparent;display:grid;place-items:center;gap:0;color:#5a6776;font:inherit;font-size:9px;cursor:pointer;transition:transform .14s ease,background .14s ease}
.fb-reaction-choice:hover{transform:translateY(-3px) scale(1.06);background:#f3f6fa}.fb-reaction-choice.active{background:#edf5ff;color:#1769e8}.fb-reaction-choice .emoji{font-size:24px;line-height:1}.fb-reaction-choice b{font-size:8px;line-height:1}

.fb-share-options{display:flex;align-items:flex-start;gap:10px;padding:13px 0 0;overflow-x:auto;scrollbar-width:none}.fb-share-options::-webkit-scrollbar{display:none}.fb-share-options[hidden]{display:none!important}.fb-share-options .social-share{flex:0 0 72px;min-width:72px;min-height:56px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 5px!important;border:0!important;border-radius:12px!important;background:#f4f6f8!important;color:#43546c!important;text-decoration:none!important;font-size:10px!important;box-shadow:none!important}.fb-share-options .social-share:hover{transform:none!important;background:#edf2f7!important}.fb-share-options .whatsapp{background:#ecf9f1!important;color:#158052!important}.fb-share-options .facebook{background:#edf4ff!important;color:#1f64bd!important}.fb-share-options .instagram{background:#fff1f7!important;color:#b62e73!important}
@media(max-width:820px){.fb-topic-card{border-radius:14px!important}.fb-topic-head{grid-template-columns:44px minmax(0,1fr) auto;padding:14px 14px 7px;gap:9px}.fb-topic-avatar{width:44px;height:44px}.fb-topic-title{margin:10px 14px 12px!important;font-size:25px!important}.fb-topic-flags{padding:0 14px 5px}.fb-topic-card>.topic-body{padding:15px 14px 18px!important;font-size:14px!important}.fb-topic-card>.download-box{margin:0 14px 15px!important}.fb-engagement{padding:0 14px 15px!important}.fb-summary-right{gap:9px}.fb-action-btn{font-size:10px;gap:4px;padding:7px 3px}.fb-action-btn .emoji{font-size:16px}}
@media(max-width:560px){.fb-engagement-summary{align-items:flex-start;gap:8px}.fb-summary-right{gap:7px 10px;font-size:10px}.fb-action-row{grid-template-columns:repeat(3,minmax(0,1fr))}.fb-action-label{display:none}.fb-action-btn{min-height:42px}.fb-action-btn>span:first-child{font-size:18px}.fb-share-options .social-share{flex-basis:64px;min-width:64px}.fb-role-badge{font-size:9px;padding:3px 7px}.fb-topic-name-line strong{font-size:14px}}


/* P482 FINAL — forum interaction, presence, responsive and isolation guards */
.forum-online-list{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.forum-online-person{-webkit-user-select:none;user-select:none}
.fb-like-outline{color:#687384!important;display:inline-flex;align-items:center;justify-content:center}
.fb-thumb-icon{width:20px!important;height:20px!important;fill:none!important;stroke:#687384!important;stroke-width:1.85!important;transition:fill .15s ease,stroke .15s ease}
.fb-action-btn.active .fb-like-outline,.fb-action-btn[aria-pressed="true"] .fb-like-outline{color:#1769e8!important}
.fb-action-btn.active .fb-thumb-icon,.fb-action-btn[aria-pressed="true"] .fb-thumb-icon{fill:#1769e8!important;stroke:#1769e8!important}
.forum-online-person.is-online .forum-online-avatar i{background:#22c55e!important;box-shadow:0 0 0 2px #d9f7e5!important}
.forum-online-person.is-offline .forum-online-avatar i{background:#ef4444!important}
.forum-only-header,.forum-only-header *{box-sizing:border-box}
.forum-only-header .forum-account-avatar{overflow:hidden!important}
.forum-only-header .forum-account-avatar img{display:block!important;width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;object-fit:cover!important;border-radius:50%!important}
.fb-topic-card,.forum-comment-card,.forum-topic-panel{min-width:0}
.fb-topic-title,.topic-body,.reply-body,.social-comment-bubble{overflow-wrap:anywhere;word-break:break-word}
.fb-action-row>*{min-width:0}.fb-action-btn{min-width:0;overflow:hidden}.fb-action-btn .emoji,.fb-like-outline,.fb-action-count{flex:0 0 auto}
.notification-copy{overflow:hidden}.notification-copy strong,.notification-copy>span{overflow-wrap:anywhere}.removed-badge{white-space:nowrap}
@media(max-width:820px){.forum-only-header .header-inner,.forum-only-header .forum-header-search{min-width:0}.forum-only-header .forum-header-actions{flex:0 0 auto}.forum-online-list{scroll-snap-type:x proximity}.forum-online-person{scroll-snap-align:start}.fb-topic-head{min-width:0}.fb-topic-identity{overflow:hidden}.fb-topic-name-line{min-width:0}.fb-topic-name-line a,.fb-topic-name-line strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-comment-content{min-width:0}}
@media(max-width:560px){.fb-action-row{grid-template-columns:repeat(3,minmax(68px,1fr))!important}.fb-action-btn{padding-inline:2px!important}.fb-action-btn .emoji,.fb-like-outline{font-size:17px}.fb-thumb-icon{width:19px!important;height:19px!important}.fb-engagement-summary{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center!important}.fb-summary-right{min-width:0;justify-content:flex-end!important;gap:6px 9px!important}.notification-row{padding:13px 14px!important;gap:10px!important}.notification-avatar{width:34px!important;height:34px!important}}
@media(max-width:360px){.fb-action-row{grid-template-columns:repeat(3,minmax(62px,1fr))!important}.fb-summary-right{font-size:9px!important}}


/* P488 — consolidated Forum Community polish. Keep the existing P487 structure/functions. */
.forum-hero-with-directory{
  position:relative!important;min-height:0!important;padding:38px 38px 30px!important;overflow:hidden!important;
  color:#14233a!important;border:1px solid #d9e7f7!important;border-radius:22px!important;
  background:
    radial-gradient(circle at 85% 18%,rgba(35,123,255,.16) 0 2px,transparent 2.4px) 0 0/23px 23px,
    radial-gradient(circle at 73% 76%,rgba(35,123,255,.08),transparent 28%),
    linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eef6ff 100%)!important;
  box-shadow:0 16px 42px rgba(21,75,143,.10)!important;
}
.forum-hero-with-directory:before{content:"";position:absolute;left:-70px;top:-92px;width:250px;height:150px;border-radius:0 0 120px 0;background:linear-gradient(135deg,#0f5fde,#1b86f5);opacity:.96;transform:rotate(-8deg);pointer-events:none}
.forum-hero-with-directory:after{content:"";position:absolute;right:-74px;bottom:-110px;width:290px;height:230px;border-radius:50%;background:radial-gradient(circle,rgba(38,132,255,.12),rgba(38,132,255,0) 70%);pointer-events:none}
.forum-hero-with-directory .forum-hero-copy{position:relative;z-index:4;max-width:650px}
.forum-hero-with-directory .forum-breadcrumb{display:inline-flex!important;align-items:center;gap:7px;margin:0 0 18px!important;padding:8px 13px;border-radius:999px;background:#e6f2ff;color:#1264d4!important;font-size:12px;font-weight:850;box-shadow:inset 0 0 0 1px rgba(40,121,229,.07)}
.forum-breadcrumb-icon{width:16px;height:16px;stroke-width:2.2}
.forum-hero-with-directory .forum-hero-copy h1{max-width:610px;margin:0 0 16px!important;font-size:clamp(34px,4vw,54px)!important;line-height:1.02!important;letter-spacing:-.035em;color:#0d1b49!important;font-weight:900}
.forum-hero-with-directory .forum-hero-copy h1>span{display:block;margin-top:4px;color:#1472e8!important}
.forum-hero-with-directory .forum-hero-copy p{max-width:620px!important;margin:0!important;color:#5d6f88!important;font-size:15px!important;line-height:1.65!important}
.forum-hero-with-directory .forum-hero-art{display:block!important;position:absolute!important;z-index:2!important;right:54px!important;top:72px!important;width:250px!important;height:190px!important;opacity:1!important;pointer-events:none}
.forum-hero-with-directory .bubble{box-shadow:0 22px 44px rgba(27,94,194,.18)!important}
.forum-hero-with-directory .bubble-a{left:10px!important;top:0!important;width:132px!important;height:104px!important;border-radius:36px 36px 36px 12px!important;background:linear-gradient(145deg,#3d8cff,#0b5ee3)!important;color:#fff!important;font-size:34px!important}
.forum-hero-with-directory .bubble-b{right:0!important;bottom:0!important;width:146px!important;height:108px!important;border-radius:38px 38px 12px 38px!important;background:#fff!important;color:#1c8cf0!important;border:1px solid #e1edfa!important;font-size:32px!important}

/* Registered users stay exactly where requested: below the Forum description, inside the same hero. */
.forum-hero-with-directory .forum-user-directory-inline{
  position:relative;z-index:4;margin:26px 0 0!important;padding:16px 18px 14px!important;
  border:1px solid #d6e8fb!important;border-left:4px solid #1774e8!important;border-radius:16px!important;
  background:linear-gradient(105deg,rgba(235,246,255,.98),rgba(255,255,255,.96) 58%,rgba(237,247,255,.98))!important;
  box-shadow:0 10px 28px rgba(23,105,232,.07),inset 0 1px 0 rgba(255,255,255,.94)!important;
}
.forum-hero-with-directory .forum-user-directory-inline .forum-online-head{margin-bottom:13px!important}
.forum-hero-with-directory .forum-user-directory-inline .forum-online-head h2{color:#142b4b!important;font-size:16px!important;font-weight:900}
.forum-hero-with-directory .forum-user-directory-inline .forum-online-head>div>span{color:#7588a0!important;font-size:10px!important}
.forum-hero-with-directory .forum-user-directory-inline .forum-online-head>a{color:#1269d5!important;font-weight:850;font-size:11px}
.forum-hero-with-directory .forum-user-directory-inline .forum-online-list{padding:2px 2px 6px!important;gap:15px!important;scrollbar-width:none}
.forum-hero-with-directory .forum-user-directory-inline .forum-online-list::-webkit-scrollbar{display:none}
.forum-hero-with-directory .forum-user-directory-inline .forum-online-person{flex:0 0 64px!important}
.forum-hero-with-directory .forum-user-directory-inline .forum-online-avatar{width:50px!important;height:50px!important;background:linear-gradient(145deg,#4b9aff,#0d57c7)!important;border:3px solid #f6faff!important;box-shadow:0 0 0 1px #c7dcf4!important}
.forum-hero-with-directory .forum-user-directory-inline .forum-online-person small{color:#203c5e!important;font-size:9.5px!important;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.forum-hero-with-directory .forum-new-topic{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;z-index:4!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:220px;min-height:52px;margin-top:18px!important;padding:12px 22px!important;border-radius:13px!important;background:linear-gradient(135deg,#1265e7,#1593f4)!important;color:#fff!important;border:0!important;box-shadow:0 10px 24px rgba(18,101,231,.22)!important;box-sizing:border-box!important;transition:transform .16s ease,box-shadow .16s ease}
.forum-hero-with-directory .forum-new-topic:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(18,101,231,.26)!important}
.forum-hero-with-directory .forum-new-topic b{font-size:23px}

/* Stats remain the current four data points, but get the blue-white dashboard treatment. */
.forum-home-stats{gap:12px!important;margin:15px 0 17px!important}
.forum-home-stat{position:relative;overflow:hidden;min-height:92px!important;border:1px solid #dce9f7!important;border-radius:16px!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;box-shadow:0 8px 24px rgba(20,69,128,.055)!important}
.forum-home-stat:after{content:"";position:absolute;right:-28px;bottom:-34px;width:90px;height:90px;border-radius:50%;background:#2d8cff0c}
.forum-home-stat .stat-icon{position:relative;z-index:1;width:46px!important;height:46px!important;min-width:46px!important;border-radius:14px!important;color:#176de2;background:linear-gradient(145deg,#e7f3ff,#f7fbff)!important;box-shadow:inset 0 0 0 1px #d7e9fd}
.forum-home-stat .stat-svg{width:23px;height:23px}
.forum-home-stat b{font-size:24px!important}.forum-home-stat strong{font-size:11px!important}.forum-home-stat small{font-size:9px!important}
.forum-home-stat.stat-member .stat-icon{color:#596ee8!important;background:linear-gradient(145deg,#edf0ff,#f8f9ff)!important;box-shadow:inset 0 0 0 1px #e0e5ff}.forum-home-stat.stat-member b{color:#4c63dc!important}
.forum-home-stat.stat-online .stat-icon{background:linear-gradient(145deg,#e5faed,#f6fff9)!important;box-shadow:inset 0 0 0 1px #d0f3dc}.forum-home-stat.stat-online b{color:#1fa956!important}
.stat-online-orbit{width:22px;height:22px;border-radius:50%;background:#20b85a;box-shadow:inset 0 0 0 5px rgba(255,255,255,.16),0 0 0 3px rgba(32,184,90,.10);position:relative}.stat-online-orbit:after{content:"";position:absolute;right:2px;top:1px;width:8px;height:8px;border-top:3px solid #fff;border-right:3px solid #fff;border-radius:0 9px 0 0;transform:rotate(-10deg)}
.forum-home-stat.stat-post .stat-icon{color:#784ad9!important;background:linear-gradient(145deg,#f3ecff,#fbf9ff)!important;box-shadow:inset 0 0 0 1px #eadcff}

/* Topic-list actions: Like + Comment stay together; Share is always the far-right action. */
.forum-topic-card-meta{display:flex!important;align-items:center!important;gap:2px!important;padding:0 14px 12px 66px!important}
.forum-topic-card-meta>a,.forum-topic-card-meta>button{flex:0 0 auto!important}
.forum-topic-card-meta .forum-card-views{margin-left:auto!important}
.forum-topic-card-meta .forum-card-share{margin-left:4px!important}

/* Topic detail: one plain outline Like trigger initially; picker only opens on click. */
.fb-action-row{display:flex!important;align-items:center!important;gap:4px!important;border:0!important;position:relative!important}
.fb-action-row>.fb-reaction-wrap{flex:0 0 auto!important}
.fb-action-row>.fb-reaction-wrap .fb-action-btn,.fb-action-row>a.fb-action-btn,.fb-action-row>button.fb-action-btn{width:auto!important;min-width:104px!important;padding:8px 13px!important;border-radius:10px!important}
.fb-action-row>a.fb-action-btn{margin-left:0!important}
.fb-action-row>button.fb-action-btn:last-child{margin-left:auto!important}
.fb-action-btn:hover{background:#f4f7fb!important}.fb-action-btn.active{background:#eef5ff!important}
.fb-reaction-picker[hidden]{display:none!important}

@media(max-width:1040px){
  .forum-hero-with-directory .forum-hero-copy{max-width:590px}
  .forum-hero-with-directory .forum-hero-art{right:28px!important;top:86px!important;transform:scale(.86);transform-origin:top right}
}
@media(max-width:820px){
  .forum-hero-with-directory{padding:28px 20px 20px!important;border-radius:18px!important}
  .forum-hero-with-directory:before{width:170px;height:100px;left:-55px;top:-68px}
  .forum-hero-with-directory .forum-hero-copy h1{font-size:34px!important;max-width:78%}
  .forum-hero-with-directory .forum-hero-copy p{font-size:13px!important;max-width:82%!important}
  .forum-hero-with-directory .forum-hero-art{right:0!important;top:62px!important;transform:scale(.58);opacity:.88!important}
  .forum-hero-with-directory .forum-user-directory-inline{margin-top:20px!important;padding:14px 12px 12px!important}
  .forum-hero-with-directory .forum-user-directory-inline .forum-online-list{gap:12px!important;padding-right:18px!important}
  .forum-hero-with-directory .forum-user-directory-inline .forum-online-person{flex-basis:58px!important}
  .forum-hero-with-directory .forum-user-directory-inline .forum-online-avatar{width:46px!important;height:46px!important}
  .forum-hero-with-directory .forum-new-topic{margin-top:14px!important;min-width:210px}
  .forum-home-stat{min-height:80px!important;padding:12px!important;gap:10px!important}
  .forum-home-stat .stat-icon{width:38px!important;height:38px!important;min-width:38px!important;border-radius:11px!important}.forum-home-stat .stat-svg{width:20px;height:20px}.forum-home-stat b{font-size:20px!important}
  .forum-topic-card-meta{padding-left:52px!important;overflow-x:visible!important}
  .forum-topic-card-meta .forum-card-views small{display:none}
}
@media(max-width:560px){
  .forum-hero-with-directory{padding:25px 16px 18px!important}
  .forum-hero-with-directory .forum-breadcrumb{padding:7px 11px;font-size:11px;margin-bottom:15px!important}
  .forum-hero-with-directory .forum-hero-copy h1{font-size:30px!important;max-width:84%}
  .forum-hero-with-directory .forum-hero-copy p{font-size:12.5px!important;max-width:90%!important;line-height:1.58!important}
  .forum-hero-with-directory .forum-hero-art{right:-18px!important;top:68px!important;transform:scale(.48);opacity:.72!important}
  .forum-hero-with-directory .forum-user-directory-inline{border-left-width:3px!important;border-radius:13px!important}
  .forum-hero-with-directory .forum-user-directory-inline .forum-online-head{align-items:flex-start!important}
  .forum-hero-with-directory .forum-user-directory-inline .forum-online-head h2{font-size:14px!important}
  .forum-hero-with-directory .forum-user-directory-inline .forum-online-head>div>span{font-size:9px!important}
  .forum-hero-with-directory .forum-user-directory-inline .forum-online-head>a{font-size:10px!important}
  .forum-hero-with-directory .forum-new-topic{display:flex!important;width:100%!important;min-width:0!important}
  .forum-topic-card-meta{padding:0 8px 9px 43px!important;gap:0!important}
  .forum-topic-card-meta>a,.forum-topic-card-meta>button{padding:6px 6px!important;font-size:10px!important}
  .forum-topic-card-meta .forum-card-views{margin-left:auto!important}
  .fb-action-row{gap:2px!important}
  .fb-action-row>.fb-reaction-wrap .fb-action-btn,.fb-action-row>a.fb-action-btn,.fb-action-row>button.fb-action-btn{min-width:0!important;padding:7px 9px!important}
  .fb-action-row>.fb-reaction-wrap,.fb-action-row>a.fb-action-btn{flex:0 0 auto!important}
  .fb-action-row>button.fb-action-btn:last-child{flex:0 0 auto!important;margin-left:auto!important}
  .fb-action-label{display:inline!important}
}
@media(max-width:370px){
  .forum-hero-with-directory .forum-hero-copy h1{font-size:27px!important}.forum-hero-with-directory .forum-hero-art{opacity:.48!important}
  .fb-action-label{display:none!important}.fb-action-row>.fb-reaction-wrap .fb-action-btn,.fb-action-row>a.fb-action-btn,.fb-action-row>button.fb-action-btn{padding-inline:8px!important}
}

/* ===== P489 FINAL CLEANUP: active users + initial avatars + minimal footer ===== */
.forum-account-initial,.forum-avatar-initial{display:grid;place-items:center;font-weight:900;text-transform:uppercase;line-height:1;letter-spacing:0;color:inherit}
.forum-only-header .forum-account-avatar{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.35)!important;color:#fff!important}
.forum-only-header .forum-account-initial{width:100%;height:100%;font-size:15px;color:#fff}
.forum-online-avatar .forum-avatar-initial{width:100%;height:100%;font-size:17px;color:#fff}
.topic-author-avatar .forum-avatar-initial{width:100%;height:100%;font-size:15px;color:#fff}
.fb-topic-avatar .forum-avatar-initial{width:100%;height:100%;font-size:18px;color:#fff}
.social-comment-avatar .forum-avatar-initial,.social-compose-avatar .forum-avatar-initial{width:100%;height:100%;font-size:14px;color:#fff}
.social-compose-avatar{background:linear-gradient(145deg,#2d8cf0,#0d59c8)!important;color:#fff!important}

/* Replace the old Terbaru / Semua Topik / User Online chips with live users. */
.forum-active-users-strip{margin:0 0 14px;padding:12px 14px 11px;border:1px solid #dbe8f7;border-radius:14px;background:linear-gradient(105deg,#f7fbff,#fff 58%,#f2f8ff);box-shadow:0 6px 20px rgba(24,85,160,.045)}
.forum-active-users-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.forum-active-users-head>div{display:flex;align-items:baseline;gap:9px;min-width:0}.forum-active-users-head strong{font-size:13px;color:#16365f}.forum-active-users-head small{font-size:10px;color:#7a8ba1}.forum-active-users-head small b{color:#1e9b5d}.forum-active-users-head>a{font-size:10px;font-weight:800;color:#1267d9;white-space:nowrap}
.forum-active-users-list{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;padding:2px 1px 4px;scrollbar-width:none;overscroll-behavior-inline:contain}.forum-active-users-list::-webkit-scrollbar{display:none}
.forum-active-user{flex:0 0 50px;text-align:center;text-decoration:none;color:#24415f}.forum-active-user.is-offline{display:none!important}.forum-active-user.is-online{display:block}
.forum-active-user-avatar{width:38px;height:38px;margin:0 auto;position:relative;border-radius:50%;display:grid;place-items:center;overflow:visible;background:linear-gradient(145deg,#4699f4,#0b55c5);color:#fff;border:2px solid #fff;box-shadow:0 0 0 1px #cfe0f3}
.forum-active-user-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}.forum-active-user-avatar b{font-size:14px;font-weight:900}.forum-active-user-avatar i{position:absolute;right:-1px;bottom:0;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#20b763;box-shadow:0 0 0 1px #d5f1e1}
.forum-active-user small{display:block;margin-top:5px;font-size:8.5px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-active-user:hover small{color:#1269db}
.forum-active-users-empty{font-size:11px;color:#8190a3;padding:5px 1px}.forum-active-users-empty[hidden]{display:none!important}

/* Footer requested: keep only copyright + forum label. */
.forum-footer-minimal{margin-top:0!important;padding:0!important;background:linear-gradient(90deg,#073f9d 0%,#0869dc 100%)!important;border-top:1px solid rgba(147,197,253,.24)!important;content-visibility:auto;contain-intrinsic-size:1px 96px}
.forum-footer-minimal .forum-footer-only{width:min(1120px,calc(100% - 40px));min-height:92px;margin:auto;padding:20px 0 22px;border-top:0!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;color:#c9dcf4;font-size:12px;line-height:1.45}
.forum-footer-minimal .forum-footer-only span:first-child{font-size:13px;color:#d8e8fa}.forum-footer-minimal .forum-footer-only span:last-child{color:#bad0eb}

@media(max-width:640px){
  .forum-active-users-strip{padding:10px 11px 9px;border-radius:12px}.forum-active-users-head{align-items:flex-start}.forum-active-users-head>div{display:grid;gap:0}.forum-active-users-head strong{font-size:12px}.forum-active-users-head small{font-size:9px}.forum-active-users-list{gap:10px}.forum-active-user{flex-basis:46px}.forum-active-user-avatar{width:35px;height:35px}.forum-active-user-avatar b{font-size:13px}.forum-active-user small{font-size:8px}
  .forum-footer-minimal .forum-footer-only{width:calc(100% - 32px);min-height:86px;padding:18px 0 20px;gap:5px;font-size:11px}
}


/* ===== P491 — saturated social share polish ===== */
.fb-action-row>button[data-share-toggle]{color:#135fca!important}
.fb-action-row>button[data-share-toggle] .fb-action-svg{stroke-width:2.15!important}
.fb-action-row>button[data-share-toggle]:hover,
.fb-action-row>button[data-share-toggle][aria-expanded="true"]{background:#eaf3ff!important;color:#0759c7!important}

.fb-share-options.social-share-panel{
  display:flex!important;align-items:flex-start;gap:11px;padding:14px 2px 2px!important;overflow-x:auto;scrollbar-width:none;
  scroll-snap-type:x proximity;overscroll-behavior-inline:contain
}
.fb-share-options.social-share-panel[hidden]{display:none!important}
.fb-share-options.social-share-panel::-webkit-scrollbar{display:none}
.fb-share-options.social-share-panel .social-share{
  flex:0 0 76px!important;min-width:76px!important;min-height:82px!important;padding:7px 5px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;
  border:0!important;border-radius:15px!important;background:transparent!important;color:#1e3554!important;
  box-shadow:none!important;text-decoration:none!important;font-size:10px!important;font-weight:800!important;scroll-snap-align:start;
  transition:transform .16s ease,color .16s ease!important
}
.fb-share-options.social-share-panel .social-share:hover{transform:translateY(-2px)!important;background:transparent!important}
.fb-share-options.social-share-panel .social-share:active{transform:scale(.97)!important}
.fb-share-options.social-share-panel .social-share-logo{
  width:54px;height:54px;display:grid;place-items:center;border-radius:17px;color:#fff;
  box-shadow:0 9px 20px rgba(6,51,119,.16),inset 0 1px 0 rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.22);transition:filter .16s ease,box-shadow .16s ease,transform .16s ease
}
.fb-share-options.social-share-panel .social-share:hover .social-share-logo{filter:saturate(1.08) brightness(1.02);box-shadow:0 12px 24px rgba(6,51,119,.22);transform:translateY(-1px)}
.fb-share-options.social-share-panel .social-share-svg{width:25px;height:25px;stroke:currentColor;stroke-width:2.15;fill:none}
.fb-share-options.social-share-panel .native-share .social-share-logo{background:linear-gradient(145deg,#174f9f,#0a397d)}
.fb-share-options.social-share-panel .whatsapp .social-share-logo{background:linear-gradient(145deg,#20b867,#078a43)}
.fb-share-options.social-share-panel .facebook .social-share-logo{background:linear-gradient(145deg,#2176e8,#0d4fab)}
.fb-share-options.social-share-panel .x-share .social-share-logo{background:linear-gradient(145deg,#31516f,#152b43)}
.fb-share-options.social-share-panel .instagram .social-share-logo{background:linear-gradient(145deg,#315fca 0%,#6a45c7 50%,#b43d8c 100%)}
.fb-share-options.social-share-panel .copy-link .social-share-logo{background:linear-gradient(145deg,#2d73c9,#15518f)}
.fb-share-options.social-share-panel .copy-link.copied .social-share-logo{background:linear-gradient(145deg,#16955a,#08713f)}
.fb-share-options.social-share-panel .social-share>span:last-child{max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#294766;font-size:9.5px;font-weight:850}

@media(max-width:560px){
  .fb-share-options.social-share-panel{gap:8px!important;padding-top:12px!important}
  .fb-share-options.social-share-panel .social-share{flex-basis:66px!important;min-width:66px!important;min-height:75px!important}
  .fb-share-options.social-share-panel .social-share-logo{width:48px;height:48px;border-radius:15px}
  .fb-share-options.social-share-panel .social-share-svg{width:23px;height:23px}
  .fb-share-options.social-share-panel .social-share>span:last-child{font-size:9px;max-width:64px}
}


/* P493 — keep profile visible; notification is a clean standalone bell (no border). */
.forum-only-header .forum-header-actions{
  flex:0 0 auto!important;overflow:visible!important;min-width:max-content!important
}
.forum-only-header .forum-message-link{order:10!important}
.forum-only-header .forum-back-link{order:20!important}
.forum-only-header .forum-account-link{order:30!important}
.forum-only-header .forum-notification-button,
.forum-only-header .forum-guest-notification{order:40!important}
.forum-only-header .forum-account-avatar{
  display:grid!important;visibility:visible!important;opacity:1!important;
  width:36px!important;height:36px!important;min-width:36px!important;flex:0 0 36px!important;
  padding:0!important;border:2px solid rgba(255,255,255,.98)!important;border-radius:50%!important;
  background:linear-gradient(145deg,#2f80ed,#0b58c8)!important;color:#fff!important;
  box-shadow:0 0 0 1.5px rgba(28,111,218,.95),0 3px 9px rgba(0,47,108,.20)!important;
  overflow:hidden!important;z-index:2!important
}
.forum-only-header .forum-account-avatar img{
  display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:50%!important
}
.forum-only-header .forum-account-initial{
  display:grid!important;place-items:center!important;width:100%!important;height:100%!important;
  color:#fff!important;font-size:13px!important;font-weight:850!important;line-height:1!important
}
.forum-only-header .forum-notification-button,
.forum-only-header .forum-notification-button.amf-global-notify-native,
.forum-only-header .forum-guest-notification{
  border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important
}
.forum-only-header .forum-notification-button:hover,
.forum-only-header .forum-notification-button:focus,
.forum-only-header .forum-notification-button:focus-visible,
.forum-only-header .forum-guest-notification:hover,
.forum-only-header .forum-guest-notification:focus-visible{
  border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#d8ecff!important
}
@media(max-width:720px){
  .forum-only-header .forum-header-actions{gap:2px!important}
  .forum-only-header .forum-account-avatar{width:30px!important;height:30px!important;min-width:30px!important;flex-basis:30px!important}
  .forum-only-header .forum-head-icon:not(.forum-account-avatar){width:28px!important;min-width:28px!important;height:32px!important}
}
@media(max-width:390px){
  .forum-only-header .forum-header-actions{gap:0!important}
  .forum-only-header .forum-account-avatar{width:28px!important;height:28px!important;min-width:28px!important;flex-basis:28px!important}
  .forum-only-header .forum-head-icon:not(.forum-account-avatar){width:26px!important;min-width:26px!important}
}


/* P497 — Forum-only header visibility fix from live screenshot.
   Keep the agreed profile ring; make the bell an always-visible, borderless slot. */
.forum-only-header .forum-header-actions{
  flex-wrap:nowrap!important;
  overflow:visible!important;
  max-width:none!important;
}
.forum-only-header .forum-notification-button,
.forum-only-header .forum-guest-notification{
  display:grid!important;
  place-items:center!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 auto!important;
  position:relative!important;
  color:#fff!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.forum-only-header .forum-notification-button .icon,
.forum-only-header .forum-guest-notification .icon{
  display:block!important;
  width:20px!important;
  height:20px!important;
}
@media(max-width:980px){
  body.amf-standalone-page>.forum-only-header>.forum-nav-shell{
    grid-template-columns:minmax(38px,155px) minmax(180px,1fr) max-content!important;
  }
}
@media(max-width:720px){
  body.amf-standalone-page>.forum-only-header>.forum-nav-shell{
    grid-template-columns:34px minmax(96px,1fr) max-content!important;
  }
  .forum-only-header .forum-header-actions{min-width:max-content!important}
  .forum-only-header .forum-notification-button,
  .forum-only-header .forum-guest-notification{width:28px!important;min-width:28px!important;height:32px!important}
}


/* P504 — canonical mobile Forum header bounds.
   Fixes oversized back/profile controls on phones and keeps one compact row. */
@media (max-width:720px){
  :root{--forum-fixed-header-h:60px!important}
  body.amf-standalone-page{padding-top:var(--forum-fixed-header-h)!important}
  body.amf-standalone-page>.forum-only-header{
    position:fixed!important;inset:0 0 auto 0!important;width:100%!important;height:60px!important;
    min-height:60px!important;max-height:60px!important;overflow:hidden!important
  }
  body.amf-standalone-page>.forum-only-header>.forum-nav-shell{
    box-sizing:border-box!important;width:100%!important;max-width:none!important;
    height:60px!important;min-height:60px!important;max-height:60px!important;
    margin:0!important;padding:7px 9px!important;overflow:hidden!important;
    display:grid!important;grid-template-columns:32px minmax(0,1fr) max-content!important;
    grid-template-rows:46px!important;align-items:center!important;gap:6px!important
  }
  .forum-only-header .brand{
    grid-column:1!important;grid-row:1!important;width:32px!important;min-width:32px!important;max-width:32px!important;
    height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0!important;overflow:hidden!important
  }
  .forum-only-header .brand img{
    display:block!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
    max-width:32px!important;max-height:32px!important;border-radius:8px!important;object-fit:contain!important
  }
  .forum-only-header .brand>span{display:none!important}
  .forum-header-search{
    grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:100%!important;
    height:40px!important;min-height:40px!important;max-height:40px!important;border-radius:10px!important;
    grid-template-columns:minmax(0,1fr) 40px!important;overflow:hidden!important
  }
  .forum-header-search input{
    width:100%!important;min-width:0!important;max-width:100%!important;height:40px!important;min-height:40px!important;max-height:40px!important;
    padding:0 10px!important;font-size:12px!important
  }
  .forum-header-search button{
    width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0!important
  }
  .forum-header-search button .icon{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important}
  .forum-only-header .forum-header-actions{
    grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:center!important;
    width:auto!important;min-width:0!important;max-width:max-content!important;height:36px!important;min-height:36px!important;max-height:36px!important;
    margin:0!important;padding:0!important;display:flex!important;align-items:center!important;gap:1px!important;overflow:hidden!important
  }
  .forum-only-header .forum-head-icon,
  .forum-only-header .forum-head-icon:not(.forum-account-avatar),
  .forum-only-header .forum-notification-button,
  .forum-only-header .forum-guest-notification{
    box-sizing:border-box!important;display:grid!important;place-items:center!important;
    width:27px!important;min-width:27px!important;max-width:27px!important;
    height:32px!important;min-height:32px!important;max-height:32px!important;
    flex:0 0 27px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;overflow:hidden!important
  }
  .forum-only-header .forum-head-icon .icon,
  .forum-only-header .forum-back-link .icon,
  .forum-only-header .forum-notification-button .icon,
  .forum-only-header .forum-guest-notification .icon{
    display:block!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;
    max-width:17px!important;max-height:17px!important;flex:0 0 17px!important
  }
  .forum-only-header .forum-account-avatar{
    box-sizing:border-box!important;display:grid!important;place-items:center!important;
    width:28px!important;min-width:28px!important;max-width:28px!important;
    height:28px!important;min-height:28px!important;max-height:28px!important;
    flex:0 0 28px!important;margin:0!important;padding:0!important;border:2px solid #fff!important;border-radius:50%!important;
    overflow:hidden!important;line-height:1!important
  }
  .forum-only-header .forum-account-avatar img{
    display:block!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
    max-width:24px!important;max-height:24px!important;object-fit:cover!important;border-radius:50%!important
  }
  .forum-only-header .forum-account-initial{
    display:grid!important;place-items:center!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
    max-width:24px!important;max-height:24px!important;font-size:11px!important;line-height:1!important;overflow:hidden!important
  }
}
@media (max-width:390px){
  body.amf-standalone-page>.forum-only-header>.forum-nav-shell{
    grid-template-columns:30px minmax(0,1fr) max-content!important;padding-left:7px!important;padding-right:7px!important;gap:4px!important
  }
  .forum-only-header .brand,.forum-only-header .brand img{width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important}
  .forum-only-header .forum-head-icon,
  .forum-only-header .forum-head-icon:not(.forum-account-avatar),
  .forum-only-header .forum-notification-button,
  .forum-only-header .forum-guest-notification{width:25px!important;min-width:25px!important;max-width:25px!important;flex-basis:25px!important}
  .forum-only-header .forum-account-avatar{width:27px!important;min-width:27px!important;max-width:27px!important;height:27px!important;min-height:27px!important;max-height:27px!important;flex-basis:27px!important}
}


/* P507 — long customer-service profile cards; all human contacts use internal Messenger, never WhatsApp. */
.forum-service-center{margin:17px 0 18px;padding:18px;border:1px solid #dce9f7;border-radius:20px;background:linear-gradient(145deg,#fbfdff,#f5f9ff);box-shadow:0 10px 30px rgba(20,69,128,.055)}
.forum-service-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.forum-service-head-icon{width:46px;height:46px;min-width:46px;border-radius:14px;display:grid;place-items:center;color:#176de2;background:linear-gradient(145deg,#e7f3ff,#fff);box-shadow:inset 0 0 0 1px #d7e9fd}.service-head-svg{width:23px;height:23px}.forum-service-head h2{margin:0;color:#102b55;font-size:20px;line-height:1.2}.forum-service-head h2 span{color:#176de2}.forum-service-head p{margin:4px 0 0;color:#687a92;font-size:11.5px;line-height:1.45}
.forum-service-list{display:grid;gap:10px}.forum-service-card{position:relative;overflow:hidden;min-height:110px;display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 18px;border:1px solid #dce9f7;border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(20,69,128,.045)}.forum-service-card:after{content:"";position:absolute;right:70px;bottom:-58px;width:160px;height:160px;border-radius:50%;background:rgba(45,140,255,.045);pointer-events:none}.forum-service-card>*{position:relative;z-index:1}
.forum-service-avatar{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;overflow:hidden;color:#176de2;background:linear-gradient(145deg,#e8f3ff,#f9fcff);box-shadow:inset 0 0 0 1px #cfe4fb}.forum-service-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.service-avatar-svg{width:29px;height:29px}.forum-service-copy{min-width:0}.forum-service-copy h3{margin:0;color:#12356d;font-size:18px;line-height:1.2}.forum-service-copy p{margin:4px 0 8px;color:#6d7e94;font-size:12px}.forum-service-tag{width:max-content;max-width:100%;display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #cfe1f7;border-radius:999px;background:#f5f9ff;color:#2773cf;font-size:10px;font-weight:800}.service-tag-svg{width:13px;height:13px}.forum-service-action{min-width:122px;height:42px;padding:0 14px;border:1px solid #2a7de3;border-radius:12px;background:#fff;color:#176de2;display:inline-flex;align-items:center;justify-content:center;gap:14px;font:inherit;font-size:12px;font-weight:850;cursor:pointer;text-decoration:none;transition:.16s ease}.forum-service-action:hover{background:#edf6ff;box-shadow:0 7px 18px rgba(23,105,232,.10);transform:translateY(-1px)}.service-action-svg{width:18px;height:18px}
.forum-service-card.service-admin .forum-service-avatar{color:#22a05a;background:linear-gradient(145deg,#e9f9ef,#fbfffc);box-shadow:inset 0 0 0 1px #d4efdd}.forum-service-card.service-admin:after{background:rgba(34,160,90,.045)}.forum-service-card.service-admin .forum-service-tag{border-color:#cfead8;background:#f4fbf6;color:#29935a}.forum-service-card.service-admin .forum-service-action{border-color:#38a767;color:#29935a}.forum-service-card.service-admin .forum-service-action:hover{background:#f0faf3}
.forum-service-card.service-ai .forum-service-avatar{color:#7952de;background:linear-gradient(145deg,#f0ebff,#fbf9ff);box-shadow:inset 0 0 0 1px #e4d9ff}.forum-service-card.service-ai:after{background:rgba(121,82,222,.055)}.forum-service-card.service-ai .forum-service-tag{border-color:#e1d7fb;background:#faf7ff;color:#7952de}.forum-service-card.service-ai .forum-service-action{border-color:#9472ec;color:#7952de}.forum-service-card.service-ai .forum-service-action:hover{background:#f7f3ff}
/* Keep the service CTA's own icon/text; AI binder only attaches behavior. */
.forum-service-action.amf-ai-trigger-v238{position:relative;inset:auto;box-shadow:none;margin:0}.forum-service-action.amf-ai-trigger-v238 .amf-ai-trigger-icon-v238{display:none!important}.forum-service-action.amf-ai-trigger-v238 .amf-ai-trigger-label-v238{display:inline!important}
@media(max-width:700px){.forum-service-center{padding:14px;border-radius:17px}.forum-service-head{align-items:flex-start}.forum-service-head-icon{width:40px;height:40px;min-width:40px;border-radius:12px}.service-head-svg{width:20px;height:20px}.forum-service-head h2{font-size:17px}.forum-service-card{grid-template-columns:52px minmax(0,1fr) auto;gap:11px;min-height:94px;padding:12px}.forum-service-avatar{width:50px;height:50px}.service-avatar-svg{width:24px;height:24px}.forum-service-copy h3{font-size:15px}.forum-service-copy p{font-size:10.5px;margin:3px 0 6px}.forum-service-tag{font-size:9px;padding:4px 7px}.forum-service-action{min-width:46px;width:46px;height:40px;padding:0;gap:0;border-radius:11px}.forum-service-action>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}.forum-service-action .service-action-svg{width:18px;height:18px}.forum-service-card:after{right:18px;width:120px;height:120px}}
@media(max-width:430px){.forum-service-center{margin-top:12px}.forum-service-head p{font-size:10px}.forum-service-card{grid-template-columns:46px minmax(0,1fr) 38px;gap:9px;padding:10px}.forum-service-avatar{width:44px;height:44px}.forum-service-action{width:38px;min-width:38px;height:38px}.forum-service-copy h3{font-size:14px}.forum-service-tag{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}


/* === P511 — Messenger square-lite UI + paperclip File attachments === */
.forum-message-link{position:relative!important}.forum-message-badge{position:absolute;right:-2px;top:-3px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ef3b4f;color:#fff;border:2px solid #0b3b82;display:grid;place-items:center;font-size:8px;line-height:1;font-weight:900;z-index:3}.fb-message-action{color:#53677f!important}.fb-message-action:hover{color:#1769e8!important;background:#eef5ff!important}.fb-message-action .fb-action-svg{stroke-width:1.85!important}
body.forum-messenger-page{background:#f4f7fb}body.forum-messenger-page .forum-footer{display:none!important}.forum-messenger-wrap{max-width:1180px!important;padding-top:18px!important}.messenger-shell{height:min(780px,calc(100dvh - 128px));min-height:590px;display:grid;grid-template-columns:minmax(0,1fr) 300px;overflow:hidden;background:#fff;border:1px solid #d9e4f0;border-radius:10px;box-shadow:0 16px 42px rgba(13,49,93,.08)}
.messenger-sidebar{grid-column:2;grid-row:1;min-width:0;border-left:1px solid #e4eaf2;display:flex;flex-direction:column;overflow:hidden;background:#fbfcfe}.messenger-chat{grid-column:1;grid-row:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}.messenger-side-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 15px 10px}.messenger-side-head>div{display:grid;line-height:1.25}.messenger-side-head strong{font-size:20px;color:#17233b;letter-spacing:-.02em}.messenger-side-head small{font-size:10px;color:#718197}.messenger-new{width:36px;height:36px;border-radius:7px;display:grid;place-items:center;background:#eaf3ff;color:#1769e8;border:1px solid #d5e7fd}.messenger-new svg{width:18px;height:18px;stroke-width:1.9}.messenger-search{display:flex;align-items:center;margin:0 11px 10px;border:1px solid #dbe5ef;border-radius:7px;background:#f4f7fb;overflow:hidden}.messenger-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:10px 12px;font:inherit;font-size:11.5px}.messenger-search button{width:38px;height:38px;border:0;background:transparent;color:#53708f;display:grid;place-items:center;cursor:pointer}.messenger-search svg{width:16px;height:16px}.messenger-results{margin:0 9px 8px;padding:7px;border:1px solid #e6edf5;border-radius:7px;background:#fff;max-height:220px;overflow:auto}.messenger-results>b{display:block;padding:1px 6px 6px;font-size:10px;color:#607189}.messenger-results>p{font-size:11px;color:#75859b;margin:6px}.messenger-conversations{min-height:0;overflow-y:auto;padding:4px 7px 12px}.messenger-person,.messenger-admin-shortcut{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 8px;border-radius:7px;color:#1d2d46}.messenger-person:hover,.messenger-person.active{background:#eef5ff}.messenger-person>span:nth-child(2),.messenger-admin-shortcut>span:nth-child(2){min-width:0;display:grid;line-height:1.3}.messenger-person strong,.messenger-admin-shortcut strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.messenger-person small,.messenger-admin-shortcut small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#75859b;font-size:9.5px}.messenger-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;background:linear-gradient(145deg,#2c84ef,#0d59c4);color:#fff;display:grid;place-items:center;flex:0 0 42px;border:2px solid #fff;box-shadow:0 0 0 1px #d3e2f3}.messenger-avatar img{width:100%;height:100%;object-fit:cover}.messenger-avatar b{font-size:14px}.messenger-admin-shortcut{margin:0 9px 7px;background:#f3f8ff;border:1px solid #d7e7fb}.messenger-admin-shortcut>svg{width:15px;height:15px;color:#1769e8}.messenger-unread{min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#1769e8;color:#fff;display:grid;place-items:center;font-size:9px}.messenger-empty-side{padding:26px 14px;text-align:center;color:#7a899e;font-size:11px}
.messenger-chat-empty{margin:auto;text-align:center;padding:30px;color:#718197}.messenger-empty-icon{width:52px;height:52px;color:#1769e8;stroke-width:1.5}.messenger-chat-empty h1{margin:8px 0 3px;color:#17233b;font-size:22px}.messenger-chat-empty p{margin:0;font-size:12px}.messenger-chat-head{height:68px;flex:0 0 68px;padding:8px 15px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5ebf3;background:#fff;z-index:2}.messenger-chat-head .messenger-avatar{width:44px;height:44px;flex-basis:44px}.messenger-chat-user{min-width:0;display:grid;line-height:1.3}.messenger-chat-user strong{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-chat-user small{font-size:9.5px;color:#718197}.messenger-chat-live{margin-left:auto;display:inline-flex;align-items:center;gap:5px;color:#34835a;font-size:9.5px;font-weight:750}.messenger-chat-live i{width:7px;height:7px;border-radius:50%;background:#2ecc71}.messenger-mobile-back{display:none;width:34px;height:34px;place-items:center;color:#3f5b7d}.messenger-mobile-back svg{width:20px;height:20px}
.messenger-thread{flex:1;min-height:0;overflow-y:auto;padding:18px 18px 12px;background:#fbfcfe;overscroll-behavior:contain}.messenger-first-note{text-align:center;color:#8593a5;font-size:10px;margin:10px 0 18px}.messenger-load-older{display:block;margin:0 auto 14px;padding:7px 12px;border:1px solid #dbe6f2;border-radius:7px;background:#fff;color:#52708f;font:inherit;font-size:10px;font-weight:750;cursor:pointer;box-shadow:none}.messenger-load-older:disabled{opacity:.55}.messenger-bubble-row{display:flex;margin:5px 0}.messenger-bubble-row.mine{justify-content:flex-end}.messenger-bubble-row.theirs{justify-content:flex-start}.messenger-bubble{max-width:min(74%,640px);padding:8px 10px 6px;border-radius:7px;background:#eef2f6;color:#1b2b42;border:1px solid #dde5ee;box-shadow:none}.messenger-bubble-row.mine .messenger-bubble{background:#1769e8;border-color:#1769e8;color:#fff}.messenger-bubble p{margin:0;white-space:normal;overflow-wrap:anywhere;font-size:12.5px;line-height:1.46}.messenger-bubble>small{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:3px;text-align:right;font-size:8px;opacity:.76}.messenger-read{font-size:8px;font-weight:800;letter-spacing:-1px}.messenger-image-link{display:block;overflow:hidden;border-radius:6px;margin:0 0 6px;background:#dbe7f4}.messenger-message-image{display:block;max-width:min(360px,100%);max-height:340px;width:auto;height:auto;object-fit:contain;border-radius:6px}.messenger-bubble-row.mine .messenger-image-link{background:rgba(255,255,255,.12)}
.messenger-file-card{min-width:245px;max-width:360px;display:grid;grid-template-columns:36px minmax(0,1fr) 30px;align-items:center;gap:9px;margin:0 0 5px;padding:7px 8px;border:1px solid #d8e3ef;border-radius:7px;background:#fff;color:#21354d;text-decoration:none}.messenger-file-card:hover{border-color:#b9d2ee}.messenger-file-icon{width:34px;height:34px;border-radius:7px;background:#f0f4f8;color:#17233b;display:grid;place-items:center}.messenger-file-icon svg{width:18px;height:18px}.messenger-file-info{min-width:0;display:grid;line-height:1.3}.messenger-file-info strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messenger-file-info small{font-size:8.5px!important;color:#7c8c9e!important;margin:1px 0 0!important;display:block!important;text-align:left!important}.messenger-file-download{width:28px;height:28px;border-radius:6px;background:#f3f6fa;color:#1769e8;display:grid;place-items:center}.messenger-file-download svg{width:16px;height:16px}.messenger-bubble-row.mine .messenger-file-card{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.13);color:#fff}.messenger-bubble-row.mine .messenger-file-icon,.messenger-bubble-row.mine .messenger-file-download{background:rgba(255,255,255,.16);color:#fff}.messenger-bubble-row.mine .messenger-file-info small{color:rgba(255,255,255,.76)!important}
.messenger-file-preview{display:grid;grid-template-columns:42px minmax(0,1fr) 28px;align-items:center;gap:9px;margin:0 10px 7px;padding:7px 8px;border:1px solid #d8e5f3;border-radius:7px;background:#f8fbff}.messenger-file-preview[hidden]{display:none!important}.messenger-preview-thumb{width:42px;height:42px;border-radius:7px;background:#eef3f8;display:grid;place-items:center;overflow:hidden;color:#21354d;position:relative}.messenger-preview-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.messenger-preview-thumb img:not([hidden])~svg{display:none}.messenger-preview-thumb svg{width:19px;height:19px}.messenger-preview-copy{min-width:0;display:grid;line-height:1.3}.messenger-preview-copy strong{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#36506a}.messenger-preview-copy small{font-size:8.5px;color:#8190a1}.messenger-file-preview button{width:28px;height:28px;border:0;border-radius:6px;background:#e9eff6;color:#536b83;font-size:18px;cursor:pointer}
.messenger-compose{flex:0 0 auto;display:grid;grid-template-columns:72px minmax(0,1fr) 42px;gap:8px;align-items:end;padding:9px 10px 7px;border-top:1px solid #e8eef6;background:#fff}.messenger-attach{width:72px;height:42px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:7px;background:#f2f5f8;color:#17233b;border:1px solid #dbe4ee;cursor:pointer;transition:.15s;font-size:11.5px;font-weight:700}.messenger-attach:hover{background:#eaf2fb;color:#1769e8}.messenger-attach svg{width:18px;height:18px}.messenger-compose textarea{width:100%;max-height:126px;min-height:42px;resize:none;border:1px solid #dbe4ee;border-radius:7px;background:#f7f9fb;padding:11px 12px;outline:0;font:inherit;font-size:12.5px;line-height:1.35}.messenger-compose textarea:focus{border-color:#9fc5f5;box-shadow:0 0 0 2px #1769e812}.messenger-send{width:42px!important;height:42px!important;border:0!important;border-radius:50%!important;background:#1769e8!important;color:#fff!important;display:grid!important;place-items:center!important;cursor:pointer!important;box-shadow:none!important}.messenger-send:disabled{opacity:.55}.messenger-send svg{width:19px!important;height:19px!important;stroke-width:1.9!important}.messenger-compose-hint{padding:0 12px 8px;background:#fff;color:#93a0af;font-size:8px;text-align:center}
@media(max-width:720px){.forum-message-badge{right:-1px;top:0;min-width:14px;height:14px;font-size:7px;border-width:1.5px}body.forum-messenger-page{overflow:hidden}body.forum-messenger-page .site-header{position:fixed!important;top:0;left:0;right:0;z-index:2000}.forum-messenger-wrap{position:fixed!important;left:0;right:0;top:var(--forum-fixed-header-h,62px);bottom:0;width:100%!important;height:auto!important;margin:0!important;padding:0!important;z-index:50;background:#fff;overflow:hidden}.messenger-shell{position:absolute;inset:0;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;grid-template-columns:1fr}.messenger-shell.has-chat .messenger-sidebar{display:none!important}.messenger-shell:not(.has-chat) .messenger-chat{display:none!important}.messenger-sidebar,.messenger-chat{grid-column:1;grid-row:1;border-left:0}.messenger-chat-head{height:60px;flex-basis:60px;padding:6px 9px}.messenger-mobile-back{display:grid}.messenger-chat-head .messenger-avatar{width:40px;height:40px;flex-basis:40px}.messenger-chat-live{font-size:8.5px}.messenger-thread{padding:13px 10px 10px}.messenger-bubble{max-width:86%;padding:8px 9px 6px}.messenger-message-image{max-height:300px}.messenger-file-card{min-width:min(235px,76vw);max-width:78vw}.messenger-file-preview{margin:0 9px 6px}.messenger-compose{grid-template-columns:62px minmax(0,1fr) 40px;padding:8px 9px 5px}.messenger-attach{width:62px;height:40px;font-size:10.5px;gap:5px}.messenger-attach svg{width:17px;height:17px}.messenger-send{width:40px!important;height:40px!important}.messenger-compose textarea{min-height:40px;padding:10px 11px}.messenger-compose-hint{padding-bottom:calc(7px + env(safe-area-inset-bottom));font-size:7.8px}}
@media(max-width:390px){.messenger-chat-user small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messenger-chat-live{display:none}.messenger-message-image{max-width:100%}.messenger-bubble{max-width:88%}.messenger-person,.messenger-admin-shortcut{grid-template-columns:40px minmax(0,1fr) auto}.messenger-avatar{width:38px;height:38px;flex-basis:38px}.messenger-compose{grid-template-columns:56px minmax(0,1fr) 38px;gap:6px}.messenger-attach{width:56px;font-size:10px}.messenger-send{width:38px!important;height:38px!important}}

/* P510 — clean stable forum header icons from live screenshot. */
.forum-only-header .forum-header-actions{gap:3px!important}
.forum-only-header .forum-head-icon,
.forum-only-header .forum-notification-button,
.forum-only-header .forum-guest-notification{
  color:#ffffff!important;
  opacity:1!important;
}
.forum-only-header .forum-head-icon .icon,
.forum-only-header .forum-notification-button .icon,
.forum-only-header .forum-guest-notification .icon{
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.forum-only-header .forum-account-avatar{
  background:rgba(255,255,255,.14)!important;
  border:1.8px solid rgba(255,255,255,.92)!important;
  box-shadow:0 0 0 1px rgba(9,77,168,.24)!important;
}
.forum-only-header .forum-account-avatar img,
.forum-only-header .forum-account-initial{display:none!important}
.forum-account-glyph{
  width:100%!important;height:100%!important;
  display:grid!important;place-items:center!important;
}
.forum-account-glyph .icon{
  width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;
  stroke-width:1.95!important;
}
@media (max-width:720px){
  .forum-only-header .forum-header-actions{gap:2px!important}
  .forum-only-header .forum-account-avatar{background:rgba(255,255,255,.12)!important}
  .forum-account-glyph .icon{width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important}
}
@media (max-width:390px){
  .forum-only-header .forum-header-actions{gap:1px!important}
  .forum-account-glyph .icon{width:13.5px!important;height:13.5px!important;min-width:13.5px!important;min-height:13.5px!important}
}


/* === P510 FINAL — simple header icons + fixed visible Tanya AI button === */
/* Header actions: all are the same plain outline language. No large circular profile ring. */
.forum-only-header .forum-header-actions{align-items:center!important;gap:5px!important}
.forum-only-header .forum-head-icon,
.forum-only-header .forum-notification-button,
.forum-only-header .forum-guest-notification,
.forum-only-header .forum-account-avatar{
  box-sizing:border-box!important;
  width:34px!important;min-width:34px!important;max-width:34px!important;
  height:34px!important;min-height:34px!important;max-height:34px!important;
  flex:0 0 34px!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:9px!important;background:transparent!important;
  box-shadow:none!important;color:#fff!important;display:grid!important;place-items:center!important;
  overflow:visible!important
}
.forum-only-header .forum-head-icon:hover,
.forum-only-header .forum-head-icon:focus-visible{background:rgba(255,255,255,.10)!important;color:#fff!important}
.forum-only-header .forum-head-icon .icon,
.forum-only-header .forum-notification-button .icon,
.forum-only-header .forum-guest-notification .icon,
.forum-only-header .forum-account-glyph .icon{
  width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;
  max-width:19px!important;max-height:19px!important;stroke-width:1.9!important;
  stroke-linecap:round!important;stroke-linejoin:round!important
}
.forum-only-header .forum-account-glyph{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;color:#fff!important}
.forum-only-header .forum-account-avatar{background:transparent!important;border:0!important;border-radius:9px!important;box-shadow:none!important}
.forum-message-badge{right:-1px!important;top:-2px!important;min-width:15px!important;height:15px!important;padding:0 4px!important;border:1.5px solid #0b63ce!important;font-size:7px!important}

/* The AI stylesheet loads later and normally turns any .amf-ai-trigger into a transparent RGB pill.
   This stronger scoped rule keeps the Forum service CTA readable and modern. */
body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238{
  position:relative!important;inset:auto!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:122px!important;width:auto!important;height:42px!important;padding:0 15px!important;gap:8px!important;
  margin:0!important;border:1px solid #9472ec!important;border-radius:12px!important;
  background:#fff!important;background-color:#fff!important;background-image:none!important;
  color:#7952de!important;box-shadow:none!important;filter:none!important;animation:none!important;
  font:850 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;overflow:hidden!important;isolation:auto!important
}
body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238::before,
body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238::after{display:none!important;content:none!important}
body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238 .amf-ai-trigger-label-v238{
  position:static!important;display:inline!important;width:auto!important;height:auto!important;
  max-width:none!important;clip:auto!important;clip-path:none!important;overflow:visible!important;
  color:#7952de!important;font:inherit!important;white-space:nowrap!important
}
body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238 .service-ai-button-icon{
  display:block!important;position:static!important;width:17px!important;height:17px!important;
  min-width:17px!important;min-height:17px!important;max-width:17px!important;max-height:17px!important;
  flex:0 0 17px!important;color:#7952de!important;stroke-width:1.9!important
}
body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238:hover{
  background:#f7f3ff!important;transform:translateY(-1px)!important;
  box-shadow:0 6px 16px rgba(121,82,222,.10)!important
}

@media(max-width:720px){
  .forum-only-header .forum-header-actions{gap:2px!important}
  .forum-only-header .forum-head-icon,
  .forum-only-header .forum-notification-button,
  .forum-only-header .forum-guest-notification,
  .forum-only-header .forum-account-avatar{
    width:28px!important;min-width:28px!important;max-width:28px!important;
    height:32px!important;min-height:32px!important;max-height:32px!important;flex-basis:28px!important;border-radius:7px!important
  }
  .forum-only-header .forum-account-glyph{width:28px!important;height:32px!important}
  .forum-only-header .forum-head-icon .icon,
  .forum-only-header .forum-notification-button .icon,
  .forum-only-header .forum-guest-notification .icon,
  .forum-only-header .forum-account-glyph .icon{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;max-width:17px!important;max-height:17px!important}
  body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238{
    min-width:46px!important;width:46px!important;height:40px!important;padding:0!important;gap:0!important;border-radius:11px!important
  }
  body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238 .amf-ai-trigger-label-v238{
    position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important
  }
  body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238 .service-ai-button-icon{
    width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;flex-basis:18px!important
  }
}
@media(max-width:390px){
  .forum-only-header .forum-header-actions{gap:1px!important}
  .forum-only-header .forum-head-icon,
  .forum-only-header .forum-notification-button,
  .forum-only-header .forum-guest-notification,
  .forum-only-header .forum-account-avatar{width:26px!important;min-width:26px!important;max-width:26px!important;flex-basis:26px!important}
  .forum-only-header .forum-account-glyph{width:26px!important}
  body .forum-service-card.service-ai .forum-service-action.amf-ai-trigger-v238{width:38px!important;min-width:38px!important;height:38px!important}
}
