/* =====================================================================
   Golden2 - website theme
   Dark bronze panels, gold accents, game art behind everything.
   ===================================================================== */

:root {
	--g2-bg: #0e0906;
	--g2-bg-2: #150e09;
	--g2-card: rgba(22, 15, 10, 0.88);
	--g2-card-2: rgba(32, 22, 15, 0.92);
	--g2-inset: rgba(10, 7, 5, 0.75);
	--g2-line: rgba(214, 166, 96, 0.16);
	--g2-line-2: rgba(214, 166, 96, 0.34);
	--g2-gold: #e2b469;
	--g2-gold-2: #f4d491;
	--g2-gold-3: #b9823e;
	--g2-gold-dark: #7a5224;
	--g2-text: #ece0cd;
	--g2-muted: #a8977f;
	--g2-dim: #7d6e5c;
	--g2-red: #cf5a3c;
	--g2-red-2: #a8432c;
	--g2-green: #6fb27c;
	--g2-blue: #79a7d8;
	--g2-radius: 16px;
	--g2-radius-s: 10px;
	--g2-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	--g2-font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--g2-display: "Cinzel", "Trajan Pro", Georgia, serif;
	--g2-nav-h: 68px;
	--g2-wrap: 1260px;
}

/* ---------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.g2 {
	margin: 0;
	min-height: 100vh;
	background: var(--g2-bg) url(../g2/page-bg.jpg) center top / cover fixed no-repeat;
	background-image: image-set(url(../g2/page-bg.webp) type("image/webp"), url(../g2/page-bg.jpg) type("image/jpeg"));
	color: var(--g2-text);
	font-family: var(--g2-font);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.g2::before {               /* keeps the art calm behind the panels */
	content: "";
	position: fixed;
	inset: 0;
	background: radial-gradient(ellipse at 50% 0%, rgba(14, 9, 6, 0.2), rgba(14, 9, 6, 0.86) 70%);
	pointer-events: none;
	z-index: 0;
}
body.g2 > * { position: relative; z-index: 1; }
.g2 a { color: var(--g2-gold); text-decoration: none; transition: color .15s ease; }
.g2 a:hover { color: var(--g2-gold-2); text-decoration: none; }
.g2 h1, .g2 h2, .g2 h3, .g2 h4, .g2 h5, .g2 h6 { color: var(--g2-gold-2); font-weight: 700; }
.g2 p { color: var(--g2-text); }
.g2 hr { border-color: var(--g2-line); }
.g2 ::selection { background: rgba(226, 180, 105, 0.35); }
.g2 img { max-width: 100%; }
.g2-wrap { width: 100%; max-width: var(--g2-wrap); margin: 0 auto; padding: 0 20px; }
.g2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- nav */
.g2-nav {
	position: fixed !important;
	top: 0; left: 0; right: 0;
	height: var(--g2-nav-h);
	z-index: 50 !important;
	background: linear-gradient(180deg, rgba(20, 13, 9, 0.94), rgba(16, 10, 7, 0.86));
	border-bottom: 1px solid var(--g2-line);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.g2-nav__in { display: flex; align-items: center; height: 100%; gap: 18px; }
.g2-nav__brand { display: flex; align-items: center; flex: 0 0 auto; }
.g2-nav__brand img { width: 44px; height: 44px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); transition: transform .25s ease; }
.g2-nav__brand:hover img { transform: rotate(-8deg) scale(1.05); }
.g2-nav__links { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1 1 auto; margin: 0; padding: 0; list-style: none; }
.g2-nav__links a {
	display: block;
	padding: 8px 14px;
	border-radius: 8px;
	color: #e9dcc6;
	font-weight: 600;
	font-size: 14.5px;
	letter-spacing: .01em;
}
.g2-nav__links a:hover, .g2-nav__links a.is-active { color: var(--g2-gold-2); background: rgba(226, 180, 105, 0.08); }
.g2-nav__links a.is-active { box-shadow: inset 0 -2px 0 var(--g2-gold); border-radius: 8px 8px 2px 2px; }
.g2-nav__side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.g2-nav__burger {
	display: none;
	width: 42px; height: 42px;
	border: 1px solid var(--g2-line-2);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.25);
	color: var(--g2-gold);
	font-size: 18px;
	cursor: pointer;
}

/* language picker */
.g2-lang { position: relative; }
.g2-lang__btn {
	display: flex; align-items: center; gap: 8px;
	height: 38px; padding: 0 12px;
	border: 1px solid var(--g2-line-2);
	border-radius: 9px;
	background: rgba(0, 0, 0, 0.28);
	color: var(--g2-text);
	font: 600 13px var(--g2-font);
	text-transform: uppercase;
	cursor: pointer;
}
.g2-lang__btn img, .g2-lang__menu img { width: 20px; height: auto; border-radius: 2px; }
.g2-lang__btn i { font-size: 10px; color: var(--g2-muted); }
.g2-lang__menu {
	position: absolute; right: 0; top: calc(100% + 8px);
	min-width: 170px; margin: 0; padding: 6px;
	list-style: none;
	background: var(--g2-card-2);
	border: 1px solid var(--g2-line-2);
	border-radius: 12px;
	box-shadow: var(--g2-shadow);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: all .15s ease;
}
.g2-lang.is-open .g2-lang__menu { opacity: 1; visibility: visible; transform: none; }
.g2-lang__menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--g2-text); font-size: 14px; }
.g2-lang__menu a:hover, .g2-lang__menu a.is-active { background: rgba(226, 180, 105, 0.1); color: var(--g2-gold-2); }

