:root{
  --bg:#0f1218;
  --bg2:#090c12;
  --card:#111722cc;
  --text:#d3dbea;
  --muted:#8794a8;
  --line:#263143;
  --brand:#c8a76b;
  --brand2:#e0c07e;
  --good:#2ef2a8;
  --warn:#ffc76a;
  --shadow: 0 14px 40px rgba(0,0,0,.30);
  --radius: 16px;
  --radius2: 14px;
  --container: 1024px;
  --gold1:#5f4a21;
  --gold2:#e0c07e;
  --gold3:#b8944c;
  --wood:#11151c;
}

[data-theme="light"]{
  --bg:#f5f7fb;
  --bg2:#edf2f7;
  --card:#ffffffd9;
  --text:#0b1220;
  --muted:#4a5870;
  --line:#d9e1ec;
  --shadow: 0 14px 36px rgba(10,20,60,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    linear-gradient(180deg, rgba(7,9,13,.48), rgba(8,11,17,.72)),
    url('../../top.png') center center / cover no-repeat fixed,
    #0f1218;
  color:var(--text);
  min-height: 100vh;
}

script { display: none; }

::selection{
  background: rgba(200,167,107,.22);
  color: #f3f6fb;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline: 2px solid rgba(200,167,107,.55);
  outline-offset: 2px;
}

.container{max-width:var(--container); margin:0 auto; padding:0 18px}

.skip{
  position:absolute; left:-999px; top:10px;
  background:var(--text); color:var(--bg); padding:10px 12px; border-radius:10px;
}
.skip:focus{left:10px; z-index:9999}

/* --- Screenshot-inspired "Pred" theme --- */
.predBg{
  display: none;
}

.stage{
  width:min(1180px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 0;
  min-height: 100vh;
  display:flex;
  flex-direction:column;
}

.predTop{
  position:sticky;
  top:0;
  z-index:30;
  border-radius: 0 0 18px 18px;
  overflow:hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.predTop__bar{
  display:flex;
  justify-content:flex-end;
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(7,9,13,.34);
  border: 1px solid rgba(200,167,107,.14);
  border-bottom: 0;
  backdrop-filter: blur(10px);
}

.predTop__main{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 12px;
  width: max-content;
  margin-left: auto;
  padding: 8px 12px 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.languagePicker{display:flex; align-items:center; margin-left:4px;}
.languagePicker select{
  min-width:96px;
  padding:7px 24px 7px 9px;
  border:1px solid rgba(200,167,107,.32);
  border-radius:6px;
  background:rgba(8,10,15,.82);
  color:rgba(240,244,250,.92);
  font:700 11px/1.2 Inter,system-ui,sans-serif;
  cursor:pointer;
}
.languagePicker select:focus{outline:2px solid rgba(200,167,107,.72); outline-offset:2px;}
.srOnly{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}

.predBrand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.7px}
.predBrand__stack{display:flex; flex-direction:column; line-height:1.05}
.predBrand__serverName{
  font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight: 900;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: .08em;
  text-transform: none;
  color: rgba(224,232,243,.95);
  text-shadow: none;
}
.predBrand__crest{
  position:relative;
  width:36px; height:36px; border-radius: 10px;
  background:
    radial-gradient(10px 10px at 30% 25%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(135deg, rgba(55,63,77,.92), rgba(160,170,184,.22));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 14px 28px rgba(0,0,0,.45),
    0 0 16px rgba(255,255,255,.10);
}

.predBrand__crest.isOnline{
  background:
    radial-gradient(10px 10px at 30% 25%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(135deg, rgba(15,114,76,.92), rgba(112,220,157,.44));
  border-color: rgba(112,220,157,.28);
  box-shadow:
    0 14px 28px rgba(0,0,0,.45),
    0 0 18px rgba(80,255,160,.28);
  animation: onlinePulse 1.8s ease-in-out infinite;
}

.predBrand__crest.isOffline{
  background:
    radial-gradient(10px 10px at 30% 25%, rgba(255,255,255,.45), transparent 60%),
    linear-gradient(135deg, rgba(140,34,34,.92), rgba(231,122,122,.34));
  border-color: rgba(231,122,122,.26);
  box-shadow:
    0 14px 28px rgba(0,0,0,.45),
    0 0 18px rgba(255,70,70,.18);
  animation: none;
}

.predBrand__crest.isUnknown{
  animation: none;
}

@keyframes onlinePulse{
  0%, 100%{filter: saturate(1) brightness(1); box-shadow: 0 14px 28px rgba(0,0,0,.28), 0 0 12px rgba(112,220,157,.18)}
  50%{filter: saturate(1.05) brightness(1.03); box-shadow: 0 14px 28px rgba(0,0,0,.28), 0 0 18px rgba(112,220,157,.26)}
}

.serverInfo__badge{opacity:.95}
.serverInfo__badge.isOnline{color: rgba(112,220,157,.95)}
.serverInfo__badge.isOffline{color: rgba(231,122,122,.90)}
.serverInfo__badge.isUnknown{color: rgba(194,202,214,.85)}
.predBrand__text{
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(223,231,243,.78);
}
.predBrand__accent{color: inherit}

.predNav{display:flex; gap: 12px; align-items:center; flex-wrap:wrap; justify-content:flex-end; flex:1; min-width:0; row-gap:8px}
.predNav a{
  position:relative;
  padding: 9px 12px;
  color: rgba(223,231,243,.92);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(200,167,107,.12);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
  white-space: nowrap;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease, color .14s ease;
}
.predNav a:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(200,167,107,.26);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  transform: translateY(-1px);
  color: #fff;
}
.predNav a.isActive{
  border-color: rgba(200,167,107,.38);
  box-shadow: 0 0 0 1px rgba(200,167,107,.08) inset;
  color: #fff;
}

.predMiniLink{color:#d9e1ec}
.predMiniLink:hover{text-decoration: underline}
.predMiniLink[data-auth-user]{cursor:pointer}
.predSep{color: rgba(200,167,107,.60)}

.predMenuBtn{
  display:none;
  width:42px;
  height:42px;
  border-radius: 10px;
  border: 1px solid rgba(200,167,107,.16);
  background: rgba(255,255,255,.03);
  cursor:pointer;
}
.predMenuBtn span{display:block; height:2px; margin:7px 10px; background: #e7edf8; opacity:.9}

@media (max-width: 1200px){
  .predNav{gap: 8px}
  .predNav a{padding: 8px 10px; font-size: 14px}
}

@media (max-width: 1040px){
  .predTop__main{flex-wrap:wrap}
  .predNav{width:100%; justify-content:flex-start}
}

.predMobileNav{
  display:none;
  background: rgba(7,9,13,.34);
  border: 1px solid rgba(200,167,107,.12);
  border-top: 0;
  padding: 10px 12px;
  gap: 8px;
}
.predMobileNav a{display:block; padding: 12px 12px; border-radius: 12px; border:1px solid rgba(200,167,107,.12); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); color:#e7edf8; font-size: 15px; font-weight: 700}
.predMobileNav a:hover{background: rgba(255,255,255,.06)}
.predMobileNav.isOpen{display:grid}

.predBanner{
  position:relative;
  min-height: 320px;
  padding: 52px 24px 24px;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  background-image:
    linear-gradient(180deg, rgba(10,5,4,.22), rgba(10,5,4,.68)),
    radial-gradient(700px 240px at 24% 20%, rgba(200,167,107,.12), transparent 60%),
    radial-gradient(600px 280px at 78% 34%, rgba(255,255,255,.08), transparent 58%);
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, cover;
  border-left: 1px solid rgba(200,167,107,.16);
  border-right: 1px solid rgba(200,167,107,.16);
  border-bottom: 1px solid rgba(200,167,107,.16);
}

.predBanner:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.12), transparent 18%, transparent 82%, rgba(0,0,0,.12)),
    radial-gradient(circle at center, rgba(200,167,107,.08) 0 1px, transparent 1px 100%);
  background-size: auto, 24px 24px;
  opacity:.22;
  pointer-events:none;
}

.predBanner--home{
  min-height: 388px;
  position: relative;
  background: linear-gradient(90deg, rgba(6,8,12,.72), rgba(6,8,12,.22) 38%, rgba(6,8,12,.56));
}

.predBanner__art{
  position:absolute;
  inset:0;
  background-image: url('../../%E1%83%AA%E1%83%98%E1%83%AE%E1%83%94.png');
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  filter: saturate(1.08) contrast(1.1);
  z-index:0;
}

.predBanner--page{
  min-height: 240px;
  padding: 62px 18px 18px;
}

.predHero{
  position:relative;
  z-index:1;
  width:100%;
  display:grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 18px;
  align-items:stretch;
  margin: 26px 0 0;
}

.predHero__copy,
.predHero__panel{
  border: 1px solid rgba(200,167,107,.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14,18,26,.62), rgba(11,15,22,.82));
  box-shadow: 0 20px 42px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}

.predHero__copy{
  padding: 24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 14px;
}

.predHero__eyebrow{
  display:inline-flex;
  align-self:flex-start;
  gap: 8px;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(200,167,107,.22);
  background: rgba(255,255,255,.03);
  color: rgba(231,237,248,.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.predHero__eyebrow:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--brand2));
  box-shadow: 0 0 12px rgba(200,167,107,.40);
}

.predHero__title{
  margin:0;
  font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #dee5ef;
  text-wrap: balance;
  text-shadow: none;
}

.predHero__text{
  margin:0;
  max-width: 62ch;
  color: rgba(231,237,248,.78);
  font-size: 15px;
  line-height: 1.6;
}

.predHero__actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.predHero__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 154px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(200,167,107,.18);
  background: rgba(255,255,255,.03);
  color:#eef4fb;
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
}

