@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Rajdhani:wght@600;700&display=swap');
:root{color-scheme:dark;--bg:#0b1020;--bg2:#0e1425;--surface:#131b2e;--surface2:#182139;--surface3:#1f2942;--text:#f4f7ff;--muted:#9ba9c5;--line:#28344e;--accent:#8b71ff;--accent2:#4ee2d1;--accent-text:#fff;--nav:rgba(10,16,30,.91);--shadow:0 20px 55px rgba(0,0,0,.18);--glow:rgba(139,113,255,.16);--input:#10182b;--negative:#ff758b;--positive:#57d6a7}
html[data-theme=light]{color-scheme:light;--bg:#f3f6fc;--bg2:#e9eef9;--surface:#fff;--surface2:#f7f9ff;--surface3:#eaf0fb;--text:#16213c;--muted:#62718f;--line:#dce4f2;--accent:#7152ed;--accent2:#009c93;--accent-text:#fff;--nav:rgba(255,255,255,.92);--shadow:0 20px 55px rgba(42,58,95,.09);--glow:rgba(113,82,237,.12);--input:#f9fbff;--negative:#d94d6c;--positive:#00875f}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse 50% 400px at 90% 3%,var(--glow),transparent 84%),var(--bg);color:var(--text);font:15px/1.58 'Inter',system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.19;letter-spacing:-.04em}h1{font-size:clamp(36px,4.6vw,64px)}h2{font-size:clamp(25px,3vw,38px)}h3{font-size:19px}p{color:var(--muted)}.container{width:min(1260px,calc(100% - 48px));margin-inline:auto}.site-shell{min-height:100vh;display:flex;flex-direction:column}.site-main{flex:1}.section{margin-top:76px;margin-bottom:74px}.section.no-top{margin-top:0}.gap-top{margin-top:85px}.text-link{color:var(--accent2);font-weight:700;display:inline-flex;gap:13px;align-items:center;white-space:nowrap}.text-link:hover{color:var(--text)}.heading-dot{color:var(--accent2)}.section-kicker,.mini-label{font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:var(--accent2)}.mini-label{color:var(--muted);letter-spacing:.12em}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.section-head h2{margin:9px 0 7px}.section-head p{margin:0}.section-head.compact{align-items:center;margin-bottom:22px}.section-head.compact h2{font-size:23px;margin:0}.page-top{padding-top:64px;padding-bottom:36px}.page-top h1{margin:11px 0 8px;font-size:clamp(35px,4.1vw,51px)}.page-top p{font-size:16px;max-width:700px;margin:0}
.topbar{height:83px;border-bottom:1px solid var(--line);position:sticky;z-index:30;top:0;background:var(--nav);backdrop-filter:blur(22px)}.topbar-row{height:100%;display:flex;align-items:center;gap:30px}.brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0}.brand-mark{height:44px;width:44px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#8575ff,#3ddcce);border-radius:13px;box-shadow:0 8px 24px rgba(109,92,232,.32)}.brand-mark img{width:38px;height:38px}.brand-text{display:flex;flex-direction:column;line-height:1}.brand-text strong{font:800 25px/1 'Rajdhani',sans-serif;letter-spacing:.02em}.brand-text strong span{color:var(--accent2)}.brand-text small{color:var(--muted);font:700 8px/1.5 'Inter',sans-serif;letter-spacing:.14em}.nav-links{display:flex;align-items:center;gap:4px;margin-left:auto}.nav-links a{color:var(--muted);padding:12px 14px;border-radius:10px;font-size:13px;font-weight:700;white-space:nowrap;transition:.2s}.nav-links a i{margin-right:7px}.nav-links a:hover,.nav-links a.selected{color:var(--text);background:var(--surface2)}.nav-links a.selected i{color:var(--accent2)}.header-actions{display:flex;align-items:center;gap:8px}.utility-btn{height:40px;min-width:40px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:var(--text);font-size:13px;font-weight:700;background:var(--surface2);border:1px solid var(--line);border-radius:10px;transition:.2s}.utility-btn:hover{border-color:var(--accent);color:var(--accent2)}.utility-btn .tiny{font-size:9px;opacity:.6}.locale-menu{position:relative}.dropdown-menu{position:absolute;right:0;top:calc(100% + 9px);width:155px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:7px;display:none}.dropdown-menu.show{display:block}.dropdown-menu a{display:block;padding:9px 11px;border-radius:8px;font-size:13px}.dropdown-menu a:hover{background:var(--surface2)}.mobile-toggle{display:none}.btn{border:1px solid transparent;background:none;display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:43px;padding:11px 19px;font-size:13px;font-weight:800;border-radius:11px;white-space:nowrap;transition:transform .2s,background .2s,border-color .2s,color .2s;text-align:center}.btn:hover{transform:translateY(-2px)}.btn-sm{min-height:37px;padding:8px 13px;font-size:12px}.btn-lg{min-height:53px;padding:15px 24px;font-size:14px}.btn-primary{background:linear-gradient(110deg,#7868ec,#a16df5);border-color:rgba(255,255,255,.06);color:var(--accent-text);box-shadow:0 9px 24px rgba(119,101,231,.24)}.btn-primary:hover{background:linear-gradient(110deg,#6a58de,#9060e8)}.btn-outline{color:var(--text);background:var(--surface2);border-color:var(--line)}.btn-outline:hover{border-color:var(--accent)}.btn-glass{color:var(--text);border:1px solid rgba(167,189,230,.21);background:rgba(33,42,66,.59)}.btn-glass:hover{border-color:var(--accent2);background:var(--surface2)}.btn-block{width:100%}.flash-stack{padding-top:16px}.flash{display:flex;align-items:center;gap:12px;border-radius:10px;padding:12px 16px;font-size:13px;font-weight:700;margin-bottom:8px;border:1px solid var(--line);background:var(--surface2)}.flash.success{border-color:rgba(87,214,167,.35)}.flash.error{border-color:rgba(255,117,139,.35)}.flash.success>i{color:var(--positive)}.flash.error>i{color:var(--negative)}.flash button{margin-left:auto;background:transparent;border:0;color:var(--muted)}
.hero{position:relative;min-height:525px;display:grid;grid-template-columns:52% 48%;align-items:center;padding-top:43px;padding-bottom:38px}.hero:before{content:'';position:absolute;inset:7% 2% 7% 39%;background:radial-gradient(ellipse,rgba(90,75,203,.22),transparent 65%);pointer-events:none}.hero-copy{position:relative;z-index:2;padding-block:32px}.eyebrow{display:flex;align-items:center;gap:11px;color:var(--accent2);font-size:11px;font-weight:900;letter-spacing:.16em;margin-bottom:21px}.eyebrow-dot{height:7px;width:7px;background:var(--accent2);border-radius:50%;box-shadow:0 0 14px var(--accent2)}.eyebrow-line{width:27px;height:1px;background:var(--line)}.hero h1{max-width:690px;font-weight:900;line-height:1.08;letter-spacing:-.065em;margin-bottom:21px}.hero h1::first-line{color:var(--text)}.hero-copy>p{font-size:16px;max-width:510px;line-height:1.82;margin-bottom:30px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.hero-trust{margin-top:40px;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;font-weight:700}.hero-trust b{color:var(--text)}.live-pulse{width:8px;height:8px;background:var(--positive);border-radius:50%;box-shadow:0 0 0 5px rgba(87,214,167,.1)}.separator{color:var(--accent)}.hero-visual{height:490px;position:relative;display:flex;justify-content:center;align-items:center}.hero-visual>img{width:100%;max-height:520px;filter:drop-shadow(0 30px 75px rgba(61,50,142,.2));object-fit:contain;transform:scale(1.07)}.floating-stamp{position:absolute;display:flex;align-items:center;gap:12px;padding:12px 17px;border:1px solid rgba(173,187,232,.22);border-radius:15px;background:rgba(24,32,56,.92);color:#fff;box-shadow:0 14px 40px rgba(0,0,0,.23);backdrop-filter:blur(12px)}.floating-stamp>i{color:#4ee2d1;font-size:20px}.floating-stamp div{display:flex;flex-direction:column}.floating-stamp strong{font-size:18px;line-height:1.25}.floating-stamp small{font-size:10px;color:#aeb8ce}.stamp-top{top:15%;right:1%}.stamp-bottom{bottom:17%;left:1%}.stamp-bottom>i{color:#ffbe73}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:24px 12px}.metric{display:flex;align-items:center;justify-content:center;gap:17px;min-width:0;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric-icon{display:grid;place-items:center;width:53px;height:53px;background:var(--surface2);color:var(--accent2);border-radius:15px;font-size:20px}.metric:nth-child(2) .metric-icon{color:#9b86ff}.metric:nth-child(3) .metric-icon{color:#ffb677}.metric:nth-child(4) .metric-icon{color:#61baf8}.metric>div:last-child{display:flex;flex-direction:column}.metric strong{font:800 27px/1.2 'Rajdhani',sans-serif}.metric span{font-size:11px;color:var(--muted);font-weight:600}
.games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.game-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}.game-card:hover{transform:translateY(-6px);border-color:var(--game-accent);box-shadow:0 19px 45px var(--glow)}.game-cover{position:relative;height:134px;overflow:hidden;background:var(--surface2)}.game-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(0,0,0,.35))}.game-cover>img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.game-card:hover .game-cover>img{transform:scale(1.075)}.game-icon{position:absolute;z-index:1;left:16px;bottom:12px;background:rgba(13,18,32,.77);border:1px solid rgba(255,255,255,.12);border-radius:12px;color:var(--game-accent);display:grid;place-items:center;width:39px;height:39px;font-size:17px;backdrop-filter:blur(6px)}.game-card-body{padding:16px}.game-card-body>strong{font-size:15px;display:block;margin-bottom:5px}.game-card-body>span{color:var(--muted);font-size:11px;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}.game-card-bottom{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:11px;font-weight:700}.game-card-bottom>i{color:var(--accent2)}.game-card-bottom span i{color:var(--game-accent);margin-right:4px}.server-list{display:grid;gap:13px}.server-card{display:grid;grid-template-columns:175px minmax(170px,1fr) 250px 42px;align-items:center;gap:20px;min-height:144px;padding:13px 17px 13px 13px;background:var(--surface);border:1px solid var(--line);border-radius:15px;transition:border-color .2s,transform .2s}.server-card:hover{border-color:var(--accent);transform:translateY(-2px)}.server-thumb{height:116px;position:relative;overflow:hidden;background:var(--surface2);border-radius:10px}.server-thumb>img{width:100%;height:100%;object-fit:cover}.thumb-game{position:absolute;left:9px;bottom:9px;border-radius:8px;padding:6px 10px;background:rgba(9,15,28,.82);color:var(--game-accent)}.server-card-main{min-width:0}.server-card-heading{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:800}.server-card-heading a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.server-card-heading a:hover{color:var(--accent2)}.featured-icon{color:#ffc36d}.server-subline{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:11px;margin-top:5px}.server-subline .dot{color:var(--accent)}.server-card-main p{margin:11px 0 9px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.server-pill-line{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);font-weight:700}.status-dot{height:7px;width:7px;background:#8390a8;border-radius:50%}.status-dot.on{background:var(--positive);box-shadow:0 0 0 3px rgba(87,214,167,.13)}.ip-pill{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--surface2);border:1px solid var(--line);border-radius:6px;padding:3px 7px}.ip-pill i{color:var(--accent2);margin-right:4px}.server-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.server-card-stats>div{display:flex;flex-direction:column;gap:7px;border-left:1px solid var(--line);padding-left:17px}.server-card-stats small{color:var(--muted);font-size:10px}.server-card-stats strong{font:800 18px 'Rajdhani',sans-serif;white-space:nowrap}.server-card-stats em{font-style:normal;font-size:11px;color:var(--muted);font-weight:600;margin-left:2px}.server-card-stats i{font-size:12px}.star{color:#ffc46e}.heart{color:#ff8297}.card-action{padding:0;min-height:40px;height:40px;width:40px}.empty-state{border:1px dashed var(--line);border-radius:16px;padding:52px 24px;text-align:center;background:var(--surface)}.empty-state>i{font-size:36px;color:var(--accent);margin-bottom:15px}.empty-state h3{margin:0 0 7px}.empty-state p{margin-bottom:19px}.cta-panel{margin-top:70px;margin-bottom:87px;min-height:248px;position:relative;display:flex;align-items:center;background:radial-gradient(ellipse at 76% 50%,rgba(119,97,225,.29),transparent 55%),linear-gradient(120deg,#19233c,#151a30);border:1px solid #344065;border-radius:22px;padding:40px 55px;overflow:hidden}.cta-content{position:relative;z-index:1;max-width:580px}.cta-panel h2{color:#fff;margin:9px 0}.cta-panel p{color:#bac6e1;margin-bottom:20px}.cta-panel>img{position:absolute;width:395px;right:30px;top:-125px;opacity:.8;transform:rotate(-8deg)}
.footer{border-top:1px solid var(--line);background:var(--bg2)}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr 1.1fr;gap:60px;padding:55px 0 46px}.footer-brand p{font-size:12px;margin:17px 0 0}.footer-links{display:flex;flex-direction:column;gap:12px}.footer-links strong{font-size:12px;margin-bottom:6px}.footer-links a{color:var(--muted);font-size:12px}.footer-links a:hover{color:var(--accent2)}.footer-support .support-label{font-size:11px;color:var(--muted);margin-bottom:6px}.ruschat-brand{font:800 28px 'Rajdhani',sans-serif}.ruschat-brand span{color:var(--accent2)}.ruschat-brand i{font-size:11px;color:var(--muted);margin-left:9px}.footer-people{font-size:11px;color:var(--muted);line-height:2.1;margin-top:8px}.footer-people b{color:var(--text)}.footer-bottom{padding:19px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px}.footer-bottom i{color:var(--accent2);font-size:7px}
.filterbar{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:13px;display:flex;gap:12px}.filterbar .filter-search{flex:1}.filter-search,.filter-select{display:flex;align-items:center;gap:11px;background:var(--input);border:1px solid var(--line);border-radius:9px;padding:0 13px;color:var(--muted)}.filter-search input,.filter-select select{background:transparent;border:0;color:var(--text);outline:0;min-height:43px;width:100%}.filter-select select{width:190px}.results-meta{display:flex;justify-content:space-between;margin:24px 0 14px;color:var(--muted);font-size:12px}.results-meta b{color:var(--text)}.results-meta i{color:var(--positive)}.pagination{display:flex;justify-content:center;gap:8px;margin-top:25px}.pagination a{height:37px;min-width:37px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.pagination a.active,.pagination a:hover{color:#fff;background:var(--accent)}.message-center{max-width:760px}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px}.auth-layout{display:grid;grid-template-columns:1fr minmax(360px,450px);gap:8%;align-items:center;padding-block:72px 95px;min-height:670px}.auth-promo{position:relative}.auth-promo h1{font-size:49px;margin:14px 0 20px}.auth-promo p{font-size:16px;max-width:450px}.auth-promo img{width:400px;max-height:310px;object-fit:contain;display:block;opacity:.95}.auth-card{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:36px;box-shadow:var(--shadow)}.auth-card h2{margin:9px 0 26px}.stack-form{display:flex;flex-direction:column;gap:18px}.stack-form label,.admin-server-controls>label,.admin-search label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:var(--text)}.stack-form input:not([type=checkbox]):not([type=radio]),.stack-form textarea,.stack-form select,.admin-server-controls input:not([type=checkbox]),.admin-server-controls select,.admin-search input{width:100%;min-height:44px;padding:11px 13px;background:var(--input);border:1px solid var(--line);border-radius:9px;outline:none;color:var(--text);font-size:13px;transition:border-color .2s}.stack-form input:focus,.stack-form textarea:focus,.stack-form select:focus,.admin-server-controls input:focus,.admin-server-controls select:focus,.admin-search input:focus{border-color:var(--accent)}.stack-form textarea{resize:vertical;line-height:1.7}.stack-form small{font-size:11px;color:var(--muted);font-weight:400}.input-icon{position:relative}.input-icon>i{position:absolute;top:15px;left:14px;color:var(--muted)}.stack-form .input-icon input{padding-left:42px!important}.auth-foot{font-size:12px;color:var(--muted);text-align:center;margin-top:25px}.auth-foot a{color:var(--accent);font-weight:800}.form-wrap{max-width:990px}.form-panel{padding:31px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid.triple{grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.help{display:flex;align-items:flex-start;gap:8px;font-size:11px;margin:0;color:var(--muted)}.help i{color:var(--accent)}.edit-banner{width:270px;max-height:120px;object-fit:cover;border-radius:10px}.check-row{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;cursor:pointer;font-size:12px}.check-row input{accent-color:var(--accent);height:18px;width:18px;flex:none}.form-grid>.check-row{align-self:end;min-height:46px}.muted-note{font-size:11px;color:var(--muted)}.count-badge{font-size:12px;color:var(--accent2);vertical-align:middle;letter-spacing:0}.account-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:25px}.account-servers{display:grid;gap:11px}.account-server{display:flex;align-items:center;gap:14px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.account-server>img{width:90px;height:65px;object-fit:cover;border-radius:8px}.account-server>div{min-width:0;flex:1}.account-server strong,.account-server small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-server small{color:var(--muted);font-size:11px;margin-top:4px}.account-side{display:flex;flex-direction:column;gap:15px}.side-panel{padding:23px}.side-panel h3{font-size:18px;margin:0 0 20px}.side-panel h3 i{color:var(--accent);margin-right:8px}.status-badge{border-radius:20px;padding:5px 10px;font-size:10px;font-weight:800;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;background:var(--surface2);color:var(--muted)}.status-badge.approved,.status-badge.live{color:var(--positive);background:rgba(87,214,167,.11)}.status-badge.pending{color:#e6b26a;background:rgba(230,178,106,.12)}.status-badge.rejected,.status-badge.offline{color:var(--negative);background:rgba(255,117,139,.11)}
.server-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 328px;gap:25px;margin-top:50px}.detail-main{min-width:0}.detail-banner{height:285px;border-radius:18px;overflow:hidden;position:relative;background:var(--surface2);border:1px solid var(--line)}.detail-banner img{width:100%;height:100%;object-fit:cover}.banner-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(8,12,26,.8),transparent 55%)}.banner-category{position:absolute;bottom:20px;left:22px;display:flex;align-items:center;gap:7px;background:rgba(16,20,34,.86);color:#fff;border:1px solid rgba(255,255,255,.13);padding:7px 12px;border-radius:8px;font-size:12px;font-weight:700}.banner-category i{color:var(--game-accent)}.detail-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:26px 0}.detail-head h1{font-size:clamp(28px,3.2vw,43px);margin:7px 0 6px}.detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:22px}.detail-metrics>div{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:18px 20px 14px}.detail-metrics i{color:var(--accent);position:absolute;right:18px;top:17px;font-size:18px}.detail-metrics small{font-size:11px;color:var(--muted)}.detail-metrics strong{font:800 28px 'Rajdhani',sans-serif;margin-top:6px}.detail-metrics strong span{font-size:14px;color:var(--muted)}.content-panel{padding:26px;margin-bottom:23px}.content-panel h2{font-size:20px;margin-bottom:18px}.content-panel h2 i{color:var(--accent);margin-right:7px}.server-description{white-space:normal;overflow-wrap:anywhere;font-size:14px;color:var(--text);line-height:1.9}.side-sticky{position:sticky;top:105px}.detail-sidebar{min-width:0}.detail-sidebar h3{font-size:19px;margin:8px 0 17px}.connect-address{display:flex;align-items:center;justify-content:space-between;gap:7px;background:var(--input);border:1px solid var(--line);padding:9px 9px 9px 12px;border-radius:10px;font-size:12px;font-weight:800}.connect-address span{overflow:hidden;overflow-wrap:anywhere}.connect-address button{border:0;background:var(--accent);color:#fff;width:35px;height:34px;flex-shrink:0;border-radius:7px}.connection-links{display:grid;gap:9px;margin-top:14px}.sidebar-divider{height:1px;background:var(--line);margin:23px 0}.star-options{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:0 0 12px}.star-options label{display:block;cursor:pointer}.star-options input{position:absolute;opacity:0}.star-options label span{padding:10px 1px;background:var(--surface2);border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--muted)}.star-options input:checked+span{border-color:var(--accent);color:#ffc46e;background:var(--glow)}.star-options small{font-size:9px}.rating-form{margin-top:8px}.rating-form+.muted-note{margin-top:8px}.report-box summary{cursor:pointer;color:var(--muted);font-size:12px;font-weight:700}.report-box[open] summary{margin-bottom:14px}.report-box summary i{color:var(--negative);margin-right:5px}#history-chart{display:block;width:100%;height:auto;max-height:220px}
.admin-layout{display:grid;grid-template-columns:230px minmax(0,1fr);align-items:start;gap:25px}.admin-sidebar{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:16px;position:sticky;top:104px}.admin-nav-label{font-size:10px;letter-spacing:.16em;color:var(--muted);font-weight:800;padding:6px 11px 13px}.admin-sidebar>a{display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:10px;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:3px}.admin-sidebar>a>i:first-child{width:16px;text-align:center}.admin-sidebar>a .arrow{margin-left:auto;opacity:0;font-size:10px}.admin-sidebar>a:hover,.admin-sidebar>a.active{color:var(--text);background:var(--surface2)}.admin-sidebar>a.active{color:var(--accent2)}.admin-sidebar>a.active .arrow{opacity:1}.admin-nav-bottom{border-top:1px solid var(--line);margin-top:19px;padding:16px 11px 4px;font-size:11px;color:var(--muted)}.admin-nav-bottom i{color:var(--accent);margin-right:8px}.admin-content{min-width:0}.admin-page-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 20px}.admin-page-title h2{font-size:25px;margin:6px 0 0}.admin-badge{border:1px solid var(--line);padding:7px 12px;border-radius:20px;color:var(--muted);font-size:10px;font-weight:800}.admin-badge i{color:var(--positive);margin-right:4px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:23px}.dashboard-stat{display:flex;flex-direction:column;position:relative;gap:3px;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:13px}.dashboard-stat>i{position:absolute;right:19px;top:19px;color:var(--accent);font-size:22px}.dashboard-stat strong{font:800 31px 'Rajdhani',sans-serif}.dashboard-stat span{color:var(--muted);font-size:11px}.admin-panel{padding:24px;margin-bottom:20px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.panel-title h3{margin:0}.table-responsive{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.data-table th{text-align:left;background:var(--surface2);color:var(--muted);font-size:10px;letter-spacing:.05em;text-transform:uppercase;padding:13px 12px}.data-table th:first-child{border-radius:8px 0 0 8px}.data-table th:last-child{border-radius:0 8px 8px 0}.data-table td{border-bottom:1px solid var(--line);padding:14px 12px;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table code{background:var(--surface2);padding:4px 7px;border-radius:5px;font-size:11px}.data-table td strong{font-weight:800}.category-cell{display:flex;align-items:center;gap:9px}.category-mini{height:31px;width:31px;background:var(--surface2);border-radius:7px;display:grid;place-items:center}.table-actions{display:flex;gap:7px}.table-actions form{display:inline}.icon-btn{height:32px;width:32px;display:inline-grid;place-items:center;background:var(--surface2);border:1px solid var(--line);border-radius:7px;color:var(--text);font-size:12px}.icon-btn:hover{border-color:var(--accent);color:var(--accent2)}.icon-btn.danger{color:var(--negative)}.icon-btn:disabled{opacity:.28;cursor:not-allowed}.table-link{color:var(--accent2);font-weight:700}.role-pill{background:var(--surface2);color:var(--muted);border-radius:6px;padding:5px 8px}.admin-search{display:flex;gap:11px;margin-bottom:17px}.admin-search input{flex:1}.admin-filters{display:flex;gap:8px;margin-bottom:17px;flex-wrap:wrap}.admin-filters a{background:var(--surface);border:1px solid var(--line);padding:8px 14px;border-radius:8px;font-size:11px;font-weight:700;color:var(--muted)}.admin-filters a.active{border-color:var(--accent);color:var(--accent2)}.admin-server-list{display:grid;gap:12px}.admin-server{padding:18px}.admin-server-header{display:flex;align-items:center;gap:14px}.admin-server-header img{width:88px;height:63px;object-fit:cover;border-radius:8px}.admin-server-header>div:nth-child(2){flex:1;min-width:0}.admin-server-header h3{font-size:17px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 5px}.admin-server-header small{font-size:11px;color:var(--muted)}.admin-server-links{display:flex;gap:7px}.admin-server-controls{border-top:1px solid var(--line);padding-top:17px;margin-top:16px;display:flex;flex-wrap:wrap;gap:12px;align-items:end}.admin-server-controls>label{width:145px}.admin-server-controls>label.check-row{width:auto;min-height:44px}.admin-server-controls input,.admin-server-controls select{min-height:36px!important;padding:7px 9px!important}.protocol-label{padding:11px;font-size:11px;color:var(--muted)}.protocol-label i{color:var(--accent2);margin-right:5px}.delete-server-form{text-align:right;margin-top:8px}.danger-link{background:none;border:0;color:var(--negative);font-size:11px;font-weight:700}.reports-list{display:grid;gap:14px}.report-card{padding:20px}.report-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:12px}.report-card p{font-size:12px;margin:7px 0;color:var(--text);overflow-wrap:anywhere}.report-card .muted-note{margin-top:6px}.report-actions{display:flex;gap:8px;margin-top:16px}.settings-options{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;background:var(--surface2);padding:20px;border-radius:10px}.user-meta{display:flex;flex-wrap:wrap;gap:16px;color:var(--muted);font-size:11px;padding:13px;border-radius:8px;background:var(--surface2)}
@media(max-width:1200px){.topbar-row{gap:18px}.nav-links a{padding:10px}.server-card{grid-template-columns:150px minmax(160px,1fr) 225px 40px;gap:14px}.server-card-stats>div{padding-left:11px}.footer-main{gap:32px}}
@media(max-width:1050px){.nav-links{position:absolute;display:none;top:83px;left:0;right:0;padding:14px 25px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav-links.open{display:flex}.nav-links a{display:block}.mobile-toggle{display:flex}.header-actions{margin-left:auto}.hero{grid-template-columns:53% 47%}.hero-visual{height:410px}.hero h1{font-size:clamp(35px,4.7vw,54px)}.games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.server-card{grid-template-columns:145px minmax(0,1fr) 175px;gap:14px}.card-action{display:none}.server-card-stats{grid-template-columns:repeat(3,1fr)}.server-card-stats>div{padding-left:7px}.server-card-stats strong{font-size:15px}.server-detail-layout{grid-template-columns:minmax(0,1fr) 280px}.admin-layout{grid-template-columns:195px minmax(0,1fr)}}
@media(max-width:800px){.container{width:min(100% - 30px,1260px)}.topbar{height:70px}.nav-links{top:70px}.brand-mark{width:37px;height:37px}.brand-mark img{width:33px}.brand-text strong{font-size:22px}.brand-text small{font-size:7px}.hero{grid-template-columns:1fr;min-height:auto;padding-top:38px}.hero-copy{padding-block:15px}.hero h1{max-width:650px}.hero-copy>p{max-width:650px}.hero-visual{height:340px}.hero-visual>img{max-height:370px;width:530px;transform:none}.stamp-top{right:10%}.stamp-bottom{left:9%;bottom:9%}.hero-trust{margin-top:22px}.stats-strip{grid-template-columns:repeat(2,1fr);gap:12px;padding:16px}.metric{justify-content:flex-start;padding:11px 15px;border:0}.metric:nth-child(odd){border-right:1px solid var(--line)}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.server-card{grid-template-columns:130px minmax(0,1fr);align-items:start}.server-thumb{height:110px}.server-card-stats{grid-column:2;grid-row:2;grid-template-columns:repeat(3,1fr)}.server-card-stats>div:first-child{padding-left:0;border-left:0}.server-card-main p{margin:9px 0}.footer-main{grid-template-columns:repeat(2,1fr)}.cta-panel{padding:35px}.cta-panel>img{right:-90px;opacity:.3}.auth-layout{grid-template-columns:1fr;padding-block:35px 75px;min-height:auto;gap:25px}.auth-promo img{display:none}.auth-promo h1{font-size:37px}.auth-card{max-width:550px;width:100%;margin:0 auto}.server-detail-layout{grid-template-columns:1fr}.detail-sidebar{grid-row:1}.detail-sidebar .side-sticky{position:static}.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:static;display:flex;flex-wrap:wrap;gap:4px}.admin-nav-label,.admin-nav-bottom{display:none}.admin-sidebar>a{margin:0;padding:8px 10px}.admin-sidebar>a .arrow{display:none}.admin-sidebar>a>i:first-child{width:auto}.account-layout{grid-template-columns:1fr}.account-side{display:grid;grid-template-columns:1fr 1fr}.account-side .side-panel{grid-row:span 2}}
@media(max-width:560px){.container{width:calc(100% - 24px)}.register-link,.login-link,.user-link span,.admin-shortcut{display:none}.utility-btn{min-width:34px;padding:0 8px;height:36px}.topbar-row{gap:10px}.header-actions{gap:5px}.brand-mark{width:34px;height:34px;border-radius:10px}.brand-text strong{font-size:20px}.brand-text small{font-size:6px}.hero{padding-top:22px}.eyebrow{font-size:9px;flex-wrap:wrap}.hero h1{font-size:39px}.hero-copy>p{font-size:13px}.hero-buttons{flex-direction:column}.hero-buttons .btn{width:100%}.hero-visual{height:245px}.hero-visual>img{max-height:260px}.floating-stamp{padding:7px 11px;gap:8px;border-radius:10px}.floating-stamp strong{font-size:14px}.floating-stamp small{font-size:8px}.floating-stamp>i{font-size:14px}.stamp-top{right:0;top:8%}.stamp-bottom{left:0;bottom:6%}.stats-strip{padding:9px;gap:0}.metric{padding:13px 7px;gap:8px}.metric-icon{width:38px;height:38px;font-size:15px;border-radius:10px}.metric strong{font-size:23px}.metric span{font-size:9px}.metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.section{margin-top:48px;margin-bottom:48px}.gap-top{margin-top:53px}.section-head{align-items:flex-start}.section-head p{font-size:12px}.section-head .text-link{font-size:11px;margin-top:8px}.games-grid{gap:10px}.game-cover{height:105px}.game-icon{height:31px;width:31px;font-size:13px;left:10px;bottom:9px}.game-card-body{padding:11px}.game-card-body>strong{font-size:12px}.game-card-body>span{font-size:10px;min-height:31px}.game-card-bottom{font-size:9px}.server-card{grid-template-columns:100px minmax(0,1fr);gap:9px;padding:9px}.server-thumb{height:96px}.server-card-heading{font-size:13px}.server-subline{gap:5px;font-size:10px}.server-card-main p{display:none}.server-pill-line{margin-top:10px;flex-wrap:wrap;font-size:9px}.ip-pill{max-width:160px}.server-card-stats{grid-column:1/-1;grid-row:auto;border-top:1px solid var(--line);padding-top:10px}.server-card-stats>div{padding-left:14px}.server-card-stats small{font-size:9px}.server-card-stats strong{font-size:18px}.cta-panel{margin-top:40px;margin-bottom:53px;padding:28px 22px;min-height:225px}.cta-panel h2{font-size:25px}.cta-panel p{font-size:12px}.footer-main{gap:28px;padding:39px 0 30px}.footer-main>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:6px}.page-top{padding-top:38px;padding-bottom:22px}.page-top h1{font-size:33px}.filterbar{flex-direction:column}.filter-select select{width:100%}.filterbar .btn{width:100%}.form-panel{padding:19px}.form-grid,.form-grid.triple,.settings-options{grid-template-columns:1fr}.form-actions{flex-wrap:wrap}.auth-layout{padding-block:29px 52px}.auth-card{padding:22px}.auth-promo h1{font-size:31px}.account-server{flex-wrap:wrap}.account-server>img{width:60px;height:52px}.account-server .btn{min-height:32px}.account-side{display:flex}.detail-banner{height:200px}.detail-head{align-items:flex-start}.detail-head h1{font-size:27px}.detail-metrics{gap:7px}.detail-metrics>div{padding:13px 9px}.detail-metrics i{position:static;font-size:14px;margin-bottom:8px}.detail-metrics strong{font-size:21px}.detail-metrics strong span{font-size:10px}.content-panel,.side-panel{padding:18px}.dashboard-grid{grid-template-columns:repeat(2,1fr)}.dashboard-stat{padding:15px}.dashboard-stat strong{font-size:25px}.admin-sidebar{padding:9px}.admin-sidebar>a{font-size:10px;gap:7px}.admin-page-title{align-items:flex-start}.admin-page-title h2{font-size:22px}.admin-page-title>.btn{padding-inline:10px;font-size:10px}.admin-panel{padding:15px}.admin-server-header img{width:59px;height:53px}.admin-server-header h3{font-size:13px}.admin-server-header small{font-size:9px}.admin-server-links{flex-direction:column}.admin-server-controls>label{width:calc(50% - 7px)}.admin-server-controls>label.check-row{width:auto}.report-actions{flex-wrap:wrap}}
/* Side-by-side leaderboards */
.leaderboard-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.leaderboard-panel{overflow:hidden;padding:20px}.leaderboard-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 14px;border-bottom:1px solid var(--line)}.leaderboard-title>div{display:flex;align-items:center;gap:11px}.leaderboard-title h3{font-size:17px;margin:0}.leaderboard-title>a{color:var(--muted)}.leaderboard-title>a:hover{color:var(--accent2)}.leaderboard-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;color:var(--accent2);background:var(--surface2)}.leaderboard-panel:nth-child(2) .leaderboard-icon{color:#ffc46e}.leaderboard-row{display:flex;align-items:center;gap:12px;padding:12px 3px;border-bottom:1px solid var(--line);transition:background .2s}.leaderboard-row:last-child{border:0}.leaderboard-row:hover{background:var(--surface2)}.rank-num{font:800 18px 'Rajdhani',sans-serif;color:var(--muted);min-width:22px;text-align:center}.rank-num.rank-top{color:var(--accent2)}.leaderboard-row>img{width:60px;height:44px;object-fit:cover;border-radius:8px}.leaderboard-name{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.leaderboard-name strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-name small{font-size:10px;color:var(--muted)}.leaderboard-value{font:800 17px 'Rajdhani',sans-serif;white-space:nowrap}.leaderboard-value i{font-size:11px;color:var(--accent2)}.leaderboard-panel:nth-child(2) .leaderboard-value i{color:#ffc46e}.leaderboard-empty{min-height:110px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px}.leaderboard-empty i{color:var(--accent)}
@media(max-width:650px){.leaderboard-panels{grid-template-columns:1fr;gap:13px}.leaderboard-panel{padding:16px}}

.footer-contact{display:block;font-size:11px;color:var(--accent2);margin-top:9px;overflow-wrap:anywhere}
/* LIFE-GAMES Forum and multilingual enhancements */
.locale-list{max-height:min(60vh,380px);overflow-y:auto;min-width:180px}.locale-list a[aria-current="true"]{font-weight:800;color:var(--accent2)}
.forum-section{display:grid;gap:18px}.forum-section h2{font-size:22px}.forum-category{padding:0;overflow:hidden}.forum-category-title{padding:18px 24px;background:var(--surface2);display:flex;gap:15px;align-items:center}.forum-category-title h2{margin:0;font-size:19px}.forum-category-title p{font-size:12px;color:var(--muted);margin:6px 0 0}.forum-category-title a:hover,.forum-entry a:hover,.forum-breadcrumbs a:hover{color:var(--accent2)}.forum-icon{width:46px;height:46px;flex:none;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;background:var(--surface2);color:var(--forum-accent,var(--accent2));font-size:21px}.forum-icon img{width:36px;height:36px;object-fit:contain}.forum-entry{display:flex;align-items:center;gap:14px;padding:17px 22px;border-top:1px solid var(--line)}.forum-entry.panel{border:1px solid var(--line);border-radius:12px}.forum-entry-body{min-width:0;flex:1}.forum-entry-body h3{font-size:16px;margin:0 0 5px}.forum-entry-body p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.forum-entry-body small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.forum-sublinks{display:flex;flex-wrap:wrap;gap:9px;margin-top:8px;color:var(--accent2);font-size:11px}.forum-sublinks a{padding:3px 8px;background:var(--surface2);border-radius:5px}.forum-count{text-align:center;min-width:72px;display:flex;flex-direction:column;gap:3px}.forum-count b{font:800 21px Rajdhani,sans-serif}.forum-count small{color:var(--muted);font-size:10px}.forum-breadcrumbs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-bottom:17px}.forum-breadcrumbs i{font-size:9px}.forum-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px}.forum-topic-list{padding:0;overflow:hidden}.forum-topic-row{padding:16px 22px;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line)}.forum-topic-row:last-child{border-bottom:0}.forum-topic-row:hover{background:var(--surface2)}.forum-topic-row .forum-entry-body strong{font-size:14px}.forum-topic-icon{font-size:19px;color:var(--accent2)}.forum-last{text-align:right;min-width:100px;color:var(--muted);font-size:11px}.forum-last small{display:block;margin-top:4px}.forum-note,.forum-empty{padding:25px;color:var(--muted);font-size:13px}.forum-pages{display:flex;flex-wrap:wrap;gap:6px}.forum-pages a{min-width:36px;text-align:center}.forum-post{padding:0;display:grid;grid-template-columns:155px minmax(0,1fr);overflow:hidden}.forum-post-author{display:flex;align-items:center;flex-direction:column;gap:9px;border-right:1px solid var(--line);padding:22px 10px;background:var(--surface2);font-size:13px;overflow-wrap:anywhere}.forum-post-author small{color:var(--muted)}.forum-avatar{width:58px;height:58px;border-radius:15px;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:23px}.forum-post-main{padding:18px 24px;min-width:0}.forum-post-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line);padding-bottom:12px}.forum-post-text{padding:15px 0;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.7;min-height:70px}.forum-post-edit[hidden]{display:none}.forum-post-edit{margin-top:8px}.forum-delete-post{text-align:right}.danger-text{color:#f08b8b}.forum-reply{display:grid;gap:14px}.forum-modbar{display:flex;gap:8px;flex-wrap:wrap}.forum-modbar form{display:inline-flex}
@media(max-width:650px){.forum-category-title{padding:14px}.forum-entry{padding:14px 12px;gap:10px}.forum-entry .forum-icon{width:38px;height:38px;font-size:18px}.forum-count{min-width:52px}.forum-topic-row{padding:14px 9px;gap:9px}.forum-last{display:none}.forum-post{grid-template-columns:1fr}.forum-post-author{border-right:none;border-bottom:1px solid var(--line);flex-direction:row;justify-content:flex-start;padding:10px 13px}.forum-avatar{width:32px;height:32px;font-size:14px}.forum-post-main{padding:13px}.forum-category-title h2{font-size:17px}}

/* LIFE-GAMES 1.3.0 — form colors, mobile category grid, animated hero */
select,select option,select optgroup{background-color:var(--input)!important;color:var(--text)!important;color-scheme:dark;}
html[data-theme="light"] select,html[data-theme="light"] select option,html[data-theme="light"] select optgroup{background-color:var(--input)!important;color:var(--text)!important;color-scheme:light;}
.filter-select select{color:var(--text);background-color:var(--input);border-color:var(--line);}
@media(max-width:560px){.games-grid,.games-grid-full{grid-template-columns:minmax(0,1fr)!important;gap:13px}.game-cover{height:155px}.game-card-body{padding:15px}.game-card-body>strong{font-size:16px}.game-card-body>span{font-size:12px;min-height:auto}.game-card-bottom{font-size:11px}}
.hero-animated:before{content:"";position:absolute;inset:12%;border-radius:50%;background:radial-gradient(ellipse,rgba(131,88,255,.27),transparent 65%);filter:blur(20px);animation:hero-aura 7s ease-in-out infinite alternate}.hero-animated>img{position:relative;z-index:1;filter:drop-shadow(0 20px 35px rgba(90,79,200,.28));animation:hero-float 6s ease-in-out infinite;max-width:110%;}.hero-animated .floating-stamp{z-index:3;animation:badge-float 4s ease-in-out infinite}.hero-animated .stamp-bottom{animation-delay:-2s}.hero-orbit{pointer-events:none;position:absolute;border:1px solid rgba(126,115,246,.25);border-radius:50%;width:80%;aspect-ratio:1/1;transform:rotate(-20deg);animation:orbit-pulse 9s linear infinite}.hero-orbit-b{width:62%;border-style:dashed;animation-direction:reverse;animation-duration:14s}.hero-spark{position:absolute;width:8px;height:8px;z-index:2;border-radius:50%;background:#45e6e3;box-shadow:0 0 18px 4px rgba(69,230,227,.6);animation:spark-travel 6s ease-in-out infinite}.hero-spark-one{top:12%;left:23%}.hero-spark-two{bottom:15%;right:19%;animation-delay:-3s;background:#b47afe}@keyframes hero-float{0%,100%{transform:translateY(3px) rotate(-1deg) scale(1.03)}50%{transform:translateY(-11px) rotate(1deg) scale(1.055)}}@keyframes badge-float{0%,100%{translate:0 0}50%{translate:0 -9px}}@keyframes hero-aura{from{opacity:.45;scale:.9}to{opacity:1;scale:1.08}}@keyframes orbit-pulse{from{transform:rotate(0deg) scale(.98)}to{transform:rotate(360deg) scale(1.02)}}@keyframes spark-travel{0%,100%{transform:translate(0,0);opacity:.4}50%{transform:translate(27px,-32px);opacity:1}}
.rank-game-filter{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 20px}.rank-game-filter label{display:inline-flex;gap:10px;align-items:center;color:var(--muted);font-size:12px;font-weight:700}.rank-game-filter select{max-width:285px;min-width:175px;border:1px solid var(--line);border-radius:10px;padding:11px;color:var(--text);background:var(--input)}
@media(max-width:560px){.rank-game-filter,.rank-game-filter label{width:100%}.rank-game-filter select{flex:1;min-width:0}.hero-animated>img{width:100%;max-height:280px}}
@media(prefers-reduced-motion:reduce){.hero-animated:before,.hero-animated>img,.hero-animated .floating-stamp,.hero-orbit,.hero-spark{animation:none!important;transform:none!important}}
/* LIFE-GAMES 1.3.0 — player profiles and server comment system */
.player-cover{height:270px;position:relative;border-radius:20px;overflow:hidden;background:var(--surface2);border:1px solid var(--line)}.player-cover>img{width:100%;height:100%;object-fit:cover}.player-cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(7,11,23,.65))}.player-profile-header{display:flex;align-items:center;gap:22px;margin:-57px 25px 25px;position:relative;z-index:1}.player-profile-header .player-head-main{flex:1;min-width:0}.player-profile-header h1{font-size:clamp(26px,4vw,44px);margin:8px 0 4px}.player-profile-header .section-kicker,.player-profile-header h1,.player-profile-header .player-username{color:var(--text);text-shadow:0 2px 12px var(--bg)}.player-avatar{width:44px;height:44px;object-fit:cover;flex-shrink:0;border-radius:50%;border:2px solid var(--line);background:var(--surface2)}.player-avatar-large{width:124px;height:124px;border:5px solid var(--bg);box-shadow:0 14px 30px rgba(0,0,0,.22)}.player-username{font-size:12px;color:var(--muted);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.player-stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:23px 0}.player-stats-row>div{display:flex;align-items:center;gap:11px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:18px}.player-stats-row i{color:var(--accent2);font-size:19px}.player-stats-row strong{font-size:21px}.player-stats-row span{color:var(--muted);font-size:11px}.profile-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:19px;align-items:start}.profile-content-grid>div{display:grid;gap:19px}.profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:23px}.profile-facts>div{display:grid;grid-template-columns:21px 1fr;gap:2px 10px;padding:13px;border-radius:10px;background:var(--surface2);min-width:0}.profile-facts>div i{grid-row:span 2;color:var(--accent2);padding-top:3px}.profile-facts span{color:var(--muted);font-size:11px}.profile-facts strong{overflow-wrap:anywhere;font-size:13px}.profile-bio{line-height:1.9;white-space:normal;overflow-wrap:anywhere}.profile-server-list{display:grid;gap:10px}.profile-server-list>a{display:flex;align-items:center;gap:15px;padding:11px;border-radius:12px;background:var(--surface2)}.profile-server-list>a:hover{outline:1px solid var(--accent)}.profile-server-list img{width:88px;height:59px;object-fit:cover;border-radius:7px}.profile-server-list span{flex:1;display:grid}.profile-server-list small{font-size:11px;color:var(--muted)}.profile-socials{display:grid;gap:7px}.profile-socials>a{display:flex;align-items:center;gap:10px;padding:10px 11px;background:var(--surface2);border-radius:10px;font-weight:700;font-size:13px}.profile-socials>a i:first-child{font-size:19px;min-width:21px;color:var(--accent2)}.profile-socials>a i:last-child{margin-left:auto;color:var(--muted);font-size:11px}.profile-edit-form h2{font-size:20px;margin-top:24px}.profile-edit-preview{max-width:100%;height:100px;object-fit:contain;align-self:flex-start;margin-top:10px;border-radius:10px}.account-profile-shortcuts{display:flex;gap:12px;margin-bottom:24px}.player-inline-link{color:var(--accent2);font-weight:700}.player-inline-link:hover{text-decoration:underline}.players-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.player-list-card{display:flex;align-items:center;gap:14px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:13px}.player-list-card:hover{border-color:var(--accent)}.player-list-card img{width:65px;height:65px;object-fit:cover;border-radius:13px}.player-list-card>div{flex:1;min-width:0;display:grid}.player-list-card strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-list-card small{color:var(--muted);font-size:11px}.player-list-card span{color:var(--accent2);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-list-card>i{font-size:12px;color:var(--muted)}.server-comments{margin-top:23px}.comment-compose{border:1px solid var(--line);padding:17px;background:var(--surface2);border-radius:13px;margin-bottom:20px}.comment-editor-head{display:flex;align-items:center;gap:10px}.comment-list{display:grid;gap:15px}.comment-card{display:flex;align-items:flex-start;gap:13px;padding:17px 0;border-top:1px solid var(--line)}.comment-card>.player-avatar{width:48px;height:48px}.comment-main{flex:1;min-width:0}.comment-byline{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.comment-byline a:hover{color:var(--accent2)}.comment-byline small{color:var(--muted);font-size:11px}.comment-text{padding:10px 0;line-height:1.75;overflow-wrap:anywhere}.comment-tools{display:flex;align-items:flex-start;gap:15px}.comment-tools details{min-width:0;flex:1}.comment-tools summary{font-weight:700;color:var(--accent2);font-size:12px;cursor:pointer;display:inline-block}.comment-tools details form{padding:12px 0}.comment-tools textarea{width:100%}.comment-tools .danger-link{padding:0}.comment-empty{padding:20px;text-align:center}.admin-comment-list{display:grid;gap:14px}.admin-comment-list .admin-panel{display:grid;gap:12px}.admin-comment-list .admin-panel form.stack-form{display:grid;gap:8px}.admin-comment-list .admin-panel textarea{width:100%}.admin-comment-list .admin-panel .text-link{font-size:12px}.forum-post-author>a{display:grid;justify-items:center;gap:4px}.forum-post-author>a:hover{color:var(--accent2)}
@media(max-width:980px){.profile-content-grid{grid-template-columns:1fr}.players-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.player-cover{height:190px}.player-profile-header{margin:-48px 8px 18px;gap:12px;flex-wrap:wrap}.player-avatar-large{width:90px;height:90px}.player-profile-header .btn{width:100%}.player-profile-header h1{font-size:24px}.player-stats-row{grid-template-columns:repeat(2,1fr);gap:7px}.player-stats-row>div{padding:13px;gap:8px}.player-stats-row span{font-size:10px}.profile-facts{grid-template-columns:1fr}.players-grid{grid-template-columns:1fr}.account-profile-shortcuts{flex-wrap:wrap}.comment-compose{padding:12px}.comment-card{gap:8px}.comment-card>.player-avatar{width:36px;height:36px}.comment-byline{gap:5px}}

/* LIFE-GAMES 1.4.0: compact manual monitor action for staff */
.server-refresh-form{margin:8px 0 3px}.server-card-stats [data-server-players]{font-variant-numeric:tabular-nums}

/* LIFE-GAMES 1.4.1: owner edit actions and cron status */
.detail-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.detail-head-actions .btn{white-space:nowrap}.monitor-command{overflow-wrap:anywhere;border:1px solid var(--line);background:var(--surface2);border-radius:9px;padding:13px;margin:12px 0}.monitor-command code{white-space:normal;color:var(--text)}@media(max-width:680px){.detail-head{flex-wrap:wrap}.detail-head-actions{width:100%;justify-content:flex-start}}

/* LIFE-GAMES 1.4.2: working guest auth in the mobile dropdown, unique visitor counts */
.mobile-nav-auth{display:none}
@media(max-width:1050px){
 .mobile-nav-auth{display:flex;flex-direction:column;gap:7px;border-top:1px solid var(--line);margin-top:8px;padding-top:13px}
 .mobile-nav-auth>a,.mobile-nav-logout>button{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border-radius:10px;color:var(--text);background:var(--surface2);border:1px solid var(--line);font-size:14px;font-weight:750;text-align:left}
 .mobile-nav-auth>a:hover,.mobile-nav-logout>button:hover{border-color:var(--accent);color:var(--accent2)}
 .mobile-nav-auth .mobile-nav-register{background:var(--accent);color:#fff;border-color:var(--accent)}
 .mobile-nav-auth .mobile-nav-register:hover{color:#fff;filter:brightness(1.12)}
 .mobile-nav-auth i{width:20px;text-align:center}
 .mobile-nav-logout{margin:0}
 .nav-links.open{max-height:calc(100dvh - 83px);overflow-y:auto;overscroll-behavior:contain}
}
.footer-visitors{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:25px;padding:18px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.footer-visitors-title{display:inline-flex;align-items:center;gap:9px;font-weight:800;color:var(--text)}
.footer-visitors-title i{color:var(--accent2)}
.footer-visitors-stats{display:flex;align-items:center;flex-wrap:wrap;gap:19px}
.footer-visitors-stats span{display:inline-flex;align-items:center;gap:7px}
.footer-visitors-stats strong{color:var(--text);font:800 17px Rajdhani,sans-serif}
@media(max-width:560px){.footer-visitors{padding:13px 0;justify-content:center;text-align:center}.footer-visitors-stats{width:100%;justify-content:space-evenly;gap:10px}}

/* LIFE-GAMES 1.4.3: visible, CSRF-protected sign out for signed-in users */
.header-logout{display:inline-flex;align-items:center;flex-shrink:0;margin:0}
.header-logout-button{cursor:pointer;min-width:0;white-space:nowrap;color:var(--text);border:1px solid var(--line)}
.header-logout-button:hover{color:var(--accent2);border-color:var(--accent)}
@media(min-width:1051px) and (max-width:1300px){.header-logout-label{display:none}}
@media(max-width:1050px){.header-logout-label{display:none}}
@media(max-width:560px){.header-logout{display:none}/* Logout remains in hamburger menu. */}

/* LIFE-GAMES 1.5 – shareable live voting banners and IP country */
.form-country-info{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);font-size:13px;color:var(--muted)}
.form-country-info i{color:var(--accent);font-size:18px}.form-country-info strong{color:var(--text);width:100%}
.server-embed-section .muted-note{margin:-6px 0 20px}.server-embed-list{display:grid;gap:19px}.server-embed-item{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--surface2);padding:16px;display:grid;gap:12px}
.embed-size{font-size:13px;letter-spacing:.3px;color:var(--accent)}.embed-preview-link{display:block;max-width:100%;width:max-content;border-radius:9px;overflow:hidden;transition:transform .2s}.embed-preview-link:hover{transform:translateY(-2px)}.embed-preview-link img{display:block;max-width:100%;height:auto}
.embed-fields{display:grid;gap:12px}.embed-fields>div{min-width:0}.embed-fields .mini-label{display:block;margin-bottom:7px}.embed-copy{display:flex;gap:8px;align-items:center}.embed-copy input{flex:1;min-width:0;font-family:monospace;font-size:12px;background:var(--input);border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--text)}.embed-copy button{flex-shrink:0}
@media(max-width:620px){.server-embed-item{padding:10px}.server-embed-section{padding:17px}.embed-copy input{font-size:11px}}

/* LIFE-GAMES 1.5.0 — animated 3D wordmark above the gamepad/PC hero artwork */
.hero-visual .hero-wordmark{
 position:absolute;left:50%;top:0;transform:translateX(-50%);z-index:5;
 display:flex;align-items:center;justify-content:center;flex-direction:column;
 width:max-content;max-width:100%;isolation:isolate;pointer-events:none;
 filter:drop-shadow(0 7px 12px rgba(6,11,32,.7));
}
.hero-wordmark-letters{position:relative;display:flex;align-items:baseline;justify-content:center;white-space:nowrap;
 font-family:'Rajdhani','Exo 2',sans-serif;font-size:clamp(38px,4.7vw,66px);font-weight:900;
 line-height:1.03;letter-spacing:-.025em;transform:perspective(900px) rotateX(9deg);
 filter:drop-shadow(0 4px 0 #0a1636);}
.hero-wordmark-letter{position:relative;display:inline-block;
 background:linear-gradient(175deg,#fff 4%,#ddf7ff 25%,#62f0f2 48%,#b98cff 72%,#6946d5 97%);
 -webkit-background-clip:text;background-clip:text;color:transparent;
 -webkit-text-stroke:1px rgba(245,250,255,.43);
 text-shadow:0 0 20px rgba(127,112,255,.15);
 animation:lg-wordmark-dance 3.4s ease-in-out infinite;
 animation-delay:calc(var(--letter-index)*-135ms);will-change:transform;}
.hero-wordmark-glow{position:absolute;inset:10% -7% 0;
 background:radial-gradient(ellipse at 50% 65%,rgba(82,244,232,.39),transparent 68%);
 filter:blur(20px);opacity:.8;animation:lg-wordmark-glow 4s ease-in-out infinite alternate;}
.hero-wordmark-stroke{position:relative;margin-top:7px;width:82%;height:2px;
 background:linear-gradient(90deg,transparent,#5af7e9 22%,#c4a4ff 53%,#5af7e9 79%,transparent);
 box-shadow:0 0 16px rgba(91,238,240,.65);border-radius:999px;animation:lg-wordmark-pulse 3s ease-in-out infinite;}
@keyframes lg-wordmark-dance{
 0%,100%{transform:translateY(0) rotate(0deg) scale(1)}
 35%{transform:translateY(-8px) rotate(-2.5deg) scale(1.035)}
 65%{transform:translateY(2px) rotate(1.5deg) scale(.99)}
}
@keyframes lg-wordmark-glow{from{opacity:.4;transform:scale(.92)}to{opacity:1;transform:scale(1.09)}}
@keyframes lg-wordmark-pulse{0%,100%{opacity:.55;transform:scaleX(.88)}50%{opacity:1;transform:scaleX(1.06)}}
@media(max-width:1050px){.hero-wordmark-letters{font-size:clamp(36px,4.75vw,52px)}}
@media(max-width:800px){.hero-visual .hero-wordmark{top:-1%}.hero-wordmark-letters{font-size:clamp(38px,7.5vw,60px)}}
@media(max-width:560px){.hero-visual .hero-wordmark{top:-4%}.hero-wordmark-letters{font-size:clamp(31px,8.9vw,46px);letter-spacing:-.035em}.hero-wordmark-stroke{margin-top:3px}}
@media(prefers-reduced-motion:reduce){.hero-wordmark-letter,.hero-wordmark-glow,.hero-wordmark-stroke{animation:none!important;will-change:auto}}


/* LIFE-GAMES 1.5.1 — Real country flag images */
.server-country,.country-unknown{display:inline-flex;align-items:center;gap:7px;vertical-align:middle;min-width:0}
.country-flag{display:inline-block;flex:0 0 24px;width:24px;height:18px;border-radius:3px;object-fit:cover;vertical-align:middle;background:var(--surface2)}
.server-country>span{white-space:normal}
.form-country-info .server-country{margin-left:7px}
.server-subline .server-country{line-height:1.35}
/* Banner embed modal */
.banner-modal[hidden],.banner-format-panel[hidden]{display:none!important}
body.banner-modal-open{overflow:hidden}
.banner-modal{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px;isolation:isolate}
.banner-modal-backdrop{position:absolute;inset:0;background:rgba(3,7,19,.79);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px)}
.banner-modal-dialog{position:relative;z-index:1;width:min(100%,915px);max-height:min(92dvh,900px);overflow:hidden;display:flex;flex-direction:column;border:1px solid rgba(138,154,215,.30);border-radius:20px;background:var(--surface);box-shadow:0 30px 100px rgba(0,0,0,.58);outline:none}
.banner-modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;background:linear-gradient(115deg,rgba(128,98,255,.14),rgba(60,213,235,.07));border-bottom:1px solid var(--line)}
.banner-modal-heading{display:flex;gap:14px;align-items:center;min-width:0}
.banner-modal-icon{flex:none;width:49px;height:49px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(130deg,#7860f5,#3fc2dd);box-shadow:0 8px 26px rgba(111,84,255,.2);color:#fff;font-size:21px}
.banner-modal-heading h2{font-size:clamp(18px,3vw,24px);margin:3px 0 0;line-height:1.15}
.banner-modal-dismiss{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:10px;border:1px solid var(--line);background:var(--surface2);color:var(--text);cursor:pointer;font-size:17px}
.banner-modal-dismiss:hover{color:var(--accent);border-color:var(--accent)}
.banner-modal-content{overflow:auto;overscroll-behavior:contain;padding:24px 27px 25px}
.banner-modal-description{color:var(--muted);font-size:13px;line-height:1.65;margin:0 0 17px}
.banner-format-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.banner-format-tab{flex:1 1 125px;cursor:pointer;text-align:center;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--text);padding:12px 16px;font:800 17px 'Rajdhani',sans-serif;transition:background .18s,border .18s,box-shadow .18s}
.banner-format-tab span{font:500 11px Inter,sans-serif;color:var(--muted)}
.banner-format-tab[aria-selected=true]{color:var(--text);border-color:var(--accent);background:var(--glow);box-shadow:inset 0 0 0 1px rgba(139,113,255,.15)}
.banner-format-tab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.banner-preview-caption{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;align-items:center;color:var(--text);font-size:12px;font-weight:750}
.banner-preview-caption i{color:var(--accent);margin-right:5px}.banner-preview-caption small{color:var(--muted)}
.banner-preview-frame{display:grid;place-items:center;min-height:130px;padding:22px 12px;overflow:auto;background:repeating-linear-gradient(45deg,rgba(112,123,162,.05) 0px,rgba(112,123,162,.05) 12px,rgba(112,123,162,.10) 12px,rgba(112,123,162,.10) 24px);border:1px dashed var(--line);border-radius:13px;margin-bottom:20px}
.banner-preview-frame a{display:inline-flex;max-width:100%;align-items:center;justify-content:center}
.banner-preview-frame img{display:block;max-width:100%;height:auto;object-fit:contain;box-shadow:0 13px 30px rgba(0,0,0,.25);border-radius:4px}
.banner-code-row{margin-top:14px}.banner-code-row label{display:block;font-size:12px;font-weight:700;margin-bottom:7px;color:var(--text)}
.banner-code-field{display:flex;gap:9px;min-width:0}
.banner-code-field input{flex:1;min-width:0;background:var(--input);border:1px solid var(--line);border-radius:9px;padding:10px 12px;color:var(--muted);font:12px ui-monospace,Consolas,monospace;outline:none}
.banner-code-field input:focus{border-color:var(--accent);color:var(--text)}
.banner-code-field .btn{flex:none;display:inline-flex;align-items:center;gap:6px;min-width:105px;justify-content:center}
.banner-modal-foot{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px;border-top:1px solid var(--line);margin-top:22px;padding-top:15px}
.banner-modal-foot i{color:var(--positive)}
@media(max-width:700px){.banner-modal{padding:8px}.banner-modal-dialog{max-height:96dvh;border-radius:14px}.banner-modal-header{padding:16px}.banner-modal-icon{width:41px;height:41px;font-size:18px}.banner-modal-content{padding:17px 15px 20px}.banner-preview-frame{min-height:95px;padding:14px 9px}.banner-code-field .btn{min-width:90px}.detail-head-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:430px){.banner-modal-icon{display:none}.banner-format-tabs{gap:5px}.banner-format-tab{flex:1 1 85px;padding:9px 3px;font-size:14px}.banner-code-field .btn{font-size:11px;min-width:75px;padding:9px 6px}.banner-modal-foot{font-size:11px}}
@media(prefers-reduced-motion:reduce){.banner-format-tab{transition:none}}

/* LIFE-GAMES 1.5.6: country picker, staff badges, rank AJAX and compact banners */
.user-role-badge{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;white-space:nowrap;margin-inline:5px 0;padding:3px 8px;border:1px solid rgba(133,127,255,.32);border-radius:8px;background:rgba(117,95,245,.13);color:#c3b5ff;font:750 10px Inter,Arial,sans-serif;line-height:1.3}
.user-role-badge.role-admin{background:rgba(246,167,78,.13);color:#f6bd79;border-color:rgba(246,167,78,.34)}
.user-role-badge.role-moderator{background:rgba(71,205,179,.12);color:#50ddbc;border-color:rgba(71,205,179,.32)}
.user-role-badge.role-portal-owner{background:rgba(244,198,94,.15);border-color:rgba(244,198,94,.32);color:#ffd87b}
.player-list-card .user-role-badge{max-width:fit-content;align-self:flex-start;margin:4px 0 0}
.player-username .user-role-badge{margin-left:8px}
.forum-post-author .user-role-badge{margin:8px auto 4px}
.comment-byline .user-role-badge{margin-right:4px}
.filterbar select[name="country"]{min-width:130px}
.rank-game-filter.is-loading{opacity:.62;pointer-events:none}
[data-home-leaderboards],[data-home-popular]{transition:opacity .15s}
@media(max-width:750px){.filterbar{flex-wrap:wrap}.filterbar>label{min-width:0}.filterbar select[name="country"]{min-width:100px}}

/* LIFE-GAMES project-wide social links, separate from player profile networks */
.footer-project-socials{margin-top:22px}.footer-project-socials-title{display:block;font-size:11px;letter-spacing:.065em;color:var(--muted);margin-bottom:11px}.footer-project-socials-list{display:flex;flex-wrap:wrap;gap:8px}.footer-project-social{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--text);border:1px solid var(--line);border-radius:9px;background:var(--surface);min-height:36px;padding:7px 10px;font-size:11px;font-weight:700;transition:border-color .15s,color .15s,background .15s}.footer-project-social i{font-size:16px;color:var(--accent2)}.footer-project-social:hover,.footer-project-social:focus-visible{border-color:var(--accent2);background:var(--surface2);color:var(--accent2)}.social-monogram{display:inline-flex;align-items:center;justify-content:center;min-width:18px;font-size:11px;color:var(--accent2);font-weight:900}
.project-social-add-form,.project-social-edit-form{display:grid;grid-template-columns:1fr minmax(220px,2fr) 95px auto auto;align-items:end;gap:12px}.project-social-add-form label,.project-social-edit-form label{min-width:0}.project-social-add-form label input,.project-social-add-form label select,.project-social-edit-form label input{width:100%}.project-social-add-form .check-row,.project-social-edit-form .check-row{min-height:42px}.project-social-admin-list{display:grid;gap:15px;margin-top:16px}.project-social-admin-row{display:grid;grid-template-columns:180px minmax(0,1fr) 35px;align-items:end;gap:12px;border:1px solid var(--line);border-radius:12px;padding:14px}.project-social-identity{display:flex;align-items:center;gap:10px;font-size:12px;min-height:44px}.project-social-icon{display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:var(--surface2);width:38px;height:38px;color:var(--accent2);font-size:19px}.project-social-admin-row>.icon-btn{align-self:end}
@media(max-width:1250px){.project-social-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.project-social-edit-form{grid-template-columns:minmax(180px,2fr) 80px auto auto}.project-social-admin-row{grid-template-columns:1fr}.project-social-admin-row>form:last-child{justify-self:end}.project-social-identity{min-height:36px}}
@media(max-width:650px){.project-social-add-form,.project-social-edit-form{grid-template-columns:1fr 1fr}.project-social-add-form label:nth-child(2),.project-social-edit-form label:first-of-type{grid-column:1/-1}.project-social-add-form>button{grid-column:1/-1}.project-social-edit-form>button{grid-column:1/-1}.footer-project-social{font-size:10px;min-height:35px;padding:7px 9px}}

/* LIFE-GAMES 1.5.9 — latest forum discussions, last post metadata and author profile. */
.forum-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.forum-home-post{display:flex;flex-direction:column;min-width:0;gap:12px;padding:19px 21px}
.forum-home-post-head{display:flex;align-items:center;gap:10px;min-width:0}
.forum-home-avatar,.forum-last-avatar{display:block;flex-shrink:0;width:39px;height:39px;object-fit:cover;border-radius:11px;border:1px solid var(--line);background:var(--surface2)}
.forum-home-post-author{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px;font-size:12px;font-weight:750}
.forum-home-post-author a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.forum-home-post-author a:hover,.forum-home-title:hover,.forum-home-open:hover{color:var(--accent2)}
.forum-home-post-author time{font-size:11px;font-weight:400;color:var(--muted)}
.forum-home-post-head .user-role-badge{flex-shrink:0;max-width:40%}
.forum-home-title{font-weight:800;font-size:15px;overflow-wrap:anywhere}
.forum-home-excerpt{font-size:13px;line-height:1.65;color:var(--muted);margin:0;flex:1;overflow-wrap:anywhere}
.forum-home-open{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--accent2)}
.forum-entry-with-last{gap:17px}
.forum-last-post{flex:0 0 255px;max-width:255px;min-width:0;border-left:1px solid var(--line);padding-left:15px;display:flex;flex-direction:column;gap:7px}
.forum-last-label{font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.forum-last-title{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.forum-last-details{display:flex;gap:8px;align-items:center;min-width:0}
.forum-last-avatar{width:30px;height:30px;border-radius:9px}
.forum-last-details-text{display:flex;flex-direction:column;min-width:0;gap:3px}
.forum-last-details-text a,.forum-last-details-text>span{font-size:11px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.forum-last-details-text a:hover{color:var(--accent2)}
.forum-last-details-text time,.forum-last-none{font-size:10px;color:var(--muted);white-space:nowrap}
.forum-topic-row .forum-last{display:flex;flex-direction:column;gap:4px;min-width:135px}
.forum-topic-row .forum-last small{margin:0}
.forum-post{grid-template-columns:207px minmax(0,1fr)}
.forum-post-author{gap:11px;padding:19px 13px}
.forum-post-author .forum-author-identity{display:flex;flex-direction:column;align-items:center;gap:9px;max-width:100%;min-width:0;text-align:center}
.forum-post-author .forum-author-identity strong{max-width:100%;overflow-wrap:anywhere;font-size:14px}
.forum-post-author img.forum-avatar{width:76px;height:76px;object-fit:cover;border:2px solid var(--line);border-radius:17px;flex-shrink:0}
.forum-post-author .user-role-badge{margin:0 auto;max-width:100%;white-space:normal;text-align:center}
.forum-author-facts{display:flex;flex-direction:column;align-self:stretch;gap:0;margin-top:3px;padding-top:10px;border-top:1px solid var(--line)}
.forum-author-fact{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px;max-width:100%;min-width:0}
.forum-author-fact:last-child{border-bottom:0}
.forum-author-fact>span{font-size:10px;display:inline-flex;align-items:center;gap:5px;color:var(--muted)}
.forum-author-fact>span i{width:13px;color:var(--accent2)}
.forum-author-fact b{font-size:12px;font-weight:750;color:var(--text);overflow-wrap:anywhere}
@media(max-width:940px){.forum-last-post{flex-basis:215px;max-width:215px}.forum-entry-with-last{flex-wrap:wrap}.forum-entry-with-last .forum-last-post{margin-left:60px;flex:1 0 calc(100% - 60px);max-width:none;padding-left:0;border-left:0;border-top:1px solid var(--line);padding-top:10px}}
@media(max-width:700px){.forum-home-grid{grid-template-columns:1fr}.forum-post{grid-template-columns:1fr}.forum-post-author{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:11px;border-right:0;border-bottom:1px solid var(--line);padding:14px}.forum-post-author .forum-author-identity{flex-direction:row;text-align:left}.forum-post-author img.forum-avatar{width:46px;height:46px;border-radius:13px}.forum-post-author .user-role-badge{margin:0}.forum-author-facts{flex:1 0 100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:0;padding-top:8px}.forum-author-fact{border:0;min-width:0;padding:3px 0}.forum-entry-with-last .forum-last-post{margin-left:0;flex:1 0 100%}.forum-topic-row{flex-wrap:wrap}.forum-topic-row .forum-last{display:flex;flex:1 0 100%;max-width:none;text-align:left;border-top:1px solid var(--line);padding:7px 0 0 35px;gap:4px}}
@media(max-width:420px){.forum-home-post{padding:16px 14px}.forum-home-post-head .user-role-badge{max-width:45%;font-size:9px}.forum-author-fact>span{font-size:9px}.forum-post-author .user-role-badge{font-size:10px}}
.forum-post-author img.forum-avatar{display:block}