/* ---------------------------------------------------------------- buttons */
.g2-btn, .g2 .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 22px;
	border: 1px solid #f0cf8a;
	border-radius: var(--g2-radius-s);
	background: linear-gradient(180deg, #f1cf88 0%, #d9a659 48%, #b07a37 100%);
	color: #2b1807 !important;
	font: 800 13.5px var(--g2-font);
	letter-spacing: .06em;
	text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(255, 236, 190, 0.45);
	box-shadow: 0 6px 18px rgba(176, 122, 55, 0.25), inset 0 1px 0 rgba(255, 245, 215, 0.6), inset 0 -2px 0 rgba(90, 55, 20, 0.35);
	cursor: pointer;
	transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;
	white-space: nowrap;
}
.g2-btn:hover, .g2 .btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(176, 122, 55, 0.35), inset 0 1px 0 rgba(255, 245, 215, 0.6), inset 0 -2px 0 rgba(90, 55, 20, 0.35); }
.g2-btn:active, .g2 .btn:active { transform: translateY(1px); filter: brightness(.95); }
.g2-btn--block { display: flex; width: 100%; }
.g2-btn--lg { height: 54px; padding: 0 30px; font-size: 15px; border-radius: 12px; }
.g2-btn--sm, .g2 .btn-sm { height: 34px; padding: 0 14px; font-size: 12px; }
.g2-btn--ghost, .g2 .btn-secondary, .g2 .btn-info, .g2 .btn-light, .g2 .btn-dark {
	background: rgba(14, 9, 6, 0.55);
	border-color: var(--g2-line-2);
	color: var(--g2-gold-2) !important;
	text-shadow: none;
	box-shadow: inset 0 1px 0 rgba(255, 230, 180, 0.06);
}
.g2-btn--ghost:hover, .g2 .btn-secondary:hover, .g2 .btn-info:hover { border-color: var(--g2-gold); background: rgba(226, 180, 105, 0.1); box-shadow: none; }
.g2-btn--danger, .g2 .btn-danger {
	background: linear-gradient(180deg, #d76a4c, #a8432c);
	border-color: #e3876b;
	color: #fff3ea !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: 0 6px 18px rgba(168, 67, 44, 0.25), inset 0 1px 0 rgba(255, 210, 190, 0.35);
}
.g2 .btn-warning { background: linear-gradient(180deg, #e8b765, #b8782f); border-color: #f0c77f; }
.g2 .btn-success, .g2 .btn-primary { /* the gold default */ }
.g2 .btn-lg { height: 52px; font-size: 15px; }
.g2 .btn-block { display: flex; width: 100%; }
.g2 .btn:focus, .g2-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(226, 180, 105, 0.3); }
.g2 input[type=submit].btn { line-height: 44px; }
.g2 input[type=submit].btn-sm { line-height: 34px; }

/* ---------------------------------------------------------------- hero */
.g2-hero {
	position: relative;
	height: 640px;
	padding-top: var(--g2-nav-h);
	background: #120b07 url(../g2/hero.jpg) center 30% / cover no-repeat;
	background-image: image-set(url(../g2/hero.webp) type("image/webp"), url(../g2/hero.jpg) type("image/jpeg"));
	overflow: hidden;
}
.g2-hero::before {
	content: "";
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(14, 9, 6, 0.55) 0%, rgba(14, 9, 6, 0) 22%, rgba(14, 9, 6, 0) 55%, rgba(14, 9, 6, 0.92) 92%, var(--g2-bg) 100%),
		radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.45) 100%);
}
.g2-hero__in {
	position: relative; z-index: 2;
	height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center;
	padding-bottom: 150px;
}
.g2-hero__logo { width: min(620px, 82vw); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7)); animation: g2-float 7s ease-in-out infinite; }
.g2-hero__tag {
	margin: 4px 0 26px;
	color: #f3e2c0;
	font: 600 15px var(--g2-display);
	letter-spacing: .32em;
	text-transform: uppercase;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.g2-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.g2-hero__cta .g2-btn--ghost { background: rgba(14, 9, 6, 0.6); backdrop-filter: blur(4px); }
.g2-hero.is-compact { height: 400px; }
.g2-hero.is-compact .g2-hero__in { padding-bottom: 60px; }
.g2-hero.is-compact .g2-hero__logo { width: min(420px, 74vw); animation: none; }
.g2-hero.is-compact .g2-hero__tag { margin-bottom: 0; }
@keyframes g2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* embers rising over the art */
.g2-embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.g2-embers i {
	position: absolute; bottom: -10px;
	width: 3px; height: 3px; border-radius: 50%;
	background: #ffc66b;
	box-shadow: 0 0 8px 2px rgba(255, 150, 50, 0.65);
	opacity: 0;
	animation: g2-ember 9s linear infinite;
}
@keyframes g2-ember {
	0% { transform: translate(0, 0); opacity: 0; }
	10% { opacity: .9; }
	100% { transform: translate(40px, -620px); opacity: 0; }
}

/* ---------------------------------------------------------------- highlights (home) */
.g2-highlights { position: relative; z-index: 3; margin-top: -170px; }
.g2-highlights__panel {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) 300px;
	gap: 16px;
	padding: 16px;
	background: rgba(18, 12, 8, 0.82);
	border: 1px solid var(--g2-line);
	border-radius: 20px;
	box-shadow: var(--g2-shadow);
	backdrop-filter: blur(6px);
}
.g2-ncard {
	display: flex; flex-direction: column;
	overflow: hidden;
	background: var(--g2-card-2);
	border: 1px solid var(--g2-line);
	border-radius: 14px;
	color: var(--g2-text) !important;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.g2-ncard:hover { transform: translateY(-3px); border-color: var(--g2-line-2); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
.g2-ncard__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1b120c; }
.g2-ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g2-ncard:hover .g2-ncard__img img { transform: scale(1.05); }
.g2-ncard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16, 10, 7, 0.75)); }
.g2-ncard__body { padding: 14px 16px 16px; }
.g2-ncard__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--g2-muted); font-size: 12.5px; }
.g2-ncard__meta i { color: var(--g2-gold); }
.g2-ncard__title { margin: 0; color: #f6e8cf; font: 700 16px/1.35 var(--g2-font); }
.g2-ncard--empty { align-items: center; justify-content: center; min-height: 230px; color: var(--g2-muted) !important; font-size: 14px; text-align: center; padding: 20px; }
.g2-latest { padding: 16px; background: var(--g2-card-2); border: 1px solid var(--g2-line); border-radius: 14px; }
.g2-latest__title { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--g2-line); color: var(--g2-red); font: 700 14px var(--g2-font); letter-spacing: .02em; }
.g2-latest__title span { color: var(--g2-text); }
.g2-latest ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.g2-latest { min-width: 0; }
.g2-latest li { min-width: 0; }
.g2-latest a span { min-width: 0; }
.g2-latest a {
	display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
	padding: 10px 12px;
	background: var(--g2-inset);
	border: 1px solid var(--g2-line);
	border-radius: 10px;
	color: #f3e3c6;
	font-weight: 600; font-size: 13.5px;
}
.g2-latest a:hover { border-color: var(--g2-line-2); color: var(--g2-gold-2); }
.g2-latest a span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.g2-latest a small { flex: 0 0 auto; color: var(--g2-dim); font-weight: 500; font-size: 11.5px; }

/* ---------------------------------------------------------------- layout */
.g2-main { padding: 28px 0 60px; }
.g2-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }
.g2-aside { display: grid; gap: 20px; }
.g2-content { display: grid; gap: 20px; min-width: 0; }

/* cards */
.g2-card {
	background: var(--g2-card);
	border: 1px solid var(--g2-line);
	border-radius: var(--g2-radius);
	box-shadow: var(--g2-shadow);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	overflow: hidden;
}
.g2-card__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--g2-line);
	background: linear-gradient(180deg, rgba(226, 180, 105, 0.06), rgba(226, 180, 105, 0));
}
.g2-card__title {
	display: flex; align-items: center; gap: 10px;
	margin: 0;
	color: var(--g2-gold-2) !important;
	font: 700 16px var(--g2-display) !important;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.g2-card__title::before {
	content: "";
	width: 8px; height: 8px;
	transform: rotate(45deg);
	background: linear-gradient(135deg, #f6d998, #b57d38);
	box-shadow: 0 0 10px rgba(226, 180, 105, 0.6);
	flex: 0 0 auto;
}
.g2-card__title em { font-style: normal; color: var(--g2-red); }
.g2-card__body { padding: 20px 22px 22px; }
.g2-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px;
	border: 1px solid var(--g2-line-2);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.3);
	color: var(--g2-text) !important;
	font-size: 12.5px; font-weight: 600;
}
.g2-pill:hover { border-color: var(--g2-gold); color: var(--g2-gold-2) !important; }

