/* PlayNovaEra Premium UI 2026 — site + forum, Design by StarDev */
:root{
  --pne-bg-0:#05070c;
  --pne-bg-1:#090d15;
  --pne-bg-2:#0d1420;
  --pne-panel:rgba(13,20,32,.86);
  --pne-panel-strong:rgba(10,16,27,.96);
  --pne-line:rgba(235,190,76,.20);
  --pne-line-soft:rgba(255,255,255,.075);
  --pne-gold:#e7b84c;
  --pne-gold-2:#ffd978;
  --pne-text:#f4f7fb;
  --pne-muted:#9ba9bd;
  --pne-red:#d94b4b;
  --pne-blue:#59a7ff;
  --pne-shadow:0 22px 70px rgba(0,0,0,.34);
}
html{scroll-behavior:smooth;background:var(--pne-bg-0)}
body{
  color:var(--pne-text);
  background:
    radial-gradient(circle at 12% -10%,rgba(231,184,76,.10),transparent 34%),
    radial-gradient(circle at 92% 8%,rgba(68,111,170,.10),transparent 28%),
    linear-gradient(180deg,rgba(4,7,12,.48) 0%,rgba(5,7,12,.72) 52%,rgba(7,10,16,.86) 100%),
    url('../img/background.jpg') center top / cover fixed no-repeat!important;
  letter-spacing:.01em;
}
body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.34),transparent 70%)}

