/* ==========================================================
   L2 Banda — theme
   ========================================================== */
:root {
	--l2-bg: #0b0906;
	--l2-bg-2: #120e09;
	--l2-panel: #17120c;
	--l2-panel-2: #1f1810;
	--l2-line: #4a3a22;
	--l2-line-soft: rgba(74, 58, 34, .55);
	--l2-gold: #d6ae62;
	--l2-gold-2: #f1d699;
	--l2-gold-3: #8e6427;
	--l2-text: #e9dfc8;
	--l2-muted: #a39679;
	--l2-green: #6cc46f;
	--l2-red: #d65a4a;
	--l2-blood: #7b1d16;
	--l2-font-head: 'Cormorant SC', 'Cormorant', Georgia, 'Times New Roman', serif;
	--l2-font-body: 'Alegreya Sans', 'Segoe UI', Roboto, Arial, sans-serif;
	--container: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--l2-bg);
	background-image:
		radial-gradient(1200px 600px at 50% -10%, rgba(123, 29, 22, .18), transparent 70%),
		radial-gradient(900px 500px at 100% 40%, rgba(214, 174, 98, .05), transparent 70%);
	background-attachment: fixed;
	color: var(--l2-text);
	font-family: var(--l2-font-body);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--l2-gold); }
a:hover { color: var(--l2-gold-2); }
:focus-visible { outline: 2px solid var(--l2-gold-2); outline-offset: 2px; }
::selection { background: rgba(214, 174, 98, .35); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--l2-gold); color: #000; padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 9, 6, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--l2-line-soft); transition: background .2s; }
.site-header.is-scrolled { background: rgba(11, 9, 6, .96); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.topbar { border-bottom: 1px solid rgba(74, 58, 34, .35); background: rgba(0, 0, 0, .35); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 34px; flex-wrap: wrap; }
.topbar__note { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--l2-gold); }
@media (max-width: 560px) { .topbar__note { display: none; } }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--l2-gold); }
.logo__mark { display: block; width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(214, 174, 98, .25)); transition: transform .3s; }
.logo:hover .logo__mark { transform: rotate(-6deg); }
.logo--small .logo__mark { width: 44px; height: 44px; }
.logo__text { display: grid; line-height: 1; }
.logo__name { font-family: var(--l2-font-head); font-size: 1.75rem; font-weight: 700; letter-spacing: .06em; background: linear-gradient(180deg, #fff0c8 0%, #e2b863 50%, #9a6d2c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__sub { font-size: .72rem; letter-spacing: .38em; text-transform: uppercase; color: var(--l2-muted); margin-top: .2rem; }
.logo--small .logo__name { font-size: 1.5rem; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav__list a {
	display: block;
	padding: .55rem .9rem;
	color: var(--l2-text);
	text-decoration: none;
	font-family: var(--l2-font-head);
	font-size: 1.12rem;
	font-weight: 600;
	letter-spacing: .05em;
	position: relative;
}
.nav__list a::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 1px; background: linear-gradient(90deg, transparent, var(--l2-gold), transparent); transform: scaleX(0); transition: transform .25s; }
.nav__list a:hover, .nav__list a[aria-current="page"], .nav__list .current-menu-item > a { color: var(--l2-gold-2); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }
.nav__cta { min-height: 40px; padding: .45rem 1.1rem; }
.nav__user { display: inline-flex; align-items: center; gap: .55rem; color: var(--l2-text); text-decoration: none; font-weight: 500; }
.nav__avatar { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--l2-gold-3); background: radial-gradient(circle at 35% 30%, #3e301c, #120e09); color: var(--l2-gold-2); font-family: var(--l2-font-head); font-weight: 700; border-radius: 3px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--l2-line); background: transparent; border-radius: 3px; padding: 11px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle__bar { display: block; height: 2px; background: var(--l2-gold); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 880px) {
	.nav-toggle { display: flex; }
	.nav {
		position: fixed;
		inset: 106px 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1rem var(--gutter) 1.5rem;
		background: rgba(11, 9, 6, .98);
		border-bottom: 1px solid var(--l2-line);
		transform: translateY(-120%);
		visibility: hidden;
		transition: transform .25s, visibility .25s;
	}
	.nav.is-open { transform: none; visibility: visible; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: .8rem 0; border-bottom: 1px solid var(--l2-line-soft); }
	.nav__list a::after { display: none; }
	.admin-bar .nav { top: 152px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 4rem 0 7rem; }
.hero__sky {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, #080609 0%, #0d090c 45%, #130b09 75%, #0d0907 100%);
}
.hero__scene { position: absolute; top: 0; right: 0; height: 100%; width: auto; aspect-ratio: 2 / 1; max-width: none; display: block; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: auto; }
.hero__photo { object-fit: cover; object-position: 78% 45%; }
.hero--photo .hero__sky::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 9, 6, .88) 0%, rgba(11, 9, 6, .5) 45%, rgba(11, 9, 6, .1) 75%), linear-gradient(180deg, rgba(11, 9, 6, .2), rgba(11, 9, 6, .1) 60%, var(--l2-bg)); }
.hero__sword { animation: l2-sword 3.2s ease-in-out infinite; }
.hero__ring { animation: l2-ring 30s linear infinite; }
.hero__windows rect { animation: l2-flicker 4s ease-in-out infinite; }
.hero__windows rect:nth-child(2n) { animation-delay: 1.3s; }
.hero__windows rect:nth-child(3n) { animation-delay: 2.6s; }
.hero__dragon path:first-child { animation: l2-glide 14s ease-in-out infinite; transform-box: fill-box; }
@keyframes l2-sword { 50% { opacity: .78; } }
@keyframes l2-ring { to { stroke-dashoffset: -300; } }
@keyframes l2-flicker { 50% { opacity: .35; } }
@keyframes l2-glide { 50% { translate: -18px 10px; } }
@media (prefers-reduced-motion: reduce) { .hero__sword, .hero__ring, .hero__windows rect, .hero__dragon path { animation: none; } }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(180deg, transparent, var(--l2-bg)); z-index: -1; }