/* notice */
.g2-notice {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 20px;
	border: 1px solid rgba(231, 140, 100, 0.35);
	border-radius: 14px;
	background: linear-gradient(90deg, rgba(150, 62, 36, 0.92), rgba(112, 46, 28, 0.9));
	color: #fbe9dc !important;
	font-weight: 500;
	box-shadow: var(--g2-shadow);
}
.g2-notice b { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.g2-notice:hover { filter: brightness(1.08); }

/* forms */
.g2-form { display: grid; gap: 16px; }
.g2-field { display: grid; gap: 7px; }
.g2-field__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.g2-field label, .g2-label { margin: 0; color: #e8dac3; font-weight: 600; font-size: 13.5px; }
.g2-field__top a { padding: 3px 9px; border: 1px solid var(--g2-line); border-radius: 7px; color: var(--g2-muted); font-size: 12px; }
.g2-field__top a:hover { color: var(--g2-gold-2); border-color: var(--g2-line-2); }
.g2-input { position: relative; }
.g2-input i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--g2-gold-3); font-size: 14px; pointer-events: none; }
.g2-input input, .g2-input select { padding-left: 40px !important; }
.g2 .form-control, .g2-input input, .g2 select, .g2 textarea, .g2 input[type=text], .g2 input[type=email], .g2 input[type=password], .g2 input[type=number] {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	background: rgba(8, 5, 3, 0.7) !important;
	border: 1px solid var(--g2-line-2) !important;
	border-radius: var(--g2-radius-s) !important;
	color: var(--g2-text) !important;
	font: 500 14.5px var(--g2-font);
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35) !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.g2 textarea, .g2 textarea.form-control { height: auto; min-height: 120px; padding: 12px 14px; }
.g2 select { appearance: auto; }
.g2 .form-control:focus, .g2-input input:focus, .g2 select:focus, .g2 textarea:focus, .g2 input:focus {
	outline: none;
	border-color: var(--g2-gold) !important;
	box-shadow: 0 0 0 3px rgba(226, 180, 105, 0.16), inset 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}
.g2 ::placeholder { color: #7f705d !important; opacity: 1; }
.g2 .form-control-lg { height: 52px; }
.g2 .input-group { display: flex; }
.g2 .input-group .form-control { border-radius: var(--g2-radius-s) 0 0 var(--g2-radius-s) !important; }
.g2 .input-group-btn .btn { border-radius: 0 var(--g2-radius-s) var(--g2-radius-s) 0; height: 46px; }
.g2-captcha { display: flex; justify-content: center; min-height: 78px; }
.g2-captcha .g-recaptcha { transform: scale(.98); transform-origin: center top; }
.g2-check { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--g2-muted); font-size: 13.5px; cursor: pointer; user-select: none; }
.g2-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.g2-check span {
	position: relative; width: 36px; height: 20px; flex: 0 0 auto;
	border: 1px solid var(--g2-line-2); border-radius: 20px;
	background: rgba(0, 0, 0, 0.45);
	transition: all .15s ease;
}
.g2-check span::after {
	content: ""; position: absolute; top: 2px; left: 2px;
	width: 14px; height: 14px; border-radius: 50%;
	background: var(--g2-dim);
	transition: all .15s ease;
}
.g2-check input:checked + span { background: rgba(226, 180, 105, 0.22); border-color: var(--g2-gold); }
.g2-check input:checked + span::after { left: 18px; background: var(--g2-gold-2); box-shadow: 0 0 8px rgba(244, 212, 145, 0.7); }
.g2-form__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.g2-form__foot { margin: 0; text-align: center; color: var(--g2-muted); font-size: 13.5px; }