/* Header / navigation */
.topbar{
  min-height:78px;
  padding:12px clamp(18px,4vw,64px)!important;
  background:rgba(5,8,13,.86)!important;
  border-bottom:1px solid rgba(231,184,76,.16)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
  backdrop-filter:blur(18px) saturate(135%);
}
.brand{display:flex;align-items:center;gap:12px;font-size:16px;text-transform:uppercase;letter-spacing:.08em}
.brand:before{content:"";width:9px;height:34px;border-radius:999px;background:linear-gradient(180deg,var(--pne-gold-2),#b47718);box-shadow:0 0 24px rgba(231,184,76,.30)}
.brand span{font-size:17px;line-height:1.15}.brand em{color:var(--pne-gold-2)!important}
nav{gap:7px!important;padding:5px;border:1px solid rgba(255,255,255,.06);border-radius:15px;background:rgba(255,255,255,.025)}
nav a{padding:10px 12px;border-radius:10px;color:#aebbd0!important;transition:.18s ease}
nav a:hover,nav a.active{color:#fff!important;background:linear-gradient(180deg,rgba(231,184,76,.15),rgba(231,184,76,.065));box-shadow:inset 0 0 0 1px rgba(231,184,76,.20)}
.admin-nav{border-color:rgba(231,184,76,.28)!important;background:rgba(231,184,76,.08)!important}
.menu-btn{border-radius:12px!important;border-color:rgba(231,184,76,.26)!important;background:rgba(231,184,76,.07)!important}
.lang-switch a{border-radius:10px!important;background:rgba(255,255,255,.025)}
.lang-switch a.active,.lang-switch a:hover{background:rgba(231,184,76,.12)!important;box-shadow:0 8px 22px rgba(0,0,0,.18)}

/* Page rhythm */
.page{padding:64px clamp(18px,5vw,78px) 84px!important;max-width:1500px;margin:0 auto}
.page h1{letter-spacing:-.045em;text-shadow:0 8px 26px rgba(0,0,0,.28)}
.page h2{letter-spacing:-.02em}.lead{color:#c8d2e1!important}.muted{color:var(--pne-muted)!important}
.eyebrow{color:var(--pne-gold-2)!important;letter-spacing:.16em;font-size:12px}

/* Premium cards / panels */
.server-card,.cards article,.race,.download,.form,.table,.forum-category,.forum-topic-view,.topic-card,.reply-card,.forum-notification-center,.public-profile-card,.guide-card,.farm-guide-card,.pne-req-card{
  border:1px solid var(--pne-line-soft)!important;
  background:linear-gradient(145deg,rgba(16,24,38,.94),rgba(7,12,21,.94))!important;
  box-shadow:var(--pne-shadow)!important;
}
.server-card,.form,.forum-category,.forum-topic-view,.topic-card,.reply-card,.forum-notification-center{border-radius:20px!important}
.cards article,.race,.download{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.cards article:hover,.race:hover,.download:hover{transform:translateY(-3px);border-color:rgba(231,184,76,.33)!important;box-shadow:0 26px 76px rgba(0,0,0,.42)!important}

/* Buttons — unified across site/forum/admin */
.btn,button.btn,.create-topic-btn{
  min-height:44px;
  padding:11px 18px!important;
  border-radius:12px!important;
  border:1px solid rgba(231,184,76,.30)!important;
  background:linear-gradient(180deg,rgba(24,32,46,.94),rgba(11,17,28,.98))!important;
  color:#edf3fb!important;
  font-weight:900!important;
  letter-spacing:.015em;
  text-decoration:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 26px rgba(0,0,0,.20)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease!important;
  cursor:pointer;
}
.btn:hover,button.btn:hover,.create-topic-btn:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(255,217,120,.70)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 15px 34px rgba(0,0,0,.30),0 0 0 1px rgba(231,184,76,.08)!important;
}
.btn:active,button.btn:active{transform:translateY(0)!important;filter:brightness(.94)}
.btn.primary,button.btn.primary{
  color:#171107!important;
  border-color:#f2c763!important;
  background:linear-gradient(135deg,#ffe08b 0%,#e7b84c 47%,#b8791e 100%)!important;
  box-shadow:0 12px 30px rgba(231,184,76,.20),inset 0 1px 0 rgba(255,255,255,.42)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.18);
}
.btn.primary:hover,button.btn.primary:hover{filter:brightness(1.08);box-shadow:0 16px 38px rgba(231,184,76,.28),inset 0 1px 0 rgba(255,255,255,.46)!important}
.btn.danger,button.btn.danger{color:#ffeaea!important;border-color:rgba(239,92,92,.56)!important;background:linear-gradient(135deg,#812828,#451316)!important;box-shadow:0 12px 26px rgba(145,35,35,.18)!important}
.btn.danger:hover,button.btn.danger:hover{border-color:#ff7777!important;box-shadow:0 15px 34px rgba(145,35,35,.28)!important}
.small-btn{min-height:36px!important;padding:7px 12px!important;border-radius:10px!important;font-size:12px!important}
.actions{gap:11px!important;flex-wrap:wrap}
.btn:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--pne-gold-2)!important;outline-offset:3px}

/* Forms */
.form{padding:24px!important;gap:17px!important}
.form input,.form textarea,.form select,input.input{
  min-height:46px;
  border:1px solid rgba(255,255,255,.11)!important;
  background:rgba(3,8,15,.72)!important;
  color:#fff!important;
  border-radius:12px!important;
  padding:12px 14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.form textarea{min-height:120px;resize:vertical}
.form input:focus,.form textarea:focus,.form select:focus,input.input:focus{border-color:rgba(231,184,76,.58)!important;background:rgba(5,10,18,.94)!important;box-shadow:0 0 0 3px rgba(231,184,76,.08)!important;outline:none!important}
.form label{color:#dbe4f0!important}.form label>span,.form small{color:var(--pne-muted)}

/* Tables */
.table{overflow:hidden;border-collapse:separate!important;border-spacing:0!important}
.table th{background:rgba(231,184,76,.075);color:var(--pne-gold-2)!important;text-transform:uppercase;font-size:11px;letter-spacing:.08em}
.table td,.table th{border-bottom:1px solid rgba(255,255,255,.06)!important}
.table tr:last-child td{border-bottom:0!important}.table tbody tr:hover td{background:rgba(231,184,76,.035)}

/* Forum */
.forum-head{padding-bottom:18px;margin-bottom:22px!important;border-bottom:1px solid rgba(231,184,76,.13)}
.forum-head h1{margin-bottom:9px}.forum-login-box{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 28px}
.forum-guide-feature{border-radius:22px!important;border:1px solid rgba(231,184,76,.26)!important;background:radial-gradient(circle at 8% 0%,rgba(231,184,76,.16),transparent 32%),linear-gradient(135deg,rgba(17,25,40,.98),rgba(8,13,22,.98))!important;box-shadow:0 22px 70px rgba(0,0,0,.31)!important;transition:.18s ease}
.forum-guide-feature:hover{transform:translateY(-3px);border-color:rgba(231,184,76,.55)!important}
.forum-latest-card{border-radius:18px!important;border-color:rgba(255,255,255,.07)!important;background:linear-gradient(145deg,rgba(15,23,37,.92),rgba(7,12,21,.94))!important}
.activity-card a{border:1px solid transparent}.activity-card a:hover{border-color:rgba(231,184,76,.13)!important;background:rgba(231,184,76,.055)!important}
.forum-category{overflow:hidden;margin-bottom:18px!important}
.forum-category-head{padding:17px 20px!important;background:linear-gradient(90deg,rgba(231,184,76,.14),rgba(231,184,76,.02),transparent)!important;border-bottom:1px solid rgba(231,184,76,.12)}
.forum-category-head h2{font-size:19px!important;text-transform:uppercase;letter-spacing:.045em;color:#f6edd7}
.forum-subrow,.forum-row-link{transition:background .16s ease,transform .16s ease,border-color .16s ease}
.forum-subrow{padding:18px 20px!important;border-bottom:1px solid rgba(255,255,255,.055)!important}
.forum-subrow:last-child{border-bottom:0!important}.forum-subrow:hover{background:linear-gradient(90deg,rgba(231,184,76,.075),rgba(255,255,255,.015))!important}
.forum-dot{color:var(--pne-gold)!important;text-shadow:0 0 18px rgba(231,184,76,.30)}
.topic-row.topic-row-avatar{background:linear-gradient(145deg,rgba(15,23,37,.96),rgba(7,12,21,.94))!important;border-color:rgba(255,255,255,.075)!important;box-shadow:0 14px 38px rgba(0,0,0,.17)!important;transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease}
.topic-row.topic-row-avatar:hover{transform:translateY(-2px);border-color:rgba(231,184,76,.43)!important;box-shadow:0 20px 52px rgba(0,0,0,.28)!important}
.topic-title-link{font-size:clamp(18px,2vw,23px)!important}.topic-status-icon{border:1px solid rgba(231,184,76,.17);background:rgba(231,184,76,.055)!important}
.mini-avatar,.post-avatar{box-shadow:0 0 0 1px rgba(231,184,76,.20),0 10px 24px rgba(0,0,0,.25)}
.reply-card{padding:0!important;overflow:hidden}.forum-post-layout{grid-template-columns:180px 1fr!important}.post-author{padding:20px!important;background:linear-gradient(180deg,rgba(231,184,76,.055),rgba(255,255,255,.012));border-right:1px solid rgba(255,255,255,.06)}.post-content-area{padding:20px!important}
.post-content-area p{font-size:15.5px;line-height:1.72;color:#dbe4ef}.post-actions{padding-top:14px;margin-top:18px;border-top:1px solid rgba(255,255,255,.055)}
.role-badge{border-radius:999px!important;padding:5px 9px!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.06em}
.forum-notification-center{border-color:rgba(231,184,76,.25)!important}.forum-notification-center-head{background:linear-gradient(90deg,rgba(231,184,76,.08),transparent)}
.forum-notification-item.unread{box-shadow:inset 3px 0 var(--pne-gold)!important;background:linear-gradient(90deg,rgba(231,184,76,.10),rgba(231,184,76,.02))!important}
.forum-stats-grid>div{background:linear-gradient(145deg,rgba(14,21,34,.94),rgba(7,12,20,.96))!important;border-color:rgba(231,184,76,.18)!important;box-shadow:0 12px 30px rgba(0,0,0,.16)}
.forum-stats-grid>div b{color:var(--pne-gold-2);font-size:26px}.forum-stats-grid>div span{color:var(--pne-muted);font-size:11px;text-transform:uppercase;letter-spacing:.05em}

/* Admin */
.admin-hero{border-radius:22px!important;border-color:rgba(231,184,76,.25)!important;background:radial-gradient(circle at 0 0,rgba(231,184,76,.14),transparent 32%),linear-gradient(135deg,rgba(16,24,38,.95),rgba(7,12,21,.95))!important;box-shadow:var(--pne-shadow)}
.admin-section-title{border-bottom-color:rgba(231,184,76,.16)!important}.permission-row,.admin-list-row{border-color:rgba(255,255,255,.07)!important;background:linear-gradient(145deg,rgba(14,21,34,.82),rgba(7,12,20,.82))!important}.perm-toggle span{box-shadow:inset 0 1px 3px rgba(0,0,0,.28)}

/* Footer / social buttons */
.footer-final{border-top:1px solid rgba(231,184,76,.15)!important;background:linear-gradient(180deg,rgba(6,9,14,.96),#040609)!important}
.footer-final .footer-social>a{border-radius:13px!important;border-color:rgba(231,184,76,.56)!important;background:linear-gradient(180deg,rgba(16,22,33,.92),rgba(7,11,18,.96))!important;box-shadow:0 10px 28px rgba(0,0,0,.20)!important;transition:.18s ease!important}
.footer-final .footer-social>a:hover{transform:translateY(-2px)!important;border-color:var(--pne-gold-2)!important;background:linear-gradient(180deg,rgba(231,184,76,.12),rgba(12,17,25,.96))!important;box-shadow:0 15px 34px rgba(0,0,0,.30),0 0 0 1px rgba(231,184,76,.07)!important}
.footer-final .footer-social>a span{color:#f2cc65!important;font-weight:900!important}.footer-final .footer-social .vk-svg{filter:drop-shadow(0 0 6px rgba(0,119,255,.16))}

/* Alerts / captcha */
.site-alert,.notice{border-radius:14px!important;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.pne-captcha-box{border-color:rgba(231,184,76,.25)!important;background:linear-gradient(135deg,rgba(231,184,76,.07),rgba(8,13,22,.88))!important;border-radius:16px!important}

@media(max-width:1100px){
  .topbar{min-height:70px}nav{border:0;background:#070a10!important;border-radius:0!important;padding:14px!important;box-shadow:0 18px 40px rgba(0,0,0,.30)}
  .forum-post-layout{grid-template-columns:150px 1fr!important}
}
@media(max-width:760px){
  .page{padding:42px 16px 64px!important}.page h1{font-size:clamp(34px,12vw,52px)!important}
  .btn,button.btn{width:100%;min-height:46px}.actions,.forum-login-box{display:grid;grid-template-columns:1fr;width:100%}
  .forum-post-layout{grid-template-columns:1fr!important}.post-author{border-right:0;border-bottom:1px solid rgba(255,255,255,.06);display:grid;grid-template-columns:54px 1fr;align-items:center}.post-author .post-avatar{grid-row:1/3}.post-author .role-badge{justify-self:start}
  .topic-row.topic-row-avatar{padding:15px!important}.topic-title-link{font-size:18px!important}
  .footer-final .footer-social{gap:9px!important}.footer-final .footer-social>a{min-width:0!important;padding:10px 12px!important}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* =========================================================
   PlayNovaEra v2.3 — Owner forum user management
   ========================================================= */
.forum-user-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 18px}
.forum-user-stats>div{padding:15px 16px;border:1px solid rgba(231,184,76,.18);border-radius:14px;background:linear-gradient(145deg,rgba(16,24,38,.92),rgba(7,12,21,.9));box-shadow:0 12px 28px rgba(0,0,0,.2)}
.forum-user-stats b{display:block;color:#f6cf67;font-size:24px;line-height:1}.forum-user-stats span{display:block;margin-top:7px;color:#9eabc0;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.forum-user-filter{display:grid;grid-template-columns:minmax(230px,1.6fr) minmax(170px,.7fr) auto auto;gap:12px;align-items:end;margin:0 0 16px;padding:16px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(8,14,24,.82)}
.forum-user-filter label{margin:0}.forum-user-filter .btn{margin:0;white-space:nowrap}
.forum-user-table-wrap{overflow:visible;border:1px solid rgba(231,184,76,.16);border-radius:18px;background:rgba(5,10,18,.72);box-shadow:0 18px 45px rgba(0,0,0,.22)}
.forum-user-table-head,.forum-user-row{display:grid;grid-template-columns:1.05fr 1.45fr .9fr .8fr 1.55fr;gap:12px;align-items:center}
.forum-user-table-head{padding:12px 16px;border-bottom:1px solid rgba(231,184,76,.16);color:#8f9db2;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;background:rgba(231,184,76,.055)}
.forum-user-row{position:relative;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.055);transition:border-color .18s ease,background .18s ease}
.forum-user-row:last-child{border-bottom:0}.forum-user-row:hover{background:rgba(231,184,76,.035)}
.forum-user-row.status-blocked{background:linear-gradient(90deg,rgba(255,164,38,.055),transparent 42%)}.forum-user-row.status-deleted{opacity:.76;background:linear-gradient(90deg,rgba(255,82,82,.055),transparent 42%)}
.forum-user-row strong,.forum-user-row small{display:block;overflow-wrap:anywhere}.forum-user-row strong{color:#e8edf6;font-size:13px}.forum-user-row small{margin-top:5px;color:#7f8da2;font-size:11px}
.account-state{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid transparent;border-radius:999px;font-size:11px;font-weight:800}
.account-state:before{content:"";width:7px;height:7px;border-radius:50%;box-shadow:0 0 12px currentColor}.state-active{color:#55e89a;border-color:rgba(85,232,154,.24);background:rgba(85,232,154,.08)}.state-blocked{color:#ffbd55;border-color:rgba(255,189,85,.25);background:rgba(255,189,85,.08)}.state-deleted{color:#ff7b7b;border-color:rgba(255,123,123,.24);background:rgba(255,123,123,.07)}
.forum-user-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.forum-user-actions form{margin:0}.owner-protected{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid rgba(231,184,76,.28);border-radius:10px;color:#f6cf67;background:rgba(231,184,76,.08);font-size:11px;font-weight:800}
.forum-user-editor{position:relative}.forum-user-editor>summary{list-style:none;cursor:pointer}.forum-user-editor>summary::-webkit-details-marker{display:none}.forum-user-editor[open]>summary{border-color:rgba(231,184,76,.52)!important;color:#f6cf67!important}
.forum-user-editor-panel{position:absolute;z-index:50;right:0;top:calc(100% + 10px);width:min(650px,86vw);padding:16px;border:1px solid rgba(231,184,76,.28);border-radius:18px;background:linear-gradient(145deg,rgba(16,24,38,.99),rgba(5,9,16,.99));box-shadow:0 26px 70px rgba(0,0,0,.52)}
.forum-user-editor-panel:before{content:"";position:absolute;right:28px;top:-7px;width:12px;height:12px;border-left:1px solid rgba(231,184,76,.28);border-top:1px solid rgba(231,184,76,.28);background:#0d1522;transform:rotate(45deg)}
.compact-form{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.compact-form .grid{gap:10px}.compact-form textarea{min-height:76px}.check-line{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important}.check-line input{width:auto!important}
.password-reset-inline{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end;margin-top:14px!important;padding-top:14px!important;border-top:1px solid rgba(255,255,255,.07)}.password-reset-inline label{margin:0}.password-reset-inline .btn{margin-bottom:0}
.btn.warning{border-color:rgba(255,183,70,.34)!important;background:linear-gradient(180deg,rgba(255,177,53,.16),rgba(137,83,14,.16))!important;color:#ffd47d!important}.btn.warning:hover{border-color:rgba(255,200,92,.62)!important;background:linear-gradient(180deg,rgba(255,190,65,.24),rgba(137,83,14,.23))!important}
.admin-user-pagination{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin:16px 0}.admin-user-pagination a{min-width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.09);border-radius:9px;background:rgba(8,14,24,.82);color:#aeb8c9;text-decoration:none;font-size:12px;font-weight:800}.admin-user-pagination a:hover,.admin-user-pagination a.active{border-color:rgba(231,184,76,.5);color:#f6cf67;background:rgba(231,184,76,.1)}
@media(max-width:1050px){.forum-user-table-head{display:none}.forum-user-row{grid-template-columns:1fr 1.4fr 1fr}.forum-user-row>div:nth-child(4){grid-column:auto}.forum-user-actions{grid-column:1/-1}.forum-user-editor-panel{left:0;right:auto}.forum-user-editor-panel:before{left:28px;right:auto}}
@media(max-width:720px){.forum-user-stats{grid-template-columns:repeat(2,1fr)}.forum-user-filter{grid-template-columns:1fr}.forum-user-filter .btn{width:100%}.forum-user-row{grid-template-columns:1fr;padding:14px}.forum-user-actions{grid-column:auto}.forum-user-editor{width:100%}.forum-user-editor>summary{width:100%;justify-content:center}.forum-user-editor-panel{position:fixed;left:12px;right:12px;top:8vh;width:auto;max-height:84vh;overflow:auto}.forum-user-editor-panel:before{display:none}.password-reset-inline{grid-template-columns:1fr}}

/* PlayNovaEra v2.4 — online display source */
.online-source-badge{display:inline-flex;align-items:center;gap:7px;margin:-2px 0 14px;padding:7px 11px;border-radius:999px;border:1px solid rgba(231,184,76,.38);background:linear-gradient(135deg,rgba(231,184,76,.14),rgba(231,184,76,.05));color:#f6ce70;font-size:11px;font-weight:900;letter-spacing:.8px;text-transform:uppercase;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.online-source-badge[hidden]{display:none!important}
