:root {
  --bg: #070808;
  --panel: #0e0f0f;
  --text: #e6dfcf;
  --dim: #a8a292;
  --faint: #6f6b60;
  --line: rgba(220, 220, 214, 0.14);
  --line2: rgba(220, 220, 214, 0.3);
  --accent: #c3a566;
  --head: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --ui: 'Bahnschrift', 'Archivo Narrow', 'Arial Narrow', sans-serif;
  --body: 'Bahnschrift', 'Archivo Narrow', 'Segoe UI', Arial, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* top bar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 10; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 4vw, 44px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.bar.solid { background: rgba(7, 8, 8, .92); backdrop-filter: blur(8px); border-bottom-color: var(--line); }
.logo { font-family: var(--head); font-weight: 400; font-size: 38px; letter-spacing: .01em; color: #fff; line-height: 1; -webkit-mask: url('assets/grunge.png') center / 400% 100%; mask: url('assets/grunge.png') center / 400% 100%; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); font-family: var(--ui); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.nav a { color: var(--text); opacity: .8; transition: color .15s, opacity .15s; text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 0 14px rgba(0,0,0,.5); }
.nav a:hover, .nav a.on { opacity: 1; }
.logo { filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.nav a:hover, .nav a.on { color: var(--text); }
.nav .login { border: 1px solid var(--line2); padding: 6px 16px; color: var(--text); }
.nav .login:hover { border-color: var(--text); }
.menu { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu span { display: block; height: 2px; background: currentColor; margin: 5px 0; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero .shot { position: absolute; inset: 0; background: url('assets/house-1920.jpg') center 60% / cover no-repeat; background-image: image-set(url('assets/house-1920.jpg') 1x, url('assets/house-hd.jpg') 2x); transform: scale(1.04); animation: drift 30s ease-in-out infinite alternate; }
@media (max-width: 700px) { .hero .shot { background-image: url('assets/house-sm.jpg'); background-image: image-set(url('assets/house-sm.jpg') 1x, url('assets/house-1920.jpg') 2x); } }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 34% at 50% 52%, rgba(7,8,8,.34) 0%, rgba(7,8,8,0) 100%), linear-gradient(180deg, rgba(7,8,8,.35) 0%, rgba(7,8,8,0) 14%, rgba(7,8,8,0) 80%, var(--bg) 100%); }
.hero .kicker, .hero .lede, .hero .meta { text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 0 18px rgba(0,0,0,.6); }
.hero .meta { color: var(--text); opacity: .75; }
.hero .kicker { color: var(--text); }
@keyframes drift { to { transform: scale(1.1) translateX(-1.5%); } }
.hero .in { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 90px clamp(16px, 4vw, 44px) 70px; display: flex; flex-direction: column; align-items: center; }
.kicker { font-family: var(--ui); font-weight: 600; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); margin: 0 0 6px; }
h1 { margin: 0; line-height: 0; }
h1 img { width: min(440px, 86vw); height: auto; filter: drop-shadow(0 2px 14px rgba(0,0,0,.55)); }
.lede { max-width: 460px; color: var(--text); margin: 16px 0 22px; font-size: 16px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; font-family: var(--ui); font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--text); transition: background .15s, color .15s, border-color .15s; }
.btn.main { background: var(--text); color: #0b0b0b; }
.hero .btn { min-height: 44px; padding: 0 20px; font-size: 14px; background-color: rgba(7,8,8,.35); }
.hero .btn.main { background: var(--text); }
.btn.main:hover { background: #fff; border-color: #fff; }
.btn.ghost:hover { background: rgba(230, 223, 207, .1); }
.btn svg { width: 20px; height: 20px; flex: none; }
.meta { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* download panel: hidden under the hero until DOWNLOAD opens it */
.dl { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s ease; }
.dl.open { grid-template-rows: 1fr; }
.dl .dlwrap { overflow: hidden; min-height: 0; }
.dl .in { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 6vw, 64px) clamp(16px, 4vw, 44px) clamp(40px, 6vw, 70px); text-align: center; opacity: 0; transform: translateY(14px); transition: opacity .5s ease .15s, transform .5s ease .15s; }
.dl.open .in { opacity: 1; transform: none; }
.dl h2 { font-family: var(--head); font-weight: 400; -webkit-mask: url('assets/grunge.png') center / 200% 100%; mask: url('assets/grunge.png') center / 200% 100%; font-size: clamp(40px, 6vw, 68px); text-transform: uppercase; margin: 0 0 10px; color: #fff; line-height: 1; }
.dl p { color: var(--dim); margin: 0 auto 26px; max-width: 520px; }
.dl .ctas { justify-content: center; }
.dl .btn { min-width: 230px; justify-content: center; }
.dl .meta { margin: 18px auto 0; max-width: 640px; }
.dl.now, .dl.now .in { transition: none; }
@media (prefers-reduced-motion: reduce) { .dl, .dl .in { transition: none; } }

/* features */
/* release trailer (between Download and the features) */
.trailer { max-width: var(--wrap); margin: 0 auto; padding: clamp(50px, 8vw, 100px) clamp(16px, 4vw, 44px) 0; text-align: center; }
.trailer h2 { font-family: var(--head); font-weight: 400; -webkit-mask: url('assets/grunge.png') center / 200% 100%; mask: url('assets/grunge.png') center / 200% 100%; font-size: clamp(36px, 5.6vw, 64px); text-transform: uppercase; margin: 0 0 clamp(20px, 3vw, 32px); color: #fff; line-height: 1; }
.tvid { position: relative; aspect-ratio: 16 / 9; max-width: 1100px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.tvid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tplay { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; display: block; width: 100%; }
.tplay img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; filter: brightness(.82); }
.tplay:hover img, .tplay:focus-visible img { transform: scale(1.02); filter: brightness(1); }
.tbtn { position: absolute; left: 50%; top: 50%; width: clamp(64px, 9vw, 96px); height: clamp(64px, 9vw, 96px); transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(7,8,8,.55); color: #fff; display: grid; place-items: center; transition: background .3s ease, border-color .3s ease; }
.tbtn svg { width: 42%; height: 42%; margin-left: 6%; }
.tplay:hover .tbtn, .tplay:focus-visible .tbtn { background: var(--accent); border-color: var(--accent); color: #070808; }
.tnote { margin: 14px 0 0; font-size: 14px; }
.tnote a { color: var(--dim); }
.tnote a:hover { color: var(--accent); }
.features { max-width: var(--wrap); margin: 0 auto; padding: clamp(60px, 10vw, 120px) clamp(16px, 4vw, 44px) 40px; display: grid; gap: clamp(70px, 11vw, 140px); }
.f { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.f:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
.f:nth-child(even) .media { order: 2; }
.media { position: relative; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media .soon { position: absolute; left: 12px; bottom: 10px; font-family: var(--ui); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); background: rgba(7, 8, 8, .7); padding: 2px 8px; }
.f .num { font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: .3em; color: var(--accent); }
.f h2 { font-family: var(--head); font-weight: 400; font-size: clamp(52px, 7vw, 92px); line-height: .95; letter-spacing: .01em; -webkit-mask: url('assets/grunge.png') center / 260% 100%; mask: url('assets/grunge.png') center / 260% 100%; text-transform: uppercase; margin: 6px 0 16px; color: #fff; }
.f p { margin: 0 0 12px; color: var(--dim); max-width: 460px; }
.f ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--text); font-size: 15px; }
.f li { padding: 7px 0 7px 18px; border-top: 1px solid var(--line); position: relative; }
.f li::before { content: ''; position: absolute; left: 0; top: calc(7px + .8em); width: 7px; height: 1px; background: var(--accent); }

/* join */
.join { text-align: center; padding: clamp(70px, 10vw, 130px) clamp(16px, 4vw, 44px); border-top: 1px solid var(--line); margin-top: clamp(60px, 9vw, 110px); }
.join h2 { font-family: var(--head); font-weight: 400; -webkit-mask: url('assets/grunge.png') center / 200% 100%; mask: url('assets/grunge.png') center / 200% 100%; font-size: clamp(40px, 6vw, 68px); text-transform: uppercase; margin: 0 0 10px; color: #fff; line-height: 1; }
.join p { color: var(--dim); margin: 0 auto 28px; max-width: 520px; }
.join .ctas { justify-content: center; }
.req { margin: 34px auto 0; max-width: 620px; font-size: 14px; color: var(--faint); }

footer { border-top: 1px solid var(--line); padding: 26px clamp(16px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 13px; color: var(--faint); }
footer .logo { font-size: 22px; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero .shot { animation: none; } }

@media (max-width: 860px) {
  .menu { display: block; }
  .nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(7, 8, 8, .97); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-top: 1px solid var(--line); }
  .nav .login { margin-top: 10px; text-align: center; }
  .f, .f:nth-child(even) { grid-template-columns: 1fr; }
  .f:nth-child(even) .media { order: 0; }
  .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- shared: login, pages ---------- */
.nav .login { display: inline-flex; align-items: center; gap: 8px; }
.nav .login svg { width: 16px; height: 16px; }
.nav .login.me { border-color: var(--accent); }
.nav .logout { font-size: 13px; }
.bar.fixed-solid { background: rgba(7, 8, 8, .96); }
.page { max-width: var(--wrap); margin: 0 auto; padding: 120px clamp(16px, 4vw, 44px) 80px; min-height: 80vh; }
.page h1.title { font-family: var(--head); font-weight: 400; font-size: clamp(48px, 7vw, 84px); line-height: .95; text-transform: uppercase; color: #fff; margin: 0 0 8px; -webkit-mask: url('assets/grunge.png') center / 220% 100%; mask: url('assets/grunge.png') center / 220% 100%; }
.page .sub { color: var(--dim); margin: 0 0 34px; }
.empty { color: var(--faint); padding: 24px 0; }

/* ---------- news ---------- */
.newsblock { max-width: 1180px; margin: clamp(60px, 9vw, 110px) auto 0; padding: clamp(50px, 8vw, 90px) clamp(16px, 4vw, 44px); border-top: 1px solid var(--line); }
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sechead h2 { font-family: var(--head); font-weight: 400; font-size: clamp(40px, 6vw, 64px); text-transform: uppercase; margin: 0; color: #fff; line-height: 1; -webkit-mask: url('assets/grunge.png') center / 200% 100%; mask: url('assets/grunge.png') center / 200% 100%; }
.more { font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.more:hover { color: var(--text); }
.news { display: grid; gap: 10px; }
.ncard { border: 1px solid var(--line); background: var(--panel); }
.ncard[open] { border-color: var(--line2); }
.ncard summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 6px 18px; align-items: baseline; padding: 16px 18px; }
.ncard summary::-webkit-details-marker { display: none; }
.ncard summary:hover .nhead { color: #fff; }
.ntag { font-family: var(--ui); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.ncard.hot .ntag { color: #d68a6c; }
.nhead { font-family: var(--ui); font-weight: 600; font-size: 17px; color: var(--text); }
.ncard time { font-size: 13px; color: var(--faint); white-space: nowrap; }
.nbody { padding: 0 18px 18px; border-top: 1px solid var(--line); }
.nsec h4 { font-family: var(--ui); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin: 18px 0 6px; }
.nsec ul { margin: 0; padding-left: 18px; color: var(--text); font-size: 15px; }
.nsec li { margin: 4px 0; }
.nsec p { margin: 14px 0 0; color: var(--text); }
.newsblock .req { margin-top: 30px; text-align: center; font-size: 14px; color: var(--faint); }

/* ---------- tabs, tables ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs button { font: 600 14px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: none; border: 1px solid var(--line); padding: 9px 16px; cursor: pointer; }
.tabs button:hover { color: var(--text); border-color: var(--line2); }
.tabs button.on { color: #0b0b0b; background: var(--text); border-color: var(--text); }
.note { font-size: 13px; color: var(--faint); margin: -6px 0 14px; }
table.lb { width: 100%; border-collapse: collapse; font-size: 15px; }
.lb th { font: 600 12px var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); text-align: right; padding: 8px 12px; border-bottom: 1px solid var(--line2); }
.lb th:nth-child(-n+2), .lb td:nth-child(-n+2) { text-align: left; }
.lb td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.lb tr:hover td { background: rgba(230, 223, 207, .04); }
.lb td.rank { color: var(--faint); width: 48px; }
.lb tr:nth-child(-n+3) td.rank { color: var(--accent); font-weight: 700; }
.lb td.sort { color: #fff; font-weight: 600; }
.lb a { color: var(--text); font-weight: 600; }
.lb a:hover { color: #fff; text-decoration: underline; }
.fac { font: 600 11px var(--ui); letter-spacing: .14em; margin-left: 8px; padding: 1px 6px; border: 1px solid var(--line2); color: var(--dim); vertical-align: 2px; }
.fac.wlf { color: #7fa6c4; border-color: rgba(127,166,196,.5); }
.fac.sera { color: #d4544a; border-color: rgba(212,84,74,.55); }
.wide { overflow-x: auto; }
@media (max-width: 700px) { .lb .opt { display: none; } }

/* ---------- search ---------- */
.search { display: flex; gap: 10px; margin-bottom: 22px; }
.search input { flex: 1; min-width: 0; font: 500 17px var(--body); color: var(--text); background: var(--panel); border: 1px solid var(--line2); padding: 0 16px; height: 52px; outline: none; }
.search input:focus { border-color: var(--text); }
.results { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); background: var(--panel); }
.prow:hover { border-color: var(--line2); }
.prow b { font-family: var(--ui); font-size: 17px; color: var(--text); }
.prow span { font-size: 14px; color: var(--dim); }
.prow b.lead-name, .lb a.lead-name { color: #ffd3e4; background: linear-gradient(180deg, #fff 0%, #ffe1ec 45%, #ffb3cf 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 6px rgba(255, 61, 139, .4)); }

/* ---------- profile ---------- */
.phead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.phead .meta2 { color: var(--dim); font-size: 15px; }
.phead .meta2 a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 34px; }
.stat { border: 1px solid var(--line); background: var(--panel); padding: 16px 18px; }
.stat .v { font-family: var(--head); font-size: 40px; line-height: 1; color: #fff; }
.stat .k { font: 600 12px var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
.clan { border: 1px solid var(--line2); background: var(--panel); padding: 22px; }
.clan h2 { font-family: var(--head); font-weight: 400; font-size: 40px; line-height: 1; text-transform: uppercase; margin: 0 0 4px; color: #fff; }
.clan .cl { color: var(--dim); margin: 0 0 18px; }
.bar2 { display: flex; height: 10px; background: rgba(255,255,255,.06); margin: 6px 0 4px; }
.bar2 i { display: block; height: 100%; }
.bar2 .h { background: #9bb08a; } .bar2 .u { background: #c3a566; } .bar2 .s { background: #b9645a; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--dim); }
.legend b { color: var(--text); }
.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 24px; margin-top: 20px; }
.cgrid .k { font: 600 12px var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.cgrid .v { color: var(--text); font-size: 16px; margin-top: 2px; }
.progress { height: 4px; background: rgba(255,255,255,.08); margin-top: 8px; } .progress i { display: block; height: 100%; background: var(--accent); }

/* player profile (player.html) */
.pro { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.pro .face { width: 220px; height: 220px; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.07), transparent 70%), var(--panel); border: 1px solid var(--line2); position: relative; overflow: hidden; }
.pro .face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pro .face.wlf { border-color: rgba(127,166,196,.55); } .pro .face.sera { border-color: rgba(212,84,74,.6); }
.pro .tier { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 0 5px; text-align: center; font: 600 12px var(--ui); letter-spacing: .22em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.pro h1.title { margin: 0 0 10px; }
.pro h1.title.lead { color: #ffe3ee; background: linear-gradient(180deg, #fff 0%, #ffe1ec 45%, #ffb3cf 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 14px rgba(255, 61, 139, .35)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--ui); letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line2); color: var(--dim); }
.fi { display: inline-block; width: 22px; height: 22px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.fi.wlf { -webkit-mask-image: url(assets/fac-wlf.png); mask-image: url(assets/fac-wlf.png); } .fi.sera { -webkit-mask-image: url(assets/fac-sera.png); mask-image: url(assets/fac-sera.png); }
.chip.wlf { color: #9cc0dc; border-color: rgba(127,166,196,.5); } .chip.sera { color: #e0645a; border-color: rgba(212,84,74,.55); }
.chip.rank b { color: #fff; font-family: var(--head); font-weight: 400; font-size: 17px; letter-spacing: .04em; }
.lvl { max-width: 460px; } .lvl .row { display: flex; justify-content: space-between; font: 600 12px var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.lvl .progress { height: 6px; }
.pro .meta2 { color: var(--dim); font-size: 15px; margin-top: 12px; } .pro .meta2 a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); }
.sec2 { font: 600 13px var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.stats.sm .stat .v { font-size: 32px; }
.fav { display: flex; align-items: center; gap: 22px; border: 1px solid var(--line); background: var(--panel); padding: 18px 22px; margin-bottom: 34px; }
.fav .ic { width: 170px; height: 70px; display: flex; align-items: center; justify-content: center; }
.fav .ic img { max-width: 100%; max-height: 100%; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.fav .v { font-family: var(--head); font-size: 34px; line-height: 1; color: #fff; text-transform: uppercase; }
.fav .k { color: var(--dim); margin-top: 6px; }
.note2 { color: var(--faint); font-size: 13px; margin: -22px 0 30px; }
.sec2 + .note2 { margin: 0 0 30px; }
html.embed main.page { padding-top: 22px; }
.pro .xphint { color: var(--faint); font-size: 12.5px; margin-top: 6px; }
.clan { position: relative; overflow: hidden; }
.clan > * { position: relative; }
.clan .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; filter: grayscale(.35); }
.clan .bgimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--panel) 15%, rgba(14,15,15,.55) 60%, rgba(14,15,15,.25)); }
.clan.wlf .bgimg { background-image: url(assets/clan-wlf.jpg); } .clan.sera .bgimg { background-image: url(assets/clan-sera.jpg); }
.clan.wlf { border-color: rgba(127,166,196,.45); } .clan.sera { border-color: rgba(212,84,74,.5); }
.clan h2 { display: flex; align-items: center; gap: 12px; }
.clan h2 .fi { width: 46px; height: 46px; }
.clan.sera h2 { color: #e0645a; } .clan.wlf h2 { color: #cfe2f0; }
@media (max-width: 640px) {
  .pro { grid-template-columns: 1fr; justify-items: start; }
  .pro .face { width: 160px; height: 160px; }
  .fav { flex-direction: column; align-items: flex-start; }
}

/* news: big updates vs hotfixes */
.ntag { display: inline-flex; align-items: baseline; gap: 10px; }
.nkind { font: 600 11px var(--ui); letter-spacing: .18em; padding: 3px 7px 2px; border: 1px solid; }
.nkind.big { color: #0b0b0b; background: var(--accent); border-color: var(--accent); }
.nkind.patch { color: var(--dim); border-color: var(--line2); }
.nkind.hotfix { color: #d68a6c; border-color: rgba(214,138,108,.5); }
.nbuild { color: var(--faint); }
.ncard.big { border-left: 3px solid var(--accent); }
.ncard.big .nhead { font-size: 19px; }
.ncard.hot summary { padding: 12px 16px; }
.ncard.hot .nhead { font-size: 15px; }
.nsplit { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ncol { font: 600 13px var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.nsplit #news-hot .ncard summary { grid-template-columns: 1fr auto; }
.nsplit #news-hot .ncard .ntag { grid-column: 1 / -1; }
@media (max-width: 820px) { .nsplit { grid-template-columns: 1fr; } }

/* rich news blocks (same blocks as the launcher news): big headings, icon stats board, media, text, note */
.nbody > .nb-h:first-child { margin-top: 22px; }
.nb-h { font-family: var(--head); font-weight: 400; font-size: clamp(26px, 4.4vw, 38px); letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; color: #fff; margin: 36px 0 16px; padding: 2px 0 2px 16px; border-left: 5px solid var(--accent); }
.nb-text { margin: 0 0 16px; }
.nb-text p { margin: 0 0 12px; max-width: 78ch; color: var(--text); font-size: 16px; line-height: 1.65; }
.nb-text b { color: #fff; font-weight: 700; }
.nb-text ul { margin: 0 0 8px; padding: 0; list-style: none; }
.nb-text li { position: relative; padding: 7px 0 7px 20px; font-size: 16px; line-height: 1.6; color: var(--text); }
.nb-text li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 8px; height: 2px; background: var(--accent); }
.nb-text li.nb-lead { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 0 18px; padding: 10px 6px; border-top: 1px solid var(--line); }
.nb-text li.nb-lead:last-child { border-bottom: 1px solid var(--line); }
.nb-text li.nb-lead::before, .nb-text li.nb-lead .nb-c { display: none; }
.nb-text li.nb-lead b { padding-top: 3px; font-family: var(--ui); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.nb-note { margin: 4px 0 22px; padding: 14px 18px 4px; border: 1px solid rgba(214,163,74,.45); border-left: 4px solid #d6a34a; background: rgba(214,163,74,.09); }
.nb-note-t { margin: 0 0 8px; font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #e6b65c; }
.nb-note .nb-text { margin: 0; }
.nb-media { display: grid; gap: 12px; margin: 4px 0 16px; }
.nb-media.n1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
.nb-media.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nb-media.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nb-media figure { margin: 0; min-width: 0; }
.nb-frame { position: relative; aspect-ratio: 16 / 9; background: #0b0d0d; border: 1px solid var(--line); overflow: hidden; }
.nb-frame img, .nb-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-media figcaption { margin-top: 7px; font-family: var(--ui); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); text-align: center; }
.nb-stats { margin: 4px 0 18px; border-top: 1px solid var(--line); }
.nb-srow { display: grid; grid-template-columns: 96px minmax(120px, 1.2fr) repeat(var(--nc, 3), minmax(0, 1fr)); align-items: center; gap: 0 12px; padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
.nb-sico { width: 96px; height: 34px; display: flex; align-items: center; justify-content: center; }
.nb-sico img { max-width: 88px; max-height: 30px; object-fit: contain; opacity: .88; margin: 0 auto; }
.nb-sname { font-family: var(--ui); font-weight: 600; letter-spacing: .06em; color: var(--text); }
.nb-sval { text-align: center; font-variant-numeric: tabular-nums; }
.nb-srow:nth-child(even):not(.nb-shead) { background: rgba(255,255,255,.04); }
.nb-shead { padding-top: 8px; padding-bottom: 8px; font-family: var(--ui); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.nb-shead .nb-sval { white-space: normal; line-height: 1.2; }
@media (max-width: 760px) {
  .nb-text li.nb-lead { grid-template-columns: minmax(0, 1fr); }
  .nb-media.n2, .nb-media.n3 { grid-template-columns: minmax(0, 1fr); }
  .nb-srow { grid-template-columns: 44px minmax(0, 1fr) repeat(var(--nc, 3), 46px); gap: 0 6px; padding: 6px 4px; font-size: 14px; }
  .nb-sico { width: 44px; }
  .nb-sico img { max-width: 40px; }
  .nb-shead { font-size: 8px; letter-spacing: .06em; }
  .nb-srow:not(.nb-shead) .nb-sval:last-child { font-size: 11px; }
  .nb-sname { font-size: 13px; letter-spacing: .02em; }
}

/* ---------- news admin (editor for logged-in admins; site/news-admin.js) ---------- */
body.na-lock { overflow: hidden; }
.na-intro { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 14px; border: 1px dashed var(--line2); color: var(--dim); font-size: 14px; }
.na-b { font: 600 12px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: none; border: 1px solid var(--line); padding: 7px 12px; cursor: pointer; min-height: 32px; }
.na-b:hover { color: var(--text); border-color: var(--line2); }
.na-b.main { color: #0b0b0b; background: var(--text); border-color: var(--text); }
.na-b.main:hover { background: #fff; }
.na-b.x:hover { color: #e08a7a; border-color: #e08a7a; }
.na-b.sm { min-height: 28px; padding: 5px 10px; font-size: 11px; }
.na-b:disabled { opacity: .5; cursor: default; }
.na-i { width: 26px; height: 26px; display: inline-grid; place-items: center; padding: 0; font: 600 13px var(--ui); color: var(--faint); background: none; border: 0; cursor: pointer; }
.na-i:hover { color: var(--text); background: rgba(255,255,255,.06); }
.na-i.x:hover { color: #e08a7a; }
.na-i.off { visibility: hidden; }
.na-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0 0; }
.na-bar > span { font: 600 11px var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin-right: auto; }
/* overlay + panel */
.na-ov { position: fixed; inset: 0; z-index: 100; background: rgba(4, 5, 5, .94); overflow-y: auto; overflow-x: hidden; padding: 20px clamp(10px, 2.4vw, 28px); }
.na-panel { max-width: 1400px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); }
html.embed .na-ov { background: var(--bg); padding: 0; }
html.embed .na-panel { border: 0; max-width: none; }
.na-top2 { position: sticky; top: -20px; z-index: 2; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px clamp(14px, 2vw, 22px); background: var(--bg); border-bottom: 1px solid var(--line); }
html.embed .na-top2 { top: 0; }
.na-top2 h2 { margin: 0 8px 0 0; font-family: var(--head); font-weight: 400; font-size: clamp(24px, 3vw, 32px); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.na-lang { display: inline-flex; border: 1px solid var(--line); }
.na-lang button { font: 600 11px var(--ui); letter-spacing: .16em; color: var(--faint); background: none; border: 0; padding: 6px 12px; cursor: pointer; }
.na-lang button.on { color: #0b0b0b; background: var(--text); }
.na-err { flex: 1; min-width: 0; text-align: right; color: #e08a7a; font-size: 14px; }
.na-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: start; }
.na-form { min-width: 0; display: grid; gap: 14px; padding: 18px clamp(14px, 2vw, 22px) 28px; }
.na-pcol { position: sticky; top: 52px; min-width: 0; padding: 18px clamp(14px, 2vw, 22px); border-left: 1px solid var(--line); }
.na-ptitle { font: 600 11px var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.na-prev { max-height: calc(100vh - 150px); overflow: auto; container-type: inline-size; }
/* inputs */
.na-panel input[type=text], .na-panel textarea, .na-panel select { font: 500 15px var(--body); letter-spacing: 0; text-transform: none; color: var(--text); background: rgba(255,255,255,.025); border: 1px solid var(--line); padding: 8px 10px; min-width: 0; width: 100%; box-sizing: border-box; outline: none; }
.na-panel textarea { resize: none; line-height: 1.55; overflow: hidden; min-height: 44px; }
.na-panel input:focus, .na-panel textarea:focus, .na-panel select:focus { border-color: var(--line2); background: rgba(255,255,255,.05); }
.na-panel ::placeholder { color: var(--faint); opacity: .8; }
.na-meta { display: grid; gap: 10px; }
.na-panel input.na-hl { font: 400 26px var(--head); letter-spacing: .04em; text-transform: uppercase; color: #fff; padding: 10px 12px; }
.na-props { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 10px; align-items: end; }
.na-f { display: grid; gap: 4px; min-width: 0; font: 600 10px var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.na-chk { display: flex; align-items: center; gap: 8px; height: 38px; font: 600 11px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); cursor: pointer; white-space: nowrap; }
.na-chk input { width: 17px; height: 17px; accent-color: var(--accent); }
.na-hint { margin: 2px 0 0; font-size: 12.5px; color: var(--faint); }
/* blocks */
.na-blocks { display: grid; gap: 10px; }
.na-block { position: relative; background: var(--panel); border-left: 2px solid var(--line2); }
.na-block:focus-within { border-left-color: var(--accent); }
.na-bhead { display: flex; align-items: center; gap: 4px; padding: 4px 4px 0 12px; }
.na-type { flex: 1; font: 600 10px var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.na-tools { display: inline-flex; gap: 2px; }
.na-bbody { display: grid; gap: 8px; padding: 4px 12px 12px; }
.na-panel input.na-hd { font: 400 22px var(--head); letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.na-panel input.na-nt { font: 700 13px var(--ui); letter-spacing: .2em; text-transform: uppercase; color: #e6b65c; }
.na-block.t-note { border-left-color: rgba(214,163,74,.6); }
.na-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 26px; gap: 6px; align-items: center; }
.na-add, .na-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.na-panel select.na-pick { width: auto; min-width: 170px; font: 600 11px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: none; border: 1px dashed var(--line2); padding: 7px 10px; cursor: pointer; }
.na-panel select.na-pick:hover { color: var(--text); }
.na-panel select.na-pick option { background: var(--bg); color: var(--text); }
.na-add .na-pick { width: 100%; }
.na-secl { display: grid; gap: 10px; }
.na-sech { display: flex; align-items: center; justify-content: space-between; font: 600 11px var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.na-items { display: grid; gap: 4px; }
.na-item { display: grid; grid-template-columns: minmax(0, 1fr) 26px; gap: 4px; align-items: start; }
.na-item .na-i { margin-top: 6px; opacity: 0; }
.na-item:hover .na-i, .na-item:focus-within .na-i { opacity: 1; }
.na-panel .na-item textarea { min-height: 38px; padding: 7px 10px; font-size: 14.5px; line-height: 1.5; }
.na-secs { padding: 4px 0; }
.na-secs summary { cursor: pointer; color: var(--dim); font: 600 11px var(--ui); letter-spacing: .18em; text-transform: uppercase; padding: 6px 0; }
.na-secs summary small { font: 400 13px var(--body); letter-spacing: 0; text-transform: none; color: var(--faint); }
.na-secs > .na-secl { margin-top: 8px; }
.na-plhint { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.na-plhint > span { flex: 1; }
/* stats editor */
.na-stats { display: grid; gap: 4px; overflow-x: auto; }
.na-srow { display: grid; grid-template-columns: 116px minmax(110px, 1.3fr) repeat(var(--na-c, 1), minmax(64px, 1fr)) 54px; gap: 4px; align-items: center; min-width: 0; }
.na-srow > .na-c { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 0; align-items: center; }
.na-srow > .na-c .na-i { width: 22px; }
.na-shead { font: 600 10px var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.na-panel .na-srow input, .na-panel .na-srow select { padding: 6px 8px; font-size: 14px; }
.na-ic { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px; align-items: center; }
.na-ic img { width: 28px; height: 22px; object-fit: contain; }
.na-panel .na-ic select { padding: 6px 2px; font-size: 12px; }
/* preview = the site's card at the preview's own width (phone rules when narrow) */
@container (max-width: 640px) {
  .na-prev .nb-text li.nb-lead { grid-template-columns: minmax(0, 1fr); }
  .na-prev .nb-media.n2, .na-prev .nb-media.n3 { grid-template-columns: minmax(0, 1fr); }
  .na-prev .nb-srow { grid-template-columns: 44px minmax(0, 1fr) repeat(var(--nc, 3), 52px); gap: 0 6px; padding: 6px 4px; font-size: 14px; }
  .na-prev .nb-sico { width: 44px; }
  .na-prev .nb-sico img { max-width: 40px; }
  .na-prev .nb-shead { font-size: 8.5px; letter-spacing: .06em; }
  .na-prev .nb-shead .nb-sval { overflow-wrap: anywhere; }
  .na-prev .nb-sname { font-size: 13px; letter-spacing: .02em; }
}
.na-blocks, .na-block, .na-bbody, .na-secs, .na-form, .na-panel, .na-grid > * { min-width: 0; }
@media (max-width: 1000px) {
  .na-grid { grid-template-columns: minmax(0, 1fr); }
  .na-pcol { position: static; border-left: 0; border-top: 1px solid var(--line); }
  .na-prev { max-height: none; }
}
@media (max-width: 640px) {
  .na-props { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .na-row { grid-template-columns: minmax(0, 1fr) 26px; }
  .na-row > input:nth-child(2) { grid-column: 1; }
  .na-srow { grid-template-columns: 96px minmax(90px, 1.3fr) repeat(var(--na-c, 1), minmax(60px, 1fr)) 54px; min-width: 500px; }
  .na-top2 h2 { flex-basis: 100%; }
  .na-err { text-align: left; }
}
@media (max-width: 600px) {   /* news cards: tag on its own line so a long headline + build + date never widens the page */
  .ncard summary { grid-template-columns: minmax(0, 1fr) auto; }
  .ncard .ntag { grid-column: 1 / -1; white-space: normal; }
  .nhead { min-width: 0; overflow-wrap: anywhere; }
}

/* FAQ page: section index on the left (sticky), questions as accordions */
.faq .sub a, .faq .a a { color: var(--accent); }
.faq .sub a:hover, .faq .a a:hover { text-decoration: underline; }
.faqgrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faqtoc { position: sticky; top: 96px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.faqtoc a { font: 600 13px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; }
.faqtoc a:hover { color: var(--text); }
.faqtoc a.on { color: var(--text); border-left-color: var(--accent); }
.faqbody { max-width: 820px; }
.faqsec { scroll-margin-top: 96px; margin-bottom: clamp(40px, 6vw, 64px); }
.faqsec h2 { font-family: var(--head); font-weight: 400; font-size: clamp(30px, 4vw, 40px); text-transform: uppercase; color: #fff; margin: 0 0 14px; line-height: 1; }
.faqsec details { border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.faqsec details:last-child { border-bottom: 1px solid var(--line); }
.faqsec summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 2px; font: 600 18px var(--ui); color: var(--text); }
.faqsec summary::-webkit-details-marker { display: none; }
.faqsec summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.faqsec summary:hover { color: #fff; }
.faqsec summary:hover::after { border-color: var(--text); }
.faqsec details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--accent); }
.faqsec summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faqsec .a { padding: 0 2px 18px; color: var(--dim); max-width: 68ch; }
.faqsec .a p { margin: 0 0 10px; }
.faqsec .a p:last-child { margin-bottom: 0; }
.faqsec .a ol, .faqsec .a ul { margin: 0 0 10px; padding-left: 22px; }
.faqsec .a li { margin: 4px 0; }
.faqsec .a b { color: var(--text); font-weight: 600; }
.faqsec .a code { font-size: 15px; color: var(--text); background: var(--panel); border: 1px solid var(--line); padding: 1px 6px; }
@media (max-width: 760px) {
  .faqgrid { grid-template-columns: 1fr; gap: 18px; }
  .faqtoc { position: static; display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .faqtoc a { border: 1px solid var(--line); padding: 7px 12px; margin: 0; font-size: 12px; }
  .faqtoc a.on { border-color: var(--line); }
  .faqsec summary { font-size: 17px; }
}
.newsblock .req a { color: var(--accent); }
.newsblock .req a:hover { text-decoration: underline; }
