:root{
  --bg:#07080d;--bg2:#0b0d15;--panel:#10131d;--panel2:#141925;
  --text:#f4f7ff;--muted:#8e96aa;--muted2:#626b7f;--line:#ffffff14;
  --orange:#ff9d32;--orange2:#ff6d2e;--violet:#a88cff;--cyan:#62d6d1;--green:#9ed36a;
  --shadow:0 24px 70px #0009;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.5;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.lw-bg{position:fixed;inset:0;z-index:-5;background:
  linear-gradient(180deg,#07080ddd 0%,#07080df2 70%,#07080d 100%),
  url("background.png") center/cover fixed no-repeat}
.lw-bg:after{content:"";position:absolute;inset:0;background:
  radial-gradient(circle at 15% 20%,#a88cff10,transparent 28%),
  radial-gradient(circle at 85% 25%,#62d6d108,transparent 28%),
  linear-gradient(90deg,transparent 0,#ffffff03 50%,transparent 100%);
  pointer-events:none}
.forum-header{position:sticky;top:0;z-index:100;height:76px;border-top:2px solid #ff9d3244;border-bottom:1px solid var(--line);background:#080a10df;backdrop-filter:blur(18px)}
.header-inner{max-width:1180px;height:100%;margin:auto;padding:0 22px;display:flex;align-items:center;gap:30px}
.forum-logo{display:flex;align-items:center;gap:10px;min-width:190px}
.forum-logo img{width:62px;height:55px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 8px 10px #000)}
.forum-logo span{display:flex;flex-direction:column;line-height:1}
.forum-logo b{font-size:13px;letter-spacing:.08em}.forum-logo small{font-size:7px;color:var(--orange);letter-spacing:.22em;margin-top:5px}
.forum-nav{display:flex;gap:6px;flex:1}.forum-nav a,.account-link{padding:10px 12px;border-radius:9px;color:#9ba3b5;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.forum-nav a:hover,.account-link:hover{background:#ffffff08;color:#fff}
.forum-account{display:flex;align-items:center;gap:8px}.user-chip{display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;font-size:9px;font-weight:800}.online-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 9px #9ed36a}
.account-button{padding:10px 13px;border-radius:9px;background:var(--orange);color:#171006;font-size:8px;font-weight:900;text-transform:uppercase}
.logout-link{color:#727b8e}.mobile-menu{display:none}
.forum-return{max-width:1180px;margin:auto;padding:13px 22px 0}.forum-return a{color:#697286;font-size:8px;font-weight:700}.forum-return a:hover{color:#fff}
.forum-shell{max-width:1180px;margin:auto;padding:35px 22px 100px}.compact-shell{padding-top:22px}
.forum-hero{min-height:470px;display:grid;grid-template-columns:1.05fr .95fr;gap:35px;align-items:center;padding:30px 15px 55px}
.section-tag{font-size:8px;font-weight:900;letter-spacing:.22em;color:#727c91;text-transform:uppercase}.section-tag span{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--orange);box-shadow:0 0 12px #ff9d32;margin-right:7px}
.hero-copy h1{font-size:clamp(48px,6.5vw,84px);line-height:.9;letter-spacing:-.07em;margin:18px 0}.hero-copy h1 strong{color:var(--orange);font-weight:900}.hero-copy p{max-width:520px;color:#929aac;font-size:12px;line-height:1.8}.hero-actions{display:flex;gap:9px;margin-top:24px}
.lw-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:42px;padding:0 17px;border:1px solid var(--line);border-radius:10px;font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;transition:.2s}.lw-btn b{font-size:13px}.lw-btn:hover{transform:translateY(-2px)}.lw-btn.primary{background:linear-gradient(135deg,var(--orange),#ff7a2e);border-color:#ff9d32;color:#160d06;box-shadow:0 9px 25px #ff7a2e1c}.lw-btn.ghost{background:#ffffff05;color:#b8c0d0}.lw-btn.full{width:100%}
.hero-art{height:390px;position:relative;display:grid;place-items:center}.hero-orbit{position:absolute;width:330px;height:330px;border:1px solid #ffffff10;border-radius:50%;box-shadow:inset 0 0 70px #a88cff08,0 0 70px #0008}.hero-orbit:after{content:"";position:absolute;inset:35px;border:1px dashed #ff9d3220;border-radius:50%}
.hero-logo{position:relative;z-index:3;width:270px;max-height:210px;object-fit:contain;filter:drop-shadow(0 24px 20px #000)}
.hero-character{position:absolute;z-index:4;width:70px;image-rendering:pixelated;filter:drop-shadow(0 14px 10px #000);animation:float 4s ease-in-out infinite}.char-one{left:7%;top:50px}.char-two{right:8%;bottom:45px;animation-delay:-1.5s}.hero-caption{position:absolute;bottom:5px;font-size:7px;letter-spacing:.2em;color:#596173}
.quick-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:#0c0f16d9;border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.quick-stats div{padding:20px;border-right:1px solid var(--line);display:flex;align-items:baseline;gap:8px;justify-content:center}.quick-stats div:last-child{border-right:0}.quick-stats b{font-size:22px}.quick-stats span{font-size:7px;color:#6e778a;text-transform:uppercase;letter-spacing:.1em}
.forum-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;margin-top:40px}.block{margin-top:10px}.block-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:13px}.block-head h2{margin:6px 0 0;font-size:28px;letter-spacing:-.05em}.block-count{font-size:7px;color:#687185;text-transform:uppercase;letter-spacing:.12em}
.category-list,.thread-list,.side-card,.thread-header-card,.reply-card,.post-card,.form-card,.profile-card{border:1px solid var(--line);background:#0d1018df;box-shadow:0 20px 55px #0005;border-radius:15px;overflow:hidden;backdrop-filter:blur(10px)}
.category-card{position:relative;display:grid;grid-template-columns:48px 1fr 55px;gap:15px;align-items:center;padding:18px 20px;border-bottom:1px solid #ffffff0c;min-height:108px;overflow:hidden;transition:.2s}.category-card:last-child{border-bottom:0}.category-card:hover,.thread-card:hover{background:#ffffff05}.category-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid #ffffff10;border-radius:11px;background:#ffffff06;font-size:21px;z-index:2}.category-body{z-index:2}.category-body h3{margin:0;font-size:15px}.category-body p{margin:4px 0;color:#777f91;font-size:9px}.category-meta{color:#606a7c;font-size:7px}.category-meta i,.thread-content i{font-style:normal;color:#394252;margin:0 4px}.category-arrow{justify-self:end;color:#737d91;font-size:18px;z-index:2}.category-char{position:absolute;right:52px;bottom:-9px;width:62px;height:70px;object-fit:contain;image-rendering:pixelated;opacity:.24;filter:drop-shadow(0 8px 6px #000);transition:.2s}.category-card:hover .category-char{opacity:.65;transform:translateY(-5px)}
.thread-card{display:grid;grid-template-columns:40px minmax(0,1fr) 80px 90px;gap:13px;align-items:center;padding:15px 18px;border-bottom:1px solid #ffffff0c;min-height:76px;transition:.2s}.thread-card:last-child{border-bottom:0}.thread-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#ffffff06;border:1px solid #ffffff0d;color:#aab3c5;font-size:13px}.thread-content{min-width:0}.thread-content h3{margin:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-content p{margin:5px 0 0;color:#667084;font-size:7px}.thread-badge{display:inline-block;margin-right:7px;padding:3px 5px;border-radius:4px;background:#ff9d3218;color:#ffad49;font-size:6px;vertical-align:2px}.thread-numbers{text-align:right;display:flex;flex-direction:column}.thread-numbers b{font-size:11px}.thread-numbers span{font-size:6px;color:#626c80;text-transform:uppercase;letter-spacing:.08em}.thread-numbers.muted{opacity:.7}.empty-state{padding:35px;text-align:center;color:#687185;font-size:10px}
.side-card{padding:18px;margin-top:10px;position:relative}.server-card{min-height:255px;overflow:hidden;background:linear-gradient(145deg,#15121c,#0d1018)}.side-tag,.side-title{font-size:7px;font-weight:900;letter-spacing:.17em;color:#697387;text-transform:uppercase}.server-card h3{font-size:27px;line-height:.9;letter-spacing:-.05em;margin:25px 0 9px}.server-card h3 span{color:var(--orange)}.server-card p{max-width:180px;color:#777f91;font-size:8px;line-height:1.6}.server-status{position:absolute;left:18px;bottom:53px;font-size:7px;color:#9ca6b8;letter-spacing:.08em}.server-status span{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px var(--green);margin-right:5px}.side-link{position:absolute;left:18px;bottom:17px;color:var(--orange);font-size:8px;font-weight:900}.side-character{position:absolute;right:0;bottom:-4px;width:88px;image-rendering:pixelated;filter:drop-shadow(0 10px 8px #000)}
.side-title{display:flex;align-items:center;gap:8px;margin-bottom:8px}.side-title span{color:var(--green)}.side-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ffffff0b;color:#a0a8b8;font-size:8px}.side-row:last-child{border:0}.side-row b{color:#687286}.mini-characters{display:flex;align-items:center;gap:12px;min-height:78px}.mini-characters img{width:58px;height:58px;object-fit:contain;image-rendering:pixelated}.mini-characters div{display:flex;flex-direction:column}.mini-characters b{font-size:11px}.mini-characters span{font-size:8px;color:#6f788b;margin-top:3px}
.breadcrumb{display:flex;gap:9px;align-items:center;margin:8px 0 18px;color:#667084;font-size:8px}.breadcrumb a:hover{color:#fff}.breadcrumb b{color:#a9b1c1}
.category-hero{display:grid;grid-template-columns:70px 1fr auto;gap:18px;align-items:center;padding:24px;margin-bottom:28px;border:1px solid var(--line);border-radius:15px;background:#0d1018d9}.category-hero-icon{width:64px;height:64px;border-radius:14px;display:grid;place-items:center;background:#ffffff07;border:1px solid var(--line);font-size:30px}.category-hero h1,.thread-header-card h1,.form-card h1,.auth-card h1,.profile-card h1{font-size:clamp(32px,4vw,54px);line-height:.95;letter-spacing:-.06em;margin:7px 0}.category-hero p,.thread-header-card p{margin:0;color:#798294;font-size:9px}.create-top{white-space:nowrap}
.thread-header-card{padding:28px;margin-bottom:12px}.thread-header-card h1{margin:11px 0 9px}.posts{display:flex;flex-direction:column;gap:10px}.post-card{display:grid;grid-template-columns:145px minmax(0,1fr);overflow:hidden}.post-author{padding:19px;border-right:1px solid #ffffff0d;display:flex;flex-direction:column;align-items:flex-start}.post-avatar{width:54px;height:54px;border-radius:12px;background:linear-gradient(145deg,#1d2330,#10131c);border:1px solid #ffffff12;display:grid;place-items:center;margin-bottom:10px}.post-avatar span{font-size:20px;font-weight:900;color:#aeb7c8}.post-name{font-size:10px;font-weight:900}.post-author small{font-size:7px;color:#697286;margin-top:3px}.post-author em{font-style:normal;font-size:6px;color:var(--orange);margin-top:8px;padding:4px 6px;border-radius:4px;background:#ff9d3214}.post-main{padding:20px;min-width:0}.post-date{font-size:7px;color:#606a7d}.post-text{margin-top:16px;color:#b8c0cf;font-size:10px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.reply-card{margin-top:12px;padding:20px}.reply-card h2{margin:7px 0 15px;font-size:19px}.forum-textarea{min-height:130px}.forum-textarea.large{min-height:230px}.reply-actions,.form-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.reply-actions span{font-size:7px;color:#606a7c}.login-prompt{display:flex;align-items:center;gap:13px;margin-top:12px;padding:17px;border:1px solid var(--line);border-radius:14px;background:#0d1018dd}.login-prompt span{font-size:8px;color:#737d90;flex:1}.login-prompt b{font-size:10px}
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:14px;max-width:900px;margin:35px auto 0}.form-card{padding:30px}.form-card h1{font-size:50px;margin-top:15px}.form-card h1 strong{color:var(--orange)}.form-side{border:1px solid var(--line);border-radius:15px;background:#0d1018dd;padding:20px;align-self:start;min-height:300px}.form-side img{display:block;width:75px;height:90px;object-fit:contain;image-rendering:pixelated;margin:0 auto 15px}.form-side h3{font-size:18px;line-height:1;margin:0 0 9px}.form-side p{color:#737d90;font-size:8px;line-height:1.7}
.form-row{margin:16px 0}.form-row label{display:block;margin-bottom:7px;font-size:7px;font-weight:900;color:#778094;letter-spacing:.14em}.input,.textarea,.select{display:block;width:100%;border:1px solid #ffffff12;border-radius:9px;background:#080a10;color:#f4f7ff;outline:0}.input{height:44px;padding:0 12px}.textarea{padding:12px;resize:vertical;line-height:1.6}.select{height:44px;padding:0 12px}.input:focus,.textarea:focus,.select:focus{border-color:#ff9d3266;box-shadow:0 0 0 3px #ff9d3210}.form-error{padding:10px;border:1px solid #ff555533;border-radius:8px;background:#ff55550b;color:#ffb5b5;font-size:8px;margin:14px 0}
.auth-wrap{max-width:500px;margin:50px auto 0;position:relative}.auth-card{padding:32px;position:relative;z-index:2}.auth-brand img{width:80px;height:60px;object-fit:contain;margin-bottom:20px}.auth-card h1{font-size:44px;margin:15px 0 8px}.auth-card>p{font-size:9px;color:#788194;line-height:1.7}.auth-note{text-align:center;color:#687286!important}.auth-note a{color:var(--orange);font-weight:800}.auth-character{position:absolute;width:85px;height:100px;object-fit:contain;image-rendering:pixelated;right:-85px;bottom:0;filter:drop-shadow(0 13px 8px #000);animation:float 4s ease-in-out infinite}
.profile-card{display:grid;grid-template-columns:90px 1fr auto;gap:20px;align-items:center;padding:28px;max-width:850px;margin:35px auto}.profile-avatar{width:82px;height:82px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#252c3b,#121620);border:1px solid var(--line);font-size:32px;font-weight:900}.profile-info h1{margin:8px 0}.role-pill{display:inline-block;padding:5px 7px;border-radius:5px;background:#a88cff14;color:var(--violet);font-size:7px;text-transform:uppercase}.profile-stats{display:flex;gap:22px}.profile-stats div{display:flex;flex-direction:column;text-align:center}.profile-stats b{font-size:22px}.profile-stats span{font-size:7px;color:#6d778a;text-transform:uppercase}
.forum-footer{border-top:1px solid var(--line);background:#080a10d9}.footer-inner{max-width:1180px;margin:auto;padding:28px 22px 38px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-brand{display:flex;align-items:center;gap:9px}.footer-brand img{width:48px;height:42px;object-fit:contain}.footer-brand div{display:flex;flex-direction:column}.footer-brand b{font-size:10px}.footer-brand small{font-size:7px;color:#667084}.footer-links{display:flex;gap:18px}.footer-links a{font-size:7px;color:#798294}.footer-copy{font-size:7px;color:#4f586b}
@keyframes float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)}}
@media(max-width:900px){
  .header-inner{gap:15px}.forum-logo{min-width:auto}.forum-nav{gap:0}.forum-nav a{padding:9px 8px}
  .forum-columns{grid-template-columns:1fr}.forum-side{display:grid;grid-template-columns:1fr 1fr;gap:10px}.side-card{margin-top:0}.mini-characters{grid-column:1/-1}
  .hero-art{height:320px}.hero-orbit{width:270px;height:270px}.hero-logo{width:220px}.auth-character{right:-45px}
}
@media(max-width:700px){
  .forum-header{height:64px}.header-inner{padding:0 14px}.forum-logo img{width:54px;height:47px}.forum-logo span{display:none}
  .mobile-menu{display:block;border:0;background:#ffffff07;color:#dfe5f0;border:1px solid var(--line);border-radius:8px;width:36px;height:36px;cursor:pointer}
  .forum-nav{position:absolute;top:64px;left:10px;right:10px;display:none;flex-direction:column;padding:8px;border:1px solid var(--line);border-radius:12px;background:#0b0e15f5;backdrop-filter:blur(15px);box-shadow:var(--shadow)}.forum-nav.open{display:flex}.forum-nav a{padding:12px}.forum-account{margin-left:auto}.user-chip{font-size:8px}.account-button{display:none}.account-link{padding:8px 4px}
  .forum-return{padding:11px 16px 0}.forum-shell{padding:25px 14px 65px}.forum-hero{grid-template-columns:1fr;padding:25px 4px 35px;min-height:auto;gap:5px}.hero-copy h1{font-size:50px}.hero-copy p{font-size:10px}.hero-actions{flex-wrap:wrap}.hero-art{height:270px}.hero-orbit{width:225px;height:225px}.hero-logo{width:180px}.hero-character{width:55px}.char-one{left:4%;top:32px}.char-two{right:4%;bottom:28px}.quick-stats{grid-template-columns:1fr 1fr}.quick-stats div{padding:15px}.quick-stats div:nth-child(2){border-right:0}.quick-stats div:nth-child(-n+2){border-bottom:1px solid var(--line)}.quick-stats b{font-size:18px}
  .forum-columns{margin-top:25px}.forum-side{display:block}.side-card{margin-top:10px}.server-card{min-height:220px}
  .block-head h2{font-size:23px}.category-card{grid-template-columns:42px 1fr 25px;padding:14px 12px;min-height:92px;gap:10px}.category-icon{width:38px;height:38px;font-size:18px}.category-body h3{font-size:12px}.category-body p{font-size:8px}.category-meta{font-size:6px}.category-char{right:28px;width:50px;height:58px;opacity:.16}
  .thread-card{grid-template-columns:34px 1fr;gap:9px;padding:13px 11px}.thread-numbers{display:none}.thread-content h3{font-size:10px}.thread-content p{font-size:6px}
  .category-hero{grid-template-columns:55px 1fr;padding:17px;gap:12px}.category-hero-icon{width:52px;height:52px;font-size:24px}.category-hero h1{font-size:29px}.category-hero p{font-size:8px}.create-top{grid-column:1/-1;width:100%}
  .thread-header-card{padding:20px}.thread-header-card h1{font-size:29px}.thread-header-card p{font-size:7px}
  .post-card{grid-template-columns:1fr}.post-author{border-right:0;border-bottom:1px solid #ffffff0d;padding:13px;display:grid;grid-template-columns:46px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center}.post-avatar{grid-row:1/3;width:44px;height:44px;margin:0}.post-author em{grid-column:2;margin-top:3px;width:max-content}.post-main{padding:15px}.post-text{font-size:9px}.reply-actions,.form-actions{align-items:stretch;flex-direction:column}.reply-actions .lw-btn,.form-actions .lw-btn{width:100%}.login-prompt{align-items:flex-start;flex-direction:column}
  .form-layout{grid-template-columns:1fr;margin-top:20px}.form-side{display:none}.form-card{padding:20px}.form-card h1{font-size:39px}.auth-wrap{margin:25px auto 0}.auth-card{padding:22px}.auth-card h1{font-size:35px}.auth-character{display:none}
  .profile-card{grid-template-columns:65px 1fr;padding:20px;gap:13px}.profile-avatar{width:62px;height:62px;font-size:24px}.profile-info h1{font-size:29px}.profile-stats{grid-column:1/-1;border-top:1px solid var(--line);padding-top:14px;justify-content:space-around}
  .footer-inner{padding:25px 16px;display:grid;grid-template-columns:1fr auto}.footer-copy{grid-column:1/-1}.footer-links{gap:12px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}

.lw-enter{animation:lwEnter .45s ease both}@keyframes lwEnter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

/* LASTWORLD FINAL POLISH */
.lw-bg{
  background:
    linear-gradient(180deg,rgba(5,7,12,.66),rgba(5,7,12,.90) 72%,rgba(5,7,12,.97)),
    url("background.png") center top/cover fixed no-repeat;
}
.forum-shell{max-width:1200px}
.lw-btn{min-width:132px;padding:0 19px}
.lw-btn.primary{min-width:148px}
.category-card{padding-top:20px;padding-bottom:20px}
.thread-card{min-height:82px}
.rules-intro{
  position:relative;display:grid;grid-template-columns:1fr 230px;gap:25px;align-items:center;
  padding:30px;margin:30px 0 22px;border:1px solid var(--line);border-radius:16px;
  background:linear-gradient(135deg,#111522e8,#0c0f17e8);overflow:hidden
}
.rules-intro:after{content:"";position:absolute;width:280px;height:280px;right:-100px;top:-100px;border-radius:50%;border:1px solid #ff9d3220;box-shadow:0 0 90px #ff9d3207}
.rules-intro h1{font-size:clamp(44px,6vw,70px);line-height:.88;letter-spacing:-.07em;margin:14px 0}
.rules-intro h1 strong{color:var(--orange)}
.rules-intro p{max-width:700px;color:#8992a5;font-size:10px;line-height:1.8}
.rules-intro img{width:170px;height:190px;object-fit:contain;image-rendering:pixelated;justify-self:center;filter:drop-shadow(0 20px 12px #000);animation:float 4s ease-in-out infinite}
.rules-list{display:flex;flex-direction:column;gap:10px}
.rule-card{display:grid;grid-template-columns:76px 1fr;gap:22px;padding:24px;border:1px solid var(--line);border-radius:15px;background:#0d1018e8;box-shadow:0 16px 45px #0004}
.rule-number{width:54px;height:54px;border-radius:12px;display:grid;place-items:center;background:#ff9d3210;border:1px solid #ff9d3225;color:var(--orange);font-size:12px;font-weight:900}
.rule-content h2{font-size:22px;letter-spacing:-.04em;margin:7px 0 10px}
.rule-content p,.rule-content li{color:#8992a5;font-size:9px;line-height:1.8}
.rule-content p{margin:0}
.rule-content ul{margin:8px 0 0;padding-left:17px}
.rule-content li{margin:2px 0}
@media(max-width:700px){
  .rules-intro{grid-template-columns:1fr;padding:21px;margin-top:20px}
  .rules-intro img{width:110px;height:120px;justify-self:end;margin-top:-10px}
  .rules-intro h1{font-size:45px}
  .rule-card{grid-template-columns:44px 1fr;gap:12px;padding:16px}
  .rule-number{width:40px;height:40px;font-size:9px}
  .rule-content h2{font-size:17px}
  .rule-content p,.rule-content li{font-size:8px}
}