.predHero__cta:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(200,167,107,.32);
  box-shadow: 0 12px 24px rgba(0,0,0,.14);
}

.predHero__cta--primary{
  background: linear-gradient(180deg, rgba(200,167,107,.16), rgba(255,255,255,.03));
  color: #dbe2ee;
}

.predHero__panel{
  padding: 18px;
  display:grid;
  align-content:space-between;
  gap: 12px;
}

.predPageHero{
  position:relative;
  z-index:1;
  width:100%;
  display:grid;
  align-content:center;
  justify-items:center;
  text-align:center;
  gap: 14px;
  max-width: 860px;
  margin: 52px auto 0;
  padding: 18px 24px;
  border: 1px solid rgba(200,167,107,.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14,18,26,.62), rgba(11,15,22,.82));
  box-shadow: 0 20px 42px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}

.predPageHero__row{
  display:none;
}

.predPageHero__eyebrow{
  display:none;
}

.predPageHero__title{
  margin:0;
  font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: #dee5ef;
  text-wrap: balance;
}

.predPageHero__text{
  margin:0 auto;
  max-width: 72ch;
  color: rgba(231,237,248,.78);
  font-size: 14px;
  line-height: 1.58;
  text-align:center;
}

.predPageHero__chips{
  display:flex;
  justify-content:center;
  gap: 8px;
  flex-wrap:wrap;
}

.predChip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(200,167,107,.14);
  background: rgba(255,255,255,.03);
  color: rgba(231,237,248,.88);
  font-size: 12px;
  font-weight: 800;
}

.predSectionLead{
  max-width: 700px;
  margin: 12px auto 14px;
  text-align:center;
  color: rgba(231,237,248,.76);
  line-height:1.55;
  font-size: 13px;
}

.layoutSingle{grid-template-columns: 1fr !important;}
.layoutDouble{grid-template-columns: 1fr 1fr !important; gap: 8px !important;}
.authCols{grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important; align-items:center;}
.authLogo{display:flex; align-items:center; justify-content:center; padding:10px;}
.authLogo img{display:block; width:clamp(220px, 24vw, 420px); height:auto; filter:drop-shadow(0 10px 18px rgba(0,0,0,.35));}
.panelNarrow{max-width:560px; margin-left:auto; margin-right:auto;}
.panelWide{max-width:860px; margin-left:auto; margin-right:auto;}
.textCenter{text-align:center;}
.textRight{text-align:right;}
.mt0{margin-top:0 !important;}
.mt8{margin-top:8px !important;}
.mt10{margin-top:10px !important;}
.mt12{margin-top:12px !important;}
.mt14{margin-top:14px !important;}
.mt18{margin-top:18px !important;}
.mb12{margin-bottom:12px !important;}
.mb8{margin-bottom:8px !important;}
.w220{min-width:220px;}
.w360{min-width:360px;}
.centerBlock{display:inline-block; margin-left:auto; margin-right:auto;}
.stack8{display:grid; gap:8px;}
.stack10{display:grid; gap:10px;}
.stack12{display:grid; gap:12px;}
.stack14{display:grid; gap:14px;}
.grid1{grid-template-columns: minmax(0, 1fr); gap:12px;}
.grid2{grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px;}
.listCompact{color: rgba(234,217,176,.85); list-style-position: inside; padding-left:0;}
.smallText{font-size:12px;}
.smallText13{font-size:13px;}
.subtleCenter{margin-top:12px; text-align:center;}
.subtleCenter10{margin-top:10px; text-align:center;}
.inlineCenter{display:flex; justify-content:center;}
.contentCenter{display:flex; align-items:center; justify-content:center;}
.flexColumnCenter{display:flex; flex-direction:column; align-items:center; justify-content:center;}
.goldHeading{color:#dfe6f1;}
.wFull{width:100%;}

.predHero__panelTitle{
  color: #dfe6f1;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.predHero__metric{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(200,167,107,.12);
  background: rgba(255,255,255,.03);
}

.predHero__metric span{
  color: rgba(231,237,248,.68);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.predHero__metric strong{
  color: #dfe6f1;
  font-size: 18px;
  font-weight: 900;
}

.predServers{
  border: 1px solid rgba(200,167,107,.14);
  border-top: 0;
  background: linear-gradient(180deg, rgba(14,18,26,.92), rgba(11,15,22,.88));
  padding: 14px;
}

.predServers__title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  color: #dfe6f1;
  font-weight: 800;
  letter-spacing: .6px;
  font-size: 20px;
  margin-bottom: 10px;
}
.predServers__title:before,
.predServers__title:after{
  content:"";
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,167,107,.72), transparent);
  opacity: .75;
}

.predServers__tabs{
  display:flex;
  justify-content:center;
  gap: 10px;
}

