/* ============================================================
   ETS2 MODS — GAMING DESIGN SYSTEM (LIGHT MODE / COOL COLORS)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ── DESIGN TOKENS (LIGHT THEME) ──────────────────────────── */
:root{--primary:#e8590c;--primary-h:#d04e0a;--primary-dark:#a33c06;--secondary:#1a56db;--accent:#f59e0b;--teal:#0891b2;--green:#10b981;--red:#ef4444;--bg:#f8fafc;--bg-2:#f1f5f9;--bg-main:#fff;--bg-hover:#e2e8f0;--surface:#fff;--surface-solid:#fff;--border:#cbd5e1;--border-soft:#e8590c22;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #0000001a 0 2px 4px -2px #0000001a;--shadow-glass:0 10px 15px -3px #0000001a 0 4px 6px -4px #0000001a;--text-dark:#0f172a;--text-mid:#334155;--text-medium:#475569;--text-light:#64748b;--font-head:Rajdhani,system-ui,sans-serif;--font-heading:Rajdhani,system-ui,sans-serif;--font-body:Inter,system-ui,sans-serif;--max-w:1280px;--side-w:290px;--gap:20px;--radius:10px;--radius-sm:6px;--blur:blur(0px);--t:0s}

/* ── RESET ─────────────────────────────────────────────────── */
*,::before,::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:auto;-webkit-text-size-adjust:100%;font-size:13px}
body{font-family:var(--font-body);color:var(--text-mid);line-height:1.6;background:var(--bg);background-image:radial-gradient(circle at 25% 40%,#e8590c14 1.5px,transparent 1.5px),radial-gradient(circle at 75% 85%,#1a56db14 1.5px,transparent 1.5px),repeating-linear-gradient(45deg,#00000005 0px,#00000005 2px,transparent 2px,transparent 8px);background-size:40px 40px,40px 40px,16px 16px;min-height:100vh;overflow-x:hidden}
ol,ul{list-style:none}
img{max-width:100%;height:auto;display:block}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--primary-h)}
.clearfix::after{content:'';display:table;clear:both}
.glass{background:#ffffffe6;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-glass);backdrop-filter:blur(10px)}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb{padding:6px 0 14px;margin:0}
.breadcrumb__list{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0;list-style:none;padding:5px 14px 5px 6px;background:#fff;border:1px solid var(--border);border-radius:30px;font-size:.78rem;box-shadow:var(--shadow-sm)}
.breadcrumb__item{display:flex;align-items:center}
.breadcrumb__link--home{display:flex;align-items:center;justify-content:center;width:26px;height:26px;background:var(--primary);color:#fff;border-radius:50%;font-size:12px;flex-shrink:0}
.breadcrumb__link--home:hover{background:var(--primary-h);color:#fff}
.breadcrumb__item--trail{display:flex;align-items:center}
.breadcrumb__item--trail::before{content:"";display:inline-block;width:4px;height:4px;background:var(--text-light);border-radius:50%;margin:0 8px;flex-shrink:0}
#dle-speedbar{display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px;color:var(--text-light)}
#dle-speedbar a{font-weight:600;padding:1px 4px;border-radius:4px}
#dle-speedbar a:hover{color:var(--primary-h)}
#dle-speedbar .delimiter,#dle-speedbar .sep{color:var(--text-light);margin:0 3px}

/* ═══════════════════════════════════════════════════════════
   HEADER — DARK THEME
   ═══════════════════════════════════════════════════════════ */
#header-bar{position:sticky;top:0;z-index:1100;background:#0f172a;border-bottom:1px solid #1e293b;box-shadow:0 8px 20px #0003}
#header-bar ins.adsbygoogle,#header-bar .adsbygoogle,.header-nav ins.adsbygoogle,.header-nav .adsbygoogle{display:none!important}

/* Top strip - Dark Cool Gray */
.header-top-strip{background:#0b1120;border-bottom:1px solid #1e293b;padding:5px 0}
.header-top-strip .header-inner{max-width:var(--max-w);margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center}
.social-icon{display:flex;gap:5px}
.social-icon li a{display:flex;align-items:center;justify-content:center;width:26px;height:26px;color:#94a3b8;border-radius:4px;font-size:13px;background:#1e293b;border:1px solid #334155}
.social-icon li a:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.social-icon li a span{display:none}
.nav-info,.nav-info li a{display:flex;gap:4px}
.nav-info li a{color:#94a3b8;font-size:11px;padding:3px 10px;border-radius:4px;align-items:center}
.nav-info li a:hover{background:#e8590c18;color:var(--primary)}

/* Main header row - Dark Slate */
.header-main{padding:10px 0;background:#0f172a}
.header-main .header-inner{max-width:var(--max-w);margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center}
.header-logo-section{display:flex;align-items:center;gap:20px}
#logotype{display:flex;flex-direction:column;gap:1px}

/* Compact & Colored Logo Text */
.logo-title{font-family:var(--font-head);font-size:24px;font-weight:800;letter-spacing:1px;text-transform:uppercase;line-height:1;background:linear-gradient(135deg,#e8590c 0%,#f97316 60%,#fdba74 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 8px #e8590c4d}
.logo-title::first-letter{background:linear-gradient(135deg,#fdba74,#e8590c);-webkit-background-clip:text;background-clip:text;color:transparent}
.logo-subtitle{font-size:9px;color:#94a3b8;text-transform:uppercase;letter-spacing:1.5px;font-family:var(--font-body);font-weight:500}

/* Search - Dark Input Style */
.header-search-mobile form{display:flex;background:#1e293b;border-radius:6px;overflow:hidden;border:1.5px solid #334155;margin-left:260px}
.header-search-mobile form:focus-within{border-color:var(--primary);background:#0f172a}
.searchbar-input{border:0;background:transparent;padding:8px 14px;font-size:13px;width:260px;outline:0;color:#f1f5f9;font-family:var(--font-body)}
.searchbar-input::placeholder{color:#64748b}
.searchbar-btn{background:var(--primary);color:#fff;border:0;padding:8px 16px;cursor:pointer;font-size:14px}
.searchbar-btn:hover{background:var(--primary-h)}
@media (max-width: 768px) {
.header-search-mobile form{width:100%;max-width:400px;margin-left:auto;margin-right:auto;margin:10px 0}
.searchbar-input{width:100%;flex:1}
.searchbar-btn{white-space:nowrap}
}

/* Upload button */
.header-right-section{display:flex;align-items:center;gap:12px}
.header-upload-btn{display:flex;align-items:center;gap:7px;background:var(--primary);color:#fff!important;padding:8px 18px;border-radius:6px;font-weight:700;font-size:12px;font-family:var(--font-head);letter-spacing:1px;text-transform:uppercase;border:2px solid var(--primary)}
.header-upload-btn:hover{background:transparent;color:var(--primary)!important}

/* ─────────────────────────────────────────────────────────────
   USER PANEL — Dark Adapted
   ───────────────────────────────────────────────────────────── */
#login-bar { padding: 0; }
.nav-login { list-style: none; padding: 0; }

/* The pill button */
.nav-login-profile{display:inline-flex;align-items:center;gap:9px;padding:5px 13px 5px 6px;background:#1e293b;border:1px solid #334155;border-radius:8px;cursor:pointer;text-decoration:none;color:#cbd5e1!important;font-size:12px;white-space:nowrap}
.nav-login-profile:hover{background:#334155;border-color:var(--primary);color:#fff!important;box-shadow:var(--shadow-sm)}

/* Avatar / emoji icon */
.nav-login-foto,.emoji-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;background:linear-gradient(135deg,var(--primary) 0%,#ff8c42 100%);color:#fff;font-size:15px;flex-shrink:0}

/* Info text */
.nav-login-info{display:block;font-size:11px;color:#94a3b8;line-height:1.35;font-family:var(--font-body)}
.nav-login-info strong{color:#f1f5f9;font-weight:600}
.caret{font-size:9px;opacity:.45;margin-left:2px}

/* ── MODAL ──────────────────────────────────────────────────── */
.modal{display:none;position:fixed;inset:0;z-index:9999;background:#0f172ad9;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.modal.in,.modal.modal-visible,.modal.show{display:flex}
.modal-dialog{background:#1e293b;border-radius:var(--radius);box-shadow:0 20px 60px #00000080;padding:24px;width:90%;max-width:380px;position:relative;border:1px solid #334155;border-top:4px solid var(--primary)}
.close,.modal-close-btn{position:absolute;top:12px;right:12px;background:0;border:0;font-size:22px;cursor:pointer;color:#94a3b8;line-height:1;padding:4px}
.close:hover,.modal-close-btn:hover{color:var(--red)}

/* User info header inside modal */
.login-blue{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#0f172a;border:1px solid #334155;border-radius:var(--radius-sm);margin-bottom:14px}
.login-emoji-avatar{width:44px;height:44px;background:linear-gradient(135deg,var(--primary),#ff8c42);border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;color:#fff}
.login-blue img,.user-avatar-large img{width:44px;height:44px;border-radius:6px;object-fit:cover}
.login-blue b{font-size:15px;font-weight:700;color:#f1f5f9;display:block;font-family:var(--font-head);letter-spacing:.5px}
.login-blue small{font-size:11px;color:#94a3b8;display:block;margin-top:2px}

/* Modal menu links */
.nav-login-modal{display:flex;flex-direction:column;gap:3px}
.nav-login-modal li a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:var(--radius-sm);color:#cbd5e1;font-size:13px;font-family:var(--font-body);border:1px solid transparent}
.nav-login-modal li a:hover{background:#0f172a;color:var(--primary);border-color:#334155}
.counter{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;background:var(--primary);color:#fff;border-radius:20px;font-size:10px;font-weight:700;margin-left:auto}

/* Auth form (guest modal) - Dark */
.login-p{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #334155}
.login-p b{font-family:var(--font-head);font-size:18px;font-weight:700;color:#f1f5f9;letter-spacing:1px;text-transform:uppercase}
.meta-qual a{font-size:12px;color:var(--primary);font-weight:600}

/* ── NAV BAR (DARK) ───────────────────────────────────────────────── */
.header-nav{background:#0f172a;border-top:1px solid #1e293b}
.header-nav .header-inner{max-width:var(--max-w);margin:0 auto;padding:0 20px}
.navbar,.navbar-nav{display:flex;align-items:center}
.navbar-nav{gap:0;padding:0}
.navbar-nav > li > a{display:flex;align-items:center;gap:5px;color:#cbd5e1;font-family:var(--font-head);font-size:14px;font-weight:600;padding:10px 14px;border-radius:0;white-space:nowrap;letter-spacing:.5px;border-bottom:2px solid transparent;text-transform:uppercase}
.navbar-nav > li > a:hover{color:var(--primary);border-bottom-color:var(--primary);background:#1e293b}
.navbar-nav > li.nav-home > a{color:var(--primary);border-bottom-color:var(--primary)}
.navbar-nav > li.nav-featured > a.top100{background:var(--accent);color:#fff;font-weight:700;border-bottom-color:transparent;border-radius:4px;margin:4px 6px}
.navbar-nav > li.nav-featured > a.top100:hover{background:#d97706;border-bottom-color:transparent}
.navbar-nav .dropdown{position:relative}
.navbar-nav .dropdown-menu{position:absolute;left:0;top:100%;min-width:200px;background:#1e293b;border:1px solid #334155;border-top:2px solid var(--primary);border-radius:0 0 var(--radius-sm) var(--radius-sm);box-shadow:var(--shadow-md);padding:6px 0;display:none;z-index:1200}
.navbar-nav .dropdown:hover .dropdown-menu,.navbar-nav .dropdown.open .dropdown-menu{display:block}
.dropdown-menu li a{display:flex;align-items:center;padding:8px 16px;color:#cbd5e1;font-size:13px;font-family:var(--font-body);border-left:2px solid transparent}
.dropdown-menu li a:hover{background:#0f172a;color:var(--primary);border-left-color:var(--primary)}
.dropdown-menu li a strong{color:var(--primary);font-weight:700}
.navbar-header{display:none}
.navbar-toggle{background:#1e293b;border:1px solid #334155;border-radius:var(--radius-sm);padding:8px 12px;cursor:pointer}
.icon-bar{display:block;width:20px;height:2px;background:var(--primary);border-radius:2px;margin:4px 0}

/* ── LAYOUT ───────────────────────────────────────────────── */
#pg-wrap{max-width:var(--max-w);margin:var(--gap) auto;padding:0 20px}
.pg-2col{display:flex;gap:var(--gap);align-items:flex-start}
.pg-main{flex:1;min-width:0}
.pg-side{width:var(--side-w);flex-shrink:0;position:sticky;top:80px}
.block-white{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:20px;margin-bottom:var(--gap)}
.pg-full{width:100%}

/* Section headings */
.h-red{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;margin-bottom:16px;border-bottom:2px solid var(--primary)}
.h-red h2,.h-red h3{display:flex;align-items:center;gap:8px;font-family:var(--font-head);font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-dark)}
.h-red h2 i,.h-red h3 i{font-size:16px;color:var(--primary)}
.h-red p{margin:0;display:contents}
.a-small{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--primary);padding:4px 10px;border-radius:4px;border:1px solid #ffedd5;background:#fff7ed;font-weight:700;font-family:var(--font-head);letter-spacing:.5px;text-transform:uppercase}
.a-small:hover{background:var(--primary);color:#fff;border-color:var(--primary)}

/* ── MOD CARDS GRID ───────────────────────────────────────── */
.mods-grid,.mods-grid-3col,.videos-grid,.videos-grid-3col{display:grid!important;grid-template-columns:repeat(3,1fr);gap:12px;width:100%}
.shortf{background:var(--surface-solid);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;contain:layout style}
.shortf:hover{border-color:var(--primary);box-shadow:var(--shadow-md);transform:none!important}
.shortf-img{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--bg-2)}
.shortf-img a{display:block;width:100%;height:100%}
.shortf-img img{width:100%;height:100%;object-fit:cover;display:block;transition:none!important}
.shortf:hover .shortf-img img{transform:none!important}
.shortf-shadow{position:absolute;inset:0;background:linear-gradient(to top,#0009 0%,transparent 55%);pointer-events:none}
.shortf-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(.8);width:36px;height:36px;background:#fffe;color:var(--primary);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;opacity:0}
.shortf:hover .shortf-play{opacity:1;transform:translate(-50%,-50%) scale(1)}
.shortf-play--yt{color:#f4311e}
.shortf-quality{position:absolute;top:7px;right:7px;background:#e8590cdd;color:#fff;font-size:10px;font-weight:700;padding:2px 7px;border-radius:4px;font-family:var(--font-head);letter-spacing:.5px}
.shortf-quality--video{background:#f4311ecc}
.shortf-update{position:absolute;top:7px;left:7px;background:#22c55ecc;color:#fff;font-size:10px;font-weight:700;padding:2px 7px;border-radius:4px;font-family:var(--font-head)}
.shortf-rating{position:absolute;bottom:7px;left:7px;font-size:11px;color:#ffffffd9;background:#0009;padding:2px 6px;border-radius:4px}
.shortf-favor{position:absolute;bottom:7px;right:50px;font-size:11px;color:#ffffffd9;background:#0009;padding:2px 6px;border-radius:4px}
.shortf-series{position:absolute;bottom:7px;right:7px;font-size:11px;color:#ffffffe6;display:flex;align-items:center;gap:5px;background:#0009;padding:2px 6px;border-radius:4px}
.shortf-body{padding:10px 12px;flex:1;display:flex;flex-direction:column;gap:5px}
.shortf-link{font-size:14px;line-height:1.35;font-weight:700;font-family:var(--font-head);letter-spacing:.3px;overflow:hidden;white-space:nowrap}
.shortf-link a{color:var(--text-dark)}
.shortf-link a:hover{color:var(--primary)}
.shortf-meta,.shortf-meta-row{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--text-light);flex-wrap:wrap}
.shortf-meta-stat{display:flex;align-items:center;gap:3px}
.shortf-author{font-size:11px;color:var(--text-light);overflow:hidden;white-space:nowrap}
.shortf-meta-stat--views .fa{color:var(--teal)}
.shortf-meta-stat--comments .fa{color:var(--green)}

/* ── SIDEBAR ──────────────────────────────────────────────── */
.h-sidebar{display:flex;align-items:center;gap:7px;font-family:var(--font-head);font-size:14px;font-weight:700;color:var(--text-dark);padding:8px 0;margin-bottom:12px;border-bottom:2px solid var(--primary);text-transform:uppercase;letter-spacing:1px}
.h-sidebar i{color:var(--primary)}
.link-sidebar{display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;color:var(--primary);padding:6px;border:1px solid #ffedd5;border-radius:var(--radius-sm);margin-top:10px;font-weight:600}
.link-sidebar:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.shortstory-film3{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.str-item-compact{display:block;padding:8px 10px;background:#fff7ed;border:1px solid #ffedd5;border-radius:var(--radius-sm)}
.str-item-compact:hover{background:#ffedd5;border-color:#fed7aa}
.str-title-compact{display:block;font-size:13px;font-weight:600;font-family:var(--font-head);color:var(--text-dark);line-height:1.3;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.str-title-compact:hover{color:var(--primary)}
.str-meta-compact{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px}
.meta-item{display:inline-flex;align-items:center;gap:3px;color:var(--text-light);font-size:11px}
.meta-item i{color:var(--primary);font-size:10px}
.news-badge{display:inline-flex;align-items:center;gap:2px;padding:2px 6px;background:var(--primary);color:#fff;border-radius:4px;font-weight:700;font-size:10px;font-family:var(--font-head)}
.ats-badge{background:var(--teal)}
.shortstory-comments,.sidebar-comments-list{display:flex;flex-direction:column;gap:7px;margin-bottom:12px;list-style:none;padding:0}
.shortstory-comments li,.lc-item{padding:9px 9px 9px 36px;background:#fff7ed;border:1px solid #ffedd5;border-radius:var(--radius-sm);font-size:12px;position:relative}
.shortstory-comments li:hover,.lc-item:hover{border-color:#fed7aa}
.shortstory-comments li::before{content:"💬";position:absolute;left:8px;top:9px;font-size:15px}
.shortstory-comments li i:first-child,.shortstory-comments li i:first-child img{display:none}
.shortstory-comments li i.nowrap{font-style:normal;font-weight:700;color:var(--text-dark);display:block;margin-bottom:2px}
.shortstory-comments li small{color:var(--text-light);font-size:11px;display:block;margin-bottom:3px}
.shortstory-comments li span{color:var(--text-medium);line-height:1.4;display:block}
.shortstory-comments li a{color:var(--primary);font-size:12px;font-weight:600}
.lc-item{display:flex;gap:8px;padding:9px}
.lc-icon{color:var(--primary);font-size:18px;flex-shrink:0;margin-top:2px}
.lc-content{flex:1;min-width:0}
.lc-header{display:flex;align-items:center;gap:6px;margin-bottom:3px;flex-wrap:wrap}
.lc-author{font-weight:700;font-size:12px;color:var(--text-dark)}
.lc-date{font-size:11px;color:var(--text-light)}
.lc-text{font-size:12px;color:var(--text-medium);line-height:1.4;margin-bottom:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lc-news-link{font-size:11px;color:var(--primary);font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc-news-link:hover{color:var(--primary-h)}
.official-upload{margin-bottom:14px}
.official-upload a,.official-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;background:var(--primary);color:#fff!important;border-radius:var(--radius-sm);font-family:var(--font-head);font-weight:700;font-size:14px;letter-spacing:.8px;text-transform:uppercase;border:0;cursor:pointer}
.official-upload a:hover,.official-btn:hover{background:var(--primary-h);color:#fff!important}

/* ── BUTTONS ──────────────────────────────────────────────── */
.margin-b25{margin-bottom:20px}
.speedbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;color:var(--text-light);padding:6px 0 14px}
.speedbar a{color:var(--primary)}
.speedbar a:hover{color:var(--primary-h)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 18px;background:var(--primary);color:#fff;border:0;border-radius:var(--radius-sm);font-weight:700;cursor:pointer;font-size:13px;font-family:var(--font-head);letter-spacing:.5px;text-transform:uppercase}
.btn:hover{background:var(--primary-h)}
#scroller{position:fixed;bottom:24px;right:24px;width:40px;height:40px;background:var(--primary);color:#fff;border-radius:6px;display:none;align-items:center;justify-content:center;font-size:16px;cursor:pointer;box-shadow:var(--shadow-md);z-index:999}
#scroller:hover{background:var(--primary-h)}
hr{border:none;height:1px;background:var(--border);margin:14px 0}
.lazy{opacity:0}
.lazy-loaded{opacity:1}

/* ══════════════════════════════════════════════════════════
   ADDCOMMENTS
   ══════════════════════════════════════════════════════════ */
.comment-rules-notice{display:flex;flex-direction:column;margin-bottom:18px;background:#fff;border:1px solid var(--border);border-top:2px solid var(--primary);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}
.comment-rules-notice__icon{display:none}
.comment-rules-notice__body{flex:1;padding:0;font-size:13px;color:var(--text-medium);line-height:1.55}

/* Guidelines header bar */
.comment-rules-notice__body > b{display:flex;align-items:center;gap:9px;padding:10px 16px;margin:0;background:linear-gradient(90deg,#fff7ed,#fff);border-bottom:1px solid #ffedd5;font-family:var(--font-head);font-size:14px;font-weight:700;color:var(--text-dark);letter-spacing:.8px;text-transform:uppercase}
.comment-rules-notice__body > b::before{content:"\f05a";font-family:FontAwesome;color:var(--teal);font-size:15px;font-weight:400}

/* 2-column rules grid */
.comment-rules-notice__list{display:grid;grid-template-columns:1fr 1fr;gap:2px;list-style:none;padding:10px 12px 12px;margin:0}
.comment-rules-notice__list li{display:flex;align-items:flex-start;gap:9px;padding:8px 10px;font-size:12px;color:var(--text-medium);border-radius:var(--radius-sm);border:1px solid transparent}
.comment-rules-notice__list li:hover{background:#fff7ed;border-color:#ffedd5}
.comment-rules-notice__list li .fa-check-circle{color:#22c55e;font-size:15px;flex-shrink:0;margin-top:1px}
.comment-rules-notice__list li .fa-times-circle{color:#ef4444;font-size:15px;flex-shrink:0;margin-top:1px}

/* ── COMMENT FORM ─────────────────────────────────────────── */
.gaming-comment-form{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:18px;margin-bottom:18px;box-shadow:var(--shadow-sm)}
.gcf-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.gcf-field,.igroup{display:flex;align-items:stretch;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;margin-bottom:10px;background:#fff}
.gcf-field:focus-within,.igroup:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px #e8590c22}
.igroup-span{display:flex;align-items:center;justify-content:center;padding:0 12px;background:#fff7ed;color:var(--primary);font-size:13px;border-right:1px solid var(--border);flex-shrink:0}
.igroup-input,.f_input{flex:1;border:0;background:#fff;padding:9px 12px;font-size:13px;color:var(--text-dark);outline:none;font-family:var(--font-body);width:100%}
.igroup-input::placeholder{color:var(--text-light)}
.igroup-text{padding:10px 12px;font-size:13px;color:var(--text-dark);background:#fff}
.igroup-regcode{align-items:center;display:flex;padding:6px 10px}
.igroup-recaptcha{border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px;margin-bottom:10px;background:#f8fafc}
.gcf-security{margin-bottom:10px}
.gcf-submit{margin-top:4px}
.gcf-submit-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;background:var(--primary);color:#fff;border:0;border-radius:var(--radius-sm);font-family:var(--font-head);font-size:14px;font-weight:700;letter-spacing:1px;text-transform:uppercase;cursor:pointer}
.gcf-submit-btn:hover{background:var(--primary-h)}
.igroup-btn{display:flex;align-items:center;flex-shrink:0}
.igroup-btn .btn{border-radius:0;padding:0 12px;height:100%;font-size:12px}
.fieldsubmit{display:flex;gap:8px;padding-top:8px}

/* ── COMMENTS LIST ────────────────────────────────────────── */
#bar-comment { margin-top: 18px; }
.comm-card { background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.comm-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.comm-header { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px 8px; background: #fff7ed; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.comm-ava img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.comm-meta { flex: 1; min-width: 0; }
.comm-author { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 3px; }
.comm-author b { font-size: 14px; font-weight: 700; color: var(--text-dark); font-family: var(--font-head); }
.comm-status { font-size: 8px; }
.comm-status.online { color: var(--green); }
.comm-status.offline { color: #94a3b8; }
.comm-id { font-size: 11px; color: var(--text-light); }
.comm-info { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--text-light); }
.comm-info span { display: flex; align-items: center; gap: 4px; }
.comm-info i { color: var(--primary); }
.comm-rating { margin-left: auto; flex-shrink: 0; }
.ul-rating-comment { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.rating-plus { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 4px; cursor: pointer; font-size: 13px; color: var(--green); background: #dcfce7; border: 1px solid #bbf7d0; }
.rating-plus:hover { background: var(--green); color: #fff; border-color: var(--green); }
.rating-minus { color: var(--red); background: #fee2e2; border: 1px solid #fecaca; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.rating-minus:hover { background: var(--red); color: #fff; border-color: var(--red); }
.rating-o { font-size: 13px; font-weight: 700; color: var(--text-medium); min-width: 20px; text-align: center; }
.comm-body { padding: 12px 14px; }
.comm-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 6px; letter-spacing: .3px; }
.comm-text { font-size: 13px; line-height: 1.65; color: var(--text-medium); }
.comm-text a { color: var(--primary); font-weight: 600; }
.bcomment-signature { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--text-light); font-style: italic; }
.comm-footer { padding: 7px 14px 9px; border-top: 1px solid var(--border); }
.comm-actions { display: flex; gap: 4px; flex-wrap: wrap; list-style: none; padding: 0; }
.comm-actions li a, .comm-actions li span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; font-size: 12px; color: var(--text-light); border-radius: 4px; border: 1px solid var(--border); background: #f8fafc; cursor: pointer; font-weight: 600; }
.comm-actions li a:hover, .comm-actions li span:hover { background: #fff7ed; color: var(--primary); border-color: #ffedd5; }

/* ══════════════════════════════════════════════════════════
   FOOTER — DARK THEME
   ══════════════════════════════════════════════════════════ */
#footer-bar { background: #0b1120; color: #94a3b8; margin-top: 50px; padding: 0; width: 100%; box-sizing: border-box; border-top: 3px solid var(--primary); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 32px 20px 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px 40px; padding-bottom: 28px; border-bottom: 1px solid #1e293b; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-emoji { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: var(--primary); border-radius: 6px; box-shadow: 0 4px 14px #e8590c44; flex-shrink: 0; color: #fff; }
.footer-logo-text { display: flex; flex-direction: column; }
.footer-logo-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; background: linear-gradient(135deg, #e8590c, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; letter-spacing: 1px; text-transform: uppercase; }
.footer-logo-subtitle { font-size: 10px; color: #64748b; margin-top: 2px; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-description { font-size: 13px; line-height: 1.6; color: #94a3b8; }
.footer-social { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #1e293b; border: 1px solid #334155; color: #94a3b8; border-radius: 4px; font-size: 14px; }
.footer-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-links { display: contents; }
.footer-column h4 { font-family: var(--font-head); font-size: 11px; font-weight: 700; color: #cbd5e1; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 2px; padding-bottom: 7px; border-bottom: 1px solid var(--primary); }
.footer-column ul { display: flex; flex-direction: column; gap: 5px; }
.footer-column ul li a { display: flex; align-items: center; gap: 6px; color: #94a3b8; font-size: 13px; padding: 1px 0; }
.footer-column ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-column ul li a i { font-size: 11px; color: var(--primary); width: 12px; }
.footer-bottom { padding: 14px 0 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; border-top: 1px solid #1e293b; }
.footer-copyright { font-size: 12px; color: #94a3b8; line-height: 1.5; }
.footer-credits { font-size: 12px; color: #94a3b8; }
.footer-credits strong { color: var(--teal); }

/* ── FULLSTORY / MOD PAGE ─────────────────────────────────── */
.fstory-h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text-dark); line-height: 1.2; margin-bottom: 12px; letter-spacing: .5px; }
.shortfaq{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:var(--text-light);margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--border-soft)}
.shortfaq span{display:flex;align-items:center;gap:5px}
.shortfaq i{color:var(--primary)}
.shortf-reason{display:inline-flex;align-items:center;gap:5px;position:absolute;top:12px;left:12px;background:#10b981e6;color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:8px;font-family:var(--font-head)}
.film-poster{position:relative;margin-bottom:18px;border-radius:var(--radius);overflow:hidden}
.film-poster img{width:100%;border-radius:var(--radius);display:block}
.film-poster .shortf-quality{position:absolute;top:12px;right:12px}
.bar-fullstory { background: var(--surface); border: 1px solid var(--border); padding: 8px 16px; margin: 18px 0; position: relative; z-index: 50; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.ul-infoicon { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ul-infoicon > li { display: flex; align-items: center; position: relative; }
.ul-infoicon > li > a, .ul-infoicon > li > span > a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; background: #fff7ed; border: 1px solid #ffedd5; border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-medium); white-space: nowrap; font-family: var(--font-head); letter-spacing: .3px; }
.ul-infoicon > li > a:hover, .ul-infoicon > li > span > a:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.ul-infoicon > li > span { display: contents; }
.ul-infoicon i { font-size: 14px; }
.ul-infoicon .dl-dropdown > a { background: var(--green); color: #fff; font-weight: 700; border: none; }
.ul-infoicon .dl-dropdown > a:hover { background: #16a34a; }
.ul-infoicon .dl-dropdown.open > .dl-dropdown-menu { display: block; }
.ul-infoicon .dl-dropdown-menu { bottom: calc(100% + 8px); top: auto; }
.ul-infoicon .dl-dropdown-menu { display: none; }
.ul-infoicon .dl-dropdown-menu li a:hover { background: var(--bg-hover); color: var(--primary); }
.ul-infoicon .dl-dropdown-menu li a i { color: var(--green); font-size: 15px; }
.rating-social-wrapper { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 14px 0; }
.ul-rating-story, .ul-rating { display: flex; gap: 6px; list-style: none; padding: 0; }
.frate { display: flex; gap: 6px; align-items: center; }
.rate-plus { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; cursor: pointer; user-select: none; background: #dcfce7; color: var(--green); border: 1px solid #bbf7d0; }
.rate-plus:hover { background: var(--green); color: #fff; }
.rate-minus { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; cursor: pointer; user-select: none; background: #fee2e2; color: var(--red); border: 1px solid #fecaca; }
.rate-minus:hover { background: var(--red); color: #fff; }
.rate-data { font-size: 13px; color: var(--text-light); }
.bar-tags { display: contents; padding: 12px 0; font-size: 13px; }
.bar-tags i { color: var(--primary); margin-right: 4px; }
.bar-tags a { display: inline-flex; padding: 2px 8px; background: #f1f5f9; border: 1px solid var(--border); border-radius: 4px; color: var(--text-medium); font-size: 11px; margin-bottom: 4px; }
.bar-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Mod badges */
.mod-info-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.mod-badge, .mod-badge__icon { display: flex; align-items: center; }
.mod-badge { gap: 9px; padding: 9px 14px; border-radius: var(--radius-sm); font-size: .84rem; flex: 1 1 auto; min-width: 140px; border: 1px solid; position: relative; overflow: hidden; background: #fff; }
.mod-badge::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.mod-badge__icon { width: 28px; height: 28px; justify-content: center; border-radius: 6px; font-size: 13px; flex-shrink: 0; }
.mod-badge__label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; opacity: .55; line-height: 1; margin-bottom: 2px; display: block; }
.mod-badge__value { font-weight: 700; font-family: var(--font-heading); font-size: .88rem; color: var(--text-dark); display: block; line-height: 1.2; }
.mod-badge > span.mod-badge__icon + * { display: flex; flex-direction: column; }
.mod-badge--cat { background: #dcfce7; border-color: #bbf7d0; }
.mod-badge--cat::before { background: #22c55e; }
.mod-badge--cat .mod-badge__icon { background: #fff; color: #22c55e; }
.mod-badge--ver { background: #ecfeff; border-color: #cffafe; }
.mod-badge--ver::before { background: var(--teal); }
.mod-badge--ver .mod-badge__icon { background: #fff; color: var(--teal); }
.mod-badge--credits { background: #fff7ed; border-color: #ffedd5; }
.mod-badge--credits::before { background: var(--primary); }
.mod-badge--credits .mod-badge__icon { background: #fff; color: var(--primary); }

/* Screenshots */
.screenshots-section { margin-top: 18px; }
.screenshots-section__title { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); margin-bottom: 12px; }
.screenshots-section__icon { color: var(--primary); font-size: .95rem; }
.screenshots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.scr-item:nth-child(n+7) { display: none; }
.screenshots-grid.expanded .scr-item:nth-child(n+7) { display: block; }
.scr-item { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.scr-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.scr-item img { width: 100%; height: 130px; object-fit: cover; display: block; }
.scr-toggle-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; padding: 7px 14px; font-size: 12px; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; color: var(--primary); border: 1px solid #ffedd5; border-radius: 4px; background: #fff; cursor: pointer; }
.scr-toggle-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.scr-toggle-btn:only-child, .screenshots-grid[data-count="0"] ~ .scr-toggle-btn, .screenshots-grid[data-count="1"] ~ .scr-toggle-btn, .screenshots-grid[data-count="2"] ~ .scr-toggle-btn, .screenshots-grid[data-count="3"] ~ .scr-toggle-btn, .screenshots-grid[data-count="4"] ~ .scr-toggle-btn, .screenshots-grid[data-count="5"] ~ .scr-toggle-btn, .screenshots-grid[data-count="6"] ~ .scr-toggle-btn { display: none; }
.screenshots-count-badge { align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 8px; background: #f6c498; border-radius: 999px; }
.screenshots-count-badge:empty { display: none; }

/* Content text */
.desc-text.full-text, .desc-text.full-text p, .desc-text.full-text li, .desc-text.full-text span { color: #2b2b2b; font-size: 13px; line-height: 1.7; }
.full-text { margin-bottom: 18px; }
.full-text img { border-radius: var(--radius-sm); max-width: 100%; box-shadow: var(--shadow-sm); }
.full-text a { color: var(--primary); font-weight: 600; }
.full-text a:hover { color: var(--primary-h); }
.full-text ul, .desc-text.full-text ul { list-style: none; padding: 0; margin: 10px 0; }
.full-text ul li, .desc-text.full-text ul li { position: relative; padding: 6px 12px 6px 30px; margin-bottom: 5px; background: #fff7ed; border: 1px solid #ffedd5; border-radius: 6px; color: var(--text-medium); font-size: 13px; line-height: 1.6; }
.full-text ul li::before, .desc-text.full-text ul li::before { content: ""; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
.full-text ol, .desc-text.full-text ol { list-style: none; padding: 0; margin: 10px 0; counter-reset: ol-counter; }
.full-text ol li, .desc-text.full-text ol li { position: relative; padding: 6px 12px 6px 40px; margin-bottom: 5px; background: #fff7ed; border: 1px solid #ffedd5; border-radius: 6px; color: var(--text-medium); font-size: 13px; line-height: 1.6; counter-increment: ol-counter; }
.full-text ol li::before, .desc-text.full-text ol li::before { content: counter(ol-counter); position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: var(--primary); color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; font-family: var(--font-head); line-height: 1; }
.full-text iframe, .full-text embed, .full-text object, .desc-text iframe, .news-text iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16/9; height: auto; border: 2px solid var(--border); border-radius: var(--radius-sm); background: #000; }
.comm-text iframe, .comm-body iframe { height: auto !important; width: 100% !important; max-width: 100% !important; aspect-ratio: 16/9 !important; display: block; border: 0; border-radius: 8px; margin: 10px 0; }

/* Video */
.video-wrap { margin-bottom: 18px; }
.video-label { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.video-label i { color: #f4311e; }
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-md); }
.video-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ── DOWNLOAD CARD ────────────────────────────────────────── */
.dl-mod-wrap { margin: 18px 0; }
.dl-mod-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.dl-mod-card__head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: linear-gradient(135deg, #fff7ed, #ffffff); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.dl-mod-card__icon-wrap { width: 42px; height: 42px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; box-shadow: 0 4px 12px #e8590c44; }
.dl-mod-card__label { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .8px; font-weight: 600; margin-bottom: 3px; }
.dl-mod-card__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--text-dark); line-height: 1.25; letter-spacing: .3px; }
.dl-mod-card__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.dl-mod-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; font-family: var(--font-head); letter-spacing: .3px; }
.dl-mod-badge--views { background: #eff6ff; color: #1a56db; border: 1px solid #bfdbfe; }
.dl-mod-badge--verified { background: #dcfce7; color: var(--green); border: 1px solid #bbf7d0; }
.dl-mod-badge--admin { background: #fff7ed; color: var(--primary); border: 1px solid #ffedd5; }
.dl-mod-warning { display: flex; align-items: flex-start; gap: 12px; padding: 12px 18px; background: #fefce8; border-bottom: 1px solid #fef08a; }
.dl-mod-warning__icon { color: var(--accent); font-size: 17px; flex-shrink: 0; margin-top: 1px; }
.dl-mod-warning__title { font-size: 13px; font-weight: 700; color: var(--text-dark); display: block; margin-bottom: 2px; }
.dl-mod-warning__text { font-size: 12px; color: var(--text-light); line-height: 1.5; }
.dl-mod-links-header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: linear-gradient(135deg, #fff7ed, transparent); border-bottom: 1px solid #ffedd5; flex-wrap: wrap; }
.dl-mod-links-header__icon { width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.dl-mod-links-header__title { flex: 1; font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--text-dark); letter-spacing: .3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dl-mod-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; background: #fff; color: var(--text-dark); border: 1px solid var(--primary); border-radius: 20px; font-family: var(--font-head); font-size: .82rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; cursor: pointer; box-shadow: var(--shadow-sm); flex-shrink: 0; white-space: nowrap; }
.dl-mod-toggle:hover { background: var(--primary); color: #fff; }
.dl-toggle-icon { font-size: .72rem; }
.dl-mod-body { padding: 16px 18px 12px; border-bottom: 1px solid var(--border); }
.dl-mod-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.dl-mod-btn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #fff; border: 1.5px solid; border-radius: 8px; text-decoration: none; font-size: .83rem; font-weight: 700; position: relative; overflow: hidden; width: 100%; box-shadow: var(--shadow-sm); }
.dl-mod-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dl-mod-btn__num { width: 22px; height: 22px; min-width: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: .72rem; font-weight: 900; border: 1.5px solid currentColor; flex-shrink: 0; opacity: .75; }
.dl-mod-btn__icon { font-size: 1rem; flex-shrink: 0; }
.dl-mod-btn__text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.dl-mod-btn__label { font-family: var(--font-head); font-size: .88rem; font-weight: 700; line-height: 1; color: var(--text-dark); }
.dl-mod-btn__sub { font-size: .7rem; opacity: .6; line-height: 1; display: block; }
.dl-mod-btn__ext { font-size: .7rem; opacity: .35; margin-left: auto; flex-shrink: 0; }
.dl-mod-btn--1 { color: var(--primary); border-color: #ffedd5; box-shadow: 0 2px 10px #e8590c10; }
.dl-mod-btn--1:hover { border-color: var(--primary); }
.dl-mod-btn--2 { color: #1a56db; border-color: #bfdbfe; box-shadow: 0 2px 10px #1a56db10; }
.dl-mod-btn--2:hover { border-color: #1a56db; }
.dl-mod-btn--3 { color: #7c3aed; border-color: #ddd6fe; box-shadow: 0 2px 10px #7c3aed10; }
.dl-mod-btn--3:hover { border-color: #7c3aed; }
.dl-mod-safety { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0 0; }
.dl-mod-safety__item { display: flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--text-light); }
.dl-mod-safety__item .fa { color: var(--green); font-size: .85rem; }
.dl-mod-flanked { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dl-mod-flank-text { font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--text-light); text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.dl-mod-flank-line { flex: 1; height: 1px; background: linear-gradient(90deg, #ffedd5, transparent); }
.dl-mod-flank-line--r { background: linear-gradient(270deg, #ffedd5, transparent); }
.dl-mod-author { padding: 14px 18px 10px; background: linear-gradient(135deg, #fff7ed, transparent); border-bottom: 1px solid var(--border); text-align: center; }
.dl-mod-author__heading { font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--primary); text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.dl-mod-author__heading::before, .dl-mod-author__heading::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #ffedd5); }
.dl-mod-author__heading::after { background: linear-gradient(270deg, transparent, #ffedd5); }
.dl-mod-author__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 10px; }
.dl-mod-author__link { display: inline-flex; align-items: center; gap: 7px; border-radius: 6px; padding: 8px 14px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .3px; text-decoration: none; border: 1px solid transparent; background: #fff; box-shadow: var(--shadow-sm); }
.dl-mod-author__link:hover { opacity: .85; transform: translateY(-1px); }
.dl-mod-author__link i { font-size: 13px; }
.dl-mod-author__link--paypal { border-color: #bfdbfe; color: #1a56db; }
.dl-mod-author__link--site { border-color: #bbf7d0; color: #16a34a; }
.dl-mod-author__link--fb { border-color: #bfdbfe; color: #1a56db; }
.dl-mod-author__link--steam { border-color: var(--border); color: var(--text-medium); }
.dl-mod-author__link--scs { border-color: #ffedd5; color: var(--primary); }
.dl-mod-author__link--web { border-color: #bbf7d0; color: #16a34a; }
.dl-mod-author__sub { font-size: .73rem; color: var(--text-light); margin: 0 0 6px; line-height: 1.4; }
.dl-mod-attachment { margin: 0 18px 12px; padding: 10px 14px; background: #fff7ed; border: 1px solid #ffedd5; border-radius: 8px; font-size: .82rem; }
.dl-mod-disclaimer { font-size: .76rem; color: var(--text-light); padding: 9px 18px 12px; margin: 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 5px; flex-wrap: wrap; text-align: center; line-height: 1.5; }
.dl-mod-disclaimer a { color: var(--primary); font-weight: 600; }
.dl-mod-disclaimer a:hover { color: var(--primary-h); }

/* ── RELATED MODS ─────────────────────────────────────────── */
.related-mods-section { margin: 20px 0; background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.related-mods-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.related-mods-icon { width: 32px; height: 32px; background: var(--primary); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .95rem; flex-shrink: 0; }
.related-mods-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; }
.related-mods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.related-card { border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--border); height: 100%; box-shadow: var(--shadow-sm); }
.related-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.related-card__link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.related-card__img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); flex-shrink: 0; }
.related-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-card__overlay { display: none; }
.related-card__body { padding: 12px; display: flex; flex-direction: column; gap: 5px; flex-grow: 1; }
.related-card__title { font-family: var(--font-heading); font-size: .92rem; font-weight: 700; color: var(--text-dark); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card:hover .related-card__title { color: var(--primary); }
.related-card__excerpt { font-size: .78rem; color: var(--text-light); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card__meta { margin-top: auto; padding-top: 8px; font-size: .72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; }
.sidebox-c { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.related-item { display: block; }
.related-link { display: flex; gap: 12px; align-items: flex-start; padding: 9px; background: #fff; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); }
.related-link:hover { background: #fff7ed; border-color: var(--primary); }
.related-img-wrap { width: 76px; height: 56px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--bg-2); display: block; }
.related-img-wrap--fallback { background: var(--bg-2); }
.related-img { width: 100%; height: 100%; object-fit: cover; display: block !important; }
.right-related { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.rtitle { font-size: .85rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rexcerpt { font-size: .78rem; color: var(--text-light); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── PAGINATION ───────────────────────────────────────────── */
.navigation { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; margin: 14px 0 4px; }
.navigation a, .navigation span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; border: 1px solid var(--border); color: var(--text-medium); background: #fff; }
.navigation a:hover, .navigation .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 0 8px; flex-wrap: wrap; }
.pager__prev, .pager__next { display: flex; }
.pager__prev a, .pager__next a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; background: var(--primary); color: #fff !important; border-radius: 6px; font-size: .8rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .4px; text-transform: uppercase; }
.pager__prev a:hover, .pager__next a:hover { background: var(--primary-h); color: #fff !important; }
.pager__numbers { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pager__numbers a, .pager__numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 6px; font-size: .85rem; font-weight: 600; border: 1px solid var(--border); color: var(--text-light); background: #fff; }
.pager__numbers a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager__numbers span.current, .pager__numbers .current-page, .pager__numbers span:not(a) { background: var(--primary); color: #fff; border-color: transparent; }
.pager__numbers .pages-sep { background: none; border: none; color: var(--text-light); font-size: 16px; min-width: 20px; padding: 0; }

/* ── SEO / TEXT BLOCKS ────────────────────────────────────── */
.home-text { background: #fff; border: 1px solid var(--border); border-top: 2px solid var(--primary); border-radius: var(--radius); padding: 20px; margin-bottom: var(--gap); box-shadow: var(--shadow-sm); }
.home-text::before { display: none; }
.home-text .h-color { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--text-dark); letter-spacing: .5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.h-color { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin: 0 0 10px; }
.home-text-content p { font-size: 13px; line-height: 1.7; color: var(--text-medium); margin-bottom: 8px; }
.home-text-content p:last-child { margin-bottom: 0; }
.home-text-content strong { color: var(--primary); font-weight: 700; }
.cat-seo-box { margin-bottom: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cat-seo-content { display: grid; grid-template-columns: 1fr; gap: 0; }
.cat-seo-title { padding: 14px 18px 12px; margin: 0; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text-dark); letter-spacing: .5px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.cat-seo-title p { margin: 0; display: contents; }
.cat-seo-title b { font-weight: 800; }
.cat-seo-text { padding: 12px 18px; font-size: .85rem; line-height: 1.7; color: var(--text-medium); max-height: 100px; overflow: hidden; position: relative; }
.cat-seo-text.expanded { max-height: 1000px; }
.cat-seo-text::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(to top, #fff, transparent); pointer-events: none; }
.cat-seo-text.expanded::after { opacity: 0; }
.cat-seo-text img { float: right; max-width: 260px; border-radius: 8px; margin: 0 0 12px 16px; box-shadow: var(--shadow-sm); }
.cat-seo-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 18px; font-size: .75rem; font-weight: 700; color: var(--primary); cursor: pointer; letter-spacing: .3px; text-transform: uppercase; font-family: var(--font-heading); border-top: 1px solid var(--border); background: #fff7ed; }
.cat-seo-toggle:hover { background: #ffedd5; }
.cat-seo-toggle i { transition: transform .3s; }
.cat-seo-toggle.open i { transform: rotate(180deg); }

/* Tag clouds */
.clouds_large, .clouds_medium, .clouds_small, .clouds_xlarge, .clouds_xsmall { display: inline-flex; align-items: center; background: #fff7ed; border: 1px solid #ffedd5; color: var(--text-medium); border-radius: 4px; padding: 3px 10px; margin: 0 3px 5px 0; font-weight: 600; }
.clouds_large, .clouds_medium, .clouds_xlarge { font-weight: 700; }
.clouds_large:hover, .clouds_medium:hover, .clouds_small:hover, .clouds_xlarge:hover, .clouds_xsmall:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Guide cards */
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.guide-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.guide-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.guide-card .card-number { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--primary); color: #fff; border-radius: 4px; font-size: .9rem; font-family: var(--font-heading); font-weight: 700; flex-shrink: 0; }
.guide-card .card-icon { font-size: 1.4rem; flex-shrink: 0; }
.guide-card h3 { font-size: .9rem; font-weight: 700; font-family: var(--font-heading); color: var(--text-dark); margin: 0 0 4px; text-transform: uppercase; }
.guide-card p { font-size: .8rem; color: var(--text-light); margin: 0; line-height: 1.5; }

/* Error notices */
.berrors { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; background: #fef2f2; border: 1px solid #fecaca; border-left: 4px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 12px 0; font-size: 13px; color: #991b1b; line-height: 1.55; }
.berrors i { color: var(--red); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.berrors a { color: var(--red); font-weight: 600; }
.berrors b { font-weight: 700; }
.berrors.gaming-notice { background: #fff7ed; border: 1px solid #ffedd5; border-left: 4px solid var(--primary); color: var(--text-medium); }
.berrors-icon { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--primary); border-radius: 6px; color: #fff; font-size: 16px; }
.berrors-body { flex: 1; min-width: 0; }
.berrors-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--text-dark); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .5px; }
.berrors-text { font-size: 13px; color: var(--text-medium); line-height: 1.55; }
.berrors-text a { color: var(--primary); font-weight: 600; }
.berrors-text a:hover { color: var(--primary-h); }
.blockquote { background: #fff7ed; border-left: 3px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; color: var(--text-medium); line-height: 1.65; }
.blockquote a { color: var(--primary); font-weight: 600; }

/* ── TOP MODS ─────────────────────────────────────────────── */
.top-liders-bg { background: linear-gradient(135deg, #fff, #fff7ed); padding: 16px 20px; border-radius: var(--radius) var(--radius) 0 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; border: 1px solid var(--border); border-bottom: 0; }
.tl-title { color: var(--text-dark); font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.tl-title i { color: var(--accent); font-size: 1.1rem; }
.tl-subtitle { color: var(--text-light); font-size: .78rem; font-weight: 600; font-family: var(--font-heading); letter-spacing: .4px; text-transform: uppercase; }
.top-liders--ranked { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; padding: 14px 0; list-style: none; margin: 0; counter-reset: top-rank; }
.tops-item { display: block; counter-increment: top-rank; }
.tops-link { display: block; text-decoration: none; color: inherit; }
.tops-img { position: relative; overflow: hidden; border-radius: 8px; background: var(--bg-2); border: 2px solid transparent; }
.tops-item:hover .tops-img { border-color: var(--primary); box-shadow: 0 6px 18px #e8590c44; }
.tops-img img { width: 100%; display: block; }
.tops-rank { position: absolute; top: 6px; left: 6px; min-width: 24px; height: 24px; padding: 0 6px; background: var(--primary); color: #fff; font-weight: 800; font-size: 12px; font-family: var(--font-heading); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.tops-rank::before { content: counter(top-rank); }
.tops-item:nth-child(1) .tops-rank { background: var(--accent); color: #fff; font-size: 14px; }
.tops-item:nth-child(2) .tops-rank { background: #94a3b8; color: #fff; }
.tops-item:nth-child(3) .tops-rank { background: #b87333; color: #fff; }
.tops-stats { position: absolute; bottom: 0; left: 0; right: 0; padding: 5px 6px; opacity: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); font-size: 11px; display: flex; gap: 8px; color: #fff; align-items: center; }
.tops-item:hover .tops-stats { opacity: 1; }
.tops-title { display: block; margin-top: 6px; font-size: .76rem; font-weight: 600; color: var(--text-medium); line-height: 1.3; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tops-item:hover .tops-title { color: var(--primary); }

/* ── SHORT STORY LIST VIEW ────────────────────────────────── */
.shortstory { display: flex; gap: 12px; padding: 12px; margin-bottom: 8px; background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.shortstory:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.short-left { flex-shrink: 0; }
.short-img { width: 190px; height: 120px; border-radius: 6px; overflow: hidden; position: relative; background: var(--bg-2); }
.short-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.short-iconcat { position: absolute; top: 6px; left: 6px; background: var(--primary); color: #fff; font-size: 11px; padding: 3px 6px; border-radius: 4px; font-family: var(--font-head); font-weight: 700; }
.short-img-meta { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 11px; padding: 4px 6px; background: rgba(0,0,0,0.6); color: #fff; }
.short-img-meta span { display: flex; align-items: center; gap: 4px; }
.short-right { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.short-right h2 { font-size: 15px; line-height: 1.3; margin: 0 0 5px; font-family: var(--font-head); }
.short-right h2 a { color: var(--text-dark); font-weight: 700; }
.short-right h2 a:hover { color: var(--primary); }
.short-text { font-size: 13px; color: var(--text-medium); line-height: 1.5; margin-bottom: 5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.short-bottom { font-size: 11px; color: var(--text-light); display: flex; gap: 10px; flex-wrap: wrap; }
.short-bottom small { display: flex; align-items: center; gap: 4px; }

/* ── USER / PROFILE ───────────────────────────────────────── */
.user-profile-header { position: relative; margin-bottom: 18px; }
.user-profile-banner { height: 110px; background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 50%, #fff7ed 100%); border-radius: var(--radius) var(--radius) 0 0; }
.user-profile-info { display: flex; align-items: flex-end; gap: 16px; padding: 0 18px 14px; background: var(--surface-solid); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); flex-wrap: wrap; margin-top: -50px; position: relative; box-shadow: var(--shadow-sm); }
.user-avatar-large { position: relative; flex-shrink: 0; }
.user-avatar-large img { width: 84px; height: 84px; border-radius: 8px; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-md); }
.user-status-badge { position: absolute; bottom: 4px; right: 4px; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.user-status-badge.online { background: var(--green); color: #fff; }
.user-status-badge.offline { background: #94a3b8; color: #fff; }
.user-details { flex: 1; min-width: 0; padding-top: 52px; }
.user-name { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text-dark); letter-spacing: 1px; margin-bottom: 3px; text-transform: uppercase; }
.user-group { font-size: 13px; color: var(--text-light); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.user-time-limit { font-size: 11px; color: var(--primary); font-weight: 600; }
.user-rating-display { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--accent); font-weight: 600; margin-top: 4px; }
.user-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 52px; margin-left: auto; }
.user-action-btn a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; border: 1px solid var(--border); background: #fff; color: var(--text-medium); font-family: var(--font-head); box-shadow: var(--shadow-sm); }
.user-action-btn a:hover { border-color: var(--primary); color: var(--primary); background: #fff7ed; }
.profile-section { background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.profile-section-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); text-transform: uppercase; letter-spacing: .5px; }
.profile-section-title i { color: var(--primary); }
.profile-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.profile-info-item { padding: 9px 12px; background: #fff7ed; border: 1px solid #ffedd5; border-radius: var(--radius-sm); }
.info-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .7px; font-weight: 600; display: block; margin-bottom: 3px; }
.info-value { font-size: 14px; color: var(--text-dark); font-weight: 600; display: block; font-family: var(--font-head); }
.profile-stats-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.stat-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); flex: 1; min-width: 150px; box-shadow: var(--shadow-sm); }
.stat-icon { width: 40px; height: 40px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; flex-shrink: 0; }
.stat-value { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text-dark); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.stat-link { margin-top: 4px; }
.stat-link a { font-size: 12px; color: var(--primary); font-weight: 600; }
.profile-about { font-size: 14px; line-height: 1.65; color: var(--text-medium); }
.profile-social-links { display: flex; flex-direction: column; gap: 7px; list-style: none; padding: 0; }
.profile-social-links li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-medium); padding: 8px 0; border-bottom: 1px solid var(--border); }
.profile-social-links li:last-child { border-bottom: none; }
.profile-social-links .grey { color: var(--text-light); }

/* Support / author */
.support-author-box { background: #fff7ed; border: 1px solid #ffedd5; border-radius: var(--radius); padding: 18px; }
.support-author-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.support-author-icon { font-size: 30px; }
.support-author-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; letter-spacing: .5px; }
.support-author-sub { font-size: 13px; color: var(--text-light); }
.official-dl-btn { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--green); color: #fff !important; border-radius: var(--radius); font-weight: 700; margin-bottom: 14px; box-shadow: 0 4px 14px #22c55e44; }
.official-dl-btn:hover { background: #16a34a; color: #fff !important; }
.official-dl-btn__icon { font-size: 18px; }
.official-dl-btn__label { font-size: 15px; display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: .5px; }
.official-dl-btn__sub { font-size: 11px; opacity: .85; font-weight: 400; display: block; }
.official-dl-btn__arrow { margin-left: auto; opacity: .7; }
.support-reasons { margin-bottom: 14px; }
.support-reasons li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 13px; color: var(--text-medium); border-bottom: 1px solid #ffedd5; }
.support-reasons li:last-child { border-bottom: none; }
.support-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.support-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.support-social-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: #fff !important; }
.support-social-btn:hover { opacity: .85; color: #fff !important; }
.support-social-btn--paypal { background: #003087; }
.support-social-btn--fb { background: #1877f2; }
.support-social-btn--steam { background: #1b2838; }
.support-social-btn--web { background: var(--primary); }
.support-social-btn--scs { background: #c2410c; }

/* ── FORMS / MISC ─────────────────────────────────────────── */
.igroup select, .igroup-input[name="recipient"], select.igroup-input { flex: 1; border: 0; background: #fff; padding: 9px 12px; font-size: 13px; color: var(--text-dark); outline: none; font-family: var(--font-body); cursor: pointer; -webkit-appearance: none; appearance: none; }
.igroup textarea, textarea.igroup-input { resize: vertical; min-height: 110px; line-height: 1.6; padding-top: 10px; align-self: stretch; background: #fff; }
textarea.igroup-input { resize: vertical; min-height: 80px; line-height: 1.5; }
.igroup.igroup-38 { align-items: center; min-height: 50px; }
.igroup.igroup-38 .igroup-regcode { max-width: 140px; min-height: 44px; display: flex; align-items: center; justify-content: center; background: #fff; border-right: 1px solid var(--border); padding: 6px 10px; }
.igroup.igroup-38 .igroup-regcode img { display: block; height: 40px; width: auto; }
.igroup.igroup-20 { align-items: flex-start; }
.igroup.igroup-20 .igroup-span { min-height: 44px; }
#page-input .block-input { flex-direction: column; gap: 0; }
.fieldsubmit.igroup { border: none; background: none; padding: 4px 0 0; margin-bottom: 0; box-shadow: none; }
.fieldsubmit.igroup:focus-within { box-shadow: none; border-color: transparent; }
.attachment { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff7ed; border: 1px solid #ffedd5; border-radius: var(--radius); margin-bottom: 10px; }
.attachment--locked { opacity: .6; }
.attachment-icon { flex-shrink: 0; }
.attachment-emoji { font-size: 22px; }
.attachment-content { flex: 1; min-width: 0; }
.attachment-header { margin-bottom: 4px; }
.attachment-download { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--primary); }
.attachment-download:hover { color: var(--primary-h); }
.attachment-name { font-weight: 700; }
.attachment-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--text-light); }
.attachment-info-item { display: flex; align-items: center; gap: 3px; }
.attachment-badge-inline { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; background: #dcfce7; color: var(--green); border-radius: 4px; font-size: 10px; font-weight: 700; }
.attachment-badge--safe { background: #eff6ff; color: #1a56db; }
.attachment-action { flex-shrink: 0; }
.attachment-btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--radius-sm); font-size: 15px; }
.attachment-btn--primary { background: var(--primary); color: #fff; box-shadow: 0 3px 10px #e8590c44; }
.attachment-btn--primary:hover { background: var(--primary-h); color: #fff; }
.igroup-attachments { flex-wrap: wrap; min-height: 46px; align-items: flex-start; padding: 8px 0; }
.attachment-wrapper { display: flex; flex-direction: column; gap: 4px; padding: 4px 0; flex: 1; }
.attachment-input { padding: 4px 0 !important; font-size: 12px; }
.attachment-hint { font-size: 11px; color: var(--text-light); padding: 0 14px; }
.pm_status { background: #fff7ed; border: 1px solid #ffedd5; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px; }
.pm_status_head { font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--text-medium); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 6px; }
.pm_status_content { font-size: 13px; color: var(--text-medium); line-height: 1.5; }
.user-ullink { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin-bottom: 14px; }
.user-ullink li a, .user-ullink li span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius-sm); background: #fff7ed; border: 1px solid #ffedd5; color: var(--primary); font-size: 13px; font-weight: 600; font-family: var(--font-head); }
.user-ullink li a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.feedback-intro { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: #fff7ed; border: 1px solid #ffedd5; border-radius: var(--radius-sm); margin-bottom: 18px; }
.feedback-intro__icon { width: 40px; height: 40px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; flex-shrink: 0; }
.feedback-intro__title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .4px; }
.feedback-intro__text { font-size: 13px; color: var(--text-medium); line-height: 1.6; }
.feedback-rules { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; background: #fefce8; border: 1px solid #fef08a; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 16px; }
.feedback-rules__title { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; display: flex; align-items: center; gap: 6px; }
.feedback-rules__title i { color: var(--accent); }
.feedback-rules ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.feedback-rules li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text-medium); line-height: 1.45; }
.feedback-rules li::before { content: "›"; color: var(--accent); font-weight: 700; font-size: 14px; flex-shrink: 0; line-height: 1.2; }
.comment-block { display: flex; gap: 12px; padding: 14px; background: #fff7ed; border: 1px solid #ffedd5; border-radius: var(--radius); margin-bottom: 12px; }
.lcol { flex-shrink: 0; }
.commentavtar { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.commtext { flex: 1; min-width: 0; }
.commtext h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 7px; }
.commtext ul.reset { list-style: none; padding: 0; }
.commtext ul.reset li { font-size: 13px; color: var(--text-medium); padding: 4px 0; }
.rcol { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.btn-gold { background: var(--accent); color: #fff !important; font-family: var(--font-head); font-weight: 700; }
.btn-gold:hover { background: #d97706; }
.btn-black { background: #f1f5f9; color: var(--text-dark) !important; border: 1px solid var(--border); }
.btn-black:hover { background: #e2e8f0; }
.btn-default { background: #fff; color: var(--text-medium); border: 1px solid var(--border); }
.btn-default:hover { border-color: var(--primary); color: var(--primary); background: #fff7ed; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-medium); margin: 8px 0; }
.editorcomm { margin: 10px 0; }
.pmlist { margin-top: 10px; }
.block-input { display: flex; flex-wrap: wrap; gap: 14px; }
.infobox { flex: 1; min-width: 220px; background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.infobox-content { padding: 14px 16px; }
.infobox-table { padding: 0; }
.infoblock { padding: 14px 16px; }
.ul-stat { display: flex; flex-direction: column; gap: 7px; list-style: none; padding: 0; }
.box-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-medium); padding: 6px 0; border-bottom: 1px solid var(--border); }
.box-list li:last-child { border-bottom: none; }
.box-list li b { color: var(--primary); font-weight: 700; }
.box-list li a { color: var(--primary); font-weight: 600; }
.box-list p { font-size: 13px; color: var(--text-medium); margin-bottom: 5px; line-height: 1.5; }
.box-list p b { color: var(--primary); }
.userstop { border-collapse: collapse; width: 100%; font-size: 13px; }
.userstop td, .userstop th { padding: 8px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.userstop thead tr { background: linear-gradient(135deg, #fff7ed, transparent); border-bottom: 2px solid var(--primary); }
.userstop th { font-family: var(--font-head); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-light); letter-spacing: .8px; }
.userstop tr:last-child td { border-bottom: none; }
.userstop tbody tr:hover td { background: #fff7ed; }
.userstop td:first-child { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--primary); width: 36px; text-align: center; }
.userstop td a { color: var(--text-dark); font-weight: 600; }
.userstop td a:hover { color: var(--primary); }
.userstop tbody tr:nth-child(1) td:first-child { color: var(--accent); }
.userstop tbody tr:nth-child(2) td:first-child { color: #94a3b8; }
.userstop tbody tr:nth-child(3) td:first-child { color: #b87333; }
.infobox.infobox--topusers { flex-basis: 100%; min-width: 100%; }

/* Misc utilities */
.float-meta { padding: 4px 12px 10px; }
.float-rate { font-size: 12px; color: var(--text-light); }
.margin-b20 { margin-bottom: 18px; }
.ignore-select { user-select: none; }
.small { font-size: 12px; }
.grey { color: var(--text-light); }
.center { text-align: center; }
.clr, .clearfix::after { clear: both; }
.font-red { color: var(--red) !important; }
.padding-25 { padding: 4px 0; }
.padding-25 ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#result-registration { font-size: 13px; color: var(--green); margin: 4px 0 8px; }
.btn-info { background: var(--teal); color: #fff; font-size: 12px; padding: 0 12px; border-radius: 0; height: 100%; border: 0; cursor: pointer; }
.btn-info:hover { background: #0e7490; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }
.col-sm-6 { flex: 1; min-width: 200px; }
.col-xs-12 { width: 100%; }
.page-block { margin-bottom: 14px; }
.pheading { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.column1 { font-size: 13px; font-weight: 600; color: var(--text-medium); margin-bottom: 5px; display: block; }
.impot { color: var(--red); margin-left: 2px; }
.spacer { height: 12px; }
.spacer5 { height: 5px; }
.clr { clear: both; }
.class4 { clear: both; }
.radius-3, .radius-l3 { border-radius: var(--radius-sm); }
.radis-b3 { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }

/* Info social row */
.info1,.info1 a { display: flex; justify-content: center }
.info1 { flex-wrap: wrap; gap: 12px }
.info1 a { align-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #CFD8E5; background: #EAEDF2; transition: all var(--t) }
.info1 a:hover { box-shadow: var(--shadow-sm) }

/* Tabs */
.tabs { display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; align-items: flex-start; gap: 0; }
.tabs input[type="radio"] { display: none; }
.tabs label { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; cursor: pointer; font-family: var(--font-heading); font-size: .84rem; font-weight: 700; letter-spacing: .4px; color: var(--text-medium); border: none; border-bottom: 2px solid transparent; background: transparent; margin-right: 2px; position: relative; z-index: 2; order: 1; flex: 0 0 auto; width: auto; text-transform: uppercase; }
.tabs label:hover { color: var(--primary); border-bottom-color: #ffedd5; }
.tabs input[type="radio"]:checked + label { color: var(--primary); border-bottom-color: var(--primary); }
.tabs::before { content: ''; display: block; height: 2px; background: var(--border); order: 2; width: 100%; margin-bottom: 4px; }
.tabs .tab { display: none; order: 99; width: 100%; padding: 16px 4px 8px; background: transparent; border: none; font-size: 14px; }
#tabone:checked ~ #tab1, #tabtwo:checked ~ #tab2, #tabthree:checked ~ #tab3, #tabfour:checked ~ #tab4, #tabfive:checked ~ #tab5 { display: block; }

/* Tooltip */
#ets2-tooltip { position: fixed; z-index: 9000; background: #1e293bee; color: #fff; font-size: 11px; font-family: var(--font-body); font-weight: 500; line-height: 1.4; padding: 5px 10px; border-radius: 4px; max-width: 240px; white-space: normal; word-break: break-word; pointer-events: none; opacity: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
#ets2-tooltip.visible { opacity: 1; }
.shortf-link a[title]::after, .shortf-link a[title]::before, .shortf-img a[title]::after, .shortf-img a[title]::before, .related-card__title[title]::after, .related-card__title[title]::before, .str-title-compact[title]::after, .str-title-compact[title]::before, [data-tip]::after, [data-tip]::before { display: none !important; content: none !important; }

/* Video trailer grid */
#content:has(.shortf--trailer) { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.shortf--trailer { display: flex; flex-direction: column; height: 100%; }
.shortf--trailer .shortf-img { aspect-ratio: 16/9; border-radius: var(--radius) var(--radius) 0 0; }
.shortf--trailer .shortf-img img { display: block !important; width: 100%; height: 100%; object-fit: cover; }
i.fa.shortf-play { display: none; }

/* QQ upload */
.qq-upload-button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 700; font-size: .84rem; font-family: var(--font-heading); border: 0; cursor: pointer; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
.mods-grid,.mods-grid-3col,.videos-grid,.videos-grid-3col{grid-template-columns:repeat(2,1fr)}
.footer-top{grid-template-columns:1fr 1fr}
.guide-cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 860px) {
.pg-2col{flex-direction:column}
.pg-side{width:100%;position:static}
.pg-main{width:100%}
.comment-rules-notice__list{grid-template-columns:1fr}
}
@media (max-width: 768px) {
.header-top-strip{display:none}
.header-main .header-inner{flex-wrap:wrap;gap:10px}
.header-logo-section{flex-direction:column;align-items:center;gap:6px;width:100%;text-align:center}
.logo-title{font-size:22px}
.logo-subtitle{font-size:10px}
.searchbar-input{width:100%}
.header-search-mobile form{width:100%}
.header-right-section{flex-direction:column;width:100%;align-items:center}
.header-upload-btn{width:100%;justify-content:center}
.nav-login-profile{justify-content:center;font-size:12px;padding:5px 12px}
.nav-login-foto,.emoji-avatar{width:26px;height:26px;font-size:13px}
.login-blue img,.user-avatar-large img{width:38px;height:38px}
.navbar-header{display:block}
.navbar-collapse{display:none}
.navbar-collapse.in{display:block}
.navbar-nav{flex-direction:column;width:100%;padding:8px 0;gap:2px}
.navbar-nav > li > a{width:100%;justify-content:flex-start;border-bottom:1px solid #334155;border-left:2px solid transparent}
.navbar-nav > li > a:hover{border-left-color:var(--primary);border-bottom-color:#334155}
.navbar-nav .dropdown-menu{position:static;box-shadow:none;border:none;background:#1e293b;border-radius:0}
.mods-grid,.mods-grid-3col,.videos-grid,.videos-grid-3col{grid-template-columns:repeat(2,1fr);gap:8px}
.footer-top{grid-template-columns:1fr}
#pg-wrap{padding:0 12px;margin:12px auto}
.block-white{padding:14px}
.gcf-row{grid-template-columns:1fr}
#content:has(.shortf--trailer){grid-template-columns:1fr}
.dl-mod-card__badges{flex-wrap:wrap}
.dl-mod-toggle{width:100%;justify-content:center}
.dl-mod-links-header{flex-direction:column;align-items:flex-start;gap:8px}
.dl-mod-links-header__title{white-space:normal}
.dl-mod-btn__sub{display:none}
.home-text{padding:16px}
.ul-infoicon{gap:8px}
.ul-infoicon > li > a,.ul-infoicon > li > span > a{padding:10px 14px;font-size:13px}
}
@media (max-width: 600px) {
.fstory-h2{font-size:18px}
.shortstory{flex-direction:column;gap:0;padding:0;overflow:hidden;margin-bottom:10px}
.short-left{width:100%}
.short-img{width:100%;height:150px;border-radius:var(--radius) var(--radius) 0 0}
.short-right{padding:10px 12px 12px;gap:5px}
.short-right h2{font-size:14px;margin:0 0 4px}
.short-text{font-size:12px;-webkit-line-clamp:2}
.short-bottom{font-size:11px;gap:7px;margin-top:4px}
.comment-rules-notice__list{grid-template-columns:1fr;padding:8px 10px}
.screenshots-grid{grid-template-columns:repeat(2,1fr)}
.guide-cards{grid-template-columns:1fr}
}
@media (max-width: 480px) {
.logo-title{font-size:18px}
.h-red h2,.h-red h3{font-size:15px}
.mods-grid,.mods-grid-3col,.videos-grid,.videos-grid-3col{grid-template-columns:repeat(2,1fr);gap:6px}
.shortf-link{font-size:12px;white-space:normal;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.shortf-body{padding:7px 9px;gap:4px}
.shortf-author,.shortf-meta,.shortf-meta-row{font-size:10px;gap:4px}
.dl-mod-card{border-radius:10px}
.dl-mod-card__icon-wrap{display:none}
.dl-mod-card__title{font-size:.92rem;white-space:normal}
.ul-infoicon{flex-direction:column;width:100%}
.ul-infoicon > li{width:100%}
.ul-infoicon > li > a,.ul-infoicon > li > span > a{width:100%;justify-content:center}
}
@media print {
#header-bar,#footer-bar,.pg-side,#scroller{display:none!important}
body{background:#fff;color:#000}
.block-white{box-shadow:none;border:1px solid #ccc}
}

/* USER PANEL — Extended styles (login.tpl) */

/* Pill button chevron */
.nav-login-chevron{font-size:9px;opacity:.45;margin-left:2px;display:inline-flex;align-items:center}
.nav-login-profile--guest .nav-login-foto{background:linear-gradient(135deg,#2a3347,#1c2838)}
.nav-login-profile--guest .nav-login-foto i{color:#6e84a3}
.login-status-dot{width:9px;height:9px;border-radius:50%;background:var(--green);margin-left:auto;flex-shrink:0;box-shadow:0 0 6px #22c55e88}
.login-user-info{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.login-user-info b{font-family:var(--font-head);font-size:15px;font-weight:700;color:#fff;letter-spacing:.5px}
.login-user-info small{font-size:11px;color:var(--text-light);display:flex;align-items:center;gap:4px}
.login-user-info small i{color:var(--accent);font-size:10px}
.up-stats-strip{display:flex;align-items:stretch;gap:0;background:#0e1420;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;margin-bottom:12px}
.up-stat{display:flex;align-items:center;gap:7px;flex:1;padding:9px 14px;font-size:12px}
.up-stat i{font-size:14px}
.up-stat:nth-child(1) i{color:var(--teal)}
.up-stat:nth-child(3) i{color:#f87171}
.up-stat-val{font-family:var(--font-head);font-size:16px;font-weight:700;color:#f4d6bb;}
.up-stat-lbl{font-size:11px;color:var(--text-light)}
.up-stat-divider{width:1px;background:var(--border);flex-shrink:0;margin:8px 0}
.nav-login-modal{display:flex;flex-direction:column;gap:2px}
.nav-login-modal__item a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--radius-sm);color:var(--text-mid);font-size:13px;font-family:var(--font-body);border:1px solid transparent}
.nav-login-modal__item a:hover{background:#e8590c0e;color:#fff;border-color:#e8590c28}
.nav-login-modal__separator{height:1px;background:var(--border);margin:5px 0;border:none}
.nlm-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;flex-shrink:0;font-size:13px}
.nlm-icon--admin{background:#f5c51820;color:var(--accent)}
.nlm-icon--profile{background:#1a56db18;color:#6ea3ff}
.nlm-icon--upload{background:#22c55e18;color:var(--green)}
.nlm-icon--pm{background:#06b6d418;color:var(--teal)}
.nlm-icon--fav{background:#ef444418;color:#f87171}
.nlm-icon--comment{background:#8b5cf618;color:#a78bfa}
.nlm-icon--stats{background:#e8590c18;color:var(--primary)}
.nlm-icon--new{background:#06b6d418;color:var(--teal)}
.nlm-icon--logout{background:#ef444412;color:#f87171}
.nlm-label{flex:1;font-size:13px}
.nlm-badge{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:18px;padding:0 7px;border-radius:4px;font-size:10px;font-weight:700;font-family:var(--font-head);letter-spacing:.3px}
.nlm-badge--admin{background:#f5c51820;color:var(--accent);border:1px solid #f5c51840}
.nlm-badge--new{background:#22c55e1a;color:var(--green);border:1px solid #22c55e33}
.nav-login-modal__item--highlight a{background:#22c55e08;border-color:#22c55e1a}
.nav-login-modal__item--highlight a:hover{background:#22c55e14;border-color:#22c55e33}
.nav-login-modal__item--admin a{background:#f5c51808;border-color:#f5c51820}
.nav-login-modal__item--admin a:hover{background:#f5c51814;border-color:#f5c51840}
.nav-login-modal__item--logout a{background:#ef444408}
.nav-login-modal__item--logout a:hover{background:#ef444414;color:#f87171;border-color:#ef444430}
.auth-modal-header{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#e8590c10;border:1px solid #e8590c28;border-radius:var(--radius-sm);margin-bottom:16px}
.auth-modal-icon{width:40px;height:40px;border-radius:8px;background:linear-gradient(135deg,var(--primary),#ff8c42);display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;flex-shrink:0}
.auth-modal-title{font-family:var(--font-head);font-size:16px;font-weight:700;color:var(--text-dark);letter-spacing:.5px}
.auth-modal-sub{font-size:11px;color:var(--text-light);margin-top:2px}
.auth-submit-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px;padding:11px;font-size:14px;font-weight:700;letter-spacing:.8px}
.auth-submit-btn i{font-size:14px}
.igroup-check-label{cursor:pointer;color:var(--text-mid);font-size:13px;user-select:none}
.igroup-forgot .igroup-link{color:var(--primary);font-weight:600;font-size:13px;padding:0}
.igroup-forgot .igroup-link:hover{color:var(--primary-h)}
.igroup-link{display:flex;align-items:center;height:100%;padding:9px 12px}
.auth-register-cta{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border);font-size:12px;color:var(--text-light)}
.auth-register-cta a{display:inline-flex;align-items:center;gap:5px;color:var(--primary);font-weight:700;font-size:12px;padding:4px 10px;border-radius:4px;border:1px solid #e8590c40;background:#e8590c0a}
.auth-register-cta a:hover{background:var(--primary);color:#fff;border-color:var(--primary)}

.shortf-reason{display:inline-flex;align-items:center;gap:5px;position:absolute;top:12px;left:12px;background:#10b981e6;color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:8px;font-family:var(--font-head)}