.hero__embers i { position: absolute; bottom: 10%; width: 3px; height: 3px; border-radius: 50%; background: #ffcf7a; box-shadow: 0 0 8px 2px rgba(255, 170, 70, .7); opacity: 0; animation: ember 9s linear infinite; }
.hero__embers i:nth-child(1) { left: 8%; animation-delay: 0s; }
.hero__embers i:nth-child(2) { left: 18%; animation-delay: 2.1s; animation-duration: 11s; }
.hero__embers i:nth-child(3) { left: 27%; animation-delay: 4.3s; }
.hero__embers i:nth-child(4) { left: 39%; animation-delay: 1.2s; animation-duration: 12s; }
.hero__embers i:nth-child(5) { left: 51%; animation-delay: 6s; }
.hero__embers i:nth-child(6) { left: 60%; animation-delay: 3.4s; animation-duration: 10s; }
.hero__embers i:nth-child(7) { left: 69%; animation-delay: 7.5s; }
.hero__embers i:nth-child(8) { left: 78%; animation-delay: .6s; animation-duration: 13s; }
.hero__embers i:nth-child(9) { left: 86%; animation-delay: 5.2s; }
.hero__embers i:nth-child(10) { left: 94%; animation-delay: 8.1s; animation-duration: 11s; }
@keyframes ember {
	0% { transform: translate(0, 0); opacity: 0; }
	10% { opacity: .9; }
	100% { transform: translate(40px, -70vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero__embers { display: none; } }

.hero__content { max-width: var(--container); }
.hero__kicker { margin: 0 0 .6rem; font-size: .85rem; letter-spacing: .32em; text-transform: uppercase; color: var(--l2-gold); }
.hero__title {
	margin: 0;
	font-family: var(--l2-font-head);
	font-size: clamp(3.4rem, 11vw, 8rem);
	font-weight: 700;
	line-height: .95;
	letter-spacing: .04em;
	background: linear-gradient(180deg, #fff4d6 0%, #f1d699 35%, #c3913f 70%, #7d5520 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .8)) drop-shadow(0 0 30px rgba(214, 174, 98, .2));
}
.hero__stamp {
	display: inline-block;
	margin: 1.4rem 0 0;
	padding: .45rem 1.1rem;
	border: 1px solid rgba(241, 214, 153, .55);
	border-left: 3px solid var(--l2-gold);
	background: linear-gradient(90deg, rgba(123, 29, 22, .55), rgba(123, 29, 22, .1));
	font-family: var(--l2-font-head);
	font-size: clamp(1.05rem, 2.6vw, 1.35rem);
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--l2-gold-2);
}
.hero__lead { max-width: 560px; margin: 1.2rem 0 2rem; font-size: clamp(1.02rem, 2.4vw, 1.18rem); color: #d9ccb1; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__btn { min-height: 52px; padding: .7rem 1.8rem; font-size: 1.15rem; }

/* ---------- status band ---------- */
.status-band { position: relative; margin-top: -4.5rem; z-index: 2; padding-bottom: 1rem; }
.status-band .l2b-status { background: rgba(14, 11, 7, .85); border: 1px solid var(--l2-line); padding: 1rem; border-radius: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: linear-gradient(180deg, rgba(31, 24, 16, .55), rgba(18, 14, 9, .2)); border-top: 1px solid var(--l2-line-soft); border-bottom: 1px solid var(--l2-line-soft); }
.section__kicker { margin: 0 0 .4rem; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--l2-gold); display: flex; align-items: center; gap: .8rem; }
.section__kicker::before { content: ''; width: 34px; height: 1px; background: var(--l2-gold); }
.section__title { margin: 0 0 2rem; font-family: var(--l2-font-head); font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 700; line-height: 1.1; color: var(--l2-gold-2); text-wrap: balance; }

/* about */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about__text p { color: #d4c8ae; margin: 0 0 1rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.free-card {
	position: relative;
	padding: 2rem 1.75rem 1.75rem;
	background:
		linear-gradient(180deg, rgba(123, 29, 22, .22), rgba(23, 18, 12, .95) 60%),
		var(--l2-panel);
	border: 1px solid rgba(214, 174, 98, .55);
	box-shadow: inset 0 0 0 4px var(--l2-panel), inset 0 0 0 5px rgba(214, 174, 98, .25), 0 20px 40px rgba(0, 0, 0, .4);
	border-radius: 4px;
}
.free-card__seal {
	position: absolute; top: -26px; right: 22px; width: 64px; height: 64px; border-radius: 50%;
	display: grid; place-items: center;
	background: radial-gradient(circle at 35% 30%, #b8382c, #6d140e 70%);
	border: 2px solid #3d0b07;
	box-shadow: 0 0 0 3px rgba(214, 174, 98, .5), 0 8px 20px rgba(0, 0, 0, .5);
	color: var(--l2-gold-2); font-family: var(--l2-font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em;
	transform: rotate(-10deg);
}
.free-card__title { margin: 0 0 1rem; font-family: var(--l2-font-head); font-size: 1.55rem; color: var(--l2-gold-2); line-height: 1.15; }
.free-card__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .55rem; }
.free-card__list li { padding-left: 1.6rem; position: relative; }
.free-card__list li::before { content: '✦'; position: absolute; left: 0; color: var(--l2-gold); }
.free-card__note { margin: 0; font-size: .9rem; color: var(--l2-muted); border-top: 1px solid var(--l2-line-soft); padding-top: .9rem; }

/* rates */
.rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--l2-line); border: 1px solid var(--l2-line); }
.rate { background: var(--l2-bg-2); padding: 1.4rem 1rem; text-align: center; display: grid; gap: .3rem; transition: background .2s; }
.rate:hover { background: #18120b; }
.rate__value { font-family: var(--l2-font-head); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; line-height: 1; background: linear-gradient(180deg, #fff0c8, #d6ae62 60%, #9a6d2c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rate__label { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--l2-muted); }
@media (max-width: 720px) { .rates { grid-template-columns: repeat(2, 1fr); } }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.feature {
	padding: 1.5rem;
	background: linear-gradient(180deg, rgba(36, 28, 18, .75), rgba(18, 14, 9, .85));
	border: 1px solid var(--l2-line);
	border-radius: 4px;
	transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--l2-gold-3); transform: translateY(-2px); }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--l2-gold-2); border: 1px solid var(--l2-gold-3); background: radial-gradient(circle at 35% 30%, rgba(214, 174, 98, .2), transparent 70%); border-radius: 3px; margin-bottom: 1rem; }
.feature__title { margin: 0 0 .4rem; font-family: var(--l2-font-head); font-size: 1.35rem; color: var(--l2-text); line-height: 1.15; }
.feature__text { margin: 0; color: var(--l2-muted); font-size: .97rem; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.step { position: relative; padding: 2rem 1.5rem 1.5rem; border: 1px solid var(--l2-line); background: rgba(11, 9, 6, .6); border-radius: 4px; }
.step__num { position: absolute; top: -21px; left: 1.5rem; width: 42px; height: 42px; display: grid; place-items: center; color: var(--l2-gold-2); font-family: var(--l2-font-head); font-weight: 700; font-size: 1.1rem; isolation: isolate; }
.step__num::before { content: ''; position: absolute; inset: 5px; background: var(--l2-bg); border: 1px solid var(--l2-gold); transform: rotate(45deg); z-index: -1; }
.step__title { margin: .2rem 0 .4rem; font-family: var(--l2-font-head); font-size: 1.4rem; color: var(--l2-gold-2); }
.step p { margin: 0 0 1rem; color: var(--l2-muted); }
.step__link { color: var(--l2-gold); text-decoration: none; font-weight: 500; }
.step__link:hover { color: var(--l2-gold-2); }
.step__link.is-muted { color: var(--l2-muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

/* news + top */
.news-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }
.news-list { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.news-item { display: grid; grid-template-columns: 70px 1fr; gap: 1.2rem; padding: 1.1rem; border: 1px solid var(--l2-line-soft); background: rgba(18, 14, 9, .7); border-radius: 4px; }
.news-item__date { display: grid; place-items: center; align-content: center; border: 1px solid var(--l2-line); background: var(--l2-bg); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--l2-muted); height: 70px; }
.news-item__date span { font-family: var(--l2-font-head); font-size: 1.8rem; color: var(--l2-gold-2); line-height: 1; letter-spacing: 0; }
.news-item__title { margin: 0 0 .3rem; font-family: var(--l2-font-head); font-size: 1.3rem; line-height: 1.2; }
.news-item__title a { color: var(--l2-text); text-decoration: none; }
.news-item__title a:hover { color: var(--l2-gold-2); }
.news-item__excerpt { margin: 0; color: var(--l2-muted); font-size: .95rem; }

.top-card { border: 1px solid var(--l2-line); background: linear-gradient(180deg, rgba(36, 28, 18, .85), rgba(16, 12, 8, .95)); padding: 1.5rem; border-radius: 4px; }
.top-card__title { margin: 0 0 1rem; font-family: var(--l2-font-head); font-size: 1.5rem; color: var(--l2-gold-2); }
.top-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.top-list li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--l2-line-soft); }
.top-list li:last-child { border-bottom: 0; }
.top-list__pos { font-family: var(--l2-font-head); font-weight: 700; color: var(--l2-muted); text-align: center; }
.top-list li:nth-child(1) .top-list__pos { color: #f1d699; }
.top-list li:nth-child(2) .top-list__pos { color: #d7dbe0; }
.top-list li:nth-child(3) .top-list__pos { color: #d39b6a; }
.top-list__name { display: grid; line-height: 1.25; font-weight: 500; }
.top-list__name small { color: var(--l2-muted); font-size: .8rem; font-weight: 400; }
.top-list__lvl { font-family: var(--l2-font-head); font-size: 1.3rem; font-weight: 700; color: var(--l2-gold-2); }

/* cta */
.cta { padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: center; background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(123, 29, 22, .35), transparent 70%); border-top: 1px solid var(--l2-line-soft); }
.cta__title { margin: 0 0 .5rem; font-family: var(--l2-font-head); font-size: clamp(2rem, 5vw, 3rem); color: var(--l2-gold-2); }
.cta__text { margin: 0 0 1.75rem; color: var(--l2-muted); }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem); background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(123, 29, 22, .28), transparent 70%); border-bottom: 1px solid var(--l2-line-soft); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.page-head--slim { padding-top: 2rem; }
.page-head__title { margin: 0; font-family: var(--l2-font-head); font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; color: var(--l2-gold-2); line-height: 1.1; overflow-wrap: anywhere; }
.page-head__meta { margin: 0 0 .4rem; color: var(--l2-muted); font-size: .9rem; letter-spacing: .1em; }
.page-body { max-width: 860px; padding-bottom: 4rem; }
.page-body--wide { max-width: var(--container); }

.entry { overflow-wrap: anywhere; }
.entry h2, .entry h3 { font-family: var(--l2-font-head); color: var(--l2-gold-2); line-height: 1.2; }
.entry blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 3px solid var(--l2-gold-3); background: rgba(0, 0, 0, .3); color: #d4c8ae; }
.entry code, .entry pre { background: #0d0a07; border: 1px solid var(--l2-line); border-radius: 3px; padding: .1rem .35rem; font-size: .9em; }
.entry pre { padding: 1rem; overflow-x: auto; }
.entry img { height: auto; border: 1px solid var(--l2-line); }

.posts { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.post-card { padding: 1.5rem; border: 1px solid var(--l2-line); background: linear-gradient(180deg, rgba(36, 28, 18, .7), rgba(16, 12, 8, .85)); border-radius: 4px; }
.post-card__date { color: var(--l2-muted); font-size: .85rem; letter-spacing: .1em; }
.post-card__title { margin: .3rem 0 .5rem; font-family: var(--l2-font-head); font-size: 1.6rem; line-height: 1.15; }
.post-card__title a { color: var(--l2-text); text-decoration: none; }
.post-card__title a:hover { color: var(--l2-gold-2); }
.post-card__excerpt { color: var(--l2-muted); margin: 0 0 .8rem; }
.pagination .nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 40px; min-height: 40px; display: grid; place-items: center; padding: 0 .6rem; border: 1px solid var(--l2-line); color: var(--l2-text); text-decoration: none; border-radius: 3px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { border-color: var(--l2-gold); color: var(--l2-gold-2); }

/* cabinet guest */
.l2b-cabinet-guest { max-width: 520px; margin: 0 auto; }
.l2b-cabinet-guest .l2b-h { text-align: center; }
.l2b-auth { background: linear-gradient(180deg, rgba(36, 28, 18, .85), rgba(16, 12, 8, .95)); border: 1px solid var(--l2-line); padding: clamp(1.25rem, 4vw, 2rem); border-radius: 4px; }
.page-body .l2b-auth { max-width: 560px; margin: 0 auto; }

/* ---------- forum topic & replies ---------- */
.reply-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.reply-list .children { list-style: none; margin: 1rem 0 0 clamp(1rem, 4vw, 2.5rem); padding: 0; display: grid; gap: 1rem; }
.reply--first { margin-bottom: 1.5rem; }
.reply__box { border: 1px solid var(--l2-line); background: linear-gradient(180deg, rgba(31, 24, 16, .85), rgba(16, 12, 8, .92)); border-radius: 4px; }
.reply--first .reply__box { border-color: var(--l2-gold-3); box-shadow: 0 0 0 1px rgba(214, 174, 98, .15); }
.reply__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.2rem; border-bottom: 1px solid var(--l2-line-soft); background: rgba(0, 0, 0, .25); }
.reply__date { color: var(--l2-muted); font-size: .85rem; text-decoration: none; }
.reply__body { padding: 1.1rem 1.2rem; }
.reply__body > :first-child { margin-top: 0; }
.reply__body > :last-child { margin-bottom: 0; }
.reply__foot { display: flex; gap: 1rem; padding: .5rem 1.2rem .9rem; font-size: .88rem; }
.reply__foot a { color: var(--l2-gold); text-decoration: none; }
.comments__title { font-family: var(--l2-font-head); color: var(--l2-gold-2); font-size: 1.5rem; margin: 2rem 0 1rem; }
.comment-panel .comment-reply-title { font-family: var(--l2-font-head); color: var(--l2-gold-2); font-size: 1.35rem; margin: 0 0 1rem; }
.comment-panel textarea { width: 100%; min-height: 140px; padding: .8rem; background: #0d0a07; border: 1px solid var(--l2-line); color: var(--l2-text); font: inherit; font-size: 16px; border-radius: 3px; resize: vertical; }
.comment-panel textarea:focus { outline: none; border-color: var(--l2-gold); box-shadow: 0 0 0 3px rgba(214, 174, 98, .15); }
.comment-panel .form-submit { margin: 1rem 0 0; }
.comment-panel .must-log-in { margin: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--l2-line); background: #080604; padding-top: 3rem; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__text { color: var(--l2-muted); font-size: .95rem; max-width: 380px; }
.footer__title { margin: 0 0 .8rem; font-family: var(--l2-font-head); color: var(--l2-gold); font-size: 1.15rem; letter-spacing: .05em; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer__links a { color: var(--l2-text); text-decoration: none; }
.footer__links a:hover { color: var(--l2-gold-2); }
.footer__legal { border-top: 1px solid var(--l2-line-soft); padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .8rem; color: #7d7360; }
.footer__legal p { margin: 0 0 .4rem; }

/* Lining figures for numbers (Cormorant uses old-style figures by default) */
.l2b-counter__value, .rate__value, .l2b-donate__value, .l2b-donate__coins, .top-list__lvl, .top-list__pos, .news-item__date span, .step__num { font-variant-numeric: lining-nums tabular-nums; }

@media (max-width: 640px) {
	.hero { padding-top: 3rem; }
	.hero__scene { opacity: .4; }
	.hero__btn { width: 100%; }
}
@media (max-width: 640px) {
	.hero--photo .hero__sky::after { background: linear-gradient(180deg, rgba(11, 9, 6, .55), rgba(11, 9, 6, .75) 50%, var(--l2-bg)); }
	.hero__photo { object-position: 84% 45%; }
}

.step__downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.step__dl { font-size: .9rem; padding: 10px 16px; }
.step code { font-size: .9em; color: var(--l2-gold-2); }

/* Language switcher */
.l2b-lang { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid rgba(214, 174, 98, .35); border-radius: 4px; }
.l2b-lang__item { display: inline-block; padding: 2px 9px; font-size: .74rem; letter-spacing: .1em; font-weight: 600; line-height: 1.6; color: var(--l2-gold); text-decoration: none; border-radius: 2px; }
.l2b-lang__item:hover, .l2b-lang__item:focus-visible { color: var(--l2-gold-2); background: rgba(214, 174, 98, .12); }
.l2b-lang__item.is-active { color: #120d06; background: var(--l2-gold); }
