/* RUSTMODS.WIN — FORUM LAB V1 */

.rf-body{
  --rf-bg:#161522;--rf-panel:#26233f;--rf-panel2:#2d2948;--rf-panel3:#343052;
  --rf-line:#3a3657;--rf-text:#f3f0f5;--rf-soft:#aaa5ba;--rf-muted:#74708a;
  --rf-orange:#e66a2c;--rf-orange2:#ff7b35;--rf-blue:#4789ff;--rf-pink:#e84286;--rf-green:#6ed782;
}
.rf-main{width:min(calc(100% - 52px),1420px);margin:0 auto;padding:28px 0 46px}
.rf-sidebar-links{display:grid;gap:5px}
.rf-sidebar-links a{display:flex;align-items:center;gap:9px;min-height:36px;padding:0 10px;color:#8f899f!important;border:1px solid transparent;border-radius:7px;font-size:9px;font-weight:800}
.rf-sidebar-links a:hover{background:#292541;color:#fff!important;border-color:#3e3858}
.rf-sidebar-links a span{display:inline-flex;align-items:center;justify-content:center;width:22px;color:var(--rf-orange2)}
.rf-lab-badge{display:flex;align-items:center;gap:7px;margin-top:10px;color:#746f84;font-size:7px;font-weight:900;letter-spacing:.85px}
.rf-lab-badge i{width:6px;height:6px;background:var(--rf-green);border-radius:50%;box-shadow:0 0 8px rgba(110,215,130,.45)}
.rf-topbar .rm5-topnav a.is-active{color:#fff!important;background:#25213c}
.rf-icon-link{text-decoration:none!important}
.rf-eyebrow,.rf-section-head>div>span,.rf-category-head>div>span,.rf-compose-head>span{display:block;color:var(--rf-pink);font-size:8px;line-height:1;font-weight:950;letter-spacing:1.2px;text-transform:uppercase}
.rf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;box-sizing:border-box;border-radius:7px;font-size:9px;line-height:1;font-weight:900;text-decoration:none!important;cursor:pointer}
.rf-btn-primary{background:linear-gradient(135deg,#e66a2c,#b9451b);color:#fff!important;border:1px solid #f07b3b;box-shadow:0 8px 20px rgba(230,106,44,.16)}
.rf-btn-primary:hover{background:linear-gradient(135deg,#f47737,#c94e1d);color:#fff!important}
.rf-btn-secondary{background:#2a2645;color:#d8d3df!important;border:1px solid #45405f}
.rf-btn-secondary:hover{background:#332e50;color:#fff!important;border-color:#5b5276}

/* HERO */
.rf-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(350px,.72fr);align-items:center;gap:28px;min-height:330px;padding:36px 38px;overflow:hidden;background:radial-gradient(circle at 88% 17%,rgba(71,137,255,.22),transparent 27%),radial-gradient(circle at 73% 105%,rgba(232,66,134,.14),transparent 35%),linear-gradient(120deg,#61213f 0%,#3b2448 49%,#2c315e 100%);border:1px solid #55466f;border-radius:13px;box-shadow:0 20px 50px rgba(5,3,13,.2)}
.rf-hero::after{content:"";position:absolute;width:360px;height:360px;right:-100px;bottom:-210px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:inset 0 0 0 54px rgba(255,255,255,.016),inset 0 0 0 108px rgba(255,255,255,.011)}
.rf-hero-glow{position:absolute;width:280px;height:280px;right:10%;top:-125px;background:radial-gradient(circle,rgba(255,119,61,.22),transparent 68%)}
.rf-hero-copy,.rf-hero-panel{position:relative;z-index:2}
.rf-hero .rf-eyebrow{color:#ffb2c9}
.rf-hero h1{max-width:720px;margin:13px 0 0;color:#fff;font-size:clamp(46px,4.3vw,68px);line-height:.96;font-weight:950;letter-spacing:-1.9px}
.rf-hero h1 span{display:block;color:#ff7b35}
.rf-hero-copy>p{max-width:650px;margin:18px 0 0;color:#d5cbd8;font-size:13px;line-height:1.6}
.rf-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}
.rf-hero-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.rf-hero-pills span{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;background:rgba(18,15,30,.36);color:#d1c7d4;border:1px solid rgba(255,255,255,.11);border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.45px}
.rf-hero-pills i{width:7px;height:7px;margin-right:7px;background:var(--rf-green);border-radius:50%;box-shadow:0 0 9px rgba(110,215,130,.48)}
.rf-hero-panel{padding:14px;background:rgba(26,21,43,.76);border:1px solid rgba(255,255,255,.17);border-radius:11px;backdrop-filter:blur(12px);box-shadow:0 18px 42px rgba(5,3,14,.18)}
.rf-hero-panel-head{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 9px}
.rf-hero-panel-head span{display:block;color:#aaa0b1;font-size:8px;font-weight:900;letter-spacing:.9px}
.rf-hero-panel-head strong{display:block;margin-top:4px;color:#fff;font-size:13px}
.rf-hero-panel-head>i{width:8px;height:8px;background:var(--rf-green);border-radius:50%;box-shadow:0 0 10px rgba(110,215,130,.5)}
.rf-live-row{display:grid;grid-template-columns:36px minmax(0,1fr) 24px;align-items:center;gap:10px;min-height:54px;margin-top:6px;padding:0 9px;background:#261f3f;color:inherit!important;border:1px solid #493e65;border-radius:8px;text-decoration:none!important}
.rf-live-row:hover{background:#30274d;border-color:#67567f}
.rf-live-avatar,.rf-message-avatar{display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:linear-gradient(135deg,#e84286,#8f2c65);color:#fff;border-radius:9px;font-size:11px;font-weight:950}
.rf-live-avatar-blue{background:linear-gradient(135deg,#4789ff,#3946aa)!important}
.rf-live-row strong{display:block;color:#f2eef4;font-size:10px}.rf-live-row small{display:block;margin-top:3px;color:#968ea3;font-size:8px}.rf-live-row>b{color:var(--rf-orange2)}
.rf-hero-panel-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:9px}
.rf-hero-panel-stats div{padding:10px 6px;background:#1c1930;border:1px solid #393450;border-radius:7px;text-align:center}
.rf-hero-panel-stats strong{display:block;color:#fff;font-size:13px}.rf-hero-panel-stats span{display:block;margin-top:3px;color:#7f788e;font-size:7px;text-transform:uppercase}

/* SECTIONS */
.rf-section{margin-top:28px}
.rf-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:12px}
.rf-section-head h2{margin:5px 0 0;color:#f3f0f5;font-size:24px;line-height:1.05;font-weight:950}
.rf-section-head>a{color:#9b95a9!important;font-size:9px;font-weight:850}.rf-section-head>a:hover{color:var(--rf-orange2)!important}
.rf-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rf-quick-card{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:11px;min-height:86px;padding:12px 14px;background:linear-gradient(145deg,#292541,#242039);color:inherit!important;border:1px solid #433c5f;border-radius:10px;text-decoration:none!important;box-shadow:0 9px 22px rgba(5,3,13,.1);transition:.15s}
.rf-quick-card:hover{background:linear-gradient(145deg,#312c4c,#292541);border-color:#5e537c;transform:translateY(-2px)}
.rf-quick-icon,.rf-forum-icon{display:flex;align-items:center;justify-content:center;color:#fff;border-radius:9px;font-weight:950}.rf-quick-icon{width:48px;height:48px;font-size:13px}
.rf-accent-blue{background:linear-gradient(135deg,#4789ff,#3946aa)!important}.rf-accent-pink{background:linear-gradient(135deg,#e84286,#8f2c65)!important}.rf-accent-orange{background:linear-gradient(135deg,#e66a2c,#9e3d15)!important}.rf-accent-green{background:linear-gradient(135deg,#6ed782,#277345)!important}.rf-accent-purple{background:linear-gradient(135deg,#7d64dd,#493b8f)!important}
.rf-quick-card small{color:#918ba1;font-size:8px;font-weight:900;letter-spacing:.7px}.rf-quick-card strong{display:block;margin-top:4px;color:#f3f0f5;font-size:12px}.rf-quick-card p{margin:4px 0 0;color:#9d96aa;font-size:9px;line-height:1.3}.rf-quick-card>b,.rf-row-arrow{color:#c7c1d0;font-size:12px}

/* FORUM DIRECTORY */
.rf-category-stack{display:grid;gap:18px}
.rf-category-card{overflow:hidden;background:#211e39;border:1px solid #3f395a;border-radius:11px;box-shadow:0 10px 25px rgba(5,3,13,.1)}
.rf-category-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px;padding:0 18px 0 21px;background:linear-gradient(90deg,rgba(232,66,134,.05),transparent 28%),linear-gradient(180deg,#2d2948,#292541);border-bottom:1px solid #46405f}
.rf-category-head::before{content:"";position:absolute;top:0;bottom:0;left:0;width:3px;background:linear-gradient(180deg,var(--rf-pink),var(--rf-orange))}
.rf-category-head h3{margin:5px 0 0;color:#f3f0f5;font-size:17px;line-height:1;font-weight:950;letter-spacing:.4px}.rf-category-head p{margin:5px 0 0;color:#958fa2;font-size:9px}
.rf-category-head>b{display:inline-flex;align-items:center;justify-content:center;min-width:31px;height:31px;background:#221e39;color:#aaa3b5;border:1px solid #4a4262;border-radius:8px;font-size:9px}
.rf-forum-row{display:grid;grid-template-columns:52px minmax(0,1fr) 80px 80px 190px 20px;align-items:center;gap:13px;min-height:78px;padding:11px 16px;background:linear-gradient(90deg,#23203b,#25213e 58%,#23203b);color:inherit!important;border-bottom:1px solid #37324d;text-decoration:none!important;transition:.15s}
.rf-forum-row:last-child{border-bottom:0}.rf-forum-row:hover{background:linear-gradient(90deg,#2b2747,#2e294a 58%,#2a2645);box-shadow:inset 3px 0 0 var(--rf-orange)}
.rf-forum-icon{width:50px;height:50px;font-size:12px}.rf-forum-copy{min-width:0}.rf-forum-copy strong{display:block;color:#f3f0f5;font-size:13px;font-weight:900}.rf-forum-copy p{max-width:720px;margin:4px 0 0;color:#a6a0b1;font-size:10px;line-height:1.35}
.rf-forum-stat,.rf-forum-last{min-height:44px;padding-left:13px;border-left:1px solid #403a56}.rf-forum-stat{display:flex;flex-direction:column;align-items:center;justify-content:center}
.rf-forum-stat span,.rf-forum-last>span{color:#8d879a;font-size:7px;font-weight:900;letter-spacing:.7px;text-transform:uppercase}.rf-forum-stat strong{margin-top:5px;color:#f3f0f5;font-size:12px}
.rf-forum-last{display:flex;flex-direction:column;justify-content:center}.rf-forum-last strong{margin-top:5px;overflow:hidden;color:#d4cfd9;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.rf-forum-last small{margin-top:2px;color:#7f798b;font-size:8px}
.rf-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.rf-stat-card{min-height:98px;padding:16px;background:linear-gradient(145deg,#2b2747,#242039);border:1px solid #433d5d;border-radius:10px;text-align:center}
.rf-stat-card strong{display:block;color:#f3f0f5;font-size:28px;line-height:1;font-weight:950}.rf-stat-card span{display:block;margin-top:9px;color:#918ba0;font-size:8px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}.rf-stat-online strong{color:#79dc89}

/* PAGE HERO / BREADCRUMB */
.rf-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:38px;margin-bottom:11px;padding:0 12px;background:#1d1a31;border:1px solid #35304c;border-radius:7px;font-size:9px}
.rf-breadcrumbs a{color:#a39dad!important}.rf-breadcrumbs span{color:#565166}.rf-breadcrumbs strong{color:#e9e5ec}
.rf-page-hero,.rf-thread-hero,.rf-compose-head,.rf-profile-hero,.rf-search-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 16%,rgba(230,106,44,.13),transparent 28%),linear-gradient(120deg,#2a2442,#23203a 58%,#20203f);border:1px solid #403a5a;border-radius:11px;box-shadow:0 12px 30px rgba(5,3,13,.12)}
.rf-page-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:156px;padding:28px 31px}.rf-page-hero-small{min-height:130px}
.rf-page-hero h1,.rf-thread-hero h1,.rf-compose-head h1,.rf-profile-hero h1,.rf-search-hero h1{margin:7px 0 0;color:#f3f0f5;font-weight:950}.rf-page-hero h1{font-size:34px}.rf-page-hero p{max-width:720px;margin:8px 0 0;color:#aaa3b5;font-size:11px;line-height:1.5}

/* THREAD LIST */
.rf-thread-shell{margin-top:16px;overflow:hidden;background:#211e39;border:1px solid #3f395a;border-radius:11px;box-shadow:0 10px 25px rgba(5,3,13,.1)}
.rf-thread-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:64px;padding:0 15px 0 18px;background:linear-gradient(180deg,#2d2948,#292541);border-bottom:1px solid #46405f}
.rf-thread-toolbar>div:first-child span{display:block;color:#8e879d;font-size:7px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}.rf-thread-toolbar>div:first-child strong{display:block;margin-top:4px;color:#f0edf2;font-size:11px}
.rf-thread-toolbar-actions{display:flex;align-items:center;gap:8px}.rf-search-mini{display:flex;align-items:center;gap:7px;min-height:36px;padding:0 10px;background:#1d1a31;border:1px solid #3b3552;border-radius:7px}.rf-search-mini span{color:#777189}.rf-search-mini input{width:210px;background:transparent;color:#eeeaf0;border:0;outline:0;font-size:9px}
.rf-filter-button{min-height:36px;padding:0 11px;background:#242039;color:#9f99ac;border:1px solid #3d3756;border-radius:7px;font-size:8px;font-weight:850;cursor:pointer}
.rf-thread-row{display:grid;grid-template-columns:42px minmax(0,1fr) 72px 72px 120px 18px;align-items:center;gap:12px;min-height:76px;padding:10px 15px;background:#23203b;color:inherit!important;border-bottom:1px solid #37324d;text-decoration:none!important;transition:.15s}
.rf-thread-row:last-child{border-bottom:0}.rf-thread-row:hover{background:#2b2747;box-shadow:inset 3px 0 0 var(--rf-orange)}
.rf-thread-avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:linear-gradient(135deg,#e84286,#8f2c65);color:#fff;border-radius:10px;font-size:11px;font-weight:950}
.rf-thread-copy{min-width:0}.rf-thread-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.rf-thread-title-line strong{color:#f0edf2;font-size:12px}
.rf-thread-title-line em{display:inline-flex;align-items:center;min-height:19px;padding:0 6px;background:rgba(71,137,255,.12);color:#78a9ff;border:1px solid rgba(71,137,255,.28);border-radius:4px;font-size:6px;font-style:normal;font-weight:950;letter-spacing:.7px}.rf-thread-title-line em.is-hot{background:rgba(232,66,134,.12);color:#f06a9e;border-color:rgba(232,66,134,.28)}
.rf-thread-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:5px;color:#817b90;font-size:8px}.rf-thread-meta b{padding:3px 5px;background:#1c1930;color:#8f89a0;border:1px solid #343047;border-radius:4px;font-size:6px}
.rf-thread-number,.rf-thread-last{min-height:42px;border-left:1px solid #403a56}.rf-thread-number{display:flex;flex-direction:column;align-items:center;justify-content:center}.rf-thread-number span,.rf-thread-last span{color:#817b8e;font-size:7px;font-weight:900;text-transform:uppercase}.rf-thread-number strong{margin-top:5px;color:#e9e5ec;font-size:11px}
.rf-thread-last{display:flex;flex-direction:column;justify-content:center;padding-left:12px}.rf-thread-last strong{margin-top:4px;color:#c4bec9;font-size:9px}.rf-empty-search{padding:28px;color:#8f899c;text-align:center;font-size:10px}

/* THREAD VIEW / POSTS */
.rf-thread-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;min-height:165px;padding:28px 31px}.rf-thread-hero h1{max-width:850px;font-size:31px;line-height:1.08}.rf-thread-hero p{margin:9px 0 0;color:#948da0;font-size:9px}.rf-thread-hero p strong{color:#d2ccd7}
.rf-thread-hero-tags{display:flex;flex-wrap:wrap;gap:6px}.rf-thread-hero-tags span{min-height:20px;padding:0 7px;display:inline-flex;align-items:center;background:#26213d;color:#aaa3b3;border:1px solid #403852;border-radius:5px;font-size:7px;font-weight:900}
.rf-thread-hero-stats{display:flex;gap:9px}.rf-thread-hero-stats div{min-width:78px;padding:11px 10px;background:#1c1930;border:1px solid #393450;border-radius:8px;text-align:center}.rf-thread-hero-stats strong{display:block;color:#f3f0f5;font-size:16px}.rf-thread-hero-stats span{display:block;margin-top:4px;color:#7f788e;font-size:7px;text-transform:uppercase}
.rf-post-stack{display:grid;gap:12px;margin-top:15px}.rf-post-card{display:block;overflow:hidden;background:#23203b;border:1px solid #3d3756;border-radius:10px;box-shadow:0 9px 22px rgba(5,3,13,.08)}
.rf-post-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;background:#1d1a31;border-bottom:1px solid #373149}.rf-post-author{display:flex;align-items:center;gap:11px;min-width:0;padding:0;background:transparent}.rf-post-avatar,.rf-profile-avatar{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e84286,#8f2c65);color:#fff;font-weight:950}.rf-post-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:11px;font-size:14px}.rf-post-author-copy{display:grid;grid-template-columns:auto auto;grid-template-areas:"name role" "count count";align-items:center;column-gap:8px;row-gap:2px;min-width:0}.rf-post-author-copy>strong{grid-area:name;display:block;color:#f0edf2;font-size:11px;overflow-wrap:anywhere}.rf-post-author-copy>em{grid-area:role;width:max-content;margin:0;color:var(--rf-orange2);font-size:7px;font-style:normal;font-weight:850}.rf-post-author-meta{grid-area:count;display:flex;gap:4px;color:#7f798a;font-size:7px}.rf-post-meta{display:flex;align-items:center;gap:16px;flex:0 0 auto;color:#817b8d;font-size:8px}.rf-post-meta a{color:#817b8d!important}
.rf-post-content{display:flex;flex-direction:column;min-width:0}.rf-post-content>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 15px;background:rgba(29,26,49,.55);border-top:1px solid #373149}.rf-post-body{flex:1;padding:22px 20px}.rf-post-body p{max-width:900px;margin:0;color:#c7c1cd;font-size:11px;line-height:1.72}.rf-post-content>footer>div{display:flex;gap:6px}
.rf-post-action{min-height:30px;padding:0 9px;background:#242039;color:#90899b;border:1px solid #3a344f;border-radius:6px;font-size:7px;font-weight:850;cursor:pointer}.rf-post-action:hover{background:#2c2746;color:#fff}

/* REPLY / COMPOSE / CARDS */
.rf-reply-card,.rf-compose-shell,.rf-message-shell,.rf-profile-card,.rf-profile-side,.rf-auth-shell{margin-top:15px;background:#211e39;border:1px solid #3f395a;border-radius:11px;box-shadow:0 10px 25px rgba(5,3,13,.1)}
.rf-reply-card,.rf-compose-shell{overflow:hidden}.rf-reply-head{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:58px;padding:0 16px;background:#2a2645;border-bottom:1px solid #423b5a}.rf-reply-head span{display:block;color:var(--rf-pink);font-size:7px;font-weight:900;letter-spacing:.9px}.rf-reply-head strong{display:block;margin-top:4px;color:#f0edf2;font-size:11px}.rf-reply-head small{color:#7f788c;font-size:7px}
.rf-reply-form{padding:15px}.rf-reply-form textarea,.rf-compose-form textarea,.rf-compose-form input,.rf-compose-form select,.rf-auth-form input,.rf-auth-form select{width:100%;box-sizing:border-box;background:#18162a;color:#eeeaf0;border:1px solid #3b3552;border-radius:7px;outline:0}.rf-reply-form textarea,.rf-compose-form textarea{padding:12px;resize:vertical;font-family:inherit;font-size:10px;line-height:1.5}
.rf-reply-form textarea:focus,.rf-compose-form textarea:focus,.rf-compose-form input:focus,.rf-compose-form select:focus,.rf-auth-form input:focus,.rf-auth-form select:focus{border-color:#655a80;box-shadow:0 0 0 2px rgba(230,106,44,.08)}
.rf-reply-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:10px}.rf-reply-actions>span{color:#777184;font-size:8px}
.rf-compose-head{padding:25px 28px;border:0;border-bottom:1px solid #413a58;border-radius:0;box-shadow:none}.rf-compose-head h1{font-size:29px}.rf-compose-head p{margin:7px 0 0;color:#8f899b;font-size:9px}.rf-compose-head p strong{color:#d6d0db}
.rf-compose-form{display:grid;gap:14px;padding:20px}.rf-compose-form label>span,.rf-auth-form label>span{display:block;margin-bottom:7px;color:#9790a2;font-size:8px;font-weight:850;letter-spacing:.4px}.rf-compose-form input,.rf-compose-form select,.rf-auth-form input,.rf-auth-form select{min-height:42px;padding:0 11px;font-size:10px}.rf-compose-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rf-compose-options{display:flex;flex-wrap:wrap;gap:16px;padding:12px;background:#1c1930;border:1px solid #373149;border-radius:7px}.rf-compose-options label{color:#958e9f;font-size:8px}.rf-compose-submit{display:flex;align-items:center;justify-content:space-between;gap:16px}.rf-compose-submit p{margin:0;color:#756f81;font-size:8px}.rf-compose-submit>div{display:flex;gap:8px}
.rf-signin-gate{padding:24px;text-align:center}.rf-signin-gate p{margin:0 0 12px;color:#aaa3b5;font-size:10px}.rf-signin-gate-large{padding:55px 25px}.rf-signin-gate-large>span{color:var(--rf-pink);font-size:8px;font-weight:900;letter-spacing:1px}.rf-signin-gate-large h2{margin:8px 0 0;color:#f3f0f5;font-size:25px}.rf-signin-gate-large div{display:flex;justify-content:center;gap:8px}

/* PROFILE */
.rf-profile-hero{display:grid;grid-template-columns:86px minmax(0,1fr) auto;align-items:center;gap:20px;min-height:178px;padding:27px 30px}.rf-profile-avatar{width:82px;height:82px;border-radius:18px;font-size:27px}.rf-profile-copy>span{color:#8e879a;font-size:7px;font-weight:900;letter-spacing:.9px}.rf-profile-copy h1{font-size:31px}.rf-profile-copy p{margin:7px 0 0;color:#9e97a8;font-size:10px}
.rf-profile-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.rf-profile-badges b{padding:5px 7px;background:#25213c;color:#aaa3b5;border:1px solid #3e3855;border-radius:5px;font-size:6px;letter-spacing:.6px}.rf-profile-badges b.is-verified{color:#7bdd8c;border-color:rgba(110,215,130,.25)}.rf-profile-actions{display:flex;gap:8px}
.rf-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:15px}.rf-profile-card,.rf-profile-side{margin-top:15px;overflow:hidden}.rf-profile-card>header{padding:16px;background:#2a2645;border-bottom:1px solid #423b5a}.rf-profile-card>header span,.rf-profile-about span{display:block;color:var(--rf-pink);font-size:7px;font-weight:900;letter-spacing:.9px}.rf-profile-card>header strong{display:block;margin-top:4px;color:#f0edf2;font-size:11px}
.rf-profile-activity{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:64px;padding:0 15px;color:inherit!important;border-bottom:1px solid #373149}.rf-profile-activity:last-child{border-bottom:0}.rf-profile-activity:hover{background:#292541}.rf-activity-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#2e2948;color:var(--rf-orange2);border-radius:8px}.rf-profile-activity strong{display:block;color:#dcd7e0;font-size:10px}.rf-profile-activity small{display:block;margin-top:4px;color:#7f798b;font-size:8px}.rf-profile-activity>b{color:#8b8496}
.rf-profile-side{padding:14px}.rf-profile-stat{display:flex;align-items:center;justify-content:space-between;min-height:45px;padding:0 10px;background:#1c1930;border:1px solid #393450;border-radius:7px}.rf-profile-stat+.rf-profile-stat{margin-top:7px}.rf-profile-stat strong{color:#f3f0f5;font-size:14px}.rf-profile-stat span{color:#817b8e;font-size:8px;text-transform:uppercase}.rf-profile-about{margin-top:12px;padding:12px;border-top:1px solid #393450}.rf-profile-about p{margin:7px 0 0;color:#9a93a5;font-size:9px;line-height:1.5}

/* MESSAGES */
.rf-message-shell{display:grid;grid-template-columns:190px minmax(0,1fr);overflow:hidden}.rf-message-nav{padding:10px;background:#1d1a31;border-right:1px solid #39334f}.rf-message-nav button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:0 10px;background:transparent;color:#90899c;border:0;border-radius:7px;font-size:8px;font-weight:850;cursor:pointer}.rf-message-nav button:hover,.rf-message-nav button.is-active{background:#292541;color:#fff}.rf-message-nav b{color:var(--rf-orange2)}
.rf-message-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:70px;padding:0 15px;color:inherit!important;border-bottom:1px solid #373149}.rf-message-row:hover{background:#292541}.rf-message-row.is-unread{box-shadow:inset 3px 0 0 var(--rf-blue)}.rf-message-row strong{color:#e8e4eb;font-size:10px}.rf-message-row p{margin:4px 0 0;color:#918a9d;font-size:9px}.rf-message-row>small{color:#777083;font-size:7px}

/* SEARCH */
.rf-search-hero{min-height:260px;padding:34px}.rf-search-hero h1{max-width:700px;font-size:39px}.rf-search-hero>p{max-width:720px;margin:10px 0 0;color:#aaa3b5;font-size:11px}
.rf-search-large{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;max-width:780px;min-height:52px;margin-top:22px;padding:0 6px 0 14px;background:#19162b;border:1px solid #423a59;border-radius:9px}.rf-search-large>span{color:#817a8d}.rf-search-large input{min-width:0;background:transparent;color:#eeeaf0;border:0;outline:0;font-size:11px}.rf-search-large button{min-height:40px;padding:0 15px;background:linear-gradient(135deg,#e66a2c,#b9451b);color:#fff;border:1px solid #f07b3b;border-radius:7px;font-size:8px;font-weight:900}
.rf-search-tags{display:flex;flex-wrap:wrap;gap:8px}.rf-search-tags a{display:inline-flex;align-items:center;min-height:35px;padding:0 11px;background:#25213d;color:#aaa3b5!important;border:1px solid #3f3857;border-radius:7px;font-size:9px}.rf-search-tags a:hover{background:#302a4b;color:#fff!important;border-color:#5a4d74}

/* AUTH */
.rf-auth-shell{display:grid;grid-template-columns:minmax(0,.95fr) minmax(380px,.75fr);overflow:hidden;min-height:560px;margin-top:0}
.rf-auth-side{display:flex;flex-direction:column;justify-content:center;padding:45px;background:radial-gradient(circle at 20% 20%,rgba(232,66,134,.15),transparent 30%),radial-gradient(circle at 90% 80%,rgba(71,137,255,.12),transparent 34%),linear-gradient(135deg,#2d2343,#211d39);border-right:1px solid #403952}
.rf-auth-side>span{color:var(--rf-pink);font-size:8px;font-weight:950;letter-spacing:1.1px}.rf-auth-side h1{max-width:560px;margin:12px 0 0;color:#fff;font-size:43px;line-height:1.02;font-weight:950}.rf-auth-side>p{max-width:600px;margin:14px 0 0;color:#aaa3b5;font-size:11px;line-height:1.6}
.rf-auth-points{display:grid;gap:8px;margin-top:24px}.rf-auth-points span{display:flex;align-items:center;gap:8px;color:#c9c3cf;font-size:9px}.rf-auth-points i{width:7px;height:7px;background:var(--rf-green);border-radius:50%}
.rf-auth-card{display:flex;flex-direction:column;justify-content:center;padding:42px;background:#211e39}.rf-auth-card h2{margin:9px 0 0;color:#f3f0f5;font-size:28px}.rf-auth-card>p{margin:10px 0 0;color:#9d96a7;font-size:10px;line-height:1.55}.rf-auth-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.rf-auth-form{display:grid;gap:13px;margin-top:20px}.rf-auth-form button{margin-top:5px}.rf-auth-form>small{color:#756f81;font-size:7px;text-align:center}

/* TOAST / FOOTER */
.rf-demo-toast{position:fixed;right:22px;bottom:22px;z-index:2000;max-width:330px;padding:12px 14px;background:#2b2747;color:#e7e2ea;border:1px solid #4b4364;border-radius:9px;box-shadow:0 18px 44px rgba(5,3,13,.35);font-size:9px;line-height:1.45}
.rf-footer-links{display:flex;align-items:center;gap:12px}.rf-footer-links a{color:#8f899f!important;font-size:8px;font-weight:800}.rf-footer-links a:hover{color:var(--rf-orange2)!important}

/* RESPONSIVE */
@media(max-width:1180px){
  .rf-hero{grid-template-columns:1fr}.rf-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rf-forum-row{grid-template-columns:52px minmax(0,1fr) 70px 70px 150px 18px}
  .rf-thread-row{grid-template-columns:42px minmax(0,1fr) 64px 64px 105px 18px}
}
@media(max-width:900px){
  .rf-main{width:min(calc(100% - 24px),1180px);padding-top:20px}
  .rf-forum-row,.rf-thread-row{grid-template-columns:46px minmax(0,1fr) 18px}
  .rf-forum-stat,.rf-forum-last,.rf-thread-number,.rf-thread-last{display:none}
  .rf-post-header{padding-left:16px;padding-right:16px}
  .rf-profile-grid{grid-template-columns:1fr}.rf-auth-shell{grid-template-columns:1fr}.rf-auth-side{border-right:0;border-bottom:1px solid #403952}
}
@media(max-width:650px){
  .rf-main{width:calc(100% - 14px);padding-top:12px}.rf-hero{padding:24px 17px}.rf-hero h1{font-size:37px;letter-spacing:-1px}.rf-hero-copy>p{font-size:11px}.rf-hero-actions{flex-direction:column}.rf-hero-actions .rf-btn{width:100%}
  .rf-quick-grid,.rf-stats-grid,.rf-compose-two{grid-template-columns:1fr}.rf-category-head{min-height:66px;padding-right:12px}.rf-category-head p{display:none}.rf-forum-row{min-height:72px;padding:10px}.rf-forum-icon{width:44px;height:44px}.rf-forum-copy p{font-size:9px}
  .rf-thread-toolbar{align-items:stretch;flex-direction:column;padding:12px}.rf-thread-toolbar-actions{flex-direction:column;align-items:stretch}.rf-search-mini input{width:100%}
  .rf-thread-hero{align-items:flex-start;flex-direction:column;padding:22px 18px}.rf-thread-hero h1{font-size:25px}.rf-post-header{align-items:center;padding:12px;gap:10px}.rf-post-author{gap:10px}.rf-post-avatar{width:44px;height:44px;flex-basis:44px;border-radius:10px;font-size:13px}.rf-post-author-copy{column-gap:7px}.rf-post-author-copy>strong{font-size:10px}.rf-post-author-copy>em{font-size:6px}.rf-post-meta{flex-direction:column;align-items:flex-end;gap:2px;font-size:7px}
  .rf-reply-actions,.rf-compose-submit{align-items:stretch;flex-direction:column}.rf-profile-hero{display:flex;align-items:stretch;flex-direction:column;padding:22px 18px}.rf-profile-actions{width:100%}.rf-profile-actions .rf-btn{flex:1}
  .rf-message-shell{grid-template-columns:1fr}.rf-message-nav{display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid #39334f}.rf-message-nav button{flex:0 0 auto;width:auto;gap:8px}
  .rf-search-hero{padding:24px 18px}.rf-search-hero h1{font-size:30px}.rf-search-large{grid-template-columns:24px minmax(0,1fr);padding-right:10px}.rf-search-large button{grid-column:1/-1;width:100%;margin:0 0 8px}
  .rf-auth-side,.rf-auth-card{padding:28px 20px}.rf-auth-side h1{font-size:32px}.rf-footer-links{display:none}
}

/* Neon role labels keep custom group names visible without changing their stored name. */
.rf-role-neon{
    --rf-role-color:#ff4d9d;
    --rf-role-glow:rgba(255,77,157,.24);
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#ffd8ed;
    border:1px solid color-mix(in srgb,var(--rf-role-color) 55%,#4b3a63);
    background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,77,157,.12));
    box-shadow:0 0 0 1px rgba(255,255,255,.025),0 0 14px var(--rf-role-glow);
    text-shadow:0 0 9px var(--rf-role-glow);
}
.rf-role-neon::before{
    content:"";
    width:5px;
    height:5px;
    flex:0 0 5px;
    border-radius:50%;
    background:var(--rf-role-color);
    box-shadow:0 0 7px var(--rf-role-color);
}
.rf-profile-badges .rf-role-badge{padding:6px 9px;border-radius:6px;font-size:7px;font-weight:950;letter-spacing:.7px;text-transform:uppercase}
.rf-role-value{justify-content:center;min-width:0;padding:5px 8px;border-radius:6px;font-size:8px;font-weight:900;letter-spacing:.35px;text-transform:uppercase}
.rf-post-author>em.rf-role-neon{width:max-content;margin-top:4px;padding:4px 6px;border-radius:5px;font-size:7px;font-style:normal;font-weight:900;letter-spacing:.35px;text-transform:uppercase}
.rf-role-label{color:#bdaec8!important;text-shadow:0 0 8px var(--rf-role-glow)}
.rf-role-neon.is-admin{--rf-role-color:#ff7b43;--rf-role-glow:rgba(255,123,67,.28);color:#ffe0cc}
.rf-role-neon.is-moderator{--rf-role-color:#ffd166;--rf-role-glow:rgba(255,209,102,.25);color:#fff0bc}
.rf-role-neon.is-creator{--rf-role-color:#63b3ff;--rf-role-glow:rgba(99,179,255,.24);color:#d8edff}
.rf-role-neon.is-supporter{--rf-role-color:#69df8b;--rf-role-glow:rgba(105,223,139,.23);color:#d9ffe5}
.rf-role-neon.is-premium{--rf-role-color:#b982ff;--rf-role-glow:rgba(185,130,255,.25);color:#eadcff}
.rf-role-neon.is-server_owner{--rf-role-color:#52d9d1;--rf-role-glow:rgba(82,217,209,.23);color:#d8fffb}
.rf-role-neon.is-developer{--rf-role-color:#7aa8ff;--rf-role-glow:rgba(122,168,255,.25);color:#e1ebff}
.rf-role-neon.is-partner{--rf-role-color:#ff9f4a;--rf-role-glow:rgba(255,159,74,.24);color:#ffe2c4}
.rf-role-neon.is-member{--rf-role-color:#e84286;--rf-role-glow:rgba(232,66,134,.20)}
@media(prefers-reduced-motion:no-preference){
    .rf-profile-badges .rf-role-badge{animation:rf-role-pulse 3.8s ease-in-out infinite}
}
@keyframes rf-role-pulse{
    0%,100%{box-shadow:0 0 0 1px rgba(255,255,255,.025),0 0 10px var(--rf-role-glow)}
    50%{box-shadow:0 0 0 1px rgba(255,255,255,.045),0 0 18px var(--rf-role-glow)}
}

/* Profile overview stays compact when a user has no activity yet. */
.rf-profile-hero{min-height:154px;padding-top:22px;padding-bottom:22px}
.rf-profile-grid{display:block}
.rf-profile-card-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.rf-profile-inline-meta{padding-bottom:1px;color:#817b8e;font-size:8px;white-space:nowrap}
.rf-profile-empty{display:flex;align-items:center;flex-direction:column;padding:34px 20px 38px;text-align:center}
.rf-profile-empty-icon{display:grid;place-items:center;width:36px;height:36px;margin-bottom:10px;border:1px solid #4a4169;border-radius:10px;background:#2e2948;color:var(--rf-orange2);font-size:15px}
.rf-profile-empty strong{color:#dcd7e0;font-size:11px}
.rf-profile-empty p{margin:6px 0 13px;color:#7f798b;font-size:8px}
.rf-profile-empty .rf-btn{min-height:32px;padding:0 11px;font-size:8px}
@media(max-width:650px){
    .rf-profile-stat-grid>div{min-height:66px;padding:0 5px}
    .rf-profile-stat-grid strong{font-size:14px}
}

/* RustMods V2.7 — compact forum landing */
.rf-hero{
    min-height:255px;
    align-items:center;
    gap:24px;
    padding:30px 34px;
    background:
        radial-gradient(circle at 88% 20%,rgba(71,137,255,.14),transparent 27%),
        radial-gradient(circle at 76% 108%,rgba(232,66,134,.10),transparent 36%),
        linear-gradient(120deg,#34213d 0%,#27213d 54%,#252a50 100%);
}
.rf-hero::after{
    width:300px;
    height:300px;
    right:-115px;
    bottom:-195px;
}
.rf-hero-glow{opacity:.55}
.rf-hero .rf-eyebrow{color:#ff8b50}
.rf-hero h1{
    max-width:760px;
    margin-top:11px;
    font-size:42px;
    line-height:1.05;
    letter-spacing:-1px;
}
.rf-hero h1 span{
    margin-top:3px;
    color:#ff7b35;
    font-size:.76em;
}
.rf-hero-copy>p{
    max-width:690px;
    margin-top:14px;
    color:#c2bac8;
    font-size:12px;
}
.rf-hero-actions{margin-top:18px}
.rf-hero-pills{margin-top:14px}
.rf-hero-panel{
    padding:14px;
    border-radius:10px;
}
.rf-hero-panel-stats div{padding:9px 6px}
.rf-hero-panel-stats strong{font-size:12px}
.rf-section{margin-top:24px}
@media(max-width:1180px){
    .rf-hero{grid-template-columns:1fr}
}
@media(max-width:650px){
    .rf-hero{padding:22px 18px;min-height:auto}
    .rf-hero h1{font-size:32px;line-height:1.08}
}


/* =========================================================
   RUSTMODS FORUM LAB V2 — FUNCTIONAL CORE ADDITIONS
   ========================================================= */

.rf-flash {
    position: fixed;
    right: 22px;
    top: 88px;
    z-index: 2500;
    max-width: 360px;
    padding: 12px 14px;
    background: #2a2546;
    color: #eee9f1;
    border: 1px solid #4b4266;
    border-radius: 9px;
    box-shadow: 0 16px 40px rgba(5,3,13,.32);
    font-size: 9px;
}
.rf-flash.is-success { border-color: rgba(110,215,130,.38); }
.rf-flash.is-error { border-color: rgba(232,66,134,.40); }

.rf-form-error,
.rf-form-success {
    margin: 12px 18px 0;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 9px;
    line-height: 1.45;
}
.rf-form-error {
    background: rgba(232,66,134,.10);
    color: #efb0c9;
    border: 1px solid rgba(232,66,134,.26);
}
.rf-form-success {
    margin: 14px 0;
    background: rgba(110,215,130,.08);
    color: #c7ebcf;
    border: 1px solid rgba(110,215,130,.25);
}
.rf-form-success a { color: #8fe69d !important; word-break: break-all; }

.rf-mod-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 10px;
}
.rf-mod-actions button {
    min-height: 32px;
    padding: 0 10px;
    background: #26213f;
    color: #aaa3b5;
    border: 1px solid #403852;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 850;
    cursor: pointer;
}
.rf-mod-actions button:hover {
    background: #30294a;
    color: #fff;
}
.rf-action-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}
.rf-search-results {
    overflow: hidden;
    background: #211e39;
    border: 1px solid #3f395a;
    border-radius: 11px;
}
.rf-search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    padding: 0 15px;
    color: inherit !important;
    border-bottom: 1px solid #373149;
}
.rf-search-result:last-child { border-bottom: 0; }
.rf-search-result:hover { background: #292541; }
.rf-search-result strong {
    display: block;
    color: #eeeaf0;
    font-size: 10px;
}
.rf-search-result small {
    display: block;
    margin-top: 4px;
    color: #817a8d;
    font-size: 8px;
}
.rf-search-result > span {
    color: #918a9d;
    font-size: 8px;
}
.rf-auth-switch {
    margin-top: 14px;
    color: #817a8c;
    font-size: 8px;
}
.rf-auth-switch a { color: #ff8243 !important; }
.rf-auth-shell-small {
    grid-template-columns: 1fr;
    min-height: 320px;
}

/* =========================================================
   RUSTMODS CORE V3 — ACCOUNT + FORUM ESSENTIALS
   ========================================================= */

.rf-notification-button {
    position: relative;
}

.rf-notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background: #e84286;
    color: #fff;
    border: 2px solid #181522;
    border-radius: 999px;
    font-size: 6px;
    line-height: 1;
    font-weight: 950;
}

.rf-btn-danger {
    background: #71312f;
    color: #fff !important;
    border: 1px solid #984644;
}

.rf-btn-danger:hover {
    background: #8a3b38;
}

.rf-inline-form {
    display: inline-flex;
    margin: 0;
}

.rf-post-action.is-active {
    background: rgba(232,66,134,.14);
    color: #f17aa8;
    border-color: rgba(232,66,134,.35);
}

.rf-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 16px 0 0;
}

.rf-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    background: #242039;
    color: #aaa3b5 !important;
    border: 1px solid #3d3755;
    border-radius: 7px;
    font-size: 8px;
    font-weight: 850;
    text-decoration: none !important;
}

.rf-pagination a:hover,
.rf-pagination a.is-current {
    background: #e66a2c;
    color: #fff !important;
    border-color: #f07b3b;
}

.rf-notification-list {
    margin-top: 15px;
    overflow: hidden;
    background: #211e39;
    border: 1px solid #3f395a;
    border-radius: 11px;
    box-shadow: 0 10px 25px rgba(5,3,13,.10);
}

.rf-notification-row {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 18px;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 0 15px;
    color: inherit !important;
    border-bottom: 1px solid #373149;
    text-decoration: none !important;
}

.rf-notification-row:last-child {
    border-bottom: 0;
}

.rf-notification-row:hover {
    background: #292541;
}

.rf-notification-row.is-unread {
    background: linear-gradient(90deg, rgba(71,137,255,.08), #23203b 26%);
    box-shadow: inset 3px 0 0 #4789ff;
}

.rf-notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #302a4b;
    color: #ff8243;
    border: 1px solid #463e60;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 950;
}

.rf-notification-row strong {
    display: block;
    color: #ece8ef;
    font-size: 10px;
}

.rf-notification-row small {
    display: block;
    margin-top: 4px;
    color: #817a8c;
    font-size: 8px;
}

.rf-notification-row > b {
    color: #8c8597;
}

.rf-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 15px;
}

.rf-settings-card {
    overflow: hidden;
    background: #211e39;
    border: 1px solid #3f395a;
    border-radius: 11px;
    box-shadow: 0 10px 25px rgba(5,3,13,.10);
}

.rf-settings-card > header {
    min-height: 58px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #2a2645;
    border-bottom: 1px solid #423b5a;
}

.rf-settings-card > header span {
    color: #e84286;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .9px;
}

.rf-settings-card > header strong {
    margin-top: 4px;
    color: #f0edf2;
    font-size: 11px;
}

.rf-settings-form {
    display: grid;
    gap: 13px;
    padding: 16px;
}

.rf-settings-form label > span {
    display: block;
    margin-bottom: 7px;
    color: #9790a2;
    font-size: 8px;
    font-weight: 850;
}

.rf-settings-form input,
.rf-settings-form select {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;
    box-sizing: border-box;
    background: #18162a;
    color: #eeeaf0;
    border: 1px solid #3b3552;
    border-radius: 7px;
    outline: 0;
    font-size: 10px;
}

.rf-settings-form input:focus,
.rf-settings-form select:focus {
    border-color: #655a80;
    box-shadow: 0 0 0 2px rgba(230,106,44,.08);
}

.rf-settings-form input[disabled] {
    opacity: .62;
}

.rf-settings-form-compact {
    padding-top: 8px;
}

.rf-account-status {
    padding: 9px 10px;
    border-radius: 7px;
    font-size: 8px;
    font-weight: 800;
}

.rf-account-status.is-good {
    background: rgba(110,215,130,.08);
    color: #aee8b8;
    border: 1px solid rgba(110,215,130,.22);
}

.rf-account-status.is-warn {
    background: rgba(230,106,44,.08);
    color: #e9b28e;
    border: 1px solid rgba(230,106,44,.24);
}

.rf-session-list {
    display: grid;
    gap: 7px;
    padding: 15px 15px 0;
}

.rf-session-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 0 11px;
    background: #1c1930;
    border: 1px solid #393450;
    border-radius: 7px;
}

.rf-session-row strong {
    display: block;
    color: #e8e4eb;
    font-size: 9px;
}

.rf-session-row small {
    display: block;
    margin-top: 4px;
    color: #7f788b;
    font-size: 7px;
}

.rf-session-row > span {
    color: #79dc89;
    font-size: 6px;
    font-weight: 950;
    letter-spacing: .7px;
}

.rf-auth-links {
    margin-top: 10px;
    text-align: right;
}

.rf-auth-links a {
    color: #9d96a8 !important;
    font-size: 8px;
}

.rf-auth-links a:hover {
    color: #ff8243 !important;
}

@media (max-width: 900px) {
    .rf-settings-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   RUSTMODS COMMUNITY V4
   ========================================================= */

.rf-user-avatar,
.rf-avatar-large,
.rf-chat-avatar {
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e84286, #8f2c65);
    color: #fff;
    font-weight: 950;
}

.rf-user-avatar img,
.rf-avatar-large img,
.rf-chat-avatar img,
.rf-post-avatar img,
.rf-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rf-avatar-large {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    font-size: 28px;
}

.rf-avatar-settings {
    padding: 16px;
}

.rf-avatar-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.rf-avatar-actions {
    display: flex;
    gap: 8px;
}

.rf-related-resource {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 10px;
    background: rgba(71,137,255,.10);
    color: #8db5ff !important;
    border: 1px solid rgba(71,137,255,.25);
    border-radius: 7px;
    font-size: 8px;
    font-weight: 850;
    text-decoration: none !important;
}

.rf-related-resource:hover {
    background: rgba(71,137,255,.16);
}

.rf-bb-quote {
    margin: 12px 0;
    padding: 12px 14px;
    background: #1a172d;
    border: 1px solid #3b3552;
    border-left: 3px solid #e66a2c;
    border-radius: 7px;
}

.rf-bb-quote strong {
    display: block;
    margin-bottom: 7px;
    color: #ff8b50;
    font-size: 8px;
}

.rf-bb-quote div {
    color: #a9a2b2;
    font-size: 10px;
    line-height: 1.55;
}

.rf-bb-code {
    overflow-x: auto;
    margin: 12px 0;
    padding: 13px;
    background: #12101f;
    color: #c8c2d0;
    border: 1px solid #353048;
    border-radius: 7px;
    font: 9px/1.55 Consolas, monospace;
}

.rf-mention {
    padding: 1px 4px;
    background: rgba(71,137,255,.12);
    color: #82adff;
    border-radius: 4px;
}

.rf-rendered-post {
    color: #c7c1cd;
    font-size: 11px;
    line-height: 1.72;
}

.rf-attachment-input {
    display: grid;
    gap: 5px;
    margin-top: 10px;
    padding: 10px;
    background: #1c1930;
    border: 1px solid #373149;
    border-radius: 7px;
}

.rf-attachment-input span {
    color: #9d96aa;
    font-size: 8px;
    font-weight: 850;
}

.rf-attachment-input small {
    color: #716b7d;
    font-size: 7px;
}

.rf-attachment-list {
    display: grid;
    gap: 6px;
    margin-top: 16px;
}

.rf-attachment-list a {
    display: grid;
    grid-template-columns: 28px minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 10px;
    background: #1c1930;
    color: inherit !important;
    border: 1px solid #38324d;
    border-radius: 7px;
    text-decoration: none !important;
}

.rf-attachment-list a:hover {
    background: #25213d;
    border-color: #4d4466;
}

.rf-attachment-list span {
    color: #ff8243;
}

.rf-attachment-list strong {
    color: #d7d1dd;
    font-size: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rf-attachment-list small {
    color: #777184;
    font-size: 7px;
}

.rf-mod-stats {
    margin-top: 15px;
}

.rf-moderator-card,
.rf-report-list,
.rf-conversation-list {
    margin-top: 15px;
    overflow: hidden;
    background: #211e39;
    border: 1px solid #3f395a;
    border-radius: 11px;
    box-shadow: 0 10px 25px rgba(5,3,13,.10);
}

.rf-moderator-card > header {
    min-height: 58px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #2a2645;
    border-bottom: 1px solid #423b5a;
}

.rf-moderator-card > header span {
    color: #e84286;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .9px;
}

.rf-moderator-card > header strong {
    margin-top: 4px;
    color: #f0edf2;
    font-size: 11px;
}

.rf-audit-row {
    display: grid;
    grid-template-columns: 140px minmax(0,1fr) 130px;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 14px;
    border-bottom: 1px solid #373149;
}

.rf-audit-row:last-child { border-bottom: 0; }
.rf-audit-row strong { color: #eae6ed; font-size: 9px; }
.rf-audit-row span { color: #a39cac; font-size: 8px; }
.rf-audit-row small { color: #777083; font-size: 7px; text-align: right; }

.rf-report-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.rf-report-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    background: #242039;
    color: #8f899b !important;
    border: 1px solid #3b3551;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 900;
}

.rf-report-tabs a.is-active {
    background: #e66a2c;
    color: #fff !important;
    border-color: #f07b3b;
}

.rf-report-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) 420px;
    gap: 18px;
    padding: 16px;
    border-bottom: 1px solid #373149;
}

.rf-report-card:last-child { border-bottom: 0; }
.rf-report-main > span { color: #e84286; font-size: 7px; font-weight: 900; letter-spacing: .8px; }
.rf-report-main h3 { margin: 6px 0 0; color: #eeeaf0; font-size: 12px; }
.rf-report-main p { margin: 8px 0 0; color: #a7a0b1; font-size: 9px; line-height: 1.5; }
.rf-report-main small { display:block; margin-top:9px; color:#736d80; font-size:7px; }

.rf-report-actions {
    display: grid;
    gap: 8px;
}

.rf-report-actions form {
    display: grid;
    grid-template-columns: minmax(0,1fr) 110px auto;
    gap: 7px;
}

.rf-report-actions input,
.rf-report-actions select {
    min-height: 36px;
    background: #18162a;
    color: #eeeaf0;
    border: 1px solid #3b3552;
    border-radius: 6px;
    padding: 0 9px;
    font-size: 8px;
}

.rf-conversation-row {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 0 15px;
    color: inherit !important;
    border-bottom: 1px solid #373149;
    text-decoration: none !important;
}

.rf-conversation-row:last-child { border-bottom: 0; }
.rf-conversation-row:hover { background: #292541; }
.rf-conversation-row.is-unread {
    background: linear-gradient(90deg, rgba(71,137,255,.08), #23203b 26%);
    box-shadow: inset 3px 0 0 #4789ff;
}

.rf-conversation-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    background:#302a4b;
    color:#ff8243;
    border:1px solid #463e60;
    border-radius:9px;
}

.rf-conversation-row strong { display:block; color:#eeeaf0; font-size:10px; }
.rf-conversation-row div > span { display:block; margin-top:3px; color:#8f899b; font-size:8px; }
.rf-conversation-row p { margin:4px 0 0; color:#817a8c; font-size:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.rf-conversation-meta {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:5px;
}

.rf-conversation-meta b {
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    background:#e84286;
    color:#fff;
    border-radius:999px;
    font-size:7px;
}

.rf-conversation-meta small { color:#777184; font-size:7px; }

.rf-chat {
    display:grid;
    gap:9px;
    margin-top:15px;
}

.rf-chat-message {
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    gap:10px;
    max-width:82%;
    padding:12px;
    background:#211e39;
    border:1px solid #3d3755;
    border-radius:11px;
}

.rf-chat-message.is-mine {
    margin-left:auto;
    background:#292541;
    border-color:#49405f;
}

.rf-chat-avatar {
    width:40px;
    height:40px;
    border-radius:10px;
    font-size:11px;
}

.rf-chat-message header {
    display:flex;
    justify-content:space-between;
    gap:15px;
}

.rf-chat-message header strong { color:#eeeaf0; font-size:9px; }
.rf-chat-message header span { color:#777083; font-size:7px; }
.rf-chat-message p { margin:7px 0 0; color:#bbb4c2; font-size:9px; line-height:1.55; }

@media (max-width: 900px) {
    .rf-report-card {
        grid-template-columns: 1fr;
    }

    .rf-report-actions form {
        grid-template-columns: 1fr;
    }

    .rf-audit-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 10px 12px;
    }

    .rf-audit-row small { text-align:left; }
}

@media (max-width: 650px) {
    .rf-chat-message {
        max-width: 100%;
    }
}


/* =========================================================
   RUSTMODS COMMUNITY V5
   ========================================================= */

.rf-notification-menu {
    position: relative;
}

.rf-notification-menu > summary {
    list-style: none;
    cursor: pointer;
}

.rf-notification-menu > summary::-webkit-details-marker {
    display: none;
}

.rf-notification-dropdown {
    position: absolute;
    z-index: 1500;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 24px));
    overflow: hidden;
    background: #1f1b35;
    border: 1px solid #403958;
    border-radius: 12px;
    box-shadow: 0 22px 55px rgba(4,2,12,.42);
}

.rf-notification-dropdown > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
    padding: 0 14px;
    background: #2b2647;
    border-bottom: 1px solid #403958;
}

.rf-notification-dropdown > header span {
    display: block;
    color: #e84286;
    font-size: 6px;
    font-weight: 950;
    letter-spacing: .9px;
}

.rf-notification-dropdown > header strong {
    display: block;
    margin-top: 4px;
    color: #f0edf2;
    font-size: 10px;
}

.rf-notification-dropdown > header b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: #e84286;
    color: #fff;
    border-radius: 999px;
    font-size: 7px;
}

.rf-notification-dropdown-list > a {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    align-items: center;
    gap: 9px;
    min-height: 58px;
    padding: 0 12px;
    color: inherit !important;
    border-bottom: 1px solid #342f48;
    text-decoration: none !important;
}

.rf-notification-dropdown-list > a:hover {
    background: #292440;
}

.rf-notification-dropdown-list > a.is-unread {
    background: linear-gradient(90deg, rgba(71,137,255,.09), #211e39 35%);
    box-shadow: inset 3px 0 0 #4789ff;
}

.rf-notification-dropdown-list > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #302a4b;
    color: #ff8243;
    border: 1px solid #453d60;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 950;
}

.rf-notification-dropdown-list strong {
    display: block;
    color: #e8e4eb;
    font-size: 8px;
    line-height: 1.35;
}

.rf-notification-dropdown-list small {
    display: block;
    margin-top: 3px;
    color: #777184;
    font-size: 7px;
}

.rf-notification-dropdown-empty {
    padding: 18px 14px;
    color: #827b8e;
    font-size: 8px;
}

.rf-notification-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 13px;
    background: #19162b;
    color: #a9a2b3 !important;
    font-size: 8px;
    font-weight: 800;
    text-decoration: none !important;
}

.rf-notification-dropdown-footer:hover {
    color: #ff8243 !important;
}

.rf-message-tabs,
.rf-report-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.rf-message-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    background: #242039;
    color: #918a9b !important;
    border: 1px solid #3c3652;
    border-radius: 7px;
    font-size: 7px;
    font-weight: 900;
    text-decoration: none !important;
}

.rf-message-tabs a.is-active {
    background: #e66a2c;
    color: #fff !important;
    border-color: #f07b3b;
}

.rf-user-search,
.rf-migration-form {
    display: flex;
    align-items: end;
    gap: 9px;
    margin-top: 14px;
    padding: 13px;
    background: #211e39;
    border: 1px solid #3f395a;
    border-radius: 10px;
}

.rf-user-search input,
.rf-migration-form input {
    flex: 1;
    min-height: 40px;
    padding: 0 11px;
    background: #18162a;
    color: #eeeaf0;
    border: 1px solid #3b3552;
    border-radius: 7px;
    outline: 0;
}

.rf-migration-form label {
    flex: 1;
}

.rf-migration-form label > span {
    display: block;
    margin-bottom: 6px;
    color: #8f889a;
    font-size: 8px;
    font-weight: 850;
}

.rf-user-control-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.rf-user-control-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(320px,520px);
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: #211e39;
    border: 1px solid #3f395a;
    border-radius: 10px;
}

.rf-user-control-main {
    display: grid;
    grid-template-columns: 54px minmax(0,1fr);
    align-items: center;
    gap: 12px;
}

.rf-user-control-avatar {
    width: 52px;
    height: 52px;
    border-radius: 11px;
    font-size: 14px;
}

.rf-user-control-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.rf-user-control-title > strong {
    color: #f0edf2;
    font-size: 11px;
}

.rf-user-control-main > div > span {
    display: block;
    margin-top: 5px;
    color: #8b8496;
    font-size: 8px;
}

.rf-user-control-main p {
    margin: 6px 0 0;
    color: #d4a289;
    font-size: 8px;
}

.rf-user-control-main small {
    display: block;
    margin-top: 5px;
    color: #706a7c;
    font-size: 7px;
}

.rf-role-pill,
.rf-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 6px;
    font-weight: 950;
    letter-spacing: .4px;
}

.rf-role-pill {
    background: #302a4b;
    color: #c6bfd0;
    border: 1px solid #463e60;
}

.rf-role-pill.is-admin,
.rf-role-pill.is-moderator {
    color: #ff9c69;
    border-color: rgba(230,106,44,.32);
}
.rf-role-pill.is-vip,
.rf-role-neon.is-vip,
.rf-role-badge.is-vip{color:#ffd052!important;border-color:rgba(255,208,82,.34)!important;background:rgba(255,208,82,.08)!important}
.rf-role-pill.is-premium,
.rf-role-neon.is-premium,
.rf-role-badge.is-premium{color:#c58cff!important;border-color:rgba(197,140,255,.34)!important;background:rgba(197,140,255,.08)!important}
.rf-role-pill.is-seller,
.rf-role-neon.is-seller,
.rf-role-badge.is-seller{color:#ff9a4f!important;border-color:rgba(255,154,79,.34)!important;background:rgba(255,154,79,.08)!important}
.rf-role-pill.is-server_owner,
.rf-role-neon.is-server_owner,
.rf-role-badge.is-server_owner{color:#66df8f!important;border-color:rgba(102,223,143,.34)!important;background:rgba(102,223,143,.08)!important}
.rf-role-pill.is-developer,
.rf-role-neon.is-developer,
.rf-role-badge.is-developer{color:#55b8ff!important;border-color:rgba(85,184,255,.34)!important;background:rgba(85,184,255,.08)!important}
.rf-role-pill.is-partner,
.rf-role-neon.is-partner,
.rf-role-badge.is-partner{color:#54d5ff!important;border-color:rgba(84,213,255,.34)!important;background:rgba(84,213,255,.08)!important}

.rf-status-pill {
    background: rgba(110,215,130,.08);
    color: #85de94;
    border: 1px solid rgba(110,215,130,.20);
}

.rf-status-pill.is-suspended {
    background: rgba(232,66,134,.08);
    color: #ef7da8;
    border-color: rgba(232,66,134,.25);
}

.rf-user-control-actions form {
    margin: 0;
}

.rf-suspend-form {
    display: grid;
    grid-template-columns: minmax(0,1fr) 120px auto;
    gap: 7px;
}

.rf-suspend-form input,
.rf-suspend-form select {
    min-height: 38px;
    padding: 0 9px;
    background: #18162a;
    color: #eeeaf0;
    border: 1px solid #3b3552;
    border-radius: 6px;
    font-size: 8px;
}

.rf-migration-warning {
    margin-top: 14px;
    padding: 13px 15px;
    background: rgba(71,137,255,.07);
    border: 1px solid rgba(71,137,255,.21);
    border-radius: 9px;
}

.rf-migration-warning strong {
    color: #9dbdff;
    font-size: 9px;
}

.rf-migration-warning p {
    margin: 5px 0 0;
    color: #8d8798;
    font-size: 8px;
}

.rf-migration-stats {
    margin-top: 14px;
}

.rf-migration-card {
    overflow: hidden;
    margin-top: 14px;
    background: #211e39;
    border: 1px solid #3f395a;
    border-radius: 10px;
}

.rf-migration-card > header {
    min-height: 58px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #2a2645;
    border-bottom: 1px solid #423b5a;
}

.rf-migration-card > header span {
    color: #e84286;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .8px;
}

.rf-migration-card > header strong {
    margin-top: 4px;
    color: #eeeaf0;
    font-size: 10px;
}

.rf-migration-collision-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: #39334f;
}

.rf-migration-collision-grid > div {
    padding: 16px;
    background: #211e39;
}

.rf-migration-collision-grid strong {
    display: block;
    color: #f1edf3;
    font-size: 18px;
}

.rf-migration-collision-grid span {
    display: block;
    margin-top: 4px;
    color: #7e778a;
    font-size: 7px;
    text-transform: uppercase;
}

.rf-migration-table {
    overflow-x: auto;
}

.rf-migration-table table {
    width: 100%;
    border-collapse: collapse;
}

.rf-migration-table th,
.rf-migration-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #373149;
    text-align: left;
    font-size: 8px;
}

.rf-migration-table th {
    color: #91899c;
    font-size: 7px;
    text-transform: uppercase;
}

.rf-migration-notes {
    padding: 14px;
}

.rf-migration-notes p {
    margin: 0 0 8px;
    color: #a49dab;
    font-size: 8px;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .rf-user-control-card {
        grid-template-columns: 1fr;
    }

    .rf-suspend-form {
        grid-template-columns: 1fr;
    }

    .rf-migration-collision-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .rf-notification-dropdown {
        position: fixed;
        top: 64px;
        left: 12px;
        right: 12px;
        width: auto;
    }

    .rf-user-search,
    .rf-migration-form {
        align-items: stretch;
        flex-direction: column;
    }

    .rf-migration-collision-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   RUSTMODS V5.1 — TOPBAR ACTION CLARITY
   ========================================================= */

.rf-top-actions {
    gap: 8px;
}

.rf-top-action {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #24203b !important;
    color: #a8a1b4 !important;
    border: 1px solid #403957 !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.rf-top-action:hover,
.rf-notification-menu[open] > .rf-top-action {
    background: #2c2748 !important;
    color: #f3eff5 !important;
    border-color: #554a70 !important;
    box-shadow: 0 8px 22px rgba(5, 3, 15, .18);
    transform: translateY(-1px);
}

.rf-top-action:focus-visible {
    outline: 2px solid rgba(230, 106, 44, .8);
    outline-offset: 2px;
}

.rf-top-action-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.rf-top-action-lang {
    width: 48px;
    min-width: 48px;
}

.rf-lang-code {
    color: #b9b2c3;
    font-size: 8px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .45px;
}

.rf-top-action-lang:hover .rf-lang-code {
    color: #fff;
}

.rf-top-action[href*="search.php"]:hover .rf-top-action-icon {
    color: #8fb7ff;
}

.rf-top-action[href*="/messages"]:hover .rf-top-action-icon {
    color: #ff965f;
}

.rf-notification-menu[open] > summary .rf-top-action-icon,
.rf-notification-menu > summary:hover .rf-top-action-icon {
    color: #ef75a5;
}

.rf-top-action .rf-notification-count {
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-width: 2px;
    font-size: 7px;
    box-shadow: 0 3px 10px rgba(232, 66, 134, .28);
}

.rf-top-action[data-label]::after {
    content: attr(data-label);
    position: absolute;
    z-index: 2000;
    top: calc(100% + 9px);
    left: 50%;
    transform: translate(-50%, 4px);
    padding: 7px 9px;
    background: #12101e;
    color: #e7e2eb;
    border: 1px solid #3c354f;
    border-radius: 6px;
    box-shadow: 0 10px 26px rgba(4, 2, 12, .35);
    font-size: 7px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.rf-top-action[data-label]::before {
    content: "";
    position: absolute;
    z-index: 2001;
    top: calc(100% + 5px);
    left: 50%;
    width: 7px;
    height: 7px;
    background: #12101e;
    border-left: 1px solid #3c354f;
    border-top: 1px solid #3c354f;
    transform: translateX(-50%) rotate(45deg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .14s ease, visibility .14s ease;
}

.rf-top-action[data-label]:hover::after,
.rf-top-action[data-label]:hover::before,
.rf-top-action[data-label]:focus-visible::after,
.rf-top-action[data-label]:focus-visible::before {
    opacity: 1;
    visibility: visible;
}

.rf-top-action[data-label]:hover::after,
.rf-top-action[data-label]:focus-visible::after {
    transform: translate(-50%, 0);
}

.rf-notification-menu > summary.rf-top-action {
    list-style: none;
}

.rf-notification-menu > summary.rf-top-action::-webkit-details-marker {
    display: none;
}

.rm5-user-menu {
    margin-left: 4px;
}

@media (max-width: 760px) {
    .rf-top-actions {
        gap: 6px;
    }

    .rf-top-action {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .rf-top-action-lang {
        width: 42px;
        min-width: 42px;
    }

    .rf-top-action-icon {
        width: 17px;
        height: 17px;
    }

    .rf-top-action[data-label]::before,
    .rf-top-action[data-label]::after {
        display: none;
    }
}

/* Forum thread polish: compact author strip and calmer reply form. */
.rf-post-card {
    background: #211e37;
    border-color: #413a5a;
    border-radius: 10px;
}

.rf-post-header {
    min-height: 74px;
    padding: 16px 20px;
    background:
        radial-gradient(circle at 7% 15%, rgba(232,66,134,.08), transparent 32%),
        linear-gradient(180deg, #24203b 0%, #1e1b31 100%);
}

.rf-post-author {
    gap: 13px;
}

.rf-post-avatar {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border: 1px solid rgba(255,123,67,.45);
    border-radius: 12px;
    background:
        radial-gradient(circle at 65% 18%, rgba(232,66,134,.36), transparent 42%),
        linear-gradient(135deg, #24203a, #31243d);
    color: #ff7b43;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
    font-size: 16px;
}

.rf-post-author-copy {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "name role"
        "count count";
    align-items: center;
    column-gap: 9px;
    row-gap: 5px;
}

.rf-post-author-copy > strong {
    color: #f8f4f8;
    font-size: 13px;
    line-height: 1.1;
}

.rf-post-author-copy > em.rf-role-neon {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 8px;
    font-style: normal;
    font-weight: 950;
    letter-spacing: .25px;
    text-transform: uppercase;
}

.rf-post-author-meta {
    color: #928a9d;
    font-size: 8px;
}

.rf-post-meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    color: #958da1;
    font-size: 8px;
}

.rf-post-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    background: #19172a;
    border: 1px solid #36304a;
    border-radius: 6px;
    color: #a59caf !important;
}

.rf-post-body {
    padding: 24px 25px 27px;
}

.rf-rendered-post {
    max-width: 1040px;
}

.rf-rendered-post p {
    margin: 0 0 14px;
}

.rf-rendered-post p:last-child {
    margin-bottom: 0;
}

.rf-post-content > footer {
    min-height: 50px;
    padding: 0 18px;
    background: #1c192e;
}

.rf-reply-card {
    background: #211e37;
}

.rf-reply-head {
    min-height: 64px;
    padding: 0 20px;
    background:
        radial-gradient(circle at 5% 10%, rgba(232,66,134,.08), transparent 30%),
        #282441;
}

.rf-reply-form {
    padding: 18px 20px 20px;
}

.rf-reply-form textarea {
    min-height: 150px;
    padding: 15px;
}

.rf-attachment-input {
    grid-template-columns: minmax(0,1fr);
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: #1b182d;
}

.rf-attachment-input input::file-selector-button {
    min-height: 32px;
    margin-right: 10px;
    padding: 0 12px;
    background: #2c2746;
    color: #eeeaf0;
    border: 1px solid #443d5d;
    border-radius: 6px;
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}

.rf-attachment-input input::file-selector-button:hover {
    background: #352f53;
    border-color: #5a5076;
}

.rf-reply-actions {
    margin-top: 14px;
}

.rf-live-row .rf-role-neon {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    min-height: 18px;
    margin-top: 5px;
    padding: 0 7px;
    border-radius: 5px;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .25px;
    line-height: 18px;
    text-transform: uppercase;
}

.rf-live-row .rf-role-neon::before {
    width: 4px;
    height: 4px;
    flex-basis: 4px;
}

@media (max-width: 760px) {
    .rf-post-header {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        padding: 14px;
    }

    .rf-post-avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .rf-post-author-copy {
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "role"
            "count";
    }

    .rf-post-meta {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .rf-post-body {
        padding: 20px 16px 22px;
    }
}


/* =========================================================
   RUSTMODS COMMUNITY V6
   ========================================================= */

.rf-top-user-avatar {
    width: 24px;
    height: 24px;
    margin-right: 7px;
    border-radius: 7px;
    font-size: 7px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

.rm5-user-trigger {
    min-width: 118px;
}

.rf-settings-form textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    min-height: 96px;
    padding: 10px 11px;
    background: #18162a;
    color: #eeeaf0;
    border: 1px solid #3b3552;
    border-radius: 7px;
    outline: none;
    font: inherit;
    line-height: 1.5;
}

.rf-settings-form textarea:focus,
.rf-settings-form input:focus,
.rf-settings-form select:focus {
    border-color: #5d5077;
    box-shadow: 0 0 0 3px rgba(93,80,119,.12);
}

.rf-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.rf-profile-links span,
.rf-profile-links a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    background: rgba(255,255,255,.035);
    color: #9b94a6 !important;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 7px;
    font-size: 7px;
    text-decoration: none !important;
}

.rf-profile-links a:hover {
    color: #ff8c52 !important;
    border-color: rgba(230,106,44,.26);
}

.rf-thread-hero-side {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.rf-thread-user-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.rf-thread-user-actions form {
    margin: 0;
}

.rf-thread-user-actions button {
    min-height: 32px;
    padding: 0 10px;
    background: #242039;
    color: #9690a1;
    border: 1px solid #3d3753;
    border-radius: 7px;
    font-size: 7px;
    font-weight: 900;
    cursor: pointer;
    transition: .16s ease;
}

.rf-thread-user-actions button:hover {
    background: #2d2847;
    color: #fff;
    border-color: #514865;
}

.rf-thread-user-actions button.is-active {
    background: rgba(230,106,44,.09);
    color: #ff945d;
    border-color: rgba(230,106,44,.32);
}

.rf-library-list {
    overflow: hidden;
    margin-top: 15px;
    background: #211e39;
    border: 1px solid #3f395a;
    border-radius: 11px;
}

.rf-library-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 70px;
    padding: 0 15px;
    color: inherit !important;
    border-bottom: 1px solid #373149;
    text-decoration: none !important;
}

.rf-library-row:last-child {
    border-bottom: 0;
}

.rf-library-row:hover {
    background: #292541;
}

.rf-library-row > div:first-child > span {
    display: block;
    color: #e84286;
    font-size: 6px;
    font-weight: 900;
    text-transform: uppercase;
}

.rf-library-row > div:first-child > strong {
    display: block;
    margin-top: 5px;
    color: #eeeaf0;
    font-size: 10px;
}

.rf-library-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #777184;
    font-size: 7px;
}

.rf-role-map-form select {
    min-height: 34px;
    min-width: 140px;
    padding: 0 8px;
    background: #18162a;
    color: #eeeaf0;
    border: 1px solid #3b3552;
    border-radius: 6px;
}

.rf-migration-save {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 15px;
    background: #19162b;
    border-top: 1px solid #373149;
}

.rf-migration-save p {
    margin: 0;
    color: #827b8e;
    font-size: 8px;
}

.rf-production-next {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.rf-readiness-score {
    min-width: 140px;
    padding-left: 22px;
    border-left: 1px solid rgba(255,255,255,.09);
    text-align: right;
}

.rf-readiness-score strong {
    display: block;
    color: #fff;
    font-size: 24px;
}

.rf-readiness-score span {
    display: block;
    margin-top: 4px;
    color: #8d8699;
    font-size: 7px;
    text-transform: uppercase;
}

.rf-readiness-stats {
    margin-top: 14px;
}

.rf-readiness-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.rf-readiness-list article {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 0 13px;
    background: #211e39;
    border: 1px solid #3f395a;
    border-radius: 9px;
}

.rf-readiness-list article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 950;
}

.rf-readiness-list article.is-ready > span {
    background: rgba(95,214,122,.08);
    color: #78df8c;
    border: 1px solid rgba(95,214,122,.22);
}

.rf-readiness-list article.is-warning > span {
    background: rgba(232,66,134,.08);
    color: #ef7da8;
    border: 1px solid rgba(232,66,134,.23);
}

.rf-readiness-list strong {
    display: block;
    color: #eeeaf0;
    font-size: 9px;
}

.rf-readiness-list p {
    margin: 4px 0 0;
    color: #817a8c;
    font-size: 7px;
}

.rf-route-plan > div {
    display: grid;
    grid-template-columns: 110px minmax(0,1fr) 28px minmax(0,1fr);
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 14px;
    border-bottom: 1px solid #373149;
}

.rf-route-plan > div:last-child {
    border-bottom: 0;
}

.rf-route-plan strong {
    color: #eeeaf0;
    font-size: 8px;
}

.rf-route-plan span {
    color: #777184;
    font-size: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rf-route-plan b {
    color: #e66a2c;
    text-align: center;
}

.rf-route-plan em {
    color: #9dbdff;
    font-size: 8px;
    font-style: normal;
}

@media (max-width: 760px) {
    .rf-thread-hero-side {
        justify-items: stretch;
        width: 100%;
    }

    .rf-thread-user-actions {
        justify-content: stretch;
    }

    .rf-thread-user-actions form,
    .rf-thread-user-actions button {
        flex: 1;
    }

    .rf-library-row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 12px;
    }

    .rf-library-meta {
        justify-content: space-between;
    }

    .rf-migration-save,
    .rf-production-next {
        align-items: stretch;
        flex-direction: column;
    }

    .rf-readiness-score {
        width: 100%;
        padding: 12px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.09);
        text-align: left;
    }

    .rf-route-plan > div {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 10px 13px;
    }

    .rf-route-plan b {
        display: none;
    }
}
.rf-attachment-list a.rf-attachment-image,
.rf-attachment-image-auto {
    display: block !important;
    width: min(100%, 980px) !important;
    max-width: 980px !important;
    padding: 10px !important;
    min-height: 0 !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
    gap: 0 !important;
    border: 1px solid #3a344d !important;
    border-radius: 12px !important;
    background: #161425 !important;
}

.rf-attachment-list a.rf-attachment-image:hover,
.rf-attachment-image-auto:hover {
    background: #181628 !important;
    border-color: #564a72 !important;
}

.rf-attachment-list a.rf-attachment-image img,
.rf-attachment-image-auto img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 720px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    background: #0f0d19;
}

.rf-attachment-list a.rf-attachment-image > span,
.rf-attachment-image-auto > span {
    display: none !important;
}

.rf-attachment-list a.rf-attachment-image strong,
.rf-attachment-image-auto strong {
    display: block !important;
    margin-top: 8px !important;
    font-size: 10px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    color: #d7d1dd !important;
}

/* RustMods V18 — purchases and Discord-style role status */
.rf-profile-role-status{
    align-self:stretch;
    min-width:245px;
    padding:16px;
    border:1px solid #3f3954;
    border-radius:12px;
    background:radial-gradient(circle at 90% 0%,rgba(255,126,69,.14),transparent 34%),#19162b;
}
.rf-profile-role-status span,
.rf-purchase-role-card>span,
.rf-purchase-mini-stat>span,
.rf-purchases-next span{
    display:block;
    color:#e84286;
    font-size:7px;
    font-weight:950;
    letter-spacing:.75px;
}
.rf-profile-role-status strong{
    display:block;
    margin-top:10px;
    color:#fff;
    font-size:18px;
}
.rf-profile-role-status p{
    margin:8px 0 0;
    color:#9d96a8;
    font-size:10px;
    line-height:1.45;
}
.rf-profile-role-status a{
    display:inline-flex;
    margin-top:12px;
    color:#ff8a50;
    text-decoration:none;
    font-size:9px;
    font-weight:900;
}
.rf-purchases-page{padding-bottom:48px}
.rf-purchases-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:132px;
    padding:26px 30px;
}
.rf-purchases-grid{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) .72fr .72fr;
    gap:12px;
    margin-top:15px;
    align-items:stretch;
}
.rf-purchase-role-card,
.rf-purchase-mini-stat,
.rf-purchases-next{
    padding:20px;
    border:1px solid #3f3954;
    border-radius:12px;
    background:#211d38;
}
.rf-purchase-role-card{
    background:radial-gradient(circle at 88% 0%,rgba(197,140,255,.16),transparent 32%),linear-gradient(135deg,#231d38,#1a172d);
}
.rf-purchase-role-card>div{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:12px;
}
.rf-purchase-role-card>div>b{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border-radius:12px;
    background:#171326;
    border:1px solid #463d5d;
    font-size:20px;
}
.rf-purchase-role-card strong,
.rf-purchase-mini-stat strong,
.rf-purchases-next strong{
    display:block;
    color:#fff;
    font-size:22px;
}
.rf-purchase-role-card p,
.rf-purchase-mini-stat p,
.rf-purchases-next p{
    margin:9px 0 0;
    color:#9d96a8;
    font-size:11px;
    line-height:1.55;
}
.rf-purchase-mini-stat a{
    display:inline-flex;
    margin-top:10px;
    color:#69df8b!important;
    font-size:9px;
    font-weight:950;
    text-decoration:none!important;
}
.rf-purchase-mini-stat{
    display:flex;
    min-height:160px;
    flex-direction:column;
    justify-content:flex-start;
}
.rf-purchase-mini-stat strong{
    margin-top:8px;
}
.rf-purchase-mini-stat p{
    max-width:260px;
}
.rf-profile-role-status small{
    display:block;
    margin-top:9px;
    color:#8f879a;
    font-size:9px;
    line-height:1.45;
}
.rf-purchases-card{margin-top:15px}
.rf-purchase-list article{
    display:grid;
    grid-template-columns:minmax(0,1fr) 100px 92px;
    gap:12px;
    align-items:center;
    min-height:70px;
    padding:12px 16px;
    border-top:1px solid #373149;
}
.rf-purchase-list article:first-child{border-top:0}
.rf-purchase-list article.is-pending{background:linear-gradient(90deg,rgba(233,173,105,.06),transparent 42%)}
.rf-purchase-list article.is-paid{background:linear-gradient(90deg,rgba(105,223,139,.06),transparent 42%)}
.rf-purchase-list small{
    display:block;
    color:#7f788a;
    font-size:8px;
}
.rf-purchase-list strong{
    display:block;
    margin-top:4px;
    color:#f1edf3;
    font-size:12px;
}
.rf-purchase-list span{
    display:block;
    margin-top:4px;
    color:#8f879a;
    font-size:9px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.rf-purchase-list b{
    color:#d8d2df;
    font-size:10px;
}
.rf-purchase-list em{
    justify-self:end;
    display:inline-flex;
    align-items:center;
    min-height:26px;
    padding:0 9px;
    border:1px solid rgba(233,173,105,.18);
    border-radius:999px;
    background:rgba(233,173,105,.08);
    color:#e9ad69;
    font-size:7px;
    font-style:normal;
    font-weight:950;
}
.rf-purchase-list article.is-paid em{
    color:#72df8d;
    border-color:rgba(105,223,139,.18);
    background:rgba(105,223,139,.08);
}
.rf-purchase-list article.is-cancelled em{
    color:#ef86a2;
    border-color:rgba(239,78,117,.18);
    background:rgba(239,78,117,.08);
}
.rf-purchases-empty{
    padding:28px 20px;
    color:#90889a;
}
.rf-purchases-empty strong{
    display:block;
    color:#fff;
    font-size:14px;
}
.rf-purchases-empty p{
    max-width:520px;
    margin:7px 0 14px;
    font-size:10px;
    line-height:1.5;
}
.rf-purchases-next{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-top:15px;
}
.rf-purchases-next>div{min-width:0}
.rf-role-flow-card{
    margin-top:15px;
    overflow:hidden;
}
.rf-role-flow{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    padding:14px;
    border-top:1px solid #373149;
}
.rf-role-flow article{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:10px;
    min-height:112px;
    padding:13px;
    border:1px solid #3a334d;
    border-radius:12px;
    background:#1b172d;
}
.rf-role-flow article.is-done{
    border-color:rgba(105,223,139,.25);
    background:linear-gradient(145deg,rgba(105,223,139,.08),#1b172d 48%);
}
.rf-role-flow article.is-waiting{
    border-color:rgba(233,173,105,.24);
    background:linear-gradient(145deg,rgba(233,173,105,.07),#1b172d 48%);
}
.rf-role-flow b{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:10px;
    border:1px solid #453d59;
    background:#171326;
    color:#fff;
    font-size:12px;
}
.rf-role-flow article.is-done b{
    border-color:rgba(105,223,139,.3);
    color:#72df8d;
}
.rf-role-flow article.is-waiting b{
    border-color:rgba(233,173,105,.3);
    color:#e9ad69;
}
.rf-role-flow strong{
    display:block;
    color:#fff;
    font-size:12px;
}
.rf-role-flow p{
    margin:7px 0 0;
    color:#9d96a8;
    font-size:9px;
    line-height:1.45;
}
.rf-role-flow a{
    display:inline-flex;
    margin-top:9px;
    color:#ff8a50!important;
    text-decoration:none!important;
    font-size:8px;
    font-weight:950;
}
.rf-bonus-card{
    margin-top:15px;
    overflow:hidden;
}
.rf-bonus-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    padding:14px;
    border-top:1px solid #373149;
}
.rf-bonus-tier{
    position:relative;
    min-height:260px;
    padding:15px;
    border:1px solid #3a334d;
    border-radius:12px;
    background:linear-gradient(145deg,#1b172d,#211d38);
    overflow:hidden;
}
.rf-bonus-tier:before{
    content:"";
    position:absolute;
    inset:auto -30px -42px auto;
    width:120px;
    height:120px;
    border-radius:999px;
    background:rgba(255,126,69,.08);
    pointer-events:none;
}
.rf-bonus-tier.is-vip{background:radial-gradient(circle at 100% 0%,rgba(255,208,82,.16),transparent 38%),linear-gradient(145deg,#1b172d,#211d38)}
.rf-bonus-tier.is-premium{background:radial-gradient(circle at 100% 0%,rgba(197,140,255,.17),transparent 38%),linear-gradient(145deg,#1b172d,#211d38)}
.rf-bonus-tier.is-seller{background:radial-gradient(circle at 100% 0%,rgba(255,154,79,.16),transparent 38%),linear-gradient(145deg,#1b172d,#211d38)}
.rf-bonus-tier.is-server_boost{background:radial-gradient(circle at 100% 0%,rgba(85,184,255,.15),transparent 38%),linear-gradient(145deg,#1b172d,#211d38)}
.rf-bonus-tier.is-active{
    border-color:rgba(105,223,139,.34);
    box-shadow:0 0 0 1px rgba(105,223,139,.05),0 18px 36px rgba(5,3,13,.18);
}
.rf-bonus-tier.is-pending{
    border-color:rgba(233,173,105,.34);
}
.rf-bonus-tier-top{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
}
.rf-bonus-tier-top>b{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:12px;
    border:1px solid #453d59;
    background:#171326;
    font-size:20px;
}
.rf-bonus-tier-top small{
    display:block;
    color:#69df8b;
    font-size:7px;
    font-weight:950;
    letter-spacing:.65px;
    text-transform:uppercase;
}
.rf-bonus-tier.is-pending .rf-bonus-tier-top small{color:#e9ad69}
.rf-bonus-tier:not(.is-active):not(.is-pending) .rf-bonus-tier-top small{color:#8f879a}
.rf-bonus-tier-top strong{
    display:block;
    margin-top:4px;
    color:#fff;
    font-size:14px;
}
.rf-bonus-tier-top em{
    color:#ff8a50;
    font-size:8px;
    font-style:normal;
    font-weight:950;
    white-space:nowrap;
}
.rf-bonus-tier p{
    min-height:58px;
    margin:13px 0 0;
    color:#a199ad;
    font-size:10px;
    line-height:1.55;
}
.rf-bonus-tier ul{
    display:grid;
    gap:8px;
    margin:14px 0 0;
    padding:0;
    list-style:none;
}
.rf-bonus-tier li{
    display:grid;
    grid-template-columns:8px minmax(0,1fr);
    gap:8px;
    color:#e4dee8;
    font-size:9px;
    line-height:1.35;
}
.rf-bonus-tier li:before{
    content:"";
    width:6px;
    height:6px;
    margin-top:4px;
    border-radius:999px;
    background:#69df8b;
    box-shadow:0 0 10px rgba(105,223,139,.28);
}
.rf-bonus-tier:not(.is-active) li:before{background:#8c8497;box-shadow:none}
@media(max-width:950px){
    .rf-purchases-grid{grid-template-columns:1fr}
    .rf-role-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
    .rf-bonus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .rf-purchases-hero,.rf-purchases-next{align-items:flex-start;flex-direction:column}
}
@media(max-width:680px){
    .rf-profile-role-status{min-width:0}
    .rf-purchase-list article{grid-template-columns:1fr}
    .rf-purchase-list em{justify-self:start}
    .rf-role-flow{grid-template-columns:1fr}
    .rf-bonus-grid{grid-template-columns:1fr}
}

/* RustMods V19 — paid-role visibility across profile, forum and purchases */
.rf-post-card,
.rf-thread-row,
.rf-profile-hero,
.rf-purchase-role-card{
    --rm-role-accent:#8f879a;
    --rm-role-soft:rgba(143,135,154,.10);
}
.is-role-vip,
.rf-purchase-role-card.is-vip{--rm-role-accent:#ffd052;--rm-role-soft:rgba(255,208,82,.13)}
.is-role-premium,
.rf-purchase-role-card.is-premium{--rm-role-accent:#c58cff;--rm-role-soft:rgba(197,140,255,.14)}
.is-role-seller,
.rf-purchase-role-card.is-seller{--rm-role-accent:#ff9a4f;--rm-role-soft:rgba(255,154,79,.14)}
.is-role-server_owner,
.rf-purchase-role-card.is-server_owner{--rm-role-accent:#66df8f;--rm-role-soft:rgba(102,223,143,.13)}
.is-role-developer,
.rf-purchase-role-card.is-developer{--rm-role-accent:#55b8ff;--rm-role-soft:rgba(85,184,255,.13)}
.is-role-partner,
.rf-purchase-role-card.is-partner{--rm-role-accent:#54d5ff;--rm-role-soft:rgba(84,213,255,.13)}
.is-role-admin,
.rf-purchase-role-card.is-admin{--rm-role-accent:#ff774a;--rm-role-soft:rgba(255,119,74,.15)}
.is-role-moderator,
.rf-purchase-role-card.is-moderator{--rm-role-accent:#ffd166;--rm-role-soft:rgba(255,209,102,.13)}
.rf-post-card.is-role-vip,
.rf-post-card.is-role-premium,
.rf-post-card.is-role-seller,
.rf-post-card.is-role-server_owner,
.rf-post-card.is-role-developer,
.rf-post-card.is-role-partner,
.rf-post-card.is-role-admin,
.rf-post-card.is-role-moderator{
    border-color:color-mix(in srgb,var(--rm-role-accent) 36%,#413a5a);
    box-shadow:inset 3px 0 0 var(--rm-role-accent),0 14px 30px rgba(5,3,13,.16);
}
.rf-post-card[class*="is-role-"] .rf-post-header{
    background:
        radial-gradient(circle at 6% 0%,var(--rm-role-soft),transparent 34%),
        linear-gradient(180deg,#24203b 0%,#1e1b31 100%);
}
.rf-post-card[class*="is-role-"] .rf-post-avatar{
    border-color:color-mix(in srgb,var(--rm-role-accent) 58%,#493d61);
    color:var(--rm-role-accent);
    box-shadow:0 10px 24px rgba(0,0,0,.22),0 0 18px var(--rm-role-soft);
}
.rf-post-author-meta{
    flex-wrap:wrap;
}
.rf-post-author-meta span+span{
    color:var(--rm-role-accent);
    font-weight:850;
}
.rf-thread-row.is-role-vip,
.rf-thread-row.is-role-premium,
.rf-thread-row.is-role-seller{
    border-left:3px solid var(--rm-role-accent);
    background:linear-gradient(90deg,var(--rm-role-soft),transparent 36%),#211d38;
}
.rf-thread-role{
    min-height:18px;
    padding:0 6px;
    border-radius:5px;
    font-size:7px;
    font-style:normal;
    font-weight:950;
    letter-spacing:.25px;
}
.rf-profile-hero[class*="is-role-"]{
    border-color:color-mix(in srgb,var(--rm-role-accent) 30%,#3c3550);
    background:
        radial-gradient(circle at 92% 8%,var(--rm-role-soft),transparent 34%),
        linear-gradient(135deg,#221d38,#171426);
}
.rf-profile-role-status{
    border-color:color-mix(in srgb,var(--rm-role-accent) 32%,#3f3954);
    background:
        radial-gradient(circle at 92% 0%,var(--rm-role-soft),transparent 36%),
        #19162b;
}
.rf-profile-role-status strong{
    color:#fff;
    text-shadow:0 0 16px var(--rm-role-soft);
}
.rf-profile-role-perks,
.rf-purchase-role-perks{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}
.rf-profile-role-perks b,
.rf-purchase-role-perks b{
    display:inline-flex;
    align-items:center;
    width:auto;
    height:auto;
    min-width:0;
    min-height:28px;
    padding:0 10px;
    border:1px solid color-mix(in srgb,var(--rm-role-accent) 34%,#423a56);
    border-radius:8px;
    background:var(--rm-role-soft);
    color:#f2edf4;
    font-size:9px;
    font-weight:900;
    line-height:1.25;
    white-space:normal;
    text-align:left;
}
.rf-purchase-role-card{
    border-color:color-mix(in srgb,var(--rm-role-accent) 34%,#3f3954);
    background:
        radial-gradient(circle at 90% 0%,var(--rm-role-soft),transparent 36%),
        linear-gradient(135deg,#231d38,#1a172d);
}
.rf-purchase-role-card b{
    border-color:color-mix(in srgb,var(--rm-role-accent) 42%,#463d5d);
}
.rf-purchase-role-card>div>b{
    color:var(--rm-role-accent);
}
@media(min-width:951px){
    .rf-purchase-role-card{
        min-height:185px;
    }
}
@media(max-width:760px){
    .rf-thread-meta{
        flex-wrap:wrap;
        gap:6px;
    }
    .rf-thread-role{
        order:3;
    }
}