.predTab{
  cursor:pointer;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid rgba(210,170,95,.20);
  background:
    linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,.18));
  color: #dfe6f1;
  text-align:center;
  min-width: 180px;
}
.predTab:hover{background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.22))}
.predTab.isActive{border-color: rgba(242,208,123,.48); box-shadow: 0 0 0 1px rgba(242,208,123,.10) inset}
.predTab__name{display:block; font-weight: 900; letter-spacing: .8px; font-size: 16px; line-height: 1.1}
.predTab__meta{display:block; font-size: 14px; opacity: .86; line-height: 1.1}

.predServerInfo{
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(200,167,107,.12);
  background: rgba(255,255,255,.03);
}
.predServerInfo .serverInfo__row{border-radius: 10px}
.predServerInfo .serverInfo__k{color:#f1dfb9}
.predServerInfo .serverInfo__v{color:#d7dfea}
.predServerInfo .serverInfo__badge{color: var(--good)}
.predServerInfo .serverInfo__badge.isOnline{color: rgba(112,220,157,.95)}
.predServerInfo .serverInfo__badge.isOffline{color: rgba(231,122,122,.90)}
.predServerInfo .serverInfo__badge.isUnknown{color: rgba(194,202,214,.85)}

.predMain{
  border-left: 1px solid rgba(200,167,107,.14);
  border-right: 1px solid rgba(200,167,107,.14);
  border-bottom: 1px solid rgba(200,167,107,.14);
  background: rgba(255,255,255,.02);
  padding: 14px;
  margin-top: 12px;
  flex: 1 0 auto;
}

/* Make secondary ("muted") text readable on dark Pred panels */
.stage .muted{color: rgba(231,237,248,.70)}
.stage .field label{color: rgba(231,237,248,.80)}
.stage .field input::placeholder,
.stage .field textarea::placeholder{color: rgba(231,237,248,.64)}

.predCols{display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px}

.predBox{
  border-radius: 18px;
  border: 1px solid rgba(200,167,107,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  overflow:hidden;
  box-shadow: 0 18px 30px rgba(0,0,0,.10);
}
.predBox__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(14,18,26,.94), rgba(255,255,255,.02));
  border-bottom: 1px solid rgba(200,167,107,.10);
}
.predBox__head h2{margin:0; font-size: 14px; letter-spacing: .10em; color: #dfe6f1; text-transform: uppercase}
.predBox__body{padding: 14px}
.predBox__title{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  color: #dfe6f1;
  text-transform: uppercase;
  font-weight: 800;
}
.predBox--rules{
  overflow: hidden;
}
.predBox--rules .predBox__body{
  padding-top: 14px;
}
.predBox--rules .predSectionLead{
  margin-bottom: 10px;
}

.predMore{color:#dfe6f3; text-decoration:none; font-weight:700; font-size: 12px}
.predMore:hover{color:#eef3f8; text-decoration: underline}

.predNews{display:grid; gap: 10px}
.predNewsItem{display:grid; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid rgba(200,167,107,.10); background: rgba(255,255,255,.02); transition: transform .14s ease, border-color .14s ease, background .14s ease}
.predNewsItem:hover{transform: translateY(-1px); border-color: rgba(200,167,107,.22); background: rgba(255,255,255,.04)}
.predNewsItem__title{font-weight:800; font-size: 14px; color:#dfe6f1; line-height:1.35}
.predNewsItem__meta{display:flex; gap:8px; align-items:center; font-size: 12px; color: rgba(231,237,248,.70)}
.predNewsItem__meta time{color: rgba(231,237,248,.58)}

.predGallery{display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px}
.predGalleryItem{display:grid; gap: 10px; margin:0}
.predGalleryItem__body{display:grid; gap:6px; padding: 0 2px 2px; color: rgba(231,237,248,.78); font-size: 14px; line-height: 1.6}
.predGalleryItem__body strong{display:block; color:#edf3ff; font-weight:800; font-size: 15px}
.predGalleryItem__body span{display:block}
.predShot{
  appearance:none;
  cursor:pointer;
  aspect-ratio: 16/10;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(200,167,107,.10);
  background:
    var(--shot, none),
    radial-gradient(300px 120px at 30% 30%, rgba(200,167,107,.12), transparent 60%),
    radial-gradient(300px 120px at 70% 40%, rgba(200,167,107,.08), transparent 60%),
    linear-gradient(135deg, rgba(0,0,0,.45), rgba(0,0,0,.14));
  background-size: cover, auto, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  position:relative;
  overflow:hidden;
}
.predShot--gallery{width:100%; display:block}
.predShot__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  display:block;
}
.predShot:after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at center, rgba(200,167,107,.08) 0 1px, transparent 1px 100%);
  background-size: 22px 22px;
  opacity:.18;
  z-index: 2;
}

.modal__body img.modal__img{
  display:block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(210,170,95,.18);
}

.predJoin{display:flex; gap: 8px; flex-wrap:wrap; margin-bottom: 10px}
.predJoin__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(200,167,107,.12);
  background: rgba(255,255,255,.03);
  color:#e7edf8;
  font-weight: 800;
  font-size: 12px;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.predJoin__btn:hover{background: rgba(255,255,255,.06); transform: translateY(-1px); border-color: rgba(200,167,107,.28)}

.predQuick{display:grid; gap: 8px}
.predQuick__link{
  text-align:left;
  width:100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(200,167,107,.12);
  background: rgba(255,255,255,.03);
  color:#e7edf8;
  font-weight: 800;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
  cursor:pointer;
}
.predQuick__link:hover{background: rgba(255,255,255,.06); transform: translateY(-1px); border-color: rgba(200,167,107,.26); box-shadow: 0 10px 20px rgba(0,0,0,.12)}
.predQuick__link[aria-disabled="true"],
.predJoin__btn[aria-disabled="true"]{
  opacity:.58;
  cursor:default;
  pointer-events:none;
}

.rulesText{
  border-radius: 16px;
  border: 1px solid rgba(200,167,107,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  padding: 16px 18px;
  white-space: pre-wrap;
  line-height: 1.6;
  color: rgba(234,217,176,.90);
  max-height: 62vh;
  overflow:auto;
  box-shadow: 0 18px 30px rgba(0,0,0,.08);
}

/* Compact page mode (used by rules page) */
.pageCompact .predBanner{height: 240px;}
@media (max-width: 760px){
  .pageCompact .predBanner{height: 200px;}
}

.rulesText--compact{
  font-size: 12.5px;
  line-height: 1.5;
  padding: 14px 16px;
  max-height: 54vh;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 760px){
  .rulesText--compact{max-height: 52vh; padding: 12px 14px;}
}

.predFooter{
  border: 1px solid rgba(200,167,107,.12);
  border-top: 0;
  background: linear-gradient(180deg, rgba(14,18,26,.92), rgba(11,15,22,.96));
  padding: 16px 14px;
  margin-top: auto;
  backdrop-filter: blur(10px);
  border-radius: 18px 18px 0 0;
}
.predFooter__cols{display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items:start; width:min(980px, 100%); margin: 0 auto}
.predFooter__col{min-width:0}
.predFooter__col:nth-child(2){text-align:center}
.predFooter__col:nth-child(3){text-align:right}
.predFooter__col h4{margin:0 0 8px; color:#dfe6f1; text-transform: uppercase; font-size: 12px; letter-spacing:.14em}
.predFooter__col a{display:block; padding: 6px 0; color: rgba(231,237,248,.72); transition: color .12s ease, transform .12s ease}
.predFooter__col a:hover{color:#eef3f8; transform: translateX(2px)}
.predFooter__bottom{margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(200,167,107,.10); position:relative; display:flex; justify-content:center; color: rgba(223,231,243,.62); font-size: 12px}

.predFooter__center{display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px}
.predFooter__lineage{letter-spacing:.24em; text-transform:uppercase; color: rgba(231,237,248,.86); font-weight:800; font-size: 13px; line-height: 1.1; font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.predFooter__copy{color: rgba(223,231,243,.62)}
.predFooter__top{position:absolute; right:0}

.predHero__copy,
.predHero__panel,
.predPageHero,
.predBox,
.card,
.predServerInfo,
.predFooter,
.predTop__bar,
.predTop__main,
.predMobileNav{
  backdrop-filter: blur(12px);
}

.predHero__copy,
.predHero__panel,
.predPageHero,
.predBox,
.card,
.predServerInfo,
.predFooter,
.predTop__bar,
.predTop__main,
.predMobileNav{
  backdrop-filter: blur(12px);
}

.iconBtn{
  width:44px; height:44px; border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
.iconBtn__dot{
  display:block; width:18px; height:18px; border-radius:9px; margin:0 auto;
  background: radial-gradient(9px 9px at 35% 35%, rgba(255,255,255,.85), transparent 60%),
              linear-gradient(135deg, var(--brand), var(--brand2));
}

/* legacy mobileNav styles (kept for compatibility) */
.mobileNav{display:none; border-top:1px solid rgba(255,255,255,.06)}
.mobileNav__inner{display:grid; gap:8px; padding:14px 0}
.mobileNav a{padding:10px 12px; border-radius:14px; color:var(--muted)}
.mobileNav a:hover{background: rgba(255,255,255,.06); color:var(--text)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  box-shadow: none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22)}
.btn--full{width:100%}

.btn--primary{
  background: linear-gradient(135deg, rgba(124,92,255,.96), rgba(46,242,255,.70));
  border-color: rgba(255,255,255,.26);
}
.btn--ghost{background: transparent}
.btn--soft{background: rgba(124,92,255,.14); border-color: rgba(124,92,255,.22)}

.link{color:var(--muted)}
.link:hover{color:var(--text)}

/* legacy hero styles (not used on pred homepage) */
.hero{position:relative; padding: 46px 0 28px}
.hero__bg{position:absolute; inset:0; background: radial-gradient(circle at center, rgba(255,255,255,.04) 0 1px, transparent 1px 100%); background-size: 18px 18px; opacity:.45; pointer-events:none}
.hero__inner{position:relative; display:grid; grid-template-columns: 1.15fr .85fr; gap:22px; align-items:stretch}

.pill{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 13px;
}

.hero h1{margin:14px 0 10px; font-size: 42px; line-height:1.05; letter-spacing:-.02em}
.hero p{margin:0 0 16px; color: var(--muted); max-width: 56ch}

.hero__cta{display:flex; gap:10px; flex-wrap:wrap; margin: 14px 0 16px}

.stats{display:flex; gap:10px; flex-wrap:wrap}
.stat{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.stat__k{font-weight:800}
.stat__v{color:var(--muted); font-size: 13px}

.heroCard{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroCard__top{padding:18px 18px 0}
.heroCard__top h2{margin:0; font-size: 18px}
.heroCard__top p{margin:6px 0 14px; color: var(--muted); font-size: 13px}
.heroCard__bottom{padding: 14px 18px 18px; display:grid; gap:10px}

.seg{display:grid; grid-template-columns: repeat(4, 1fr); gap:8px; padding:0 18px 14px}
.seg__btn{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  padding: 10px 10px;
  cursor: pointer;
  font-weight: 700;
}
.seg__btn:hover{background: rgba(255,255,255,.08); color: var(--text)}
.seg__btn.isActive{
  color: var(--text);
  background: rgba(124,92,255,.18);
  border-color: rgba(124,92,255,.34);
}

.serverInfo{padding: 0 18px 6px}
.serverInfo__row{display:flex; justify-content:space-between; gap:12px; padding: 10px 12px; border-radius: 14px; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05)}
.serverInfo__row + .serverInfo__row{margin-top:10px}
.serverInfo__k{color: var(--muted)}
.serverInfo__v{font-weight:800}
.serverInfo__badge{font-size:12px; color: var(--good)}

.section{padding: 28px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section--cta{padding: 34px 0 46px}

.section__head{display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-bottom: 14px}
.section__head h2{margin:0; font-size: 22px}

.grid{display:grid; gap:14px}
.grid--2{grid-template-columns: repeat(2, minmax(0, 1fr))}
.grid--3{grid-template-columns: repeat(3, minmax(0, 1fr))}
.grid--4{grid-template-columns: repeat(4, minmax(0, 1fr))}

.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: none;
  padding: 16px;
  overflow:hidden;
}
.card h3{margin:0 0 8px}
.card p{margin:0 0 10px}

.card--media{padding:0}

.muted{color:var(--muted)}

.list{margin: 0 0 12px; padding-left: 18px; color: var(--muted)}
.list li{margin: 6px 0}

.newsCard{
  position:relative;
  padding: 16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  overflow:hidden;
}
.newsCard:before{
  content:"";
  position:absolute; inset:-1px;
  background:
    radial-gradient(500px 220px at 20% 10%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(500px 220px at 70% 40%, rgba(46,242,255,.12), transparent 60%);
  opacity:.9;
  pointer-events:none;
}
.newsCard__inner{position:relative}
.newsMeta{display:flex; align-items:center; gap:10px; color:var(--muted); font-size: 12px}
.newsTitle{margin:10px 0 8px; font-size: 16px}
.newsExcerpt{margin:0 0 12px; color: var(--muted)}

.gallery{display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:10px}
.gItem{
  aspect-ratio: 1/1;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(46,242,255,.14));
  overflow:hidden;
  position:relative;
}
.gItem:after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at center, rgba(200,167,107,.08) 0 1px, transparent 1px 100%);
  background-size: 20px 20px;
  opacity:.25;
}

.mediaPreview{
  padding: 18px;
  min-height: 220px;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 280px at 20% 20%, rgba(124,92,255,.28), transparent 60%),
    radial-gradient(600px 280px at 80% 20%, rgba(46,242,255,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.12);
  position:relative;
}
.mediaPreview__badge{
  position:absolute; top:14px; right:14px;
  font-size:12px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
}

.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(46,242,255,.10));
  padding: 18px;
}
.cta__actions{display:flex; gap:10px; flex-wrap:wrap}

.footer{padding: 28px 0 36px; border-top:1px solid rgba(255,255,255,.06)}
.footer__inner{display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap:16px}
.footer__col h4{margin:0 0 10px}
.footer__col a{display:block; padding:8px 0; color:var(--muted)}
.footer__col a:hover{color:var(--text)}
.footer__bottom{
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 14px;
  border-top:1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
}

.modal::backdrop{background: rgba(0,0,0,.55)}
.modal{border:none; padding:0; background: transparent}
.modal__panel{
  width:min(920px, calc(100vw - 24px));
  border-radius: var(--radius);
  background: var(--bg);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
}
[data-theme="light"] .modal__panel{background: #fff}
.modal__head{display:flex; align-items:center; justify-content:space-between; padding:14px 14px; border-bottom:1px solid rgba(255,255,255,.08)}
.modal__body{padding:14px}
.modal__body iframe{width:100%; aspect-ratio: 16/9; border:0; border-radius: 14px}

.pageHead{padding: 28px 0 10px}
.pageHead h1{margin:0 0 8px}
.breadcrumb{color:var(--muted); font-size: 13px}

.form{
  display:grid; gap:12px;
}
.field{display:grid; gap:6px}
.field label{color:var(--muted); font-size: 13px}
.field input, .field select, .field textarea{
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(223,231,243,.92);
  caret-color: rgba(223,231,243,.92);
  outline: none;
  opacity: 1;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(200,167,107,.45);
  box-shadow: 0 0 0 3px rgba(200,167,107,.10);
  background: rgba(0,0,0,.22);
}
[data-theme="light"] .field input,[data-theme="light"] .field select,[data-theme="light"] .field textarea{background: rgba(10,20,60,.04)}

/* Hint native form controls to use dark or light UI where supported (affects select dropdown popup in some browsers). */
.field select{color-scheme: dark;}
[data-theme="light"] .field select{color-scheme: light;}

/* Select dropdown list (options popup) */
.field select option{background: #120807; color: rgba(223,231,243,.92);}
[data-theme="light"] .field select option{background: #ffffff; color: #120807;}

.field input::placeholder,
.field textarea::placeholder{
  color: rgba(223,231,243,.56);
}

.muted strong{color: rgba(223,231,243,.92)}

/* Fix Chrome autofill dark text */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill{
  -webkit-text-fill-color: rgba(223,231,243,.92);
  box-shadow: 0 0 0px 1000px rgba(0,0,0,.20) inset;
  transition: background-color 5000s ease-in-out 0s;
}

.notice{
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  color: rgba(223,231,243,.86);
  font-size: 13px;
}
.notice--ok{border-color: rgba(46,242,168,.55); background: rgba(46,242,168,.10)}
.notice--err{border-color: rgba(255,107,107,.55); background: rgba(255,107,107,.10)}

.predMiniStat{color: rgba(223,231,243,.88); font-weight:800; letter-spacing:.2px}
.predMiniStat strong{color: rgba(223,231,243,.96)}

.predStatsGrid{display:grid; grid-template-columns: 1fr 1fr; gap: 12px}
@media (max-width: 760px){
  .predStatsGrid{grid-template-columns: 1fr;}
}

.statList{list-style:none; margin:0; padding:0; display:grid; gap:8px}
.statRow{display:flex; justify-content:space-between; gap:10px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(200,167,107,.12); background: rgba(0,0,0,.18)}
.statRow__name{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.statRow__val{color: rgba(223,231,243,.90); font-weight:800}

/* --- Account profile (characters + gear) --- */
.charGrid{display:grid; grid-template-columns: 1fr 1.2fr; gap: 14px}
@media (max-width: 900px){
  .charGrid{grid-template-columns: 1fr;}
}

.charList{display:grid; gap:8px}
.charBtn{
  text-align:left;
  border: 1px solid rgba(210,170,95,.18);
  background: rgba(0,0,0,.20);
  color: rgba(223,231,243,.92);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.charBtn:hover{background: rgba(0,0,0,.30); border-color: rgba(200,167,107,.30); transform: translateY(-1px)}
.charName{display:block; font-weight:900; letter-spacing:.2px}
.charMeta{display:block; margin-top:2px; font-size: 12px; color: rgba(223,231,243,.64)}

.charPanel{border: 1px solid rgba(255,255,255,.10); border-radius: 14px; padding: 12px; background: rgba(0,0,0,.18)}
.charHead{margin-bottom:10px}
.charTitle{font-weight:900; font-size: 16px; color: rgba(223,231,243,.94)}

.gearGrid{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px}
@media (max-width: 520px){
  .gearGrid{grid-template-columns: repeat(2, 1fr);}
}

.gearSlot{border:1px solid rgba(210,170,95,.16); border-radius: 14px; background: rgba(0,0,0,.16); overflow:hidden}
.gearSlot.isEmpty{opacity:.75}
.gearTop{display:flex; justify-content:space-between; gap:10px; padding: 8px 10px; border-bottom:1px solid rgba(255,255,255,.06)}
.gearLabel{font-size: 12px; color: rgba(223,231,243,.74); font-weight:800}
.gearEnchant{font-size: 12px; color: rgba(223,231,243,.92); font-weight:900}

@media (max-width: 1100px){
  .predHero{grid-template-columns: 1fr;}
}

@media (max-width: 900px){
  .predBanner--home{min-height: 0;}
}

@media (max-width: 760px){
  .predBanner{min-height: 260px; padding: 16px;}
  .predBanner--home{min-height: 0;}
  .predBanner--page{min-height: 0;}
  .predHero__copy{padding: 18px;}
  .predHero__panel{padding: 14px;}
  .predHero__cta{width:100%;}
  .predPageHero{padding: 16px;}
  .predPageHero__title{font-size: 24px;}
  .predFooter__cols{grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px;}
  .predFooter__col{text-align:center;}
  .predFooter__col:nth-child(2),
  .predFooter__col:nth-child(3){text-align:center}
  .predFooter__top{position:static; margin-top: 12px; display:inline-flex}
  .predMain{padding: 12px;}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior:auto !important;
  }
}
.gearBody{display:flex; align-items:center; gap:10px; padding: 10px}
.gearIcon{width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35))}
.gearId{font-size: 12px; color: rgba(223,231,243,.62)}

.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--muted);
}

@media (max-width: 980px){
  .predCols{grid-template-columns: 1fr;}
  .authCols{grid-template-columns: 1fr !important;}
  .predServers__tabs{grid-template-columns: repeat(2, 1fr)}
  .predFooter__cols{grid-template-columns: 1fr}
  .predFooter__col{text-align:left}
}

@media (max-width: 760px){
  .predNav{display:none}
  .predMenuBtn{display:block}
  .predTop__main{width:100%; justify-content:flex-end;}
  .languagePicker{margin-right:8px;}
  .predBanner{height: 240px}
  .predServers__title:before,
  .predServers__title:after{display:none}
}

@media (max-width: 600px){
  body{background-attachment:scroll; overflow-x:hidden;}
  .stage{width:100%;}
  .predTop{border-radius:0 0 14px 14px;}
  .predTop__main{min-height:58px; padding:8px 12px; gap:8px;}
  .languagePicker{margin-right:0;}
  .languagePicker select{min-width:90px; min-height:40px; padding:8px 22px 8px 8px; font-size:12px;}
  .predMenuBtn{width:44px; height:44px; padding:10px;}
  .predMobileNav{padding:8px 12px 12px;}
  .predMobileNav a{min-height:44px; display:flex; align-items:center; padding:10px 12px;}
  .predBanner{padding:12px;}
  .predBanner--home{min-height:0;}
  .predBanner--page{min-height:0; padding:18px 12px 12px;}
  .predHero{display:flex; flex-direction:column; gap:12px; margin:10px 0 0;}
  .predHero__copy{padding:18px 16px; border-radius:16px; gap:12px;}
  .predHero__panel{padding:14px; border-radius:16px; gap:8px;}
  .predHero__eyebrow{font-size:10px; letter-spacing:.1em; line-height:1.4;}
  .predHero__text{font-size:14px; line-height:1.55;}
  .predHero__actions{display:grid; grid-template-columns:1fr; gap:8px;}
  .predHero__cta{width:100%; min-height:46px; padding:11px 14px; border-radius:11px;}
  .predHero__metric{min-height:42px; padding:9px 10px;}
  .predPageHero{padding:14px 4px;}
  .predPageHero__text{font-size:15px; line-height:1.55;}
  .predMain{padding:10px;}
  .predCols{gap:10px;}
  .layoutDouble{grid-template-columns:1fr !important;}
  .predBox{border-radius:14px;}
  .predBox__head{padding:12px 14px; gap:8px;}
  .predBox__head h2{font-size:13px; letter-spacing:.07em;}
  .predBox__body{padding:12px;}
  .predQuick__link{min-height:44px; display:flex; align-items:center; justify-content:center; padding:10px 12px;}
  .predGallery{grid-template-columns:1fr; gap:18px;}
  .predGalleryItem{gap:0; overflow:hidden; border:1px solid rgba(200,167,107,.16); border-radius:14px; background:rgba(20,15,11,.72); box-shadow:0 10px 24px rgba(0,0,0,.18);}
  .predGalleryItem .predShot{border:0; border-radius:0; aspect-ratio:16/9;}
  .predGalleryItem__body{gap:8px; padding:13px 14px 15px; font-size:14px; line-height:1.55;}
  .predGalleryItem__body strong{font-size:16px; line-height:1.3;}
  .form input,.form select,.form textarea{font-size:16px;}
  .form input,.form select{min-height:44px;}
  .form textarea{min-height:120px;}
  .predFooter{padding:18px 14px 14px;}
  .predFooter__cols{grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px;}
  .predFooter__col h4{font-size:10px; letter-spacing:.06em; line-height:1.25; min-height:26px; margin-bottom:4px;}
  .predFooter__col a{min-height:36px; display:flex; align-items:center; justify-content:center; padding:6px 2px; font-size:11px; line-height:1.25; overflow-wrap:anywhere;}
  .predFooter__bottom{font-size:11px;}
}

/* Dark palette refinement - warm bronze */
:root{
  --bg:#0e0b09;
  --bg2:#1a1410;
  --card:#1e1712d9;
  --text:#eadfce;
  --muted:#b8a388;
  --line:#4b3827;
  --brand:#d0a56b;
  --brand2:#f0c98f;
  --good:#56d29d;
  --warn:#f0b266;
  --shadow: 0 16px 44px rgba(8,5,2,.58);
  --gold1:#8b6231;
  --gold2:#d0a56b;
  --gold3:#b98a4f;
  --wood:#1a1410;
}

body{
  background:
    linear-gradient(180deg, rgba(7,9,13,.48), rgba(8,11,17,.72)),
    url('../../top.png') center center / cover no-repeat fixed,
    #0f1218;
}

.predBg{
  display: none;
}

.predTop__bar,
.predMobileNav{
  background: rgba(24,18,14,.58);
  border-color: rgba(208,165,107,.24);
}

.predTop__main,
.predFooter,
.predServers,
.predMain,
.predBox,
.predServerInfo,
.predHero__copy,
.predHero__panel,
.predPageHero{
  border-color: rgba(208,165,107,.20);
}

.predTop__main,
.predFooter,
.predServers{
  background: linear-gradient(180deg, rgba(28,21,16,.95), rgba(19,14,11,.93));
}

.predMain,
.predBox,
.predServerInfo,
.predHero__copy,
.predHero__panel,
.predPageHero,
.predTab,
.predJoin__btn,
.predQuick__link,
.predNewsItem,
.rulesText,
.charBtn,
.charPanel,
.gearSlot,
.statRow,
.field input,
.field select,
.field textarea,
.notice,
.kbd{
  background-color: rgba(30,23,18,.74);
  border-color: rgba(208,165,107,.18);
}

.predNav a,
.predMobileNav a,
.predMiniLink,
.predHero__title,
.predPageHero__title,
.predServers__title,
.predHero__panelTitle,
.predBox__head h2,
.predNewsItem__title,
.predFooter__col h4,
.goldHeading,
.charTitle,
.statRow__val,
.gearEnchant,
.predMiniStat strong{
  color:#f3e6d3;
}

.predHero__text,
.predPageHero__text,
.predSectionLead,
.predNewsItem__meta,
.predNewsItem__meta time,
.predFooter__col a,
.predFooter__bottom,
.predFooter__copy,
.predFooter__lineage,
.predBrand__text,
.predServerInfo .serverInfo__k,
.predServerInfo .serverInfo__v,
.predHero__metric span,
.predChip,
.rulesText,
.muted,
.field label,
.field input::placeholder,
.field textarea::placeholder,
.charMeta,
.gearLabel,
.gearId,
.predMiniStat{
  color:#c8b295;
}

.predNav a,
.predMobileNav a,
.predJoin__btn,
.predQuick__link,
.predTab,
.charBtn,
.btn,
.iconBtn{
  background: linear-gradient(180deg, rgba(208,165,107,.16), rgba(240,201,143,.08));
  border-color: rgba(208,165,107,.30);
}

.predNav a:hover,
.predMobileNav a:hover,
.predJoin__btn:hover,
.predQuick__link:hover,
.predTab:hover,
.charBtn:hover,
.btn:hover{
  background: linear-gradient(180deg, rgba(208,165,107,.26), rgba(240,201,143,.14));
  border-color: rgba(208,165,107,.42);
}

.predBrand__serverName{
  color:#f7ead8;
}

.predSep{
  color: rgba(208,165,107,.56);
}

/* L2Damage homepage refinement */
.stage{
  width:min(1320px, calc(100vw - 40px));
}

.predTop{
  top:12px;
  border:1px solid rgba(221,184,123,.18);
  border-radius:16px;
  background:rgba(11,15,22,.86);
  backdrop-filter:blur(18px);
}

.predTop__main{
  width:100%;
  justify-content:space-between;
  gap:clamp(12px, 2vw, 28px);
  padding:10px 16px;
}

.predBrand{
  flex:none;
  gap:10px;
  white-space:nowrap;
}

.predBrand__mark{
  width:42px;
  height:42px;
  object-fit:contain;
  filter:drop-shadow(0 3px 10px rgba(89,157,255,.3));
}

.predBrand__serverName{
  font-size:17px;
  letter-spacing:.12em;
}

.predBrand__text{
  margin-top:4px;
  font-size:9px;
  letter-spacing:.16em;
}

.predNav{
  flex:1;
  justify-content:flex-end;
  gap:4px;
}

.predNav a{
  padding:9px 10px;
  border-color:transparent;
  background:transparent;
  font-size:13px;
  transition:color .18s ease, background .18s ease, border-color .18s ease;
}

.predNav a:hover,
.predNav a.isActive{
  color:#f2d39b;
  border-color:rgba(221,184,123,.18);
  background:rgba(221,184,123,.08);
  box-shadow:none;
  transform:none;
}

.languagePicker select{
  border-color:rgba(221,184,123,.2);
  border-radius:9px;
  background:#17130f;
  color:#f3e6d3;
  color-scheme:dark;
}

.languagePicker select option{
  background:#17130f;
  color:#f3e6d3;
}

.predBanner--home{
  min-height:580px;
  margin-top:12px;
  border:1px solid rgba(221,184,123,.16);
  border-radius:22px;
  background:transparent;
}

.predBanner--home::before{
  background:linear-gradient(145deg, rgba(5,9,16,.12), rgba(5,9,16,.22));
  opacity:1;
}

.predBanner__art{
  display:none;
}

.predHero{
  grid-template-columns:minmax(0, 1.2fr) minmax(280px, .62fr);
  gap:clamp(22px, 4vw, 56px);
  align-items:center;
  margin:42px 0 28px;
}

.predHero__copy,
.predHero__panel{
  border:1px solid rgba(221,184,123,.2);
  border-radius:20px;
  background:linear-gradient(145deg, rgba(10,15,23,.56), rgba(10,13,19,.42));
  box-shadow:0 24px 70px rgba(0,0,0,.28);
  backdrop-filter:blur(10px);
}

.predHero__copy{
  padding:clamp(24px, 3.5vw, 46px);
  gap:18px;
}

.predHero__eyebrow{
  border-color:rgba(221,184,123,.3);
  background:rgba(221,184,123,.08);
  color:#f0d39e;
  font-size:11px;
  letter-spacing:.12em;
}

.predHero__eyebrow:before{
  background:#7de0b1;
  box-shadow:0 0 14px rgba(125,224,177,.65);
}

.predHero__title{
  max-width:13ch;
  color:#fff8ed;
  font-size:clamp(38px, 5vw, 66px);
  line-height:1.12;
  letter-spacing:-.045em;
  text-shadow:0 4px 30px rgba(0,0,0,.4);
}

.predHero__text{
  color:rgba(239,239,235,.76);
  font-size:15px;
  line-height:1.75;
}

.predHero__text:first-of-type{
  color:#e9c78f;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
}

.predHero__actions{
  gap:10px;
  margin-top:4px;
}

.predHero__cta{
  min-height:48px;
  padding:12px 18px;
  border-color:rgba(255,255,255,.14);
  border-radius:11px;
  background:rgba(255,255,255,.055);
  font-size:13px;
  font-weight:700;
}

.predHero__cta--primary{
  border-color:#d8b477;
  background:linear-gradient(135deg, #e8ca95, #b98b50);
  color:#20180f;
  box-shadow:0 9px 24px rgba(185,139,80,.2);
}

.predHero__cta--primary:hover{
  background:linear-gradient(135deg, #f1d8a7, #c89b5c);
  color:#20180f;
}

.predHero__panel{
  align-content:center;
  gap:10px;
  padding:18px;
}

.predHero__metric{
  min-height:67px;
  align-items:center;
  border-color:rgba(255,255,255,.09);
  border-radius:12px;
  background:rgba(255,255,255,.035);
}

.predHero__metric span{
  font-size:10px;
  letter-spacing:.15em;
}

.predHero__metric strong{
  font-size:15px;
}

.predMain{
  margin-top:20px;
  padding:20px;
  border:1px solid rgba(221,184,123,.14);
  border-radius:20px;
  background:rgba(8,12,18,.68);
  backdrop-filter:blur(14px);
}

.predCols{
  gap:16px;
}

.predBox{
  border-color:rgba(221,184,123,.14);
  border-radius:16px;
  background:linear-gradient(155deg, rgba(22,27,35,.9), rgba(13,17,24,.92));
  box-shadow:0 16px 38px rgba(0,0,0,.16);
}

.predBox__head{
  padding:16px 18px;
  background:rgba(255,255,255,.025);
}

.predBox__head h2{
  font-size:12px;
  letter-spacing:.13em;
}

.predBox__body{
  padding:16px;
}

.predFooter{
  margin-top:20px;
  border:1px solid rgba(221,184,123,.14);
  border-radius:18px 18px 0 0;
  background:rgba(8,12,18,.88);
}

@media (max-width:1100px){
  .predTop__main{
    flex-wrap:nowrap;
    justify-content:space-between;
  }

  .predNav{
    width:auto;
    flex-wrap:nowrap;
  }

  .predNav a{
    padding:8px 7px;
    font-size:12px;
  }

  .languagePicker select{
    min-width:82px;
  }

  .predHero{
    grid-template-columns:minmax(0, 1fr) minmax(245px, .68fr);
  }
}

@media (max-width:900px){
  .stage{
    width:min(100% - 28px, 760px);
  }

  .predNav{
    display:none;
  }

  .predMenuBtn{
    display:block;
    order:3;
    margin-left:auto;
    padding:10px;
    border-color:rgba(221,184,123,.2);
    background:rgba(255,255,255,.04);
  }

  .predMenuBtn span{
    width:100%;
    height:2px;
    margin:0;
    border-radius:2px;
    background:#f0e5d2;
  }

  .languagePicker{
    margin-left:auto;
  }

  .predTop__main{
    min-height:68px;
  }

  .predHero{
    grid-template-columns:1fr;
    max-width:650px;
    margin:36px auto 20px;
  }

  .predHero__panel{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .predBanner--home{
    height:auto;
    min-height:0;
  }

  .predCols{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  #media{
    grid-column:1 / -1;
  }
}

@media (max-width:600px){
  .stage{
    width:100%;
  }

  .predTop{
    top:0;
    border-radius:0 0 14px 14px;
  }

  .predTop__main{
    padding:8px 14px;
  }

  .predBrand__mark{
    width:36px;
    height:36px;
  }

  .predBrand__serverName{
    font-size:15px;
  }

  .predBrand__text{
    font-size:8px;
  }

  .predBanner--home{
    margin-top:8px;
    height:auto;
    padding:14px;
    border-radius:16px;
  }

  .predHero{
    gap:12px;
    margin:20px auto 6px;
  }

  .predHero__copy{
    padding:23px 19px;
    gap:14px;
  }

  .predHero__title{
    font-size:clamp(36px, 10vw, 50px);
  }

  .predHero__text{
    font-size:14px;
  }

  .predHero__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .predHero__cta{
    min-width:0;
    min-height:46px;
    padding:10px 8px;
    font-size:12px;
  }

  .predHero__cta--primary{
    grid-column:1 / -1;
  }

  .predHero__panel{
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:12px;
  }

  .predHero__metric{
    min-width:0;
    min-height:62px;
    align-items:flex-start;
    flex-direction:column;
    justify-content:center;
    gap:6px;
    padding:10px;
  }

  .predHero__metric span{
    font-size:9px;
  }

  .predHero__metric strong{
    font-size:13px;
  }

  .predMain{
    margin-top:12px;
    padding:12px;
  }

  .predCols{
    grid-template-columns:1fr;
    gap:12px;
  }

  #media{
    grid-column:auto;
  }
}

/* Status panel matches hero card height; stats moved to the bottom */
.predHero{
  align-items:stretch;
}

.predHero__panel{
  align-content:stretch;
  grid-auto-rows:1fr;
}

.predHero__metric{
  min-height:0;
}

.predCols{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

#stats{
  order:-1;
  grid-column:1 / -1;
}

#stats .statList{
  gap:5px;
}

.predBox__head--center{
  justify-content:center;
  text-align:center;
}

#stats .statNote{
  font-size:12px;
  padding:0 2px 2px;
}

#stats .statRow{
  align-items:center;
  padding:6px 10px;
  font-size:13px;
}

#stats .statRow.isEmpty{
  opacity:.45;
}

.statRow__rank{
  display:inline-block;
  min-width:22px;
  margin-right:6px;
  color:#e9c78f;
  font-weight:800;
}

@media (min-width:901px){
  .predBanner--home{
    min-height:0;
  }

  .predHero{
    margin:20px 0 18px;
    gap:clamp(18px, 3vw, 36px);
  }

  .predHero__copy{
    padding:26px 32px;
    gap:11px;
  }

  .predHero__title{
    max-width:none;
    font-size:clamp(32px, 3.6vw, 46px);
    line-height:1.1;
  }

  .predHero__text{
    font-size:13.5px;
    line-height:1.6;
  }

  .predHero__text:first-of-type{
    font-size:12px;
  }

  .predHero__actions{
    flex-wrap:nowrap;
    gap:8px;
    margin-top:2px;
  }

  .predHero__cta{
    min-width:0;
    min-height:40px;
    padding:9px 14px;
    font-size:12px;
    white-space:nowrap;
  }

  .predHero__panel{
    padding:14px;
    gap:8px;
  }

  .predHero__metric{
    padding:8px 14px;
  }

  .predMain{
    margin-top:14px;
    padding:16px;
  }

  .predBox__head{
    padding:12px 16px;
  }

  .predBox__body{
    padding:12px 16px;
  }
}

@media (max-width:600px){
  .predCols{
    grid-template-columns:1fr;
  }

  #stats{
    grid-column:auto;
  }
}

.newsBody{margin-top:10px; color:#d9cbb7; font-size:14px; line-height:1.65}
.newsBody p{margin:0 0 10px}
.newsPoster{
  display:block;
  width:100%;
  max-width:560px;
  height:auto;
  margin:14px auto 4px;
  border-radius:14px;
  border:1px solid rgba(208,165,107,.28);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}

/* Event promo: ticker, nav badge, poster cards */
.predTicker{
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px 12px;
  max-width:1180px; margin:8px auto 0; padding:8px 16px;
  border:1px solid rgba(208,165,107,.35); border-radius:999px;
  background:linear-gradient(90deg, rgba(120,70,20,.45), rgba(30,22,14,.7), rgba(120,70,20,.45));
  color:#f3e6d3; font-size:13px; text-decoration:none;
  box-shadow:0 0 22px rgba(208,165,107,.18);
}
.predTicker:hover{border-color:rgba(240,200,130,.7)}
.predTicker__badge{
  background:#e6b565; color:#1a120a; font-weight:800; font-size:11px; letter-spacing:.06em;
  padding:3px 9px; border-radius:999px; animation:tickerPulse 1.8s ease-in-out infinite;
}
.predTicker__sep{opacity:.5}
.predTicker__more{color:#e6b565; font-weight:700}
@keyframes tickerPulse{0%,100%{box-shadow:0 0 0 0 rgba(230,181,101,.6)}50%{box-shadow:0 0 0 7px rgba(230,181,101,0)}}

.predNav a[href$="news.html"]{position:relative}
.predNav a[href$="news.html"]::after{
  content:""; position:absolute; top:4px; right:4px; width:7px; height:7px; border-radius:50%;
  background:#e6b565; animation:tickerPulse 1.8s ease-in-out infinite;
}

#events{grid-column:1/-1}
.predEvents__grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:14px}
.predEvent{
  display:grid; grid-template-columns:150px 1fr; gap:14px; align-items:center; padding:10px;
  border:1px solid rgba(208,165,107,.25); border-radius:14px; background:rgba(14,11,8,.4);
  color:#f3e6d3; text-decoration:none; transition:transform .2s, border-color .2s;
}
.predEvent:hover{transform:translateY(-3px); border-color:rgba(240,200,130,.65)}
.predEvent img{width:100%; height:auto; border-radius:10px; display:block}
.predEvent__info{display:grid; gap:6px; font-size:13px; color:#cdbda6}
.predEvent__info strong{font-size:16px; color:#f3e6d3}
.predEvent__info em{font-style:normal; color:#e6b565; font-weight:700}
.predEvent__prize{
  justify-self:start; padding:3px 12px; border-radius:999px; font-weight:800; font-size:15px;
  background:linear-gradient(180deg,#f0c978,#c48a35); color:#1a120a;
}
@media (max-width:900px){
  .predEvents__grid{grid-template-columns:1fr}
}
@media (max-width:480px){
  .predEvent{grid-template-columns:110px 1fr}
  .predTicker{border-radius:16px; font-size:12px}
}

/* Compact first screen: hero + events visible on load */
@media (min-width:901px){
  .predHero{margin:12px 0 10px; gap:20px}
  .predHero__copy{padding:16px 24px; gap:7px}
  .predHero__title{font-size:clamp(26px, 2.8vw, 36px)}
  .predHero__text{font-size:12.5px; line-height:1.5}
  .predHero__text:first-of-type{font-size:11.5px}
  .predHero__cta{min-height:34px; padding:6px 12px; font-size:11.5px}
  .predHero__panel{padding:10px; gap:6px}
  .predHero__metric{padding:6px 12px}
}
#events{order:-2}
#events .predBox__head{padding:8px 14px}
#events .predBox__body{padding:10px 12px}
#events .predEvents__grid{gap:10px}
#events .predEvent{grid-template-columns:84px 1fr; gap:10px; padding:8px}
#events .predEvent__info{gap:3px; font-size:12px}
#events .predEvent__info strong{font-size:14px}
#events .predEvent__prize{font-size:13px; padding:2px 10px}
#stats .predBox__head{padding:8px 14px}

/* Subpages: compact hero pulled up, transparent windows */
.predBanner.predBanner--page{
  height:auto;
  min-height:0;
  padding:0;
  margin:0;
  background:transparent;
}
.predBanner--page::before,
.predBanner--page::after{display:none}
.predBanner--page .predBanner__art{display:none}
.predPageHero{
  background:transparent;
  border:0;
  box-shadow:none;
  backdrop-filter:none;
  padding:10px 16px 0;
  margin:0 auto;
  min-height:0;
}
.predPageHero__text{margin:0}
.predBanner--page + .predMain{margin-top:8px}
.predBanner--page + .predMain .predBox{
  background:rgba(14,11,8,.42);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.predBanner--page + .predMain .predBox__head{background:transparent}
.predBanner--page + .predMain{background-color:rgba(14,11,8,.28);box-shadow:none;border-color:rgba(208,165,107,.14)}
.predBanner.predBanner--page{padding-top:40px}
.predBanner--page + .predMain .predBox{background-color:rgba(14,11,8,.30)}
