/* Banthus Den — public site.
   Quiet, dark, one accent. Condensed uppercase for titles, a plain grotesque for reading, a mono for numbers.
   Everything is local: fonts and images are served from this site. */

@font-face { font-family: "Sofia Sans"; src: url("/fonts/sofia-sans.woff2") format("woff2"); font-weight: 1 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Sofia Sans"; src: url("/fonts/sofia-sans-italic.woff2") format("woff2"); font-weight: 1 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Sofia Sans XC"; src: url("/fonts/sofia-sans-extra-condensed.woff2") format("woff2"); font-weight: 1 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
	--bg: #0a0b10;
	--bg-1: #0f1117;
	--bg-2: #14161e;
	--bg-3: #1b1e28;
	--line: #20232c;
	--line-2: #2d313c;
	--text: #edece8;
	--dim: #a2a5ae;
	--faint: #6d717c;
	--gold: #d8b76f;
	--gold-2: #f1dba6;
	--gold-d: #8c7032;
	--ok: #58c98b;
	--warn: #e9b04d;
	--bad: #e8614f;
	--el: #70bdf5;
	--k-news: #a98bf5;
	--k-news-rgb: 169 139 245;
	--r: 10px;
	--r-sm: 6px;
	--wrap: 1160px;
	--pad: clamp(18px, 4vw, 36px);
	--top-h: 64px;
	--font: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--cond: "Sofia Sans XC", "Arial Narrow", Impact, sans-serif;
	--mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
	margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
	background: var(--bg); color: var(--text);
	font: 400 1.03rem/1.6 var(--font); font-feature-settings: "ss01";
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--gold); color: #14100a; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: calc(760px + var(--pad) * 2); }
.main { flex: 1; padding-top: 40px; padding-bottom: 96px; }
.main--flush { padding-top: 0; padding-bottom: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: #14100a; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); font-size: .86em; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.upper { text-transform: uppercase; }
.strong { font-weight: 600; color: var(--text); }
.fine { font-size: .86rem; color: var(--faint); margin-top: 14px; }
.empty { color: var(--faint); padding: 28px 0; }
.ic { flex: none; }

/* type */
h1, h2, h3, .hero__title, .sec__title { font-family: var(--cond); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.kicker { font: 600 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.sub { font-family: var(--font); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; line-height: 1.2; }

/* ------------------------------------------------------------------ banners */
.bar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px var(--pad); font-size: .92rem; text-align: center; position: relative; z-index: 60; }
.bar--maint { background: #2a2110; color: #f6d999; border-bottom: 1px solid #55431a; }
.bar--maint strong { color: #ffe9b8; }
.bar--news { background: var(--bg-2); color: var(--dim); border-bottom: 1px solid var(--line); padding-right: 48px; }
.bar--news a { color: var(--gold-2); display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.bar--news a:hover { color: #fff; }
.bar__x { position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: var(--faint); border-radius: 6px; }
.bar__x:hover { color: var(--text); background: var(--bg-3); }
.bar[hidden] { display: none; }

/* ------------------------------------------------------------------ top bar */
.top { position: sticky; top: 0; z-index: 50; height: var(--top-h); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.top.is-stuck, body:not(.home) .top { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
/* brand left, menu in the middle of the bar, status and sign-in right */
.top__in { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; justify-self: start; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: #0b0c11; display: grid; place-items: center; font: 900 1.12rem/1 var(--font); transition: rotate .5s var(--ease), background .2s; }
.brand:hover .brand__mark { rotate: -8deg; background: var(--gold-2); }
.brand__word { height: 17px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; justify-self: center; }
.nav__a { position: relative; padding: 8px 12px; font-size: .95rem; font-weight: 500; color: var(--dim); border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; transition: color .15s; }
.nav__a:hover { color: var(--text); }
.nav__a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold); scale: 0 1; transform-origin: left; transition: scale .25s var(--ease); }
.nav__a:hover::after, .nav__a.is-on::after { scale: 1 1; }
.nav__a.is-on { color: var(--text); }
.nav__a--ext .ic { opacity: .55; }
.top__side { justify-self: end; display: flex; align-items: center; gap: 14px; }

.state { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 500; color: var(--dim); }
.state i, .fact__v--state i, .statusbox__dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); position: relative; flex: none; }
.state--online i { background: var(--ok); }
.state--online i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); opacity: 0; animation: ping 2.6s ease-out infinite; }
.state--maintenance i { background: var(--warn); }
.state--offline i { background: var(--bad); }
@keyframes ping { 0% { opacity: .7; scale: .5; } 70%, 100% { opacity: 0; scale: 1.5; } }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: none; place-items: center; }

.menu { position: relative; }
.menu__btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: none; font-size: .92rem; font-weight: 500; }
.menu__btn:hover { border-color: var(--faint); }
.menu__btn span { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu__list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 18px 40px -12px #000c; animation: pop .16s var(--ease); }
.menu__list[hidden] { display: none; }
.menu__list a, .menu__list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 6px; font-size: .94rem; text-align: left; color: var(--text); }
.menu__list a:hover, .menu__list button:hover { background: var(--bg-3); }
.menu__list .ic { color: var(--dim); }
.menu__list form { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
@keyframes pop { from { opacity: 0; translate: 0 -6px; } }

/* ------------------------------------------------------------------ buttons */
.btn { --h: 42px; position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--h); padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-weight: 600; font-size: .96rem; white-space: nowrap; transition: background .18s, border-color .18s, color .18s, translate .18s var(--ease); }
.btn:active { translate: 0 1px; }
.btn small { font-family: var(--mono); font-size: .7rem; font-weight: 500; opacity: .7; }
.btn--lg { --h: 50px; padding: 0 24px; font-size: 1.02rem; }
.btn--sm { --h: 34px; padding: 0 13px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: #17120a; }
.btn--gold:hover { background: var(--gold-2); }
.btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, #fff8 50%, transparent 62%); translate: -110% 0; }
.btn--gold:hover::after { translate: 110% 0; transition: translate .6s var(--ease); }
.btn--line { border-color: var(--line-2); color: var(--text); background: #0000; }
.btn--line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--bad { background: #3a1814; border-color: #6e2a22; color: #ffb4a8; }
.btn--bad:hover { background: #4d1f19; }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; margin-top: calc(var(--top-h) * -1); min-height: clamp(540px, 82vh, 780px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; --mx: 68%; --my: 38%; }
.hero__art { position: absolute; inset: -4% -2%; z-index: -3; background: #0a0b10 url("/img/den.jpg") 70% 30% / cover no-repeat; translate: var(--px, 0) var(--py, 0); will-change: translate; }
.hero__shade { position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(520px circle at var(--mx) var(--my), #ffb45a26, transparent 70%),
		linear-gradient(90deg, #0a0b10 0%, #0a0b10e6 26%, #0a0b1066 58%, #0a0b1022 100%),
		linear-gradient(0deg, var(--bg) 0%, #0a0b1000 42%),
		linear-gradient(180deg, #0a0b10cc 0%, #0a0b1000 22%); }
.hero__fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__in { padding-top: calc(var(--top-h) + 48px); padding-bottom: clamp(56px, 9vh, 104px); }
/* wide enough for two even lines ("WELCOME TO" / "BANTHUS DEN"); never one word per row */
.hero__title { font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: .92; margin: 16px 0 22px; max-width: 14ch; text-wrap: balance; }
.hero__sub { max-width: 44ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #c9cbd2; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.reveal-on .hero__in > * { opacity: 0; translate: 0 18px; animation: rise .8s var(--ease) forwards; }
.reveal-on .hero__in > :nth-child(2) { animation-delay: .08s; }
.reveal-on .hero__in > :nth-child(3) { animation-delay: .16s; }
.reveal-on .hero__in > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

/* ------------------------------------------------------------------ facts */
.facts { border-block: 1px solid var(--line); background: var(--bg-1); }
.facts__in { display: flex; flex-wrap: wrap; }
.fact { flex: 1 1 150px; padding: 22px 0 20px; display: flex; flex-direction: column; gap: 6px; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact__k { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.fact__v { font: 800 2.1rem/1 var(--cond); display: flex; align-items: center; gap: 8px; }
.fact__v b { font-weight: inherit; }
.fact__v--mono { font: 500 1.12rem/1.9 var(--mono); letter-spacing: -.03em; }
.fact__v--state { font: 600 1.15rem/1.8 var(--font); }

/* ------------------------------------------------------------------ sections */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec--tight { padding-block: 48px 0; }
.sec--last { padding-top: 0; }
.sec--band { background: var(--bg-1); border-block: 1px solid var(--line); }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sec__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--dim); white-space: nowrap; transition: color .15s, gap .2s var(--ease); }
.more:hover { color: var(--gold-2); gap: 10px; }
.split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.head { padding-block: 24px 30px; }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.head h1 { margin-top: 10px; }
.head__sub { color: var(--dim); max-width: 60ch; margin-top: 14px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; color: var(--dim); margin-bottom: 22px; }
.back:hover { color: var(--gold-2); }

/* content is only ever hidden while the script that shows it again is running (class set by site.js) */
.reveal-on [data-reveal] { opacity: 0; translate: 0 16px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.reveal-on [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ------------------------------------------------------------------ news list */
.nlist { border-top: 1px solid var(--line); }
.nrow { position: relative; display: grid; gap: 5px; padding: 20px 0 20px 0; border-bottom: 1px solid var(--line); transition: padding .25s var(--ease); }
.nrow::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 2px; background: var(--gold); scale: 1 0; transition: scale .25s var(--ease); }
.nrow:hover { padding-left: 16px; }
.nrow:hover::before { scale: 1 1; }
.nrow__meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--faint); }
.nrow__title { font-size: 1.22rem; font-weight: 600; line-height: 1.3; transition: color .15s; }
.nrow:hover .nrow__title { color: var(--gold-2); }
.nrow__sum { color: var(--dim); font-size: .96rem; max-width: 70ch; }
.nrow--slim { padding-block: 14px; }
.nrow--slim .nrow__title { font-size: 1.04rem; }
.nlist--page .nrow__title { font-size: 1.36rem; }
/* ------------------------------------------------------------------ news cards (owner 12-02: featured post + card grid)
   one accent per kind: Announcement violet, Patch notes gold (the site's gold), Event blue (the site's --el) */
.feat, .card { --k: var(--k-news); --k-rgb: var(--k-news-rgb); }
.feat--patch, .card--patch { --k: var(--gold); --k-rgb: 216 183 111; }
.feat--event, .card--event { --k: var(--el); --k-rgb: 112 189 245; }
.pill--news { color: var(--k-news); border-color: rgb(var(--k-news-rgb) / .35); }
.newsgrid .sec__head { margin-bottom: 22px; }

/* the picture box (shared): fixed ratio, cover for the art; a forum picture whole over a blurred copy of itself */
.feat__media, .card__media { position: absolute; inset: 0; overflow: hidden; background: var(--bg-2); }
.feat__media img, .card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: scale 1.2s var(--ease), filter .4s; }
.feat__media::after, .card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgb(var(--k-rgb) / .08); mix-blend-mode: color; }
/* a post's own banner fills the box too, cropped around its focal point (worked out at sync, forum-feed.js focalX) */
.fx-0 .pic { object-position: 0% 50%; } .fx-10 .pic { object-position: 10% 50%; } .fx-20 .pic { object-position: 20% 50%; }
.fx-30 .pic { object-position: 30% 50%; } .fx-40 .pic { object-position: 40% 50%; } .fx-50 .pic { object-position: 50% 50%; }
.fx-60 .pic { object-position: 60% 50%; } .fx-70 .pic { object-position: 70% 50%; } .fx-80 .pic { object-position: 80% 50%; }
.fx-90 .pic { object-position: 90% 50%; } .fx-100 .pic { object-position: 100% 50%; }
/* the wide featured box (desktop, 21:9) has its own crop; tablets / phones show the featured picture at 16:9 (fx) */
@media (min-width: 981px) {
	.fxh-0 .pic { object-position: 0% 50%; } .fxh-10 .pic { object-position: 10% 50%; } .fxh-20 .pic { object-position: 20% 50%; }
	.fxh-30 .pic { object-position: 30% 50%; } .fxh-40 .pic { object-position: 40% 50%; } .fxh-50 .pic { object-position: 50% 50%; }
	.fxh-60 .pic { object-position: 60% 50%; } .fxh-70 .pic { object-position: 70% 50%; } .fxh-80 .pic { object-position: 80% 50%; }
	.fxh-90 .pic { object-position: 90% 50%; } .fxh-100 .pic { object-position: 100% 50%; }
}

/* featured: the newest post, full width */
.feat { position: relative; display: block; aspect-ratio: 21 / 9; min-height: 340px; border-radius: 14px; overflow: hidden; isolation: isolate;
	border: 1px solid var(--line-2); background: var(--bg-1); box-shadow: 0 24px 60px -30px #000; transition: border-color .3s, box-shadow .4s var(--ease), translate .4s var(--ease); }
.feat::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(90deg, #0a0b10e6 0%, #0a0b10a6 34%, #0a0b1000 62%), linear-gradient(0deg, #0a0b10f2 0%, #0a0b1080 30%, #0a0b1000 58%); }
.feat__body { position: absolute; z-index: 2; left: 0; bottom: 0; display: grid; gap: 12px; max-width: min(640px, 62%); padding: clamp(22px, 3.4vw, 44px); }
.feat__meta, .card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; font-size: .84rem; color: var(--dim); }
.feat__meta .pill:not(.pill--en) { background: rgb(var(--k-rgb) / .16); border-color: rgb(var(--k-rgb) / .55); color: var(--k); backdrop-filter: blur(6px); }
.feat__title { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 2px 18px #000a; }
.feat__sum { color: #d6d6d2; font-size: 1.02rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat:hover { border-color: rgb(var(--k-rgb) / .6); box-shadow: 0 0 0 1px rgb(var(--k-rgb) / .35), 0 30px 70px -28px rgb(var(--k-rgb) / .45); }
.feat:hover .feat__media img { scale: 1.035; }
.feat:hover .feat__title { color: #fff; }
.feat + .cards { margin-top: 28px; }

/* the grid: 3 / 2 / 1 columns, the whole page width */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 12px; overflow: hidden; background: var(--bg-1); border: 1px solid var(--line);
	transition: translate .35s var(--ease), border-color .3s, box-shadow .35s var(--ease); }
.card__top { position: relative; display: block; aspect-ratio: 16 / 9; }
.card__top::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #0a0b1066 0%, #0a0b1000 30%, #0a0b1000 70%, #0f1117aa 100%); }
.card__badge { position: absolute; z-index: 2; top: 12px; left: 12px; }
.card__badge--r { left: auto; right: 12px; }   /* the banner's logo is on the left of this crop: the badge stays off it */
.card__badge .pill { background: #0a0b10b8; border-color: rgb(var(--k-rgb) / .6); color: var(--k); backdrop-filter: blur(6px); }
.card__body { display: grid; gap: 8px; align-content: start; padding: 16px 18px 20px; flex: 1; }
.card__meta { font-size: .8rem; color: var(--faint); }
.card__title { font-size: 1.14rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.card__sum { color: var(--dim); font-size: .93rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover { translate: 0 -4px; border-color: rgb(var(--k-rgb) / .55); box-shadow: 0 0 0 1px rgb(var(--k-rgb) / .25), 0 18px 44px -20px rgb(var(--k-rgb) / .5); }
.card:hover .card__media img { scale: 1.06; }
.card:hover .card__title { color: var(--gold-2); }
.card:focus-visible, .feat:focus-visible { outline-offset: 4px; }
.lang-ko .feat__title, .lang-ko .card__title { word-break: keep-all; }

.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.pill--patch { color: var(--gold); border-color: #d8b76f55; }
.pill--event { color: var(--el); border-color: #70bdf555; }
.pill--maintenance, .pill--warn { color: var(--warn); border-color: #e9b04d55; }
.pill--timed, .pill--permanent, .pill--bad { color: var(--bad); border-color: #e8614f55; }
.pill--lift, .pill--ok { color: var(--ok); border-color: #58c98b55; }

/* ------------------------------------------------------------------ events */
.evs { display: grid; gap: 14px; }
.evs--grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.ev { --a: var(--gold); position: relative; padding: 18px 18px 20px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, translate .25s var(--ease); }
.ev:hover { border-color: color-mix(in srgb, var(--a) 45%, var(--line)); translate: 0 -2px; }
.ev--blood { --a: var(--bad); } .ev--chain { --a: #f0629a; } .ev--el { --a: var(--el); } .ev--torch { --a: #f59b3d; }
.ev--over { opacity: .6; }
.ev__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ev__kind { color: var(--a); }
.ev__left { font: 500 .72rem/1 var(--mono); letter-spacing: -.02em; color: var(--dim); text-transform: none; }
.ev__title { font: 600 1.14rem/1.3 var(--font); text-transform: none; letter-spacing: 0; margin: 12px 0 6px; }
.ev__blurb { color: var(--dim); font-size: .94rem; }
.ev__reward { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .88rem; color: var(--text); }
.ev__reward .ic { color: var(--a); }
.ev__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.ev__bar i { display: block; height: 100%; background: var(--a); }

/* ------------------------------------------------------------------ small marks */
.cdot { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 2px; rotate: 45deg; background: var(--c, var(--gold)); margin-right: 9px; vertical-align: middle; }

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-1); font-size: .93rem; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 52px 40px; }
.foot__brand p { color: var(--faint); margin-top: 16px; max-width: 36ch; font-size: .9rem; }
.foot__col { display: grid; gap: 9px; align-content: start; }
.foot__col h2 { font: 600 .74rem/1 var(--font); letter-spacing: .14em; color: var(--faint); margin-bottom: 6px; }
.foot__col a { color: var(--dim); width: fit-content; }
.foot__col a:hover { color: var(--gold-2); }
.clock { font: 500 1.02rem/1 var(--mono); letter-spacing: -.03em; }
.clock__sub { color: var(--faint); font-size: .86rem; }
.clock__sub span { font-family: var(--mono); font-size: .92em; color: var(--dim); }
.foot__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: .84rem; }
.fx-toggle { border: 0; background: none; color: var(--faint); font-size: .84rem; padding: 6px 0; }
.fx-toggle:hover { color: var(--text); }

/* ------------------------------------------------------------------ tabs, filters, forms */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-top: 26px; }
.tab { flex: none; padding: 10px 14px 12px; font-size: .95rem; font-weight: 500; color: var(--dim); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.is-on { color: var(--text); border-bottom-color: var(--gold); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.filters__note { color: var(--faint); font-size: .88rem; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > span:first-child { font-size: .84rem; font-weight: 500; color: var(--dim); }
.field--inline { margin: 0; display: flex; align-items: center; position: relative; }
.field--grow { flex: 1; margin: 0; }
input:not([type=checkbox], [type=radio], [type=hidden]), select, textarea { width: 100%; height: 44px; padding: 0 13px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; outline: 0; transition: border-color .15s, box-shadow .15s; }
textarea { height: auto; min-height: 110px; padding: 11px 13px; resize: vertical; line-height: 1.5; }
select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a2a5ae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px #d8b76f26; }
input::placeholder, textarea::placeholder { color: var(--faint); }
.field--search .ic { position: absolute; left: 12px; color: var(--faint); pointer-events: none; }
.field--search input { padding-left: 38px; min-width: 240px; }
.inline { display: flex; gap: 10px; align-items: flex-end; }
.pw { position: relative; display: block; }
.pw input { padding-right: 46px; }
.pw__eye { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--faint); display: grid; place-items: center; border-radius: 6px; }
.pw__eye:hover { color: var(--text); }
.formerr { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 16px; border: 1px solid #e8614f55; background: #e8614f14; color: #ffb9ae; border-radius: 8px; font-size: .93rem; }
.flash { margin-bottom: 22px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: .95rem; animation: pop .25s var(--ease); }
.flash--ok { border-color: #58c98b55; background: #58c98b12; color: #b8efd0; }
.flash--err { border-color: #e8614f55; background: #e8614f12; color: #ffb9ae; }
.notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-1); margin-bottom: 28px; }
.notice--bad { border-color: #e8614f55; background: #e8614f10; }
.notice--bad .ic { color: var(--bad); margin-top: 3px; }
.notice p { color: var(--dim); margin-top: 4px; font-size: .95rem; }

/* ------------------------------------------------------------------ download + status */
.dl { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.steps { display: grid; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { font: 800 3rem/.9 var(--cond); color: var(--gold); }
.steps h3 { font: 600 1.2rem/1.3 var(--font); text-transform: none; letter-spacing: 0; }
.steps p { color: var(--dim); margin: 6px 0 14px; max-width: 52ch; }
.steps li:last-child p { margin-bottom: 0; }
.req { display: grid; border-top: 1px solid var(--line); }
.req > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.req dt { color: var(--faint); font-size: .9rem; }
.req--tight > div { grid-template-columns: 130px minmax(0, 1fr); padding: 10px 0; font-size: .94rem; }
.statuspage h1 { margin-bottom: 28px; }
.statusbox { display: flex; align-items: center; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); margin-bottom: 28px; }
.statusbox__dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); flex: none; }
.statusbox__dot i { width: 14px; height: 14px; }
.statusbox.state--online .statusbox__dot i { background: var(--ok); box-shadow: 0 0 0 6px #58c98b22, 0 0 24px #58c98b88; }
.statusbox.state--maintenance .statusbox__dot i { background: var(--warn); }
.statusbox.state--offline .statusbox__dot i { background: var(--bad); }
.statusbox__label { font: 800 2.2rem/1 var(--cond); text-transform: uppercase; margin-bottom: 4px; }

/* ------------------------------------------------------------------ team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.member { --c: var(--gold); display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); }
.member__badge { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font: 800 1.7rem/1 var(--cond); color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.member h3 { font: 600 1.08rem/1.2 var(--font); text-transform: none; letter-spacing: 0; }
.member p { color: var(--c); font-size: .84rem; font-weight: 500; }

/* ------------------------------------------------------------------ article */
.post__head { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.post__meta { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--faint); margin-bottom: 16px; }
.post__lead { color: var(--dim); font-size: 1.16rem; margin-top: 16px; }
.prose { font-size: 1.08rem; line-height: 1.72; color: #d9d9d6; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 2rem; margin-top: 1.7em; color: var(--text); }
.prose h3 { font: 600 1.16rem/1.3 var(--font); text-transform: none; letter-spacing: 0; margin-top: 1.5em; color: var(--text); }
.prose ul, .prose ol { display: grid; gap: .5em; padding-left: 1.3em; }
.prose ul { list-style: none; }
.prose ul > li:not(.bal) { position: relative; }
.prose ul > li:not(.bal)::before { content: ""; position: absolute; left: -1.1em; top: .72em; width: 6px; height: 6px; background: var(--gold); rotate: 45deg; }
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--gold); font-family: var(--mono); font-size: .8em; }
.prose a { color: var(--gold-2); text-decoration: underline; text-decoration-color: #d8b76f66; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--text); font-weight: 650; }
.prose code { font-family: var(--mono); font-size: .82em; background: var(--bg-3); padding: 2px 6px; border-radius: 4px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--gold); color: var(--dim); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose--sm { font-size: .96rem; margin-top: 16px; padding-inline: 4px; }
.prose--sm h2 { font-size: 1.4rem; }
.bal { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: baseline; margin-left: -1.3em; }
.bal__tag { justify-self: start; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; }
.bal--buff .bal__tag { color: #0c2a19; background: var(--ok); }
.bal--nerf .bal__tag { color: #33100b; background: var(--bad); }
.bal--change .bal__tag { color: #2d2006; background: var(--warn); }

/* ------------------------------------------------------------------ auth + account */
.auth { display: grid; place-items: center; padding-block: clamp(24px, 7vh, 80px); }
.authbox { width: min(420px, 100%); padding: 34px 32px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); }
.authbox h1 { font-size: 2.8rem; }
.authbox__sub { color: var(--dim); margin: 10px 0 24px; font-size: .96rem; }
.authbox__foot { margin-top: 20px; font-size: .88rem; color: var(--faint); line-height: 1.7; }
.authbox__foot a { color: var(--gold-2); }
.authbox__foot a:hover { text-decoration: underline; }
.acc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.mychars { display: grid; gap: 10px; margin-bottom: 36px; }
.mychar { --c: var(--gold); display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); transition: border-color .2s, translate .25s var(--ease); }
.mychar:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); translate: 4px 0; }
.mychar__lv { width: 46px; font: 800 2rem/1 var(--cond); color: var(--c); }
.mychar__who { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; row-gap: 2px; }
.mychar__who small { grid-column: 2; color: var(--faint); font-size: .84rem; }
.mychar__cp { text-align: right; font: 500 .9rem/1.4 var(--mono); letter-spacing: -.03em; display: grid; }
.mychar__cp small { font: 700 .62rem/1 var(--font); letter-spacing: .14em; color: var(--faint); }
.panelbox { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); margin-bottom: 16px; }
.plain { display: grid; gap: 10px; font-size: .95rem; }
.plain--sm { font-size: .88rem; gap: 6px; margin-block: 10px 14px; }

/* ------------------------------------------------------------------ errors */
.oops { text-align: center; padding-block: clamp(40px, 12vh, 120px); display: grid; justify-items: center; gap: 14px; }
.oops__code { font: 800 clamp(7rem, 22vw, 13rem)/.8 var(--cond); color: var(--bg-3); -webkit-text-stroke: 1px var(--line-2); }
.oops p { color: var(--dim); }
.oops .btn { margin-top: 14px; }

/* ------------------------------------------------------------------ preview strip (local preview only) */
.pv { position: fixed; left: 50%; bottom: 14px; translate: -50% 0; z-index: 90; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 8px; background: #16181fee; border: 1px solid var(--line-2); border-radius: 999px; box-shadow: 0 14px 34px -10px #000d; backdrop-filter: blur(10px); font-size: .8rem; max-width: calc(100vw - 20px); overflow-x: auto; scrollbar-width: none; }
.pv[hidden] { display: none; }
.pv__tag { background: var(--gold); color: #17120a; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .64rem; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.pv__txt { color: var(--faint); white-space: nowrap; padding-inline: 4px; }
.pv__b { border: 1px solid var(--line-2); background: var(--bg-3); border-radius: 999px; padding: 4px 11px; font-size: .8rem; white-space: nowrap; }
.pv__b:hover { border-color: var(--gold); color: var(--gold-2); }
.pv__x { border: 0; background: none; color: var(--faint); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.pv__x:hover { color: var(--text); background: var(--bg-3); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 980px) {
	.split, .dl, .acc { grid-template-columns: minmax(0, 1fr); }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.feat { aspect-ratio: 16 / 9; }
	.feat__body { max-width: 78%; }
	.foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.burger { display: grid; }
	.top__in { grid-template-columns: minmax(0, 1fr) auto; }
	.nav { position: fixed; inset: var(--top-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--pad) 18px; background: var(--bg-1); border-bottom: 1px solid var(--line); translate: 0 -8px; opacity: 0; visibility: hidden; transition: opacity .2s, translate .2s var(--ease), visibility .2s; }
	.nav.is-open { opacity: 1; translate: 0 0; visibility: visible; }
	.nav__a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav__a::after { display: none; }
	.top { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); }
	.top__side .state { display: none; }
	.fact + .fact { padding-left: 18px; }
	.fact { flex-basis: 33%; }
}
@media (max-width: 560px) {
	.foot__in { grid-template-columns: minmax(0, 1fr); }
	.fact { flex-basis: 50%; }
	.fact + .fact { border-left: 0; padding-left: 0; }
	.field--search input { min-width: 0; }
	.filters > * { flex: 1 1 100%; }
	.menu__btn span { display: none; }
	.steps li { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
	.req > div { grid-template-columns: 110px minmax(0, 1fr); }
	.hero__cta .btn { flex: 1 1 100%; }
	.authbox { padding: 26px 20px 22px; }
	.cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	/* featured on a phone: the picture on top, the text below it (no text over a small picture) */
	.feat { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; }
	.feat__media { position: relative; inset: auto; display: block; aspect-ratio: 16 / 9; }
	.feat::after { inset: 0 0 auto 0; aspect-ratio: 16 / 9; background: linear-gradient(0deg, #0a0b10cc 0%, #0a0b1000 45%); }
	.feat__body { position: relative; max-width: none; padding: 16px 18px 22px; gap: 10px; }
	.feat__title { font-size: 1.45rem; }
}

/* ------------------------------------------------------------------ motion preferences */
.fx-off .hero__fx { display: none; }
.fx-off .hero__art { translate: none; }
.fx-off .state--online i::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.reveal-on [data-reveal] { opacity: 1; translate: none; }
	.reveal-on .hero__in > * { opacity: 1; translate: none; }
	.hero__fx { display: none; }
}

/* ------------------------------------------------------------------ languages (12-02): squares EN DE ES FR IT KR PL PT TH CN TW */
.langmenu__btn { gap: 6px; padding: 0 8px 0 10px; font: 700 .78rem/1 var(--font); letter-spacing: .08em; }
.langmenu__list { min-width: 0; width: 214px; padding: 10px; }
.sqs { display: flex; flex-wrap: wrap; gap: 6px; }
.sqs--menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sq { display: grid; place-items: center; min-width: 38px; height: 30px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg-2); font: 700 .74rem/1 var(--font); letter-spacing: .08em; color: var(--dim); transition: border-color .15s, color .15s, background .15s; }
.sq:hover { border-color: var(--gold); color: var(--gold-2); }
.sq.is-on { background: var(--gold); border-color: var(--gold); color: #17120a; }
.foot__langs { padding-block: 0 22px; }
/* scripts without condensed Latin forms: the reading font, no tight line height */
.lang-ko h1, .lang-ko h2, .lang-ko h3, .lang-th h1, .lang-th h2, .lang-th h3,
.lang-zh-CN h1, .lang-zh-CN h2, .lang-zh-CN h3, .lang-zh-TW h1, .lang-zh-TW h2, .lang-zh-TW h3 { letter-spacing: 0; line-height: 1.2; }
.lang-ko .hero__title, .lang-th .hero__title, .lang-zh-CN .hero__title, .lang-zh-TW .hero__title { font-family: var(--font); font-weight: 800; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.14; max-width: 16ch; }
.lang-ko h1, .lang-th h1, .lang-zh-CN h1, .lang-zh-TW h1 { font-family: var(--font); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.lang-ko .sec__title, .lang-th .sec__title, .lang-zh-CN .sec__title, .lang-zh-TW .sec__title { font-family: var(--font); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.lang-th { line-height: 1.7; }
.lang-ko .hero__title, .lang-ko h1, .lang-ko .nrow__title { word-break: keep-all; }

/* ------------------------------------------------------------------ news pages */
.pill--en { color: var(--faint); border-style: dashed; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.pager__n { font: 500 .84rem/1 var(--mono); color: var(--faint); }
.post__title { font-size: clamp(2.2rem, 5vw, 3.6rem); text-wrap: balance; }
.notice--lang { align-items: center; gap: 10px; padding: 12px 14px; margin: -8px 0 28px; font-size: .94rem; color: var(--dim); }
.notice--lang .ic { color: var(--warn); }
.post__forum { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }
.lnk { color: var(--gold-2); text-decoration: underline; text-decoration-color: #d8b76f66; text-underline-offset: 3px; }
.lnk:hover { text-decoration-color: currentColor; }

/* a forum post (forum HTML, cleaned by src/sanitize.js): the forum's post format, in the site's colours */
.prose--forum { font-size: 1.02rem; line-height: 1.66; overflow-wrap: anywhere; }
.prose--forum > * + * { margin-top: .85em; }
.prose--forum h1, .prose--forum h2, .prose--forum h3, .prose--forum h4 { font-family: var(--font); text-transform: none; letter-spacing: 0; line-height: 1.25; color: var(--text); }
.prose--forum h1 { font-size: 1.6rem; font-weight: 750; padding-bottom: .35em; border-bottom: 1px solid var(--line); color: var(--gold-2); margin-top: 1.6em; }
.prose--forum h2 { font-size: 1.36rem; font-weight: 750; padding-left: 12px; border-left: 3px solid var(--gold); margin-top: 1.7em; }
.prose--forum h3 { font-size: 1.12rem; font-weight: 650; color: var(--gold-2); margin-top: 1.4em; display: flex; align-items: center; flex-wrap: wrap; }
.prose--forum h4 { font-size: 1rem; font-weight: 650; margin-top: 1.2em; }
.prose--forum > :first-child { margin-top: 0; }
.prose--forum ul { gap: .35em; }
.prose--forum ul ul { margin-top: .35em; }
.prose--forum li > p { margin: 0; }
.prose--forum img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
.prose--forum img[src*="#pnf="] { padding: 3px; margin: 2px 6px 2px 0; max-width: none; }
.prose--forum img[src*="#pnf="]:not([data-pnf]) { visibility: hidden; width: 48px; height: 48px; }
.prose--forum a[href^="#item-"] { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.prose--forum a[href^="#item-"]:has(img) { text-decoration: none; }
.prose--forum a[href^="#item-"] > img[src*="#pnf="] { padding: 2px; border: 1px solid var(--line-2); background: var(--bg-3); border-radius: 4px; }
.prose--forum h3 img[src*="#pnf="] { margin: 0 8px 0 0; }
.prose--forum img[src*="/pics/banner_sheet_"][src*="#pnfb="] { display: block; width: min(100%, 1080px); height: auto; aspect-ratio: 1080 / 256; object-fit: cover; border-radius: 6px; }
.prose--forum img[src*="/pics/banner_sheet_"][src*="#pnfb="]:not([data-pnf-banner]) { visibility: hidden; }
.prose--forum .pnf-row { display: flex; align-items: flex-start; }
.prose--forum .pnf-ico, .prose--forum .pnf-spacer { flex: none; display: flex; justify-content: center; align-items: flex-start; }
.prose--forum .pnf-ico img[src*="#pnf="] { margin-right: 0; }
.prose--forum .pnf-text { display: block; flex: 1 1 auto; min-width: 0; }
.prose--forum ul > li[data-pnf-hang]::before { top: 1.15em; }
.prose--forum a[href^="#pnf-tag-"] { display: inline-block; padding: 0 6px; margin-right: 4px; border: 1px solid currentColor; border-radius: 4px; font-size: .84em; font-weight: 700; line-height: 1.5; text-decoration: none; white-space: nowrap; cursor: default; }
.prose--forum a[href="#pnf-tag-buff"] { color: #35d07f; background: rgba(53, 208, 127, .14); }
.prose--forum a[href="#pnf-tag-nerf"] { color: #ff5a5a; background: rgba(255, 90, 90, .16); }
.prose--forum a[href="#pnf-tag-change"] { color: #f0b23e; background: rgba(240, 178, 62, .14); }
.prose--forum table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .94rem; margin: 1.2em 0; }
.prose--forum th, .prose--forum td { padding: 7px 12px; border: 1px solid var(--line-2); vertical-align: top; }
.prose--forum th { background: var(--bg-2); color: var(--gold-2); font-weight: 600; text-align: left; }
.prose--forum tbody tr:nth-child(even) td { background: #ffffff06; }
.prose--forum .al-center { text-align: center; }
.prose--forum .al-right { text-align: right; }
.prose--forum .al-left { text-align: left; }
.prose--forum blockquote { font-style: normal; }
.prose--forum details { border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-1); }
.prose--forum details > summary { padding: 9px 14px; cursor: pointer; font-weight: 600; color: var(--gold-2); }
.prose--forum details > div { padding: 4px 14px 12px; }
/* the forum's formatter classes (fixed list in the forum plugin, lib/format.js) */
.bd-c-gold { color: var(--gold); }
.bd-c-red { color: #ff5a5a; }
.bd-c-orange { color: #ff9d4d; }
.bd-c-yellow { color: #ffd84d; }
.bd-c-green { color: #35d07f; }
.bd-c-cyan { color: #3fd0e0; }
.bd-c-blue { color: #6aa5ff; }
.bd-c-purple { color: #b58cff; }
.bd-c-pink { color: #ff8fc7; }
.bd-c-grey { color: #8a8f99; }
.bd-c-white { color: #fff; }
[class*="bd-c-"] strong { color: inherit; }
.bd-s-small { font-size: .82em; }
.bd-s-large { font-size: 1.3em; line-height: 1.35; }
.bd-s-huge { font-size: 1.75em; line-height: 1.25; }
.bd-u { text-decoration: underline; text-underline-offset: .15em; }
.bd-align-center { text-align: center; }
.bd-align-right { text-align: right; }
span.bd-align { display: block; }
.bd-box { margin: .9rem 0; padding: 10px 14px; background: var(--bg-1); border: 1px solid var(--line-2); border-left: 4px solid var(--gold); border-radius: 8px; }
.bd-box-info { border-left-color: #4da3ff; }
.bd-box-success { border-left-color: var(--ok); }
.bd-box-warning { border-left-color: var(--warn); }
.bd-box-danger { border-left-color: var(--bad); }
.bd-box-title { margin-bottom: 4px; font-weight: 700; }
/* item tooltip (pnf.js), the game's own look */
.pnf-tip { position: fixed; z-index: 2000; max-width: min(330px, calc(100vw - 16px)); max-height: calc(100vh - 16px); overflow: hidden; padding: 8px 10px 9px; background: rgba(6, 8, 14, .95); border: 1px solid #5c6170; color: #e6e6e6; font: 12px/1.45 Tahoma, Verdana, "Segoe UI", sans-serif; pointer-events: none; }
.pnf-tip-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.pnf-tip-head img { width: 48px; height: 48px; flex: none; }
.pnf-tip-name { font-weight: bold; font-size: 13px; color: #fff; }
.pnf-tip-block { white-space: pre-line; padding-top: 5px; margin-top: 5px; border-top: 1px solid #2c303b; }

/* download */
.dl__card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); }
.dl__cardhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dl__cardhead .sub { margin: 0; color: var(--text); }
.dl__lead { color: var(--dim); margin: 10px 0 8px; }
.dl__card .steps li { padding-block: 18px; grid-template-columns: 44px minmax(0, 1fr); }
.dl__card .steps__n { font-size: 2.2rem; }
.dl__card .steps p { margin: 4px 0 0; color: var(--text); }
.dl__side .notice { align-items: center; gap: 10px; }

@media (max-width: 560px) {
	.langmenu__list { right: -56px; }
	.top__in { gap: 8px; }
	.top__side { gap: 8px; }
	.brand { gap: 8px; }
	.brand__word { height: 13px; }
	.langmenu__btn { padding: 0 6px 0 8px; }
	.top__side > .btn--sm { padding: 0 10px; }
	.lang-ko { word-break: keep-all; }
	.prose--forum { font-size: .98rem; }
	.prose--forum h2 { font-size: 1.2rem; }
	.post__title { font-size: 2rem; }
	.dl__card { padding: 16px; }
}

/* home: room between the facts bar and the News / Events heads */
.home .sec--last { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); }

/* home, signed out (owner 12-02: news are for members only) */
.members { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); }
.members__txt { color: var(--dim); margin-top: 12px; max-width: 56ch; }
.members__cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .members { padding: 22px 18px; } .members__cta .btn { flex: 1 1 100%; } }