/* account menu (logged in) */
.g2-welcome { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.g2-welcome b { display: block; color: var(--g2-gold-2); font-size: 17px; }
.g2-welcome small { color: var(--g2-muted); }
.g2-coins {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px 6px 6px;
	border: 1px solid var(--g2-line-2);
	border-radius: 40px;
	background: rgba(0, 0, 0, 0.35);
	box-shadow: 0 0 18px rgba(226, 180, 105, 0.12);
	color: #fff2d6; font-weight: 800;
}
.g2-coins i {
	display: grid; place-items: center;
	width: 30px; height: 30px; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #ffe2a2, #c18a3f 70%);
	color: #5a3510; font-size: 13px;
}
.g2-menu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.g2-menu a {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 14px;
	background: var(--g2-inset);
	border: 1px solid var(--g2-line);
	border-radius: 12px;
	color: #f1e3cb;
	font-weight: 600; font-size: 14.5px;
}
.g2-menu a i {
	display: grid; place-items: center;
	width: 34px; height: 34px; flex: 0 0 auto;
	border: 1px solid var(--g2-line-2); border-radius: 50%;
	color: var(--g2-gold);
	font-size: 14px;
}
.g2-menu a:hover { border-color: var(--g2-line-2); color: var(--g2-gold-2); background: rgba(226, 180, 105, 0.06); }
.g2-menu a .g2-tag { margin-left: auto; }
.g2-menu a.is-danger { color: #f0b7a3; }
.g2-menu a.is-danger i { color: var(--g2-red); border-color: rgba(207, 90, 60, 0.45); }
.g2-tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 20px; background: rgba(207, 90, 60, 0.18); border: 1px solid rgba(207, 90, 60, 0.45); color: #ffc8b5; font-size: 11.5px; font-weight: 700; }

/* stats */
.g2-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g2-stat { padding: 14px; background: var(--g2-inset); border: 1px solid var(--g2-line); border-radius: 12px; }
.g2-stat b { display: block; color: #fff0d2; font-size: 22px; line-height: 1.1; font-weight: 800; }
.g2-stat span { color: var(--g2-muted); font-size: 12.5px; }
.g2-stat.is-live b::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #79d58a; box-shadow: 0 0 10px #79d58a; vertical-align: middle; animation: g2-pulse 1.6s ease-in-out infinite; }
@keyframes g2-pulse { 50% { opacity: .35; } }

/* ranking + podium */
.g2-switch { display: inline-flex; padding: 3px; border: 1px solid var(--g2-line); border-radius: 9px; background: rgba(0, 0, 0, 0.3); }
.g2-switch button { padding: 4px 11px; border: 0; border-radius: 7px; background: none; color: var(--g2-muted); font: 600 12.5px var(--g2-font); cursor: pointer; }
.g2-switch button.is-active { background: rgba(226, 180, 105, 0.16); color: var(--g2-gold-2); }
.g2-rank[hidden] { display: none; }
.g2-podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; margin-bottom: 16px; padding-top: 8px; }
.g2-podium__item { text-align: center; min-width: 0; }
.g2-podium__shield {
	position: relative;
	margin: 0 auto 8px;
	padding: 14px 8px 18px;
	clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
	background: linear-gradient(180deg, #8b98a5, #4c5660);
}
.g2-podium__item.r1 .g2-podium__shield { background: linear-gradient(180deg, #f2c56f, #a8692a); padding-top: 22px; }
.g2-podium__item.r3 .g2-podium__shield { background: linear-gradient(180deg, #d98a5a, #7f3f22); }
.g2-podium__num {
	display: grid; place-items: center;
	width: 28px; height: 28px; margin: 0 auto 8px;
	border-radius: 50%;
	background: #1a120c; border: 2px solid rgba(255, 255, 255, 0.55);
	color: #fff; font-weight: 800; font-size: 13px;
}
.g2-podium__img { display: block; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; border: 2px solid rgba(255, 240, 210, 0.75); object-fit: cover; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }
.g2-podium__item.r1 .g2-podium__img { width: 74px; height: 74px; }
.g2-podium__name { display: block; overflow: hidden; color: #f6e6c9; font-weight: 700; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.g2-podium__lvl { color: var(--g2-muted); font-size: 12px; }
.g2-ranklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.g2-ranklist li {
	display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px;
	padding: 8px 12px;
	background: var(--g2-inset);
	border: 1px solid var(--g2-line);
	border-radius: 10px;
	font-size: 13.5px;
}
.g2-ranklist li b { color: var(--g2-gold); font-weight: 800; text-align: center; }
.g2-ranklist li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #f1e3cb; font-weight: 600; }
.g2-ranklist li em { display: flex; align-items: center; gap: 8px; color: var(--g2-muted); font-style: normal; font-size: 12.5px; }
.g2-ranklist li em img { width: 24px; height: auto; border-radius: 3px; }
.g2-empty { padding: 14px; color: var(--g2-muted); text-align: center; font-size: 13.5px; }

/* links */
.g2-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.g2-links a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: #eadcc5; font-weight: 500; }
.g2-links a i { width: 18px; color: var(--g2-gold); text-align: center; }
.g2-links a:hover { background: rgba(226, 180, 105, 0.07); color: var(--g2-gold-2); }
.g2-social { display: flex; gap: 10px; margin-top: 14px; }
.g2-social a {
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border: 1px solid var(--g2-line-2); border-radius: 12px;
	background: rgba(0, 0, 0, 0.3);
	color: var(--g2-gold); font-size: 17px;
}
.g2-social a:hover { border-color: var(--g2-gold); color: var(--g2-gold-2); transform: translateY(-2px); }

/* ---------------------------------------------------------------- news */
.g2-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.g2-tabs a {
	display: inline-flex; align-items: center; gap: 8px;
	height: 40px; padding: 0 16px;
	border: 1px solid var(--g2-line-2);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.32);
	color: #e8dac3;
	font-weight: 600; font-size: 13.5px;
}
.g2-tabs a i { color: var(--g2-gold-3); }
.g2-tabs a:hover { border-color: var(--g2-gold); color: var(--g2-gold-2); }
.g2-tabs a.is-active { background: linear-gradient(180deg, rgba(226, 180, 105, 0.3), rgba(176, 122, 55, 0.22)); border-color: var(--g2-gold); color: #fff1d3; box-shadow: inset 0 1px 0 rgba(255, 230, 180, 0.2); }
.g2-tabs a.is-active i { color: var(--g2-gold-2); }
.g2-posts { position: relative; display: grid; gap: 30px; margin-top: 22px; padding-left: 26px; }
.g2-posts::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--g2-gold-3), rgba(185, 130, 62, 0.08)); }
.g2-post { position: relative; }
.g2-post::before {
	content: ""; position: absolute; left: -26px; top: 6px;
	width: 12px; height: 12px; transform: rotate(45deg);
	background: linear-gradient(135deg, #f6d998, #b57d38);
	box-shadow: 0 0 0 4px rgba(14, 9, 6, 0.9), 0 0 14px rgba(226, 180, 105, 0.5);
}
.g2-post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; color: var(--g2-muted); font-size: 13px; }
.g2-post__meta i { color: var(--g2-gold-3); }
.g2-post__title { margin: 0 0 10px; font: 700 23px/1.3 var(--g2-font); }
.g2-post__title a { color: var(--g2-gold-2); }
.g2-post__title a:hover { color: #ffe7b5; }
.g2-post__admin { margin-left: 8px; font-size: 15px; }
.g2-post__admin a { margin-right: 8px; }
.g2-post__body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.g2-post__body.no-img { grid-template-columns: minmax(0, 1fr); }
.g2-post__img { overflow: hidden; border: 1px solid var(--g2-line); border-radius: 12px; aspect-ratio: 16 / 10; }
.g2-post__img img { width: 100%; height: 100%; object-fit: cover; }
.g2-post__text { color: #e1d4bf; }
.g2-post__text p { margin: 0 0 10px; }
.g2-post__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 13.5px; }
.g2-badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 3px 11px;
	border-radius: 20px;
	border: 1px solid var(--g2-line-2);
	background: rgba(226, 180, 105, 0.12);
	color: var(--g2-gold-2);
	font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.g2-badge::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; }
.g2-badge.c1 { color: #f4d491; }
.g2-badge.c2 { color: #ffb19a; background: rgba(207, 90, 60, 0.14); border-color: rgba(207, 90, 60, 0.45); }
.g2-badge.c3 { color: #9fe0aa; background: rgba(111, 178, 124, 0.13); border-color: rgba(111, 178, 124, 0.45); }
.g2-badge.c4 { color: #b8d3f2; background: rgba(121, 167, 216, 0.12); border-color: rgba(121, 167, 216, 0.42); }
.g2-badge.is-new { color: #ffd5c7; background: rgba(168, 67, 44, 0.45); border-color: rgba(231, 120, 90, 0.6); }
.g2-article { color: #e6d9c4; }
.g2-article img { max-width: 100%; height: auto; border-radius: 10px; }
.g2-article h1, .g2-article h2, .g2-article h3 { margin: 20px 0 10px; }
.g2-article ul { padding-left: 20px; }
.g2-article li::marker { color: var(--g2-gold); }
.g2-article__foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--g2-line); color: var(--g2-muted); font-size: 13px; }
.g2-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 26px 0 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------- downloads */
.g2-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.g2-dl__item {
	display: flex; align-items: center; gap: 16px;
	padding: 18px;
	background: var(--g2-inset);
	border: 1px solid var(--g2-line);
	border-radius: 14px;
}
.g2-dl__item > i {
	display: grid; place-items: center;
	width: 52px; height: 52px; flex: 0 0 auto;
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(226, 180, 105, 0.25), rgba(176, 122, 55, 0.1));
	border: 1px solid var(--g2-line-2);
	color: var(--g2-gold-2); font-size: 22px;
}
.g2-dl__item div { flex: 1 1 auto; min-width: 0; }
.g2-dl__item b { display: block; color: #f6e6c9; font-size: 16px; }
.g2-dl__item small { color: var(--g2-muted); }
.g2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.g2-step { padding: 16px; background: var(--g2-inset); border: 1px solid var(--g2-line); border-radius: 14px; }
.g2-step b { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: rgba(226, 180, 105, 0.18); border: 1px solid var(--g2-gold); color: var(--g2-gold-2); }
.g2-step p { margin: 0; color: var(--g2-muted); font-size: 13.5px; }
.g2-step strong { display: block; margin-bottom: 4px; color: #f1e3cb; }

/* ---------------------------------------------------------------- account */
.g2-hello { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.g2-hello h2 { margin: 0; color: var(--g2-gold-2); font: 700 22px var(--g2-font); }
.g2-hello p { margin: 2px 0 0; color: var(--g2-muted); font-size: 14px; }
.g2-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--g2-line); }
.g2-subnav a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--g2-line); border-radius: 10px; background: rgba(0, 0, 0, 0.3); color: #e8dac3; font-weight: 600; font-size: 13.5px; }
.g2-subnav a i { color: var(--g2-gold-3); }
.g2-subnav a:hover, .g2-subnav a.is-active { border-color: var(--g2-gold); color: var(--g2-gold-2); background: rgba(226, 180, 105, 0.1); }
.g2-kv { display: grid; gap: 10px; }
.g2-kv > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--g2-inset); border: 1px solid var(--g2-line); border-radius: 12px; }
.g2-kv small { display: block; color: var(--g2-dim); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.g2-kv b { color: #f6e6c9; font-weight: 700; word-break: break-all; }
.g2-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g2-action { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--g2-inset); border: 1px solid var(--g2-line); border-radius: 14px; }
.g2-action h4 { display: flex; align-items: center; gap: 10px; margin: 0; color: #f3e3c6; font: 700 15px var(--g2-font); }
.g2-action h4 i { color: var(--g2-gold); }
.g2-action p { flex: 1 1 auto; margin: 0; color: var(--g2-muted); font-size: 13.5px; }
.g2-action form { margin: 0; }
.g2-action.is-danger { border-color: rgba(207, 90, 60, 0.32); }
.g2-action.is-danger h4 i { color: var(--g2-red); }
.g2-chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.g2-char { position: relative; padding: 16px; background: var(--g2-inset); border: 1px solid var(--g2-line); border-radius: 14px; }
.g2-char__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.g2-char__top img { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--g2-line-2); object-fit: cover; }
.g2-char__top b { display: block; color: #f6e6c9; font-size: 17px; }
.g2-char__top small { color: var(--g2-muted); }
.g2-char__lvl { position: absolute; top: 14px; right: 14px; color: var(--g2-gold-2); font-weight: 800; font-size: 13px; }
.g2-char ul { margin: 0 0 12px; padding: 0; list-style: none; color: var(--g2-muted); font-size: 13px; }
.g2-char ul i { width: 18px; color: var(--g2-gold-3); }
.g2-char form { margin: 0; }

/* ---------------------------------------------------------------- the pages kept as they were (Bootstrap markup) */
.g2-page .page-hd {
	display: flex; align-items: center;
	margin: 0;
	padding: 18px 22px;
	min-height: 0;
	background: linear-gradient(180deg, rgba(226, 180, 105, 0.06), rgba(226, 180, 105, 0)) !important;
	border-bottom: 1px solid var(--g2-line);
}
.g2-page .page-hd .bd-c { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0; background: none; }
.g2-page .page-hd h2, .g2-page .pre-social {
	display: flex; align-items: center; gap: 10px;
	margin: 0;
	color: var(--g2-gold-2) !important;
	font: 700 17px var(--g2-display) !important;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.g2-page .page-hd h2::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: linear-gradient(135deg, #f6d998, #b57d38); box-shadow: 0 0 10px rgba(226, 180, 105, 0.6); }
.g2-page .padding-container { padding: 22px; }
.g2-page > .container, .g2-page .container { max-width: none; width: auto; padding: 0; margin: 0; }
.g2-page .padding-container .container { padding: 0; }
.g2-page .mt2cms2-c-l { width: auto; }
.g2 .row { margin-left: -8px; margin-right: -8px; }
.g2 .row > [class*=col-] { padding-left: 8px; padding-right: 8px; }
.g2 .jumbotron {
	margin: 0 0 16px;
	padding: 20px !important;
	background: var(--g2-inset);
	border: 1px solid var(--g2-line);
	border-radius: 14px;
	color: var(--g2-text);
}
.g2 .jumbotron p { margin-bottom: 8px; }
.g2 .table { width: 100%; margin-bottom: 16px; color: var(--g2-text); background: none; border-collapse: separate; border-spacing: 0 6px; }
.g2 .table th, .g2 .table td { padding: 11px 14px; border: 0 !important; vertical-align: middle; }
.g2 .table thead th, .g2 .thead-inverse th { color: var(--g2-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: none !important; }
.g2 .table tbody tr { background: var(--g2-inset) !important; }
.g2 .table tbody tr > *:first-child { border-radius: 10px 0 0 10px; }
.g2 .table tbody tr > *:last-child { border-radius: 0 10px 10px 0; }
.g2 .table-hover tbody tr:hover { background: rgba(226, 180, 105, 0.08) !important; color: #fff; }
.g2 .table-striped tbody tr:nth-of-type(odd) { background: rgba(20, 13, 9, 0.85) !important; }
.g2 .table-dark, .g2 .table-dark th, .g2 .table-dark td { background-color: transparent; color: var(--g2-text); }
.g2 .table tbody th { color: var(--g2-gold); }
.g2 .table img { vertical-align: middle; }
.g2 .nav-tabs { display: flex; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; list-style: none; }
.g2 .nav-tabs .nav, .g2 .nav-tabs li { display: block; }
.g2 .nav-tabs .nav-link {
	display: inline-flex; align-items: center; gap: 8px;
	height: 40px; padding: 0 16px;
	border: 1px solid var(--g2-line-2) !important;
	border-radius: 10px !important;
	background: rgba(0, 0, 0, 0.32);
	color: #e8dac3;
	font-weight: 600;
}
.g2 .nav-tabs .nav-link img { width: 22px; height: auto; }
.g2 .nav-tabs .open .nav-link, .g2 .nav-tabs .active .nav-link, .g2 .nav-tabs .nav-link.active { background: linear-gradient(180deg, rgba(226, 180, 105, 0.3), rgba(176, 122, 55, 0.22)); border-color: var(--g2-gold) !important; color: #fff1d3; }
.g2 .pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.g2 .pagination li a, .g2 .pagination li span, .g2 .pagination .page-link {
	display: grid; place-items: center;
	min-width: 38px; height: 38px; padding: 0 12px;
	border: 1px solid var(--g2-line-2);
	border-radius: 9px;
	background: rgba(0, 0, 0, 0.32);
	color: #e8dac3;
	font-weight: 700; font-size: 13.5px;
}
.g2 .pagination li a:hover { border-color: var(--g2-gold); color: var(--g2-gold-2); }
.g2 .pagination li.active a, .g2 .pagination li.active span, .g2 .pagination .active .page-link { background: linear-gradient(180deg, #f1cf88, #b07a37); border-color: #f0cf8a; color: #2b1807; }
.g2 .alert {
	position: relative;
	margin: 0 0 16px;
	padding: 13px 44px 13px 16px;
	border: 1px solid var(--g2-line-2);
	border-radius: 12px;
	background: rgba(226, 180, 105, 0.1);
	color: #f4e5c8;
	opacity: 1;
}
.g2 .alert.fade:not(.show):not(.in) { opacity: 1; }
.g2 .alert-danger { background: rgba(168, 67, 44, 0.22); border-color: rgba(231, 120, 90, 0.5); color: #ffd9cc; }
.g2 .alert-success { background: rgba(111, 178, 124, 0.14); border-color: rgba(111, 178, 124, 0.45); color: #d7f2dc; }
.g2 .alert-info { background: rgba(121, 167, 216, 0.12); border-color: rgba(121, 167, 216, 0.42); color: #dbe9f8; }
.g2 .alert-warning { background: rgba(226, 180, 105, 0.14); }
.g2 .alert a { color: inherit; text-decoration: underline; }
.g2 .alert .close, .g2 .close {
	position: absolute; top: 9px; right: 12px;
	padding: 0 6px;
	border: 0; background: none;
	color: inherit; opacity: .7;
	font-size: 22px; line-height: 1; text-shadow: none;
	cursor: pointer;
}
.g2 .close:hover { opacity: 1; }
.g2 .text-danger { color: #ff9f86 !important; }
.g2 .text-success { color: var(--g2-green) !important; }
.g2 .label, .g2 .tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; }
.g2 .label-danger { background: rgba(207, 90, 60, 0.25); color: #ffc8b5; }
.g2 .modal-content { background: var(--g2-card-2); border: 1px solid var(--g2-line-2); border-radius: 16px; color: var(--g2-text); }
.g2 .modal-header, .g2 .modal-footer { border-color: var(--g2-line); }
.g2 .list-group-item { background: var(--g2-inset); border-color: var(--g2-line); color: var(--g2-text); }
.g2 code, .g2 pre { color: var(--g2-gold-2); background: rgba(0, 0, 0, 0.35); border-radius: 6px; }
.g2 .card { background: var(--g2-inset); border: 1px solid var(--g2-line); border-radius: 14px; }
.g2 .badge { border-radius: 20px; }
/* legal pages pasted from a word processor */
.g2-legal, .g2-legal p, .g2-legal span, .g2-legal font { color: #e1d4bf !important; background: transparent !important; font-family: var(--g2-font) !important; font-size: 14.5px !important; line-height: 1.7 !important; }
.g2-legal h1, .g2-legal h2, .g2-legal h3, .g2-legal b, .g2-legal strong { color: var(--g2-gold-2) !important; }
.g2-legal p { margin: 0 0 12px !important; }

/* ---------------------------------------------------------------- footer */
.g2-foot { position: relative; margin-top: 20px; padding: 46px 0 26px; background: linear-gradient(180deg, rgba(14, 9, 6, 0), rgba(10, 7, 5, 0.96) 30%); border-top: 1px solid var(--g2-line); }
.g2-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.g2-foot__brand img { width: 200px; height: auto; margin-bottom: 10px; }
.g2-foot__brand p { margin: 0; color: var(--g2-muted); font-size: 13.5px; max-width: 320px; }
.g2-foot h5 { margin: 4px 0 14px; color: var(--g2-gold-2); font: 700 13px var(--g2-display); letter-spacing: .14em; text-transform: uppercase; }
.g2-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.g2-foot ul a { color: #d9cbb4; font-size: 14px; }
.g2-foot ul a:hover { color: var(--g2-gold-2); }
.g2-foot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--g2-line); color: var(--g2-dim); font-size: 12.5px; }
.g2-foot__bottom p { margin: 0; color: var(--g2-dim); }
.g2-top {
	position: fixed !important; right: 22px; bottom: 22px; z-index: 40 !important;
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border: 1px solid var(--g2-line-2); border-radius: 12px;
	background: rgba(20, 13, 9, 0.9);
	color: var(--g2-gold);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .2s ease;
	cursor: pointer;
}
.g2-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1199px) {
	.g2-highlights__panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.g2-latest { grid-column: 1 / -1; }
	.g2-latest ul { grid-template-columns: repeat(2, 1fr); }
	.g2-nav__links a { padding: 8px 10px; font-size: 14px; }
}
@media (max-width: 991px) {
	.g2-nav__burger { display: grid; place-items: center; }
	.g2-nav__links {
		position: fixed; top: var(--g2-nav-h); left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 2px;
		padding: 12px 16px 18px;
		background: rgba(16, 10, 7, 0.98);
		border-bottom: 1px solid var(--g2-line);
		box-shadow: var(--g2-shadow);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: all .2s ease;
	}
	.g2-nav.is-open .g2-nav__links { opacity: 1; visibility: visible; transform: none; }
	.g2-nav__links a { padding: 12px 14px; font-size: 15px; }
	.g2-nav__links a.is-active { box-shadow: inset 3px 0 0 var(--g2-gold); border-radius: 8px; }
	.g2-nav__brand { margin-right: auto; }
	.g2-layout { grid-template-columns: minmax(0, 1fr); }
	.g2-aside { order: 2; }
	.g2-content { order: 1; }
	.g2-hero { height: 560px; }
	.g2-highlights__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g2-highlights__panel .g2-ncard:nth-child(3) { display: none; }
	.g2-foot__grid { grid-template-columns: 1fr 1fr; }
	.g2-post__body { grid-template-columns: 160px minmax(0, 1fr); }
}
@media (max-width: 640px) {
	body.g2 { font-size: 14.5px; background-attachment: scroll; }
	.g2-wrap { padding: 0 14px; }
	.g2-nav__side .g2-btn { display: none; }
	.g2-hero { height: 500px; }
	.g2-hero.is-compact { height: 300px; }
	.g2-hero__tag { font-size: 12px; letter-spacing: .2em; }
	.g2-hero__cta .g2-btn { height: 46px; padding: 0 18px; font-size: 13px; }
	.g2-highlights { margin-top: -120px; }
	.g2-highlights__panel { grid-template-columns: minmax(0, 1fr); padding: 12px; }
	.g2-highlights__panel .g2-ncard:nth-child(n+2) { display: none; }
	.g2-latest ul { grid-template-columns: minmax(0, 1fr); }
	.g2-card__head, .g2-card__body, .g2-page .padding-container, .g2-page .page-hd { padding-left: 16px; padding-right: 16px; }
	.g2-post__body { grid-template-columns: minmax(0, 1fr); }
	.g2-posts { padding-left: 20px; }
	.g2-post::before { left: -20px; }
	.g2-actions, .g2-steps { grid-template-columns: minmax(0, 1fr); }
	.g2-foot__grid { grid-template-columns: minmax(0, 1fr); }
	.g2 .table { font-size: 13px; }
	.g2 .table th, .g2 .table td { padding: 9px 8px; }
	.g2-page .padding-container { overflow-x: auto; }
	.g2-tabs a { height: 36px; padding: 0 12px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
	.g2-hero__logo, .g2-embers i, .g2-stat.is-live b::before { animation: none !important; }
	.g2-embers { display: none; }
}

/* ---------------------------------------------------------------- news admin */
.g2-admin { margin-top: 18px; border: 1px dashed var(--g2-line-2); border-radius: 14px; background: rgba(0, 0, 0, 0.22); }
.g2-admin > summary {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 16px;
	color: var(--g2-gold-2);
	font-weight: 700; font-size: 14px;
	cursor: pointer; list-style: none; user-select: none;
}
.g2-admin > summary::-webkit-details-marker { display: none; }
.g2-admin > summary i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(226, 180, 105, 0.16); border: 1px solid var(--g2-line-2); font-size: 12px; }
.g2-admin[open] > summary { border-bottom: 1px solid var(--g2-line); }
.g2-admin .g2-form { padding: 16px; }
.g2-admin__row { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.g2-file { width: 100%; padding: 9px 12px; border: 1px dashed var(--g2-line-2); border-radius: var(--g2-radius-s); background: rgba(8, 5, 3, 0.6); color: var(--g2-muted); font: 500 13.5px var(--g2-font); }
.g2-file::file-selector-button { margin-right: 12px; padding: 6px 12px; border: 1px solid var(--g2-line-2); border-radius: 8px; background: rgba(226, 180, 105, 0.14); color: var(--g2-gold-2); font: 700 12.5px var(--g2-font); cursor: pointer; }
.g2-admin .cke { border-color: var(--g2-line-2) !important; border-radius: 10px; overflow: hidden; }
.g2-article .g2-cover-wrap { margin: 0 0 16px; }
.g2-article .g2-cover { width: 100%; max-height: 420px; object-fit: cover; border: 1px solid var(--g2-line); border-radius: 14px; }
@media (max-width: 640px) { .g2-admin__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- ranking page */
.g2-filters { display: grid; grid-template-columns: minmax(0, 1fr) 170px 170px auto auto; gap: 10px; align-items: center; margin-bottom: 18px; }
.g2-filters .g2-btn { height: 46px; }
.g2-podium--big { max-width: 620px; margin: 6px auto 22px; gap: 18px; }
.g2-podium--big .g2-podium__shield { padding: 18px 10px 26px; }
.g2-podium--big .g2-podium__item.r1 .g2-podium__shield { padding-top: 30px; }
.g2-podium--big .g2-podium__img { width: 84px; height: 84px; }
.g2-podium--big .g2-podium__item.r1 .g2-podium__img { width: 100px; height: 100px; }
.g2-podium--big .g2-podium__num { width: 32px; height: 32px; font-size: 14px; }
.g2-podium--big .g2-podium__name { font-size: 15px; }
.g2-podium__ico { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; border: 2px solid rgba(255, 240, 210, 0.75); background: rgba(20, 13, 9, 0.55); color: #fff2d6; font-size: 26px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }
.g2-podium--big .g2-podium__ico { width: 84px; height: 84px; font-size: 34px; }
.g2-podium--big .g2-podium__item.r1 .g2-podium__ico { width: 100px; height: 100px; font-size: 40px; }
.g2-place { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 8px; background: rgba(226, 180, 105, 0.1); border: 1px solid var(--g2-line); color: var(--g2-gold-2); font-weight: 800; font-size: 13px; }
.g2-rtable tr.r1 .g2-place { background: linear-gradient(180deg, #f2c56f, #a8692a); color: #2b1807; border-color: #f2c56f; }
.g2-rtable tr.r2 .g2-place { background: linear-gradient(180deg, #c3ccd4, #69737d); color: #15191d; border-color: #c3ccd4; }
.g2-rtable tr.r3 .g2-place { background: linear-gradient(180deg, #e3a079, #8a4627); color: #200d05; border-color: #e3a079; }
.g2-rtable tr.is-top td, .g2-rtable tr.is-top th { background: rgba(226, 180, 105, 0.07); }
.g2-who { display: inline-flex; align-items: center; gap: 10px; color: #f6e6c9; font-weight: 700; }
.g2-who img { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--g2-line-2); object-fit: cover; }
.g2-flag { width: 26px; height: auto; border-radius: 3px; margin-right: 6px; }
@media (max-width: 991px) { .g2-filters { grid-template-columns: 1fr 1fr; } .g2-filters .g2-input { grid-column: 1 / -1; } }
@media (max-width: 640px) { .g2-filters { grid-template-columns: minmax(0, 1fr); } .g2-podium--big { gap: 8px; } .g2-podium--big .g2-podium__img, .g2-podium--big .g2-podium__ico { width: 60px; height: 60px; font-size: 24px; } .g2-podium--big .g2-podium__item.r1 .g2-podium__img, .g2-podium--big .g2-podium__item.r1 .g2-podium__ico { width: 72px; height: 72px; } }

/* ---------------------------------------------------------------- account forms / 2FA */
.g2-captcha-row { display: flex; align-items: center; gap: 10px; }
.g2-captcha-row img { height: 46px; width: auto; border: 1px solid var(--g2-line-2); border-radius: 10px; background: #fff; }
.g2-captcha-row input { flex: 1 1 auto; font-size: 20px !important; letter-spacing: .2em; }
.g2-steps2 { display: grid; gap: 16px; margin-top: 18px; }
.g2-step2 { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px; background: var(--g2-inset); border: 1px solid var(--g2-line); border-radius: 14px; }
.g2-step2 > b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(226, 180, 105, 0.18); border: 1px solid var(--g2-gold); color: var(--g2-gold-2); font-weight: 800; }
.g2-step2 p { margin: 0 0 10px; color: #e1d4bf; font-size: 14px; }
.g2-step2 .g2-action p { font-size: 13px; }
.g2-qrbox { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
#g2-qr { padding: 10px; background: #f6ead2; border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }
#g2-qr img, #g2-qr canvas { display: block; }
.g2-secret { margin-top: 4px; padding: 8px 14px; border: 1px dashed var(--g2-gold); border-radius: 10px; background: rgba(0, 0, 0, 0.35); color: var(--g2-gold-2); font: 700 18px/1.4 Consolas, "Courier New", monospace; letter-spacing: .12em; word-break: break-all; }
@media (max-width: 991px) { .g2-step2 .g2-actions { grid-template-columns: minmax(0, 1fr) !important; } }

/* ---------------------------------------------------------------- admin pages inside the site (Bootstrap list groups, cards, forms) */
.g2 .list-group { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; }
.g2 .list-group-item { display: block; margin: 0; padding: 14px 16px; background: var(--g2-inset); border: 1px solid var(--g2-line) !important; border-radius: 12px !important; color: var(--g2-text); }
.g2 .list-group-item.active { background: linear-gradient(180deg, rgba(226, 180, 105, 0.22), rgba(176, 122, 55, 0.12)); border-color: var(--g2-line-2) !important; color: var(--g2-gold-2); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.g2 a.list-group-item:hover { border-color: var(--g2-gold) !important; background: rgba(226, 180, 105, 0.07); }
.g2 .list-group-item-heading { margin: 0 0 4px; color: #f3e3c6; font: 700 15.5px var(--g2-font); }
.g2 .list-group-item-heading i { color: var(--g2-gold); margin-right: 6px; }
.g2 .list-group-item-text { margin: 0; font-size: 13px; }
.g2 .card-block, .g2 .card-body { padding: 16px; }
.g2 .form-group { margin-bottom: 14px; }
.g2 label { color: #e8dac3; font-weight: 600; font-size: 13.5px; }
.g2 .custom-control-label::before { background: rgba(0, 0, 0, 0.4); border-color: var(--g2-line-2); }
.g2 .custom-control-input:checked ~ .custom-control-label::before { background: var(--g2-gold-3); border-color: var(--g2-gold); }
.g2 .badge-success, .g2 .tag-success { background: rgba(111, 178, 124, 0.25); color: #c8efd0; }
.g2 .badge-danger, .g2 .tag-danger { background: rgba(207, 90, 60, 0.25); color: #ffc8b5; }
.g2 .badge-info, .g2 .tag-info { background: rgba(121, 167, 216, 0.22); color: #d6e6f8; }
.g2 .dropdown-menu { background: var(--g2-card-2); border: 1px solid var(--g2-line-2); border-radius: 12px; }
.g2 .dropdown-item { color: var(--g2-text); }
.g2 .dropdown-item:hover { background: rgba(226, 180, 105, 0.1); color: var(--g2-gold-2); }

/* opening countdown under the home tagline (while the landing page is on) */
.g2-opening { display: inline-flex; align-items: center; gap: 10px; margin: 2px auto 22px; padding: 9px 18px; border: 1px solid var(--g2-line-2); border-radius: 999px; background: rgba(10, 7, 5, 0.6); color: var(--g2-gold-2); font: 600 14px var(--g2-font); text-decoration: none; transition: background .2s, border-color .2s; }
.g2-opening:hover { background: rgba(226, 180, 105, 0.12); border-color: var(--g2-gold); color: #fff1d6; text-decoration: none; }
.g2-opening i { color: var(--g2-gold); }
.g2-opening b { padding-left: 10px; border-left: 1px solid var(--g2-line-2); color: #fff1d6; font: 700 14px var(--g2-font); font-variant-numeric: tabular-nums; }
.g2-opening b:empty { display: none; }
@media (max-width: 560px) { .g2-opening { flex-wrap: wrap; justify-content: center; font-size: 13px; border-radius: 14px; } }

/* ---------------------------------------------------------------- Discord tab on the right edge (every page) */
.g2 a.g2-discord {
	position: fixed; right: 0; top: 50%; z-index: 45;
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	width: 50px; padding: 14px 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.22); border-right: 0; border-radius: 14px 0 0 14px;
	background: linear-gradient(180deg, #5865f2 0%, #4450d6 100%);
	color: #fff; text-decoration: none;
	box-shadow: -6px 10px 26px rgba(0, 0, 0, 0.45);
	transform: translateY(-50%);
	transition: width .2s ease, background .2s ease, box-shadow .2s ease;
}
.g2 a.g2-discord:hover {
	width: 58px; color: #fff;
	background: linear-gradient(180deg, #6873ff 0%, #4f5be6 100%);
	box-shadow: -8px 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(88, 101, 242, 0.25);
}
.g2-discord__icon { font-size: 26px; line-height: 1; animation: g2-discord-bob 2.8s ease-in-out infinite; }
.g2-discord__txt {
	writing-mode: vertical-rl; transform: rotate(180deg);
	font: 800 12.5px/1 var(--g2-font); letter-spacing: 2px; text-transform: uppercase; white-space: nowrap;
}
@keyframes g2-discord-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (max-width: 760px) {
	/* phones: a round button at the bottom right, above the "top" button, nothing over the text */
	.g2 a.g2-discord, .g2 a.g2-discord:hover {
		top: auto; right: 16px; bottom: 78px; transform: none;
		width: 54px; height: 54px; padding: 0; gap: 0; justify-content: center;
		border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%;
	}
	.g2-discord__icon { font-size: 25px; }
	.g2-discord__txt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .g2-discord__icon { animation: none; } }

/* ---------------------------------------------------------------- announcements: plain HTML from the editor looks finished */
.g2-article h2 { font: 700 24px/1.3 "Cinzel", var(--g2-font); color: var(--g2-gold-2); }
.g2-article h3 { font: 700 19px/1.3 "Cinzel", var(--g2-font); color: var(--g2-gold); padding-bottom: 6px; border-bottom: 1px solid var(--g2-line); }
.g2-article blockquote {
	margin: 18px 0; padding: 16px 20px;
	border: 1px solid var(--g2-line-2); border-left: 4px solid var(--g2-gold); border-radius: 12px;
	background: linear-gradient(90deg, rgba(226, 180, 105, 0.12), rgba(226, 180, 105, 0.03));
	color: #f3e6cf; font-size: 16px;
}
.g2-article blockquote p { margin: 0; }
.g2-article blockquote strong { color: var(--g2-gold-2); }
.g2-article ul li { margin: 0 0 6px; }
.g2-article ul li strong { color: var(--g2-gold-2); }
.g2-article hr { margin: 22px 0; border: 0; border-top: 1px solid var(--g2-line-2); }
/* a Discord link in an article becomes a Discord button */
.g2 .g2-article a[href*="discord.gg"], .g2 .g2-article a[href*="discord.com/invite"] {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 11px 22px; border-radius: 10px;
	background: linear-gradient(180deg, #5865f2, #4450d6);
	color: #fff; font-weight: 800; text-decoration: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.g2 .g2-article a[href*="discord.gg"]::before, .g2 .g2-article a[href*="discord.com/invite"]::before {
	content: "\f392"; font-family: "Font Awesome 5 Brands"; font-weight: 400; font-size: 18px;
}
.g2 .g2-article a[href*="discord.gg"]:hover, .g2 .g2-article a[href*="discord.com/invite"]:hover { background: linear-gradient(180deg, #6873ff, #4f5be6); color: #fff; }

/* ---------------------------------------------------------------- news list: formatted preview of long articles */
.g2-article--preview { font-size: 15px; line-height: 1.6; }
.g2-article--preview p { margin: 0 0 10px; }
.g2-article--preview blockquote { margin: 4px 0 12px; padding: 12px 16px; font-size: 15px; }
.g2-article--preview blockquote p { margin: 0; }
.g2-article--preview ul, .g2-article--preview ol { margin: 0 0 10px; }

/* ---------------------------------------------------------------- home with the news panel over the hero:
   the hero grows with its content (logo, slogan, opening strip, buttons) and keeps room under the buttons
   for the panel, so nothing is covered and the content stays centred in the visible part */
.g2-hero.has-news { display: flex; flex-direction: column; height: auto; min-height: 690px; }
.g2-hero.has-news .g2-hero__in { flex: 1; height: auto; padding-top: 14px; padding-bottom: 204px; }
@media (max-width: 640px) {
	.g2-hero.has-news { min-height: 520px; }
	.g2-hero.has-news .g2-hero__in { padding-top: 24px; padding-bottom: 152px; }
}

/* ---------------------------------------------------------------- home: cards that fill the news row while there are few articles */
.g2-ncard--promo .g2-ncard__body { display: flex; flex-direction: column; flex: 1; }
.g2-ncard__text { margin: 6px 0 0; color: var(--g2-muted); font-size: 13px; line-height: 1.45; }
.g2-ncard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; color: var(--g2-gold); font-weight: 700; font-size: 13px; }
.g2-ncard--promo:hover .g2-ncard__go { color: var(--g2-gold-2); }
.g2-ncard__go i { font-size: 11px; transition: transform .2s ease; }
.g2-ncard--promo:hover .g2-ncard__go i { transform: translateX(3px); }
.g2-ncard__img--discord {
	display: grid; place-items: center;
	background:
		radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0) 45%),
		linear-gradient(160deg, #6a75ff 0%, #5865f2 45%, #3b44b5 100%);
}
.g2-ncard__img--discord i { position: relative; z-index: 1; font-size: 64px; color: #fff; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35)); transition: transform .35s ease; }
.g2-ncard--discord:hover .g2-ncard__img--discord i { transform: scale(1.08) rotate(-4deg); }
.g2-badge--discord { color: #c9ceff; background: rgba(88, 101, 242, 0.18); border-color: rgba(88, 101, 242, 0.55); }
.g2-ncard--discord .g2-ncard__go, .g2-ncard--discord:hover .g2-ncard__go { color: #aab2ff; }
