/* Grimoria theme: dark navy + gold palette with translucent (glass) panels. */
:root {
	--bg: #121925;
	--navy-1: #1a2332;
	--navy-2: #232d3f;
	--navy-3: #2a3649;
	--navy-4: #3a4556;
	--gold: #ffb72d;
	--gold-2: #c4a24d;
	--gold-3: #b8860b;
	--text: #f0e6d2;
	--muted: #a9b1c0;
	--green: #22c55e;
	--red: #ef4444;

	--glass: rgba(26, 35, 50, 0.72);
	--glass-strong: rgba(26, 35, 50, 0.88);
	--glass-soft: rgba(35, 45, 63, 0.55);
	--line: rgba(255, 183, 45, 0.18);
	--line-soft: rgba(240, 230, 210, 0.08);
	--radius: 14px;
	--shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--text);
	font: 15px/1.6 'Roboto', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Fixed artwork behind everything, tinted with the navy palette. */
.backdrop {
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(1200px 600px at 50% -10%, rgba(255, 183, 45, 0.16), transparent 60%),
		linear-gradient(180deg, rgba(18, 25, 37, 0.55) 0%, rgba(18, 25, 37, 0.92) 55%, var(--bg) 100%),
		url('../tibiacom/images/header/background-artwork.jpg') center top / cover no-repeat;
}

a { color: var(--gold); text-decoration: none; transition: color .15s; }
a:hover { color: #ffd27a; }

h1, h2, h3, h4 { color: var(--text); line-height: 1.25; }
h1, h2 { font-family: 'Cinzel', Georgia, serif; letter-spacing: .02em; }

img { max-width: 100%; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 20px; }

/* ---------- Buttons ---------- */
.btn, input[type="submit"], input[type="button"], button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--glass-soft);
	color: var(--text);
	font: 600 14px/1 'Roboto', sans-serif;
	cursor: pointer;
	transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
	backdrop-filter: blur(6px);
}
.btn:hover, input[type="submit"]:hover, input[type="button"]:hover, button[type="submit"]:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 183, 45, 0.5);
	color: var(--text);
}
.btn-gold, input[type="submit"], button[type="submit"] {
	background: linear-gradient(180deg, var(--gold) 0%, var(--gold-3) 100%);
	border-color: transparent;
	color: #1a1204;
	box-shadow: 0 6px 18px rgba(255, 183, 45, 0.22);
}
.btn-gold:hover, input[type="submit"]:hover, button[type="submit"]:hover {
	color: #1a1204;
	box-shadow: 0 8px 24px rgba(255, 183, 45, 0.35);
}
.btn-ghost { background: rgba(255, 255, 255, 0.04); }
.btn-link { background: none; border-color: transparent; color: var(--muted); }
.btn-link:hover { color: var(--text); border-color: transparent; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* Attention-grabbing button: gold border with a glow ring that pulses outwards. */
.btn-pulse {
	position: relative;
	border-color: rgba(255, 183, 45, 0.75);
	color: var(--gold);
	animation: btn-pulse 1.8s ease-out infinite;
}
.btn-pulse:hover { color: #ffd27a; animation-play-state: paused; }
.btn-gold.btn-pulse, .btn-gold.btn-pulse:hover { color: #1a1204; border-color: transparent; }
@keyframes btn-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 183, 45, 0.55); transform: scale(1); }
	50% { transform: scale(1.05); }
	70% { box-shadow: 0 0 0 14px rgba(255, 183, 45, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 183, 45, 0); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.btn-pulse { animation: none; box-shadow: 0 0 0 3px rgba(255, 183, 45, 0.35); }
}
.btn-block { display: flex; width: 100%; margin-top: 10px; }

/* ---------- Top bar ---------- */
.topbar {
	position: sticky;
	top: env(safe-area-inset-top, 0px);
	z-index: 50;
	background: rgba(18, 25, 37, 0.72);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(14px);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.brand {
	font: 900 26px/1 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	letter-spacing: .06em;
	background: linear-gradient(180deg, #ffe3a3, var(--gold) 55%, var(--gold-3));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: nowrap;
}
.brand:hover { color: transparent; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
	padding: 10px 14px;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--text);
	font: 600 14px/1 'Roboto', sans-serif;
	cursor: pointer;
}
.nav-link:hover, .nav-item.active .nav-link { color: var(--gold); background: rgba(255, 183, 45, 0.08); }
.nav-link::after { content: '▾'; margin-left: 6px; font-size: 11px; opacity: .6; }

.dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 220px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--glass-strong);
	box-shadow: var(--shadow);
	backdrop-filter: blur(14px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-item:hover .dropdown, .nav-item.open .dropdown, .nav-item:focus-within .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 14px; }
.dropdown a:hover { background: rgba(255, 183, 45, 0.1); color: var(--gold); }

.topbar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border: 1px solid var(--line-soft);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.status-pill i, .server-status i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
}
.status-pill.online i, .server-status.online i {
	background: var(--green);
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; }
.hero-title {
	margin: 0;
	font: 900 clamp(44px, 9vw, 96px)/1.05 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	letter-spacing: .06em;
	background: linear-gradient(180deg, #fff1cf, var(--gold) 60%, var(--gold-3));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 6px 24px rgba(255, 183, 45, 0.28));
}
.hero-subtitle { max-width: 620px; margin: 14px auto 28px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Layout ---------- */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	padding-block: 28px 48px;
}

.panel {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--glass);
	box-shadow: var(--shadow);
	backdrop-filter: blur(12px);
}
.content-column, .sidebar { min-width: 0; }
.panel + .panel { margin-top: 20px; }

.panel-title {
	margin: 0;
	padding: 18px 24px;
	border-bottom: 1px solid var(--line);
	font-size: 22px;
	color: var(--gold);
}
.panel-body { padding: 22px 24px; overflow-x: auto; }

.sidebar .box { padding: 20px; }
.sidebar .box + .box { margin-top: 20px; }
.box-title { margin: 0 0 14px; font-size: 17px; color: var(--gold); }
.muted { color: var(--muted); }

.server-status { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.server-status.online { color: var(--green); }
.server-status.offline { color: var(--red); }

.stat-list { list-style: none; margin: 14px 0 0; padding: 0; }
.stat-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-top: 1px solid var(--line-soft);
	font-size: 14px;
}
.stat-list span { color: var(--muted); }

.login-form { display: grid; gap: 10px; }
.box-links { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; }

.top-list { list-style: none; margin: 0; padding: 0; }
.top-list li {
	display: grid;
	grid-template-columns: 28px 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid var(--line-soft);
	font-size: 14px;
}
.top-list li:first-child { border-top: 0; }
.top-list .rank {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: rgba(255, 183, 45, 0.12);
	color: var(--gold);
	font-weight: 700;
	font-size: 13px;
}
.top-list li:first-child .rank { background: linear-gradient(180deg, var(--gold), var(--gold-3)); color: #1a1204; }
.top-list .level { color: var(--muted); font-size: 13px; }
.top-list a.is-online { color: var(--green); }
.top-list a.is-offline { color: var(--red); }

.vip-box {
	background:
		radial-gradient(300px 160px at 100% 0%, rgba(255, 183, 45, 0.22), transparent 70%),
		var(--glass);
}
.vip-box p { margin: 0; color: var(--muted); font-size: 14px; }

.footer {
	padding: 26px 0 40px;
	border-top: 1px solid var(--line);
	background: rgba(18, 25, 37, 0.7);
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}
.template-form { margin-top: 10px; }

/* ---------- Forms ---------- */
input:not([type]), input[type="text"], input[type="password"], input[type="email"], input[type="number"], select, textarea {
	width: 100%;
	max-width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--line-soft);
	border-radius: 10px;
	background: rgba(10, 15, 24, 0.55);
	color: var(--text);
	font: 14px 'Roboto', sans-serif;
	transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: rgba(255, 183, 45, 0.6);
	box-shadow: 0 0 0 3px rgba(255, 183, 45, 0.15);
}
select option { background: var(--navy-1); color: var(--text); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--gold); }
td input:not([type]), td input[type="text"], td input[type="password"], td select { width: auto; min-width: 220px; }
label { cursor: pointer; }

/* ---------- Content produced by MyAAC pages ---------- */
.Content table { border-collapse: separate; border-spacing: 0; max-width: 100%; color: var(--text); }
.Content td, .Content th { padding: 9px 12px; }
.Content table[border="1"], .Content table[border="1"] td { border-color: var(--line-soft); }
.Content .white, .Content .white b, .Content .white a { color: var(--gold) !important; }
.Content hr { border: 0; border-top: 1px solid var(--line); }
.Content small { color: var(--muted); }

/* Row colors from config.ini, rendered translucent (keep values in sync with config.ini). */
[bgcolor="#1c2638"], [style*="#1c2638"] { background-color: rgba(28, 38, 56, 0.55) !important; }
[bgcolor="#222d40"], [style*="#222d40"] { background-color: rgba(58, 69, 86, 0.28) !important; }
[bgcolor="#2e3a50"], [style*="#2e3a50"] {
	background-color: rgba(255, 183, 45, 0.12) !important;
	color: var(--gold);
	font-weight: 600;
}
.Content tr:hover > td[bgcolor], .Content tr[bgcolor]:not([bgcolor="#2e3a50"]):hover { background-color: rgba(255, 183, 45, 0.07) !important; }
.Content table[cellspacing="1"] { border-spacing: 0; border-radius: 10px; overflow: hidden; }
/* Light hardcoded borders (e.g. account creation form) toned down to the theme. */
.Content table[style*="border:1px solid"] { border-color: var(--line-soft) !important; border-radius: 10px; }
/* Status colors hardcoded by MyAAC: offline names in normal text, online in theme green. */
.Content a > span[style*="color: red"] { color: var(--text) !important; }
.Content [style*="color: green"] { color: var(--green) !important; }
.Content [style*="color: red"] { color: #f87171 !important; }

/* Messages from success()/warning()/note()/error(). */
.success, .warning, .note, .info, .error, .SmallBox {
	padding: 12px 16px;
	border: 1px solid;
	border-radius: 10px;
	backdrop-filter: blur(6px);
}
.success { border-color: rgba(34, 197, 94, 0.45); background: rgba(34, 197, 94, 0.12); }
.warning, .note { border-color: rgba(255, 183, 45, 0.45); background: rgba(255, 183, 45, 0.1); }
.info { border-color: rgba(88, 101, 242, 0.45); background: rgba(88, 101, 242, 0.12); }
.error, .SmallBox { border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.12); }
.SmallBox li { margin-left: 18px; }
.red, .FormFieldError { color: #fca5a5; }

/* News */
.news-card { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.news-card:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.news-card h2 { margin: 0 0 6px; font-size: 22px; color: var(--gold); }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.news-meta img { width: 20px; height: 20px; }
.news-content { overflow-wrap: anywhere; }
.news-content img { height: auto; border-radius: 8px; }
.news-comments { margin-top: 12px; text-align: right; font-size: 14px; }

.tickers { margin-bottom: 20px; padding: 16px 20px; }
.tickers h2 { margin: 0 0 10px; font-size: 16px; color: var(--gold); }
.ticker { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.ticker:first-of-type { border-top: 0; }
.ticker p { margin: 0 0 6px; }
.ticker > div > :last-child, .ticker > div > br:last-child { margin-bottom: 0; }
.ticker br + br { display: none; }
.ticker time { color: var(--muted); }

/* Account page */
.account-grid { display: grid; gap: 18px; }
.account-card { padding: 18px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.account-card h2 { margin: 0 0 12px; font-size: 18px; color: var(--gold); }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { padding: 10px; border-bottom: 1px solid var(--line); color: var(--gold); text-align: left; font-weight: 600; }
.data-table td { padding: 10px; border-bottom: 1px solid var(--line-soft); }
.data-table tr:hover td { background: rgba(255, 183, 45, 0.05); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.actions form { margin: 0; }
.tag-online { color: var(--green); font-weight: 600; }
.tag-offline { color: var(--muted); }
.tag-deleted { color: var(--red); font-weight: 600; }

/* Downloads page (content lives in the MyAAC "downloads" page). */
.dl-hero {
	padding: 28px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: radial-gradient(420px 200px at 50% 0%, rgba(255, 183, 45, 0.18), transparent 70%), rgba(255, 255, 255, 0.03);
	text-align: center;
}
.dl-hero h2 { margin: 0 0 6px; font-size: 26px; color: var(--gold); }
.dl-hero p { margin: 0 0 20px; color: var(--muted); }
.dl-hero .btn { padding: 15px 30px; font-size: 16px; }
.dl-meta { margin-top: 14px !important; margin-bottom: 0 !important; font-size: 13px; }
.dl-section { margin-top: 26px; }
.dl-section h3 { margin: 0 0 12px; font-family: 'Cinzel', Georgia, serif; font-size: 19px; color: var(--gold); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
	position: relative;
	padding: 18px 16px 16px 58px;
	border: 1px solid var(--line-soft);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	counter-increment: step;
}
.steps li::before {
	content: counter(step);
	position: absolute;
	top: 16px;
	left: 16px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--gold), var(--gold-3));
	color: #1a1204;
	font-weight: 700;
}
.steps b { display: block; margin-bottom: 4px; color: var(--text); }
.steps span { color: var(--muted); font-size: 14px; }
.req-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.req-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.req-table td:first-child { width: 38%; color: var(--muted); }
.faq-item { padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--text); }
.faq-item p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* Account creation page */
.create-hero {
	margin-bottom: 22px;
	padding: 26px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: radial-gradient(480px 220px at 50% 0%, rgba(255, 183, 45, 0.2), transparent 70%), rgba(255, 255, 255, 0.03);
	text-align: center;
}
.create-hero h2 { margin: 0 0 6px; font-size: 28px; color: var(--gold); }
.create-hero p { margin: 0; color: var(--muted); }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.perks li {
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 183, 45, 0.08);
	font-size: 13px;
}
.perks b { color: var(--gold); }

.create-form { display: grid; gap: 18px; }
.create-step {
	padding: 22px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
}
.create-step > header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.create-step h3 { margin: 0; font-family: 'Cinzel', Georgia, serif; font-size: 20px; color: var(--gold); }
.create-step header p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.step-num {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--gold), var(--gold-3));
	color: #1a1204;
	font: 700 17px/1 'Cinzel', Georgia, serif;
	box-shadow: 0 0 0 5px rgba(255, 183, 45, 0.12);
}

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .create-step .label { font-weight: 600; font-size: 14px; }
.create-step .label { display: block; margin: 20px 0 10px; }
.field .label { margin: 0; }
.field small { font-size: 12px; }
.input-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.input-wrap input, .input-wrap select { flex: 1; min-width: 0; }
.input-wrap img { flex: none; }
.FormFieldError:empty { display: none; }
.FormFieldError { font-size: 13px; }
#SuggestAccountNumber { font-size: 12px; }

/* Radio "cards": the input is hidden and the card shows the selected state. */
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice-body {
	display: block;
	height: 100%;
	border: 1px solid var(--line-soft);
	border-radius: 12px;
	background: rgba(10, 15, 24, 0.45);
	transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.choice:hover .choice-body { border-color: rgba(255, 183, 45, 0.45); transform: translateY(-2px); }
.choice input:checked + .choice-body {
	border-color: var(--gold);
	background: linear-gradient(180deg, rgba(255, 183, 45, 0.16), rgba(255, 183, 45, 0.04));
	box-shadow: 0 0 0 3px rgba(255, 183, 45, 0.18), 0 10px 24px rgba(0, 0, 0, 0.3);
}
.choice input:focus-visible + .choice-body { outline: 2px solid var(--gold); outline-offset: 2px; }

.choice-row { display: flex; gap: 10px; }
.choice-pill { flex: 1; }
.choice-pill .choice-body { padding: 11px 14px; text-align: center; font-weight: 600; }

.vocation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.vocation-card .choice-body { display: flex; flex-direction: column; align-items: center; padding: 16px 12px 14px; text-align: center; }
.vocation-card img {
	height: 150px;
	width: auto;
	margin-bottom: 10px;
	object-fit: contain;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55)) saturate(.9);
	transition: transform .2s, filter .2s;
}
.vocation-card:hover img, .vocation-card input:checked + .choice-body img { transform: scale(1.06); filter: drop-shadow(0 10px 22px rgba(255, 183, 45, 0.35)) saturate(1.1); }
.vocation-card b { font-family: 'Cinzel', Georgia, serif; font-size: 17px; color: var(--gold); }
.vocation-card small { margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

.town-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; }
.town-card .choice-body { padding: 16px 14px; text-align: center; }
.town-card b { display: block; font-family: 'Cinzel', Georgia, serif; font-size: 17px; color: var(--text); }
.town-card input:checked + .choice-body b { color: var(--gold); }
.town-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }

.create-finish { display: grid; justify-items: center; gap: 14px; padding: 8px 0 4px; text-align: center; }
.rules-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.rules-check input { width: 18px; height: 18px; }
.create-submit { padding: 16px 34px; font-size: 16px; }
.create-finish .muted { margin: 0; font-size: 14px; }

/* VIP sales page (content lives in the MyAAC "vip" page). */
.vip-page { display: grid; gap: 34px; }
.vip-page h3 {
	margin: 0 0 6px;
	font-family: 'Cinzel', Georgia, serif;
	font-size: 24px;
	color: var(--gold);
	text-align: center;
}
.vip-page .section-sub { margin: 0 0 20px; color: var(--muted); text-align: center; }

.vip-hero {
	position: relative;
	overflow: hidden;
	padding: 44px 24px 38px;
	border: 1px solid rgba(255, 183, 45, 0.55);
	border-radius: 18px;
	background:
		radial-gradient(520px 260px at 50% 0%, rgba(255, 183, 45, 0.32), transparent 70%),
		radial-gradient(400px 300px at 100% 100%, rgba(196, 162, 77, 0.18), transparent 70%),
		linear-gradient(180deg, rgba(42, 54, 73, 0.9), rgba(18, 25, 37, 0.92));
	box-shadow: 0 0 0 1px rgba(255, 183, 45, 0.12) inset, 0 24px 60px rgba(0, 0, 0, 0.45);
	text-align: center;
}
.vip-hero::after {
	content: '';
	position: absolute;
	inset: -40% -60%;
	background: linear-gradient(115deg, transparent 42%, rgba(255, 227, 163, 0.14) 50%, transparent 58%);
	animation: vip-sheen 6s ease-in-out infinite;
	pointer-events: none;
}
@keyframes vip-sheen { 0%, 55% { transform: translateX(-40%); } 100% { transform: translateX(40%); } }
.vip-crown { width: 74px; height: 74px; filter: drop-shadow(0 8px 22px rgba(255, 183, 45, 0.45)); }
.vip-badge {
	display: inline-block;
	margin-top: 10px;
	padding: 5px 14px;
	border: 1px solid rgba(255, 183, 45, 0.6);
	border-radius: 999px;
	background: rgba(255, 183, 45, 0.12);
	color: var(--gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.vip-hero h2 {
	margin: 14px 0 10px;
	font: 900 clamp(34px, 5vw, 52px)/1.1 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	background: linear-gradient(180deg, #fff1cf, var(--gold) 60%, var(--gold-3));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.vip-hero p { max-width: 560px; margin: 0 auto; color: var(--text); font-size: 17px; }
.vip-hero .hero-actions { margin-top: 26px; }
.vip-hero .btn { padding: 15px 28px; font-size: 16px; }

.vip-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vip-benefit {
	padding: 22px 18px;
	border: 1px solid var(--line-soft);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.vip-benefit:hover { transform: translateY(-4px); border-color: rgba(255, 183, 45, 0.5); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35); }
.vip-benefit .ico {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(255, 183, 45, 0.25), rgba(255, 183, 45, 0.06));
	border: 1px solid rgba(255, 183, 45, 0.35);
	color: var(--gold);
}
.vip-benefit .ico svg { width: 26px; height: 26px; }
.vip-benefit b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--text); }
.vip-benefit .big { display: block; margin-bottom: 4px; font: 700 26px/1 'Cinzel', Georgia, serif; color: var(--gold); }
.vip-benefit span { color: var(--muted); font-size: 14px; }

.vip-rates { width: 100%; max-width: 620px; margin: 0 auto; border-collapse: collapse; font-size: 15px; }
.vip-rates th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; text-align: center; }
.vip-rates td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); text-align: center; }
.vip-rates td:first-child, .vip-rates th:first-child { text-align: left; }
.vip-rates .vip-col { color: var(--gold); font-weight: 700; background: rgba(255, 183, 45, 0.06); }

.vip-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.vip-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 22px 22px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.035);
	text-align: center;
}
.vip-plan.featured {
	border-color: var(--gold);
	background: radial-gradient(300px 160px at 50% 0%, rgba(255, 183, 45, 0.22), transparent 70%), rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 3px rgba(255, 183, 45, 0.15), 0 22px 50px rgba(0, 0, 0, 0.45);
	transform: translateY(-8px);
}
.vip-plan .ribbon {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	padding: 5px 14px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--gold), var(--gold-3));
	color: #1a1204;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.vip-plan .days { font: 700 20px/1 'Cinzel', Georgia, serif; color: var(--text); }
.vip-plan .price { margin: 16px 0 2px; font: 800 44px/1 'Roboto', sans-serif; color: var(--gold); }
.vip-plan .price small { font-size: 20px; font-weight: 700; vertical-align: top; margin-right: 2px; }
.vip-plan .per { color: var(--muted); font-size: 13px; }
.vip-plan .save { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(34, 197, 94, 0.15); color: #4ade80; font-size: 12px; font-weight: 700; }
.vip-plan ul { margin: 18px 0 20px; padding: 0; list-style: none; text-align: left; font-size: 14px; }
.vip-plan li { padding: 6px 0 6px 24px; position: relative; color: var(--text); }
.vip-plan li::before { content: '✓'; position: absolute; left: 2px; color: var(--gold); font-weight: 800; }
.vip-plan .btn { margin-top: auto; }

.vip-steps { max-width: 820px; margin: 0 auto; }
.vip-faq { max-width: 760px; margin: 0 auto; }
.vip-final {
	padding: 30px 22px;
	border: 1px solid rgba(255, 183, 45, 0.45);
	border-radius: 18px;
	background: radial-gradient(460px 200px at 50% 100%, rgba(255, 183, 45, 0.2), transparent 70%), rgba(255, 255, 255, 0.03);
	text-align: center;
}
.vip-final h3 { margin-bottom: 8px; }
.vip-final p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.vocation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vip-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.vocation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
	.sidebar .box + .box { margin-top: 0; }
}

@media (max-width: 860px) {
	.topbar-inner { flex-wrap: wrap; gap: 12px; padding-block: 10px; }
	.nav-toggle {
		display: inline-flex;
		flex-direction: column;
		gap: 4px;
		margin-left: auto;
		padding: 10px;
		border: 1px solid var(--line);
		border-radius: 8px;
		background: none;
		cursor: pointer;
	}
	.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); }
	.nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; }
	.nav-open .nav { display: flex; }
	.nav-link { width: 100%; text-align: left; }
	.dropdown {
		position: static;
		display: none;
		margin: 4px 0 8px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.nav-item.open .dropdown { display: block; }
	.topbar-actions { order: 2; margin-left: 0; }
	.hero { padding: 44px 0 24px; }
	.hero-title { font-size: clamp(28px, 9vw, 44px); overflow-wrap: anywhere; }
	.brand { font-size: 19px; white-space: normal; }
	.ticker { grid-template-columns: 1fr; gap: 2px; }
	.sidebar { grid-template-columns: minmax(0, 1fr); }
	.field-grid { grid-template-columns: minmax(0, 1fr); }
	.vocation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vocation-card img { height: 110px; }
	.create-step { padding: 18px 14px; }
	.create-submit { width: 100%; padding: 15px 16px; }
	.vip-benefits, .vip-plans { grid-template-columns: minmax(0, 1fr); }
	.vip-plan.featured { transform: none; }
	.vip-hero { padding: 34px 16px 30px; }
	.vip-hero .btn { width: 100%; }
	.panel-body { padding: 18px 16px; }
	.kv { grid-template-columns: 1fr; }
	td input[type="text"], td input[type="password"], td select { min-width: 0; width: 100%; }
}

/* ==========================================================================
   Dark classic style (square corners, charcoal panels, parchment titles).
   Placed last so it overrides the palette and shapes defined above.
   ========================================================================== */
:root {
	--bg: #0b0b0c;
	--navy-1: #141516;
	--navy-2: #1b1c1d;
	--navy-3: #232526;
	--navy-4: #2f3338;
	--text: #dcdcdc;
	--muted: #9c9c9c;
	--parchment: #f1e0c6;
	--glass: rgba(18, 19, 20, 0.94);
	--glass-strong: rgba(14, 15, 16, 0.97);
	--glass-soft: rgba(33, 35, 36, 0.9);
	--line: #2b2f30;
	--line-soft: rgba(255, 255, 255, 0.06);
	--radius: 0;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Square corners everywhere; only the small online indicator stays round. */
*, *::before, *::after { border-radius: 0 !important; }
.status-pill i, .server-status i { border-radius: 50% !important; }

body { font-family: 'Roboto', Arial, Helvetica, sans-serif; font-size: 14px; }

.backdrop {
	background:
		linear-gradient(180deg, rgba(11, 11, 12, 0.35) 0%, rgba(11, 11, 12, 0.88) 50%, var(--bg) 85%),
		url('../tibiacom/images/header/background-artwork.jpg') center top / cover no-repeat;
}

/* Titles: Cinzel uppercase in parchment tone. */
h1, h2, h3, .panel-title, .box-title, .tickers h2, .dl-section h3, .create-step h3, .vip-page h3, .news-card h2 {
	font-family: 'Cinzel', Georgia, serif;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.panel-title, .box-title, .tickers h2, .dl-section h3, .create-step h3, .vip-page h3, .account-card h2, .news-card h2 {
	color: var(--parchment);
}
.hero-subtitle, .create-hero p, .vip-hero p, .dl-hero p, .vip-page .section-sub {
	font-family: 'Crimson Text', Georgia, serif;
	font-size: 19px;
}

/* Top bar: solid black strip. */
.topbar { background: rgba(8, 8, 9, 0.96); border-bottom: 1px solid #000; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04); }
.nav-link { font-weight: 500; }
.nav-link::after { content: ''; margin: 0; }
.nav-link:hover, .nav-item.active .nav-link { background: rgba(255, 255, 255, 0.05); color: var(--gold); }

/* Panels: solid charcoal with a gradient header bar. */
.panel {
	border: 1px solid #000;
	background: var(--glass);
	box-shadow: 0 0 0 1px var(--line) inset, var(--shadow);
	backdrop-filter: none;
}
.panel-title {
	padding: 14px 20px;
	border-bottom: 1px solid #000;
	background: linear-gradient(180deg, #2f3338 0%, #1e1f20 100%);
	font-size: 17px;
}
.sidebar .box { padding: 0 0 16px; }
.sidebar .box > *:not(.box-title) { margin-left: 16px; margin-right: 16px; }
.sidebar .box .btn-block { width: calc(100% - 32px); }
.box-title {
	margin: 0 0 14px;
	padding: 12px 16px;
	border-bottom: 1px solid #000;
	background: linear-gradient(180deg, #2f3338 0%, #1e1f20 100%);
	font-size: 15px;
	text-align: center;
}
.tickers { padding: 0 0 12px; }
.tickers h2 { margin: 0 0 8px; padding: 12px 20px; border-bottom: 1px solid #000; background: linear-gradient(180deg, #2f3338 0%, #1e1f20 100%); }
.tickers .ticker { margin: 0 20px; }
.vip-box { background: var(--glass); }

/* Buttons: flat, squared, darker ghost style. */
.btn, input[type="submit"], input[type="button"], button[type="submit"] { backdrop-filter: none; }
.btn-ghost { background: linear-gradient(180deg, #2b2e30, #1c1d1e); border-color: #000; box-shadow: 0 0 0 1px var(--line) inset; }
.btn-ghost:hover { border-color: #000; box-shadow: 0 0 0 1px rgba(255, 183, 45, 0.45) inset; }

/* Inputs and content blocks. */
input:not([type]), input[type="text"], input[type="password"], input[type="email"], input[type="number"], select, textarea {
	background: #0f1011;
	border-color: var(--line);
}
.hero-title { filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.8)); }
.create-hero, .dl-hero, .vip-hero, .vip-final { background: linear-gradient(180deg, #222527, #151617); border-color: var(--line); }
.vip-hero { border-color: rgba(255, 183, 45, 0.45); }
.create-step, .account-card, .steps li, .faq-item, .vip-benefit, .vip-plan, .choice-body, .town-card .choice-body {
	background: #151617;
	border-color: var(--line);
}
.vip-plan.featured { background: linear-gradient(180deg, #2a2618, #151617); }
.choice input:checked + .choice-body { background: linear-gradient(180deg, #2a2618, #17181a); }
.perks li, .status-pill, .vip-badge { background: #151617; border-color: var(--line); }

/* Row colors from config.ini on the darker palette. */
[bgcolor="#1c2638"], [style*="#1c2638"] { background-color: #161718 !important; }
[bgcolor="#222d40"], [style*="#222d40"] { background-color: #1d1f20 !important; }
[bgcolor="#2e3a50"], [style*="#2e3a50"] { background-color: #2b2f30 !important; color: var(--parchment); }
.Content .white, .Content .white b, .Content .white a { color: var(--parchment) !important; }

.footer { background: #080809; border-top: 1px solid #000; }
.sidebar .box form .btn-block { width: 100%; }
.vip-hero h2 { font-family: 'Cinzel', Georgia, serif; font-weight: 700; letter-spacing: .04em; }
.hero-subtitle { color: #e8e2d6; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.9); }

/* Who is online page */
.online-page { display: grid; gap: 22px; }
.online-page h3 {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
	font-family: 'Cinzel', Georgia, serif;
	font-size: 16px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--parchment);
}
.online-status {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	background: linear-gradient(180deg, #222527, #151617);
}
.online-status > i { flex: none; width: 12px; height: 12px; border-radius: 50% !important; background: var(--red); }
.online-status.is-online > i { background: var(--green); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.18); }
.online-status b { display: block; font-size: 17px; }
.online-status.is-online b { color: var(--green); }
.online-status.is-offline b { color: var(--red); }
.online-status span { color: var(--muted); font-size: 14px; }
.online-status small { margin-left: auto; color: var(--muted); font-size: 12px; text-align: right; }

.stat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-card { padding: 14px 16px; border: 1px solid var(--line); background: #151617; }
.stat-card span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.stat-card b { display: block; margin-top: 4px; font: 700 26px/1.1 'Cinzel', Georgia, serif; color: var(--gold); }
.stat-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.voc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.voc-item { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--line); background: #151617; }
.voc-item img { flex: none; width: 46px; height: 60px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)); }
.voc-info { flex: 1; min-width: 0; }
.voc-head { display: flex; justify-content: space-between; align-items: baseline; }
.voc-head b { font-family: 'Cinzel', Georgia, serif; color: var(--parchment); }
.voc-head span { font: 700 20px/1 'Cinzel', Georgia, serif; color: var(--gold); }
.voc-bar { height: 6px; margin: 8px 0 4px; background: #0d0e0f; border: 1px solid #000; }
.voc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold)); }
.voc-info small { color: var(--muted); font-size: 12px; }

.world-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.world-info > div { padding: 12px 14px; background: #151617; }
.world-info dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.world-info dd { margin: 4px 0 0; font-weight: 500; }

.online-table-wrap { overflow-x: auto; }
.online-table td { vertical-align: middle; }
.online-table .col-voc { width: 44px; padding: 4px 6px; text-align: center; }
.online-table .col-voc img { height: 38px; width: auto; }
.online-table .num { text-align: right; }
.online-table .pname { font-weight: 600; }
.online-table .pname img { vertical-align: middle; }
.online-table small { display: block; font-size: 12px; }
.online-table .sort { color: var(--gold); }
.online-table .sort.asc::after { content: ' ▲'; font-size: 10px; }
.online-table .sort.desc::after { content: ' ▼'; font-size: 10px; }
.online-empty { padding: 26px; border: 1px solid var(--line); background: #151617; text-align: center; }
.online-empty p { margin: 0 0 14px; color: var(--muted); }
.skull-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 0; font-size: 12px; }
.skull-legend img { vertical-align: middle; margin-right: 4px; }

@media (max-width: 860px) {
	.stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.voc-split, .world-info { grid-template-columns: minmax(0, 1fr); }
	.online-status { flex-wrap: wrap; }
	.online-status small { margin-left: 26px; text-align: left; }
	.hide-sm { display: none; }
}

/* Character search box (online and characters pages) */
.char-search { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); background: #151617; }
.char-search label { display: block; margin-bottom: 8px; font-family: 'Cinzel', Georgia, serif; text-transform: uppercase; letter-spacing: .05em; color: var(--parchment); }
.char-search-row { display: flex; gap: 10px; }
.char-search-row input { flex: 1; min-width: 0; }

/* VIP page, classic layout (boxes with header bars and tables) */
.vip-classic { display: grid; gap: 18px; }
.vc-intro { display: flex; gap: 18px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #222527, #151617); }
.vc-crown { flex: none; width: 72px; height: 72px; }
.vc-intro h2 { margin: 0 0 6px; font-size: 22px; color: var(--gold); }
.vc-intro p { margin: 0; line-height: 1.6; }
.vc-intro .vc-jump { margin-top: 10px; font-size: 13px; color: var(--muted); }
.vc-box { border: 1px solid #000; background: #151617; box-shadow: 0 0 0 1px var(--line) inset; }
.vc-box > h3 {
	margin: 0;
	padding: 10px 16px;
	border-bottom: 1px solid #000;
	background: linear-gradient(180deg, #2f3338 0%, #1e1f20 100%);
	font-family: 'Cinzel', Georgia, serif;
	font-size: 15px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--parchment);
}
.vc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vc-table th { padding: 9px 14px; background: #1d1f20; border-bottom: 1px solid #000; color: var(--muted); font-weight: 500; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.vc-table td { padding: 10px 14px; border-bottom: 1px solid #202224; vertical-align: middle; }
.vc-table tr:nth-child(odd) td { background: rgba(255, 255, 255, 0.015); }
.vc-table tr:last-child td { border-bottom: 0; }
.vc-table .c { text-align: center; }
.vc-table td small { display: block; color: var(--muted); font-size: 12px; }
.vc-table .vip { color: var(--gold); font-weight: 700; background: rgba(255, 183, 45, 0.05) !important; }
.vc-table th.vip { color: var(--gold); }
.vc-table .no { color: #8a8a8a; }
.vc-plans .price { font: 700 17px/1 'Cinzel', Georgia, serif; color: var(--gold); white-space: nowrap; }
.vc-plans tr.highlight td { background: rgba(255, 183, 45, 0.06) !important; }
.vc-plans .tag { display: inline-block; margin-top: 3px; padding: 1px 7px; border: 1px solid rgba(255, 183, 45, 0.5); color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.vc-note, .vc-contact { margin: 0; padding: 10px 16px 14px; color: var(--muted); font-size: 13px; }
.vc-steps { margin: 0; padding: 14px 16px 6px 36px; line-height: 1.7; }
.vc-steps li + li { margin-top: 6px; }
.vc-faq { margin: 0; padding: 6px 16px 14px; }
.vc-faq dt { margin-top: 10px; font-weight: 600; color: var(--parchment); }
.vc-faq dd { margin: 3px 0 0; color: var(--muted); }
.vc-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 6px 0; }
@media (max-width: 860px) {
	.vc-intro { flex-direction: column; align-items: center; text-align: center; }
	.vc-table td, .vc-table th { padding: 8px 10px; }
}
.vc-plans .tag { margin-left: 8px; vertical-align: middle; }

/* Character profile page */
.char-page { display: grid; gap: 18px; }
.char-admin { text-align: right; font-size: 13px; }
.char-header { display: flex; gap: 22px; align-items: center; padding: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #222527, #151617); }
.char-outfit {
	flex: none;
	display: grid;
	place-items: center;
	width: 150px;
	height: 150px;
	border: 1px solid #000;
	background: radial-gradient(circle at 60% 70%, rgba(255, 183, 45, 0.16), transparent 60%), #0e0f10;
	box-shadow: 0 0 0 1px var(--line) inset;
}
.char-outfit img { width: 128px; height: 128px; image-rendering: pixelated; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.7)); }
.char-main { flex: 1; min-width: 0; }
.char-main h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 4px; font-size: 26px; color: var(--gold); }
.char-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--line); font: 600 12px/1.4 'Roboto', sans-serif; letter-spacing: 0; text-transform: none; }
.char-status i { width: 8px; height: 8px; border-radius: 50% !important; background: #777; }
.char-status.on { color: var(--green); }
.char-status.on i { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.char-status.off { color: var(--muted); }
.char-sub { color: var(--muted); font-size: 14px; }
.char-sub img { vertical-align: middle; }
.char-level { margin-top: 14px; }
.char-level-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.char-level-head span:nth-child(2) { color: var(--gold); font-weight: 700; }
.char-level-bar { height: 10px; margin: 4px 0; border: 1px solid #000; background: #0d0e0f; }
.char-level-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold)); }
.char-level small { color: var(--muted); font-size: 12px; }

.char-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.char-side { display: grid; gap: 18px; }
.char-box { border: 1px solid #000; background: #151617; box-shadow: 0 0 0 1px var(--line) inset; }
.char-box > h3 {
	margin: 0;
	padding: 10px 16px;
	border-bottom: 1px solid #000;
	background: linear-gradient(180deg, #2f3338 0%, #1e1f20 100%);
	font: 700 14px/1.3 'Cinzel', Georgia, serif;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--parchment);
}
.char-info { display: grid; grid-template-columns: 130px minmax(0, 1fr); margin: 0; }
.char-info dt, .char-info dd { margin: 0; padding: 9px 14px; border-bottom: 1px solid #202224; }
.char-info dt { color: var(--muted); font-size: 13px; }
.char-info dd { font-weight: 500; }
.char-info dd small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.char-info .gold { color: var(--gold); font-weight: 700; }
.char-comment { padding: 12px 14px; }
.char-comment p { margin: 4px 0 0; color: var(--muted); }

.vital { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 14px 0; font-size: 13px; }
.vital span { color: var(--muted); }
.vital b { font-size: 12px; white-space: nowrap; }
.vbar { height: 12px; border: 1px solid #000; background: #0d0e0f; }
.vbar i { display: block; height: 100%; }
.vital.hp .vbar i { background: linear-gradient(90deg, #7a1d1d, #d63b3b); }
.vital.mp .vbar i { background: linear-gradient(90deg, #1d3a7a, #3b76d6); }
.vitals-small { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 12px; background: #202224; border-top: 1px solid #202224; }
.vitals-small div { padding: 8px 12px; background: #151617; text-align: center; }
.vitals-small span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.vitals-small b { font-size: 15px; }
.st-good { color: var(--green); }
.st-low { color: #f59e0b; }

.inventory { display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; justify-content: center; padding: 14px; }
.inv-slot { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #000; background: #2a2b2c; box-shadow: 0 0 0 1px #3a3d3f inset; }
.inv-slot img { width: 32px; height: 32px; image-rendering: pixelated; }
.inv-slot.empty img { opacity: .55; }

.skill-list { margin: 0; padding: 4px 0; list-style: none; }
.skill-list li { display: flex; justify-content: space-between; padding: 7px 14px; border-bottom: 1px solid #202224; font-size: 14px; }
.skill-list li:last-child { border-bottom: 0; }
.skill-list b { color: var(--gold); }

.char-deaths td { padding: 9px 14px; }
.char-deaths .when { width: 130px; color: var(--muted); white-space: nowrap; font-size: 13px; }
.char-empty { margin: 0; padding: 14px; color: var(--muted); }
.char-box .data-table th { padding: 9px 14px; }
.char-box .data-table td { padding: 9px 14px; }
.char-box .data-table .num { text-align: right; }

@media (max-width: 860px) {
	.char-header { flex-direction: column; text-align: center; }
	.char-main h2 { justify-content: center; }
	.char-grid { grid-template-columns: minmax(0, 1fr); }
	.char-info { grid-template-columns: 110px minmax(0, 1fr); }
	.char-deaths .when { width: auto; white-space: normal; }
}

/* Character history: ranks, experience and online time */
.rank-table td, .rank-table th { padding: 8px 14px; }
.rank-table th small { color: var(--muted); font-weight: 400; }
.rank-pos { display: inline-block; min-width: 46px; padding: 2px 8px; border: 1px solid var(--line); background: #1d1f20; font-weight: 700; text-align: center; }
.rank-pos.top { border-color: rgba(255, 183, 45, 0.6); color: var(--gold); background: rgba(255, 183, 45, 0.08); }
.hist-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: #202224; border-bottom: 1px solid #202224; }
.hist-cards div { padding: 12px 14px; background: #151617; }
.hist-cards span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.hist-cards b { display: block; margin-top: 3px; font: 700 18px/1.2 'Cinzel', Georgia, serif; color: var(--gold); }
.hist-cards small { color: var(--muted); font-size: 12px; }
.hist-chart { padding: 14px 14px 6px; }
.hist-chart svg { display: block; width: 100%; height: 130px; }
.hist-chart .axis { stroke: #3a3d3f; stroke-width: 1; }
.hist-chart .bar { fill: var(--gold); }
.hist-chart .bar-neg { fill: #d63b3b; }
.hist-chart .bar-online { fill: #3b76d6; }
.hist-chart rect:hover { opacity: .8; }
.hist-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.hist-table-wrap { max-height: 360px; overflow-y: auto; border-top: 1px solid #202224; }
.hist-table td, .hist-table th { padding: 8px 14px; }
.hist-table .num { text-align: right; }
.pos { color: var(--green); }
.neg { color: #f87171 !important; }

/* MyAAC content tables (.myaac-table, used in news and pages) on the dark palette */
.myaac-table { border-collapse: collapse !important; border: 1px solid #000; }
.myaac-table > thead > tr > td, .myaac-table > thead > tr > th, .myaac-table > tfoot > tr > td {
	background: linear-gradient(180deg, #2f3338, #1e1f20) !important;
	color: var(--parchment) !important;
	font-weight: 600;
}
.myaac-table > tbody > tr:nth-child(odd) { background: #161718 !important; }
.myaac-table > tbody > tr:nth-child(even) { background: #1c1e1f !important; }
.myaac-table td, .myaac-table th { padding: 7px 12px !important; border-color: #202224 !important; }

/* Rich news content blocks (classes used inside news bodies) */
.gn { display: grid; gap: 22px; }
.gn p { margin: 0; line-height: 1.7; }
.gn-lead { padding: 16px 18px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(255, 183, 45, 0.08), transparent); font-size: 15px; }
.gn-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gn-highlights div { padding: 14px 10px; border: 1px solid var(--line); background: #151617; text-align: center; }
.gn-highlights b { display: block; font: 700 22px/1.1 'Cinzel', Georgia, serif; color: var(--gold); }
.gn-highlights span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.gn-section h3 {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
	font: 700 16px/1.3 'Cinzel', Georgia, serif;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--parchment);
}
.gn-section h3 small { margin-left: 8px; color: var(--muted); font: 400 12px 'Roboto', sans-serif; text-transform: none; letter-spacing: 0; }
.gn-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
.gn-stages div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 12px; border: 1px solid #202224; background: #151617; font-size: 13px; }
.gn-stages div b { color: var(--gold); font-size: 15px; }
.gn-stages div.hot { border-color: rgba(255, 183, 45, 0.5); background: rgba(255, 183, 45, 0.07); }
.gn-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: #202224; border: 1px solid #202224; }
.gn-facts > div { padding: 11px 14px; background: #151617; }
.gn-facts dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.gn-facts dd { margin: 3px 0 0; font-weight: 500; }
.gn-note { margin-top: 10px !important; color: var(--muted); font-size: 13px; }
.gn-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gn-tags li { padding: 7px 12px; border: 1px solid var(--line); background: #151617; font-size: 13px; }
.gn-tags li::before { content: '◆'; margin-right: 7px; color: var(--gold); font-size: 10px; }
.gn-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: gnstep; }
.gn-steps li { position: relative; padding: 14px 14px 14px 52px; border: 1px solid var(--line); background: #151617; counter-increment: gnstep; font-size: 14px; }
.gn-steps li::before {
	content: counter(gnstep);
	position: absolute;
	left: 14px;
	top: 13px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	background: linear-gradient(180deg, var(--gold), var(--gold-3));
	color: #1a1204;
	font-weight: 800;
}
.gn-steps b { display: block; color: var(--text); }
.gn-steps span { color: var(--muted); font-size: 13px; }
.gn-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 18px; border: 1px solid rgba(255, 183, 45, 0.4); background: radial-gradient(360px 140px at 50% 100%, rgba(255, 183, 45, 0.14), transparent 70%), #151617; }
.gn-cta p { flex-basis: 100%; margin-bottom: 4px; text-align: center; color: var(--muted); }
.gn-sign { text-align: right; color: var(--muted); font-style: italic; }
@media (max-width: 860px) {
	.gn-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gn-facts, .gn-steps { grid-template-columns: minmax(0, 1fr); }
}

/* Logo: emblem + metallic wordmark (hero) and compact brand (top bar) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-logo { margin: 0 auto; max-width: 760px; line-height: 0; text-transform: none; }
.hero-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-logo .logo-word { font: 900 126px 'Cinzel Decorative', 'Cinzel', Georgia, serif; letter-spacing: 6px; }
.hero-logo .logo-tag { font: 700 22px 'Cinzel', Georgia, serif; letter-spacing: 8px; fill: #efe3c6; paint-order: stroke; stroke: #0b0b0c; stroke-width: 4px; }
.hero { padding-top: 40px; }
.hero-subtitle { margin-top: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgba(255, 183, 45, 0.35)); }
.brand span {
	background: linear-gradient(180deg, #fff1cf, var(--gold) 55%, var(--gold-3));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
@media (max-width: 860px) {
	.hero-logo { max-width: 420px; }
	.brand-mark { width: 28px; height: 28px; }
}

/* Live ping indicator in the top bar */
.ping-pill { gap: 6px; font-variant-numeric: tabular-nums; }
.ping-pill svg { width: 13px; height: 13px; fill: currentColor; }
.ping-pill.good { color: var(--green); }
.ping-pill.ok { color: #f5c542; }
.ping-pill.bad { color: #f87171; }
.ping-pill b { color: var(--text); font-weight: 700; }
@media (max-width: 560px) {
	.ping-pill { padding: 7px 8px; }
	.ping-pill svg { display: none; }
}

/* Live ping indicator in the top bar */
.ping-pill { cursor: default; font-variant-numeric: tabular-nums; }
.ping-pill svg { width: 14px; height: 14px; fill: currentColor; }
.ping-pill.good { color: var(--green); }
.ping-pill.ok { color: #f5c542; }
.ping-pill.bad { color: #f87171; }
.ping-pill b { color: var(--text); font-weight: 700; }
@media (max-width: 520px) {
	.ping-pill { padding: 7px 9px; }
}

/* Hero logo sheen: off for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) { .hero-logo .logo-sheen { display: none; } }

/* Header radio player */
.radio-pill { gap: 8px; padding: 4px 12px 4px 4px; }
.radio-toggle {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gold);
	color: #1a1004;
	cursor: pointer;
	flex: none;
}
.radio-toggle:hover { filter: brightness(1.1); }
.radio-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.radio-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.radio-pause, .radio-pill.playing .radio-play, .radio-pill.loading .radio-play { display: none; }
.radio-pill.playing .radio-pause, .radio-pill.loading .radio-pause { display: block; }
.radio-eq { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.radio-eq i { width: 3px; height: 100%; background: var(--gold); transform-origin: bottom; animation: radio-eq 0.9s ease-in-out infinite; }
.radio-eq i:nth-child(2) { animation-delay: -0.3s; }
.radio-eq i:nth-child(3) { animation-delay: -0.6s; }
.radio-pill.playing .radio-eq { display: inline-flex; }
@keyframes radio-eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.radio-volume { width: 70px; accent-color: var(--gold); cursor: pointer; }
@media (max-width: 560px) {
	.radio-volume, .radio-label { display: none; }
	.radio-pill { padding: 4px; }
	.radio-pill.playing { padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .radio-eq i { animation: none; transform: scaleY(0.7); } }

/* Radio entry screen (unlocks sound on browsers that block autoplay) */
.radio-gate-open { overflow: hidden; }
.radio-gate {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 16px;
	background: rgba(5, 5, 6, 0.82);
	backdrop-filter: blur(6px);
	cursor: pointer;
	animation: radio-gate-in 0.25s ease-out;
}
.radio-gate-card {
	width: min(100%, 380px);
	padding: 32px 24px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--glass-strong);
	box-shadow: var(--shadow);
	text-align: center;
	cursor: default;
}
.radio-gate-mark { width: 56px; height: 56px; margin-bottom: 10px; }
.radio-gate-title {
	margin: 0 0 8px;
	font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
	font-size: 28px;
	color: var(--gold);
}
.radio-gate-text { margin: 0 0 22px; color: var(--muted); }
.radio-gate .btn { display: block; width: 100%; }
.radio-gate-mute { margin-top: 8px; }
@keyframes radio-gate-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .radio-gate { animation: none; } }

/* Vídeo na tela de entrada */
.radio-gate-card { width: min(100%, 520px); }
.radio-gate-video {
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 0 0 18px;
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
}
.radio-gate-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.radio-gate-video > div, .radio-gate-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.radio-gate-unmute {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	z-index: 2;
	padding: 8px 16px;
	border: 1px solid var(--gold);
	border-radius: 999px;
	background: rgba(8, 8, 9, 0.85);
	color: var(--gold);
	font: 600 14px/1 'Roboto', sans-serif;
	cursor: pointer;
}
.radio-gate-unmute[hidden] { display: none; }

/* ---------- Mobile header layout ---------- */
@media (max-width: 860px) {
	.topbar-inner { gap: 10px; min-height: 60px; padding-block: 10px; }
	.brand { order: 0; white-space: nowrap; }
	.topbar-actions { order: 1; margin-left: auto; gap: 8px; }
	.nav-toggle { order: 2; margin-left: 0; height: 40px; justify-content: center; }
	.nav { order: 3; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
	.topbar-actions .status-pill { height: 40px; }
	.radio-toggle { align-self: stretch; }
}
@media (max-width: 560px) {
	.topbar-inner { row-gap: 10px; }
	.nav-toggle { margin-left: auto; }
	.topbar-actions { order: 4; flex-basis: 100%; margin-left: 0; }
	.nav { order: 5; }
	.radio-pill, .radio-pill.playing { flex: 1 1 auto; min-width: 0; padding: 4px 12px 4px 4px; }
	.radio-label { display: inline; overflow: hidden; text-overflow: ellipsis; }
	.status-pill.online, .ping-pill { flex: 0 0 auto; justify-content: center; padding: 0 12px; }
	.ping-pill svg { display: block; }
}
@media (max-width: 359px) {
	.radio-label { display: none; }
	.radio-pill, .radio-pill.playing { flex: 0 0 auto; padding: 4px; }
	.topbar-actions { justify-content: space-between; }
}
@media (max-width: 700px) { .radio-volume { display: none; } }

/* ---------- Ranking (highscores) ---------- */
.hs-title { margin: 4px 0 18px; text-align: center; font-size: clamp(18px, 4.6vw, 24px); overflow-wrap: anywhere; }
.hs-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.hs-filter { display: grid; gap: 6px; margin: 0; }
.hs-filter span { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hs-filter select { width: 100%; min-width: 0; height: 40px; }
.hs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.hs-table { width: 100%; border-collapse: collapse; }
.hs-table th {
	padding: 10px 12px;
	background: #1d1f20;
	color: var(--parchment);
	font-size: 12px;
	letter-spacing: .06em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}
.hs-table td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.hs-table tbody tr:nth-child(odd) { background: #151617; }
.hs-table tbody tr:nth-child(even) { background: #1a1b1c; }
.hs-table tbody tr:hover { background: #222426; }
.hs-rank { width: 44px; text-align: center !important; font-weight: 700; color: var(--muted); }
.hs-rank span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; }
.hs-top-1 .hs-rank span { background: var(--gold); color: #1a1206; }
.hs-top-2 .hs-rank span { background: #c9ced6; color: #15171a; }
.hs-top-3 .hs-rank span { background: #b87333; color: #1a1206; }
.hs-outfit { width: 64px; padding-block: 0 !important; }
.hs-outfit img { display: block; max-width: none; }
.hs-name a { font-weight: 600; overflow-wrap: anywhere; }
.hs-name a.is-online { color: var(--green); }
.hs-name small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.hs-value, .hs-points { width: 1%; text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hs-value { font-weight: 700; color: var(--text); }
.hs-points { color: var(--muted); }
.hs-points-inline { display: none !important; }
.hs-empty { padding: 18px !important; text-align: center; color: var(--muted); }
.hs-pager { display: flex; gap: 10px; margin-top: 14px; }
.hs-next { margin-left: auto; }
@media (max-width: 560px) {
	.hs-filters { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.hs-table th, .hs-table td { padding-inline: 8px; }
	.hs-rank { width: 36px; }
	.hs-outfit { width: 48px; }
	.hs-outfit img { width: 48px; height: 48px; object-fit: contain; }
	.hs-points { display: none; }
	.hs-points-inline { display: block !important; }
	.hs-pager .btn { flex: 1; text-align: center; }
}
/* Ranking: outfit sprites come with inline absolute positioning from MyAAC; keep them inside their cell. */
.hs-flag { width: 28px; padding-inline: 4px !important; }
.hs-flag img { display: block; }
.hs-outfit { width: 56px; height: 56px; overflow: hidden; padding: 0 !important; }
.hs-outfit img { position: static !important; display: block; width: 64px !important; height: 64px !important; margin: -12px 0 0 -12px !important; object-fit: none; }
@media (max-width: 560px) {
	.hs-flag { width: 22px; padding-inline: 2px !important; }
	.hs-outfit { width: 48px; height: 48px; }
	.hs-outfit img { width: 64px !important; height: 64px !important; margin: -16px 0 0 -16px !important; object-fit: none; }
}

/* Header brand mark: animated Golden Outfit (replaces the grimoire) */
.brand picture { display: contents; }
.brand-mark { width: 44px; height: 44px; margin-block: -6px; filter: drop-shadow(0 2px 6px rgba(255, 183, 45, 0.3)); }
@media (max-width: 860px) { .brand-mark { width: 36px; height: 36px; margin-block: -4px; } }
.radio-gate-mark { width: 72px; height: 72px; }

/* Random background artwork (picked per request in index.php); falls back to the original artwork */
.backdrop {
	background:
		linear-gradient(180deg, rgba(11, 11, 12, 0.35) 0%, rgba(11, 11, 12, 0.88) 50%, var(--bg) 85%),
		var(--backdrop-art, url('../tibiacom/images/header/background-artwork.jpg')) center top / cover no-repeat;
}

/* ---------- News layout "gv" (welcome post) ---------- */
.gv { display: grid; gap: 26px; }
.gv p { margin: 0; line-height: 1.7; }
.gv-lead { padding: 16px 18px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(255, 183, 45, 0.09), transparent); font-size: 15px; }
.gv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gv-stats div { padding: 14px 10px 12px; border: 1px solid var(--line); border-top: 2px solid rgba(255, 183, 45, 0.55); background: #151617; text-align: center; }
.gv-stats b { display: block; font: 700 21px/1.15 'Cinzel', Georgia, serif; color: var(--gold); white-space: nowrap; }
.gv-stats span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

.gv-block h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font: 700 16px/1.3 'Cinzel', Georgia, serif;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--parchment);
}
.gv-block h3::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 8px rgba(255, 183, 45, 0.6); }
.gv-block h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.gv-sub { margin-top: 10px !important; color: var(--muted); font-size: 13px; }

/* Getting started */
.gv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: gvstep; }
.gv-steps li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); background: #151617; counter-increment: gvstep; }
.gv-steps li::before {
	content: counter(gvstep);
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-bottom: 6px;
	background: linear-gradient(180deg, var(--gold), var(--gold-3));
	color: #1a1204;
	font-weight: 800;
}
.gv-steps b { color: var(--text); font-size: 15px; }
.gv-steps span { flex: 1; color: var(--muted); font-size: 13px; line-height: 1.55; }
.gv-steps .btn { align-self: flex-start; margin-top: 10px; }

/* Experience stages as a bar chart (bar length on a square-root scale of the multiplier) */
.gv-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); grid-auto-flow: column; column-gap: 22px; row-gap: 4px; }
.gv-rate { display: grid; grid-template-columns: 96px 1fr 44px; align-items: center; gap: 10px; padding: 5px 8px; font-size: 13px; }
.gv-rate span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gv-rate i { position: relative; height: 10px; background: #1b1c1e; }
.gv-rate i::after { content: ""; position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--gold-3), var(--gold)); }
.gv-rate b { text-align: right; color: var(--gold); font-size: 14px; font-variant-numeric: tabular-nums; }
.gv-rate.hot { background: rgba(255, 183, 45, 0.08); outline: 1px solid rgba(255, 183, 45, 0.45); }
.gv-rate.hot span { color: var(--text); font-weight: 600; }
.gv-rate.hot i::after { background: linear-gradient(90deg, var(--gold), #fff1c2); box-shadow: 0 0 10px rgba(255, 183, 45, 0.5); }
.gv-rate.x80 i::after { width: 100%; }
.gv-rate.x60 i::after { width: 86.6%; }
.gv-rate.x50 i::after { width: 79.1%; }
.gv-rate.x40 i::after { width: 70.7%; }
.gv-rate.x30 i::after { width: 61.2%; }
.gv-rate.x15 i::after { width: 43.3%; }
.gv-rate.x12 i::after { width: 38.7%; }
.gv-rate.x10 i::after { width: 35.4%; }
.gv-rate.x7 i::after { width: 29.6%; }
.gv-rate.x6 i::after { width: 27.4%; }
.gv-rate.x5 i::after { width: 25%; }
.gv-rate.x4 i::after { width: 22.4%; }
.gv-rate.x3 i::after { width: 19.4%; }
.gv-rate.x2 i::after { width: 15.8%; }
.gv-rate.x1-5 i::after { width: 13.7%; }
.gv-rate.x1-2 i::after { width: 12.2%; }

/* Skills / magic / loot ladders */
.gv-ladders { display: grid; grid-template-columns: 1fr 1.2fr 0.8fr; gap: 10px; }
.gv-ladder { padding: 14px; border: 1px solid var(--line); background: #151617; }
.gv-ladder h4 { margin: 0 0 10px; color: var(--muted); font: 600 12px 'Roboto', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.gv-ladder ol { display: flex; margin: 0; padding: 0; list-style: none; }
.gv-ladder li { flex: 1; min-width: 0; padding: 8px 4px; text-align: center; border-left: 1px solid #242628; }
.gv-ladder li:first-child { border-left: 0; }
.gv-ladder li b { display: block; color: var(--gold); font: 700 18px/1.1 'Cinzel', Georgia, serif; }
.gv-ladder li span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.gv-ladder p { margin-top: 8px !important; color: var(--muted); font-size: 12px; text-align: center; }
.gv-callout { margin-top: 12px !important; padding: 12px 14px; border: 1px solid rgba(255, 183, 45, 0.25); background: rgba(255, 183, 45, 0.05); font-size: 14px; }

/* World rules */
.gv-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid #202224; background: #202224; }
.gv-rules > div { padding: 12px 14px; background: #151617; }
.gv-rules dt { color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.gv-rules dd { margin: 4px 0 0; font-weight: 500; line-height: 1.5; }

/* Systems */
.gv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gv-tags li { padding: 7px 12px; border: 1px solid var(--line); background: #151617; font-size: 13px; }
.gv-tags li::before { content: "◆"; margin-right: 7px; color: var(--gold); font-size: 9px; vertical-align: 1px; }

/* VIP banner + footer */
.gv-vip { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid rgba(255, 183, 45, 0.45); background: radial-gradient(420px 160px at 100% 50%, rgba(255, 183, 45, 0.16), transparent 70%), #151617; }
.gv-vip > div { flex: 1; }
.gv-vip b { display: block; margin-bottom: 2px; color: var(--gold); font: 700 17px 'Cinzel', Georgia, serif; letter-spacing: .05em; text-transform: uppercase; }
.gv-vip p { color: var(--muted); font-size: 14px; }
.gv-vip .btn { flex: none; }
.gv-foot { padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }
.gv-foot i { color: var(--parchment); font-size: 13px; }

@media (max-width: 860px) {
	.gv-steps, .gv-ladders { grid-template-columns: minmax(0, 1fr); }
	.gv-steps li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; row-gap: 2px; }
	.gv-steps li::before { grid-row: span 2; margin: 0; }
	.gv-steps .btn { grid-column: 2; margin-top: 6px; }
	.gv-rates { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
}
@media (max-width: 560px) {
	.gv { gap: 22px; }
	.gv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gv-rate { grid-template-columns: 86px 1fr 40px; padding: 4px 6px; }
	.gv-rules { grid-template-columns: minmax(0, 1fr); }
	.gv-rules > div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; align-items: baseline; padding: 10px 12px; }
	.gv-rules dd { margin: 0; font-size: 13px; }
	.gv-vip { flex-direction: column; align-items: stretch; text-align: center; }
}
.gv-rate i { font-size: 0; line-height: 0; }

/* Header brand: Golden Outfit only (name kept for screen readers and the welcome popup) */
.brand { gap: 0; }
.brand-mark { width: 56px; height: 56px; margin-block: -12px; }
@media (max-width: 860px) { .brand-mark { width: 46px; height: 46px; margin-block: -8px; } }

/* ---------- Header v2: underline nav, single status group, one-row mobile ---------- */
.topbar {
	background: linear-gradient(180deg, rgba(14, 14, 16, 0.97), rgba(8, 8, 9, 0.95));
	border-bottom: 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.topbar::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 183, 45, 0.55) 20%, rgba(255, 183, 45, 0.55) 80%, transparent);
}
.topbar-inner { gap: 28px; min-height: 72px; }

/* Nav: gold underline instead of a filled box */
.topbar .nav { gap: 2px; }
.topbar .nav-link { position: relative; padding: 10px 14px; background: none !important; color: var(--text); font-weight: 500; letter-spacing: .01em; }
.topbar .nav-link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 3px;
	height: 2px;
	margin: 0;
	background: linear-gradient(90deg, var(--gold-3), var(--gold));
	transform: scaleX(0);
	transition: transform .2s ease;
}
.topbar .nav-link:hover, .topbar .nav-item.active .nav-link, .topbar .nav-item.open .nav-link { color: var(--gold); }
.topbar .nav-link:hover::after, .topbar .nav-item.active .nav-link::after { transform: scaleX(1); }

/* Status: radio + visitors + ping in one segmented group */
.status-group {
	display: flex;
	align-items: center;
	height: 42px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.025);
}
.status-group .status-pill {
	height: 100%;
	padding: 0 14px;
	border: 0;
	background: none;
	font-size: 13px;
}
.status-group .status-pill + .status-pill { border-left: 1px solid var(--line); }
.status-group .radio-pill { gap: 10px; padding: 0 14px 0 5px; }
.status-group .radio-toggle { width: 30px; height: 30px; align-self: center; }
.status-group .radio-volume { width: 64px; }
.visitors-pill b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.visitors-pill .pill-label { color: var(--muted); font-weight: 500; }
.status-group .ping-pill { color: var(--muted); }
.topbar-actions { gap: 10px; }

@media (max-width: 860px) {
	.topbar-inner { flex-wrap: wrap; gap: 10px; min-height: 62px; padding-block: 8px; }
	.brand { order: 0; }
	.topbar-actions { order: 1; flex-basis: auto; margin-left: auto; }
	.nav-toggle { order: 2; margin-left: 0; height: 40px; }
	.nav { order: 3; }
	.status-group { height: 40px; }
	.status-group .status-pill { padding: 0 10px; }
	.status-group .radio-pill, .status-group .radio-pill.playing { flex: none; padding: 0 5px; }
	.status-group .radio-label, .status-group .radio-volume, .visitors-pill .pill-label { display: none; }
	.status-group .radio-pill.playing .radio-eq { margin-right: 4px; }
	.topbar-actions > .btn { display: none; }
}
@media (max-width: 560px) {
	.topbar-actions { order: 1; flex-basis: auto; margin-left: auto; }
	.nav { order: 3; }
	.status-group .ping-pill svg { display: none; }
}
@media (max-width: 359px) {
	.status-group .ping-pill { display: none; }
}
@media (max-width: 860px) {
	.topbar .nav-link { padding: 12px 16px; }
	.topbar .nav-link::after { left: 0; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; transform: scaleY(0); }
	.topbar .nav-link:hover::after, .topbar .nav-item.active .nav-link::after { transform: scaleY(1); }
}

/* Radio "now playing" card (shown on hover/focus of the radio) */
.status-group .radio-pill { position: relative; }
.radio-now {
	position: absolute;
	top: calc(100% + 10px);
	left: -1px;
	z-index: 60;
	display: grid;
	gap: 3px;
	width: 280px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 183, 45, 0.45);
	background: #111214;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
	white-space: normal;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	pointer-events: none;
}
.radio-now::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 18px;
	width: 10px;
	height: 10px;
	border-top: 1px solid rgba(255, 183, 45, 0.45);
	border-left: 1px solid rgba(255, 183, 45, 0.45);
	background: #111214;
	transform: rotate(45deg);
}
.radio-pill:hover .radio-now, .radio-pill:focus-within .radio-now { opacity: 1; visibility: visible; transform: none; }
.radio-now small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.radio-now-song { color: var(--gold); font-size: 15px; font-weight: 700; line-height: 1.35; }
.radio-now-artist { color: var(--text); font-size: 13px; font-weight: 500; }
.radio-now-artist:empty { display: none; }
@media (max-width: 860px) {
	.radio-now { position: fixed; top: 64px; left: 12px; right: 12px; width: auto; }
	.radio-now::before { display: none; }
}

/* Compact server status box */
.srv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.srv-state { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.srv-state i { width: 8px; height: 8px; border-radius: 50% !important; }
.srv-state.online { color: var(--green); background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.35); }
.srv-state.online i { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); animation: srv-pulse 2s ease-in-out infinite; }
.srv-state.offline { color: var(--red); background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.35); }
.srv-state.offline i { background: var(--red); }
@keyframes srv-pulse { 50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.05); } }
@media (prefers-reduced-motion: reduce) { .srv-state.online i { animation: none; } }
.srv-link { font-size: 13px; white-space: nowrap; }
.srv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.srv-stats > div { padding: 8px 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); text-align: center; }
.srv-stats dt { color: var(--muted); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.srv-stats dd { margin: 3px 0 0; color: var(--text); font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Radio card becomes interactive: station switcher */
.radio-pill:hover .radio-now, .radio-pill:focus-within .radio-now { pointer-events: auto; }
.radio-now::after { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.radio-now > div[role="status"] { display: grid; gap: 3px; }
.radio-stations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.radio-stations button {
	padding: 7px 4px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	font: 600 12px/1.2 'Roboto', sans-serif;
	cursor: pointer;
}
.radio-stations button:hover { border-color: rgba(255, 183, 45, 0.6); color: var(--gold); }
.radio-stations button[aria-pressed="true"] { border-color: var(--gold); background: rgba(255, 183, 45, 0.12); color: var(--gold); }
.radio-stations button:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.radio-now { width: 300px; }
@media (max-width: 860px) { .radio-now { width: auto; } }

/* Mobile menu: the header is sticky, so an open menu taller than the screen must scroll inside itself */
@media (max-width: 860px) {
	.nav-open .nav { max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}

/* Seamless navigation: thin gold progress bar while the next page loads */
.nav-progress { position: fixed; top: 0; left: 0; z-index: 100000; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold-3), var(--gold), #fff1c2); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.nav-progress.active { opacity: 1; animation: nav-progress 1.4s ease-out forwards; }
@keyframes nav-progress { from { transform: scaleX(0.05); } to { transform: scaleX(0.85); } }

/* Header dropdown fixes: hover bridge over the gap, focus no longer pins menus open, above page content */
.topbar .dropdown { z-index: 70; }
.topbar .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
@media (min-width: 861px) {
	.topbar .nav-item:focus-within:not(:hover):not(.open) .dropdown { opacity: 0; visibility: hidden; transform: translateY(6px); }
	.topbar .nav-item:has(:focus-visible) .dropdown { opacity: 1; visibility: visible; transform: none; }
	.topbar .nav.no-hover .nav-item:not(.open) .dropdown { opacity: 0; visibility: hidden; transition: none; }
}

/* Home: highlighted "buy Grimoria Coins" call to action */
.coin-cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
	padding: 14px 22px 14px 16px;
	overflow: hidden;
	border: 1px solid rgba(255, 183, 45, 0.85);
	background: radial-gradient(260px 90px at 30% 0%, rgba(255, 183, 45, 0.22), transparent 70%), linear-gradient(180deg, #221a0b, #120e07);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(255, 183, 45, 0.18);
	color: var(--text);
	text-align: left;
	text-decoration: none;
	animation: coin-cta-glow 2.4s ease-in-out infinite;
	transition: transform .15s, box-shadow .15s;
}
.coin-cta::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 241, 207, 0.22), transparent);
	transform: skewX(-20deg);
	animation: coin-cta-shine 3.6s ease-in-out infinite;
	pointer-events: none;
}
.coin-cta:hover { transform: translateY(-2px); color: var(--text); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 14px 36px rgba(255, 183, 45, 0.32); }
.coin-cta-icon { flex: none; width: 52px; height: 52px; filter: drop-shadow(0 4px 10px rgba(255, 183, 45, 0.4)); animation: coin-cta-spin 4s ease-in-out infinite; }
.coin-cta-text b { display: block; font: 700 22px/1.15 'Cinzel', Georgia, serif; letter-spacing: .02em; background: linear-gradient(180deg, #fff1cf, var(--gold) 60%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coin-cta-text small { display: block; margin-top: 3px; color: #e8e2d6; font-size: 13px; }
.coin-cta-arrow { margin-left: 6px; color: var(--gold); font-size: 30px; line-height: 1; transition: transform .15s; }
.coin-cta:hover .coin-cta-arrow { transform: translateX(4px); }
@keyframes coin-cta-glow { 50% { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 10px 38px rgba(255, 183, 45, 0.36); } }
@keyframes coin-cta-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes coin-cta-spin { 0%, 70%, 100% { transform: rotateY(0); } 85% { transform: rotateY(180deg); } }
@media (prefers-reduced-motion: reduce) {
	.coin-cta, .coin-cta::after, .coin-cta-icon { animation: none; }
}
@media (max-width: 560px) {
	.coin-cta { gap: 12px; padding: 12px 16px 12px 12px; }
	.coin-cta-icon { width: 42px; height: 42px; }
	.coin-cta-text b { font-size: 18px; }
	.coin-cta-text small { font-size: 12px; }
}

/* Coin CTA placed in the sidebar, right below the server status box */
.sidebar .coin-cta { display: flex; width: 100%; margin: 20px 0 0; padding: 12px 12px 12px 10px; gap: 10px; border-color: #000; }
.sidebar .coin-cta + .box { margin-top: 20px; }
.sidebar .coin-cta-icon { width: 36px; height: 36px; }
.sidebar .coin-cta-text { flex: 1; min-width: 0; }
.sidebar .coin-cta-text b { font-size: 14px; letter-spacing: 0; white-space: nowrap; }
.sidebar .coin-cta-text small { margin-top: 2px; font-size: 11px; line-height: 1.35; }
.sidebar .coin-cta-arrow { margin-left: 0; font-size: 22px; }
@media (max-width: 980px) {
	.sidebar .coin-cta, .sidebar .coin-cta + .box { margin: 0; }
}

/* Fixed welcome box above the news on the home page */
.welcome-panel { margin-bottom: 20px; }
.news-empty { margin: 0; color: var(--muted); }

/* Status box: login server, database and website status/uptime */
.srv-services { margin-top: 10px; margin-bottom: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.srv-services li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 13px; }
.srv-services li + li { border-top: 1px solid var(--line-soft); }
.srv-services span { flex: 1; color: var(--muted); }
.srv-services b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.srv-dot { flex: none; width: 7px; height: 7px; border-radius: 50% !important; background: var(--green); }
.srv-dot.off { background: var(--red); }
.srv-services li:has(.srv-dot.off) b { color: var(--red); }

/* Status box layout: state + version, highlighted player count, services list */
.srv-hero {
	padding: 12px 14px 14px;
	border: 1px solid var(--line);
	background: radial-gradient(260px 130px at 50% 0%, rgba(34, 197, 94, 0.10), transparent 70%), #121314;
}
.srv-hero.offline { background: radial-gradient(260px 130px at 50% 0%, rgba(239, 68, 68, 0.10), transparent 70%), #121314; }
.srv-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.srv-version { padding: 3px 8px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 12px; white-space: nowrap; }
.srv-players {
	display: grid;
	justify-items: center;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--line-soft);
	color: var(--text);
	text-align: center;
	text-decoration: none;
}
.srv-players b { font: 700 42px/1 'Cinzel', Georgia, serif; color: var(--gold); text-shadow: 0 2px 14px rgba(255, 183, 45, 0.25); font-variant-numeric: tabular-nums; }
.srv-players span { margin-top: 5px; color: var(--text); font-size: 13px; }
.srv-players em { margin-top: 8px; color: var(--gold); font-size: 12px; font-style: normal; opacity: .85; transition: opacity .15s; }
.srv-players:hover { color: var(--text); }
.srv-players:hover em { opacity: 1; text-decoration: underline; }
.srv-offline-msg { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; text-align: center; }
.srv-services-title { margin-top: 14px; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.srv-services-title small { float: right; font-weight: 400; letter-spacing: .04em; opacity: .75; }
.srv-box .srv-services { margin-top: 0; }
.srv-box .srv-services li { padding: 8px 10px; }

/* Status box, "status band" model: coloured band, ringed player count, service chips */
.sidebar .box.srv-v2 > .srv-band { margin: 0 0 14px; } /* no title above it any more */
.srv-band {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 12px;
	border-bottom: 1px solid #000;
	background: repeating-linear-gradient(135deg, rgba(34, 197, 94, 0.16) 0 10px, rgba(34, 197, 94, 0.08) 10px 20px);
	color: var(--green);
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.srv-band b { font-weight: 800; }
.srv-band span { color: var(--text); opacity: .75; letter-spacing: .04em; text-transform: none; }
.srv-band i { width: 9px; height: 9px; border-radius: 50% !important; background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); animation: srv-pulse 2s ease-in-out infinite; }
.srv-band.offline { background: repeating-linear-gradient(135deg, rgba(239, 68, 68, 0.16) 0 10px, rgba(239, 68, 68, 0.08) 10px 20px); color: var(--red); }
.srv-band.offline i { background: var(--red); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2); animation: none; }
.srv-meter { display: flex; align-items: center; gap: 16px; padding: 4px 4px 2px; color: var(--text); text-decoration: none; }
.srv-meter:hover { color: var(--text); }
.srv-ring {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 78px;
	height: 78px;
	border-radius: 50% !important;
	background: conic-gradient(from 200deg, var(--gold-3), var(--gold), #fff1cf, var(--gold), var(--gold-3));
	box-shadow: 0 0 22px rgba(255, 183, 45, 0.28);
}
.srv-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50% !important; background: radial-gradient(circle at 50% 35%, #26221a, #111213 70%); }
.srv-ring b { position: relative; font: 700 30px/1 'Cinzel', Georgia, serif; color: var(--gold); font-variant-numeric: tabular-nums; }
.srv-meter-text { display: grid; gap: 6px; }
.srv-meter-text b { font-size: 15px; font-weight: 700; }
.srv-meter-text em { color: var(--gold); font-size: 13px; font-style: normal; opacity: .85; }
.srv-meter:hover .srv-meter-text em { opacity: 1; text-decoration: underline; }
.srv-v2 .srv-offline-msg { margin-top: 4px; padding-top: 0; border-top: 0; }
.srv-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.srv-chips li { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 12px; }
.srv-chips i { flex: none; width: 7px; height: 7px; border-radius: 50% !important; background: var(--green); }
.srv-chips span { color: var(--muted); }
.srv-chips b { margin-left: auto; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.srv-chips li.off { border-color: rgba(239, 68, 68, 0.4); }
.srv-chips li.off i { background: var(--red); }
.srv-chips li.off b { color: var(--red); }
@media (prefers-reduced-motion: reduce) { .srv-band i { animation: none; } }

/* Sidebar login / account box: compact header, icon inputs, inline actions */
.sidebar .box.login-box { padding: 14px 0; }
.lb-head { display: flex; align-items: center; gap: 10px; }
.lb-avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 183, 45, 0.5);
	border-radius: 50% !important;
	background: radial-gradient(circle at 50% 30%, rgba(255, 183, 45, 0.25), rgba(255, 183, 45, 0.05));
	color: var(--gold);
	font: 700 17px/1 'Cinzel', Georgia, serif;
}
.lb-avatar svg { width: 18px; height: 18px; fill: currentColor; }
.lb-who { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.lb-who small { color: var(--muted); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.lb-who b { overflow: hidden; color: var(--text); font: 700 16px 'Cinzel', Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.lb-create { padding: 5px 9px; border: 1px solid var(--line); color: var(--gold); font-size: 12px; white-space: nowrap; transition: border-color .15s, background .15s; }
.lb-create:hover { border-color: var(--gold); background: rgba(255, 183, 45, 0.08); color: var(--gold); }
.lb-form { display: grid; gap: 8px; margin-top: 12px; }
.lb-field { position: relative; display: block; margin: 0; }
.lb-field > svg { position: absolute; top: 50%; left: 11px; width: 15px; height: 15px; fill: var(--muted); transform: translateY(-50%); pointer-events: none; transition: fill .15s; }
.lb-field:focus-within > svg { fill: var(--gold); }
.login-box .lb-field input { height: 38px; padding: 0 12px 0 34px; font-size: 13px; }
.login-box .lb-field input[name="password_login"] { padding-right: 38px; }
.lb-eye { position: absolute; top: 50%; right: 4px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; transform: translateY(-50%); }
.lb-eye svg { width: 16px; height: 16px; fill: currentColor; }
.lb-eye:hover, .lb-eye.on { color: var(--gold); }
.lb-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.lb-row a { color: var(--muted); font-size: 12px; }
.lb-row a:hover { color: var(--gold); }
.lb-row .btn { padding: 8px 20px; font-size: 13px; }
.lb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.lb-actions .btn { width: 100%; padding: 8px 6px; font-size: 13px; white-space: nowrap; }
.lb-icon-btn { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--line); color: var(--muted); transition: color .15s, border-color .15s; }
.lb-icon-btn svg { width: 16px; height: 16px; fill: currentColor; }
.lb-icon-btn:hover { border-color: rgba(239, 68, 68, 0.5); color: #f87171; }

/* Sidebar: WhatsApp community group card */
.wa-card { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px; border: 1px solid #000; background: radial-gradient(220px 90px at 20% 0%, rgba(37, 211, 102, 0.16), transparent 70%), #111512; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.wa-card:hover { color: var(--text); transform: translateY(-2px); }
.wa-icon { flex: none; width: 38px; height: 38px; fill: #25d366; filter: drop-shadow(0 2px 8px rgba(37, 211, 102, 0.35)); }
.wa-text { flex: 1; min-width: 0; line-height: 1.3; }
.wa-text b { display: block; font-size: 14px; }
.wa-text small { display: block; color: var(--muted); font-size: 11.5px; }
.wa-join { flex: none; padding: 6px 10px; background: #25d366; color: #052e12; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.sidebar .wa-card + .box { margin-top: 20px; }
@media (max-width: 980px) {
	.sidebar .wa-card, .sidebar .wa-card + .box { margin: 0; }
}

/* Home hero: Download button with a rotating gold border, soft ripples and a bouncing arrow */
@property --dl-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.hero-actions .btn-download {
	position: relative;
	isolation: isolate;
	gap: 10px;
	padding: 11px 22px 11px 18px;
	border: 2px solid transparent;
	background:
		linear-gradient(180deg, #221b0e, #120e07) padding-box,
		conic-gradient(from var(--dl-angle), #6b4604, #ffb72d, #fff1cf, #ffb72d, #6b4604 50%, #ffb72d, #fff1cf, #ffb72d, #6b4604) border-box;
	box-shadow: 0 0 22px rgba(255, 183, 45, 0.22), inset 0 0 14px rgba(255, 183, 45, 0.10);
	color: #ffcf6a;
	font-weight: 700;
	letter-spacing: .04em;
	animation: dl-spin 3.5s linear infinite, dl-glow 2.4s ease-in-out infinite;
}
.hero-actions .btn-download::before,
.hero-actions .btn-download::after {
	content: "";
	position: absolute;
	inset: -2px;
	z-index: -1;
	border: 2px solid rgba(255, 183, 45, 0.55);
	pointer-events: none;
	animation: dl-ripple 2.4s cubic-bezier(.2, .6, .35, 1) infinite;
}
.hero-actions .btn-download::after { animation-delay: 1.2s; }
.btn-download svg { width: 16px; height: 16px; fill: currentColor; animation: dl-bounce 1.2s ease-in-out infinite; }
.hero-actions .btn-download:hover {
	background:
		linear-gradient(180deg, #ffd46a, #ffb72d 55%, #b8860b) padding-box,
		conic-gradient(from var(--dl-angle), #6b4604, #ffb72d, #fff1cf, #ffb72d, #6b4604 50%, #ffb72d, #fff1cf, #ffb72d, #6b4604) border-box;
	box-shadow: 0 10px 30px rgba(255, 183, 45, 0.45);
	color: #1a1204;
	transform: translateY(-2px);
}
.hero-actions .btn-download:hover svg { animation-duration: .6s; }
@keyframes dl-spin { to { --dl-angle: 360deg; } }
@keyframes dl-glow { 50% { box-shadow: 0 0 34px rgba(255, 183, 45, 0.42), inset 0 0 18px rgba(255, 183, 45, 0.18); } }
@keyframes dl-ripple {
	0% { inset: -2px; opacity: .8; }
	100% { inset: -16px -22px; opacity: 0; }
}
@keyframes dl-bounce { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
@media (prefers-reduced-motion: reduce) {
	.hero-actions .btn-download, .hero-actions .btn-download::before, .hero-actions .btn-download::after, .btn-download svg { animation: none; }
	.hero-actions .btn-download::before, .hero-actions .btn-download::after { display: none; }
}

/* Sidebar: Discord card (reuses the WhatsApp card layout) */
.dc-card { background: radial-gradient(220px 90px at 20% 0%, rgba(88, 101, 242, 0.2), transparent 70%), #121320; }
.dc-card:hover { border-color: #000; }
.dc-card .wa-icon { fill: #8b95ff; filter: drop-shadow(0 2px 8px rgba(88, 101, 242, 0.45)); }
.dc-card .wa-join { background: #5865f2; color: #fff; }
.sidebar .wa-card + .wa-card { margin-top: 10px; }
@media (max-width: 980px) {
	.sidebar .wa-card + .wa-card { margin: 0; }
}

/* Collapsible welcome block (details.gv-toggle): "+" to expand, "−" to collapse */
.gv-toggle > summary { list-style: none; cursor: pointer; }
.gv-toggle > summary::-webkit-details-marker { display: none; }
.gv-toggle > summary h3 { margin-bottom: 0; transition: color .15s; }
.gv-toggle[open] > summary h3 { margin-bottom: 14px; }
.gv-toggle > summary:hover h3 { color: var(--gold); }
.gv-toggle > summary h3 small { color: var(--gold); font: 600 12px 'Roboto', sans-serif; letter-spacing: .04em; text-transform: none; }
.gv-toggle[open] > summary h3 small { display: none; }
.gv-plus { position: relative; order: 2; flex: none; width: 26px; height: 26px; border: 1px solid rgba(255, 183, 45, 0.55); background: rgba(255, 183, 45, 0.08); transition: background .15s, border-color .15s; }
.gv-plus::before, .gv-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .2s ease; }
.gv-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.gv-toggle[open] .gv-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.gv-toggle > summary:hover .gv-plus { border-color: var(--gold); background: rgba(255, 183, 45, 0.16); }
.gv-toggle > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.gv-toggle[open] > summary ~ * { animation: gv-reveal .25s ease; }
@keyframes gv-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gv-toggle[open] > summary ~ * { animation: none; } }

/* Account creation: 5 vocations (with Monk) in one row on wide screens */
.vocation-grid { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }

/* Header brand: still Golden Outfit, no glow */
.brand-mark { filter: none; }

/* Home: boosted creature and boss of the day (data from boosted_creature / boosted_boss). */
.boosted-panel {
	margin-bottom: 16px;
	padding: 10px 14px 8px;
	background:
		radial-gradient(260px 120px at 25% 60%, rgba(255, 183, 45, 0.10), transparent 70%),
		radial-gradient(260px 120px at 75% 60%, rgba(239, 68, 68, 0.10), transparent 70%),
		linear-gradient(180deg, #1c1e1f, #111213);
}
.boosted-head { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 13px; color: var(--gold); letter-spacing: .22em; }
.boosted-head::before, .boosted-head::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 183, 45, 0.6)); }
.boosted-head::after { background: linear-gradient(90deg, rgba(255, 183, 45, 0.6), transparent); }
.boosted-head span { position: relative; padding: 0 16px; }
.boosted-head span::before, .boosted-head span::after { content: ''; position: absolute; top: 50%; width: 6px; height: 6px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }
.boosted-head span::before { left: 0; }
.boosted-head span::after { right: 0; }

.boosted-grid { display: grid; grid-template-columns: 1fr 1fr; }
.boosted-card {
	--accent: var(--gold);
	--accent-rgb: 255, 183, 45;
	display: flex; align-items: center; gap: 12px; min-width: 0;
	padding: 6px 12px;
	color: var(--text);
	text-decoration: none;
}
.boosted-card + .boosted-card { border-left: 1px solid rgba(255, 183, 45, 0.18); }
.boosted-boss { --accent: #ef4444; --accent-rgb: 239, 68, 68; }
.boosted-medal {
	flex: none; display: grid; place-items: center;
	width: 60px; height: 60px;
	border: 2px solid rgba(var(--accent-rgb), 0.7);
	border-radius: 50% !important;
	background: radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), 0.35), rgba(0, 0, 0, 0.85) 70%);
	box-shadow: 0 0 0 3px #0c0c0d, 0 0 0 4px rgba(var(--accent-rgb), 0.25), 0 0 18px rgba(var(--accent-rgb), 0.3);
	overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}
.boosted-medal img { width: 56px; height: 56px; image-rendering: pixelated; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.8)); }
.boosted-card:hover .boosted-medal { transform: scale(1.06); box-shadow: 0 0 0 3px #0c0c0d, 0 0 0 4px rgba(var(--accent-rgb), 0.6), 0 0 24px rgba(var(--accent-rgb), 0.55); }
.boosted-info { display: grid; gap: 1px; min-width: 0; }
.boosted-info small { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.boosted-info b { font-family: 'Cinzel', Georgia, serif; font-size: 15px; line-height: 1.2; color: var(--parchment, var(--text)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.boosted-card:hover .boosted-info b { color: var(--accent); }
.boosted-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.boosted-tags em { padding: 1px 6px; border: 1px solid rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.1); color: var(--text); font-size: 10.5px; font-style: normal; font-weight: 600; line-height: 1.5; }
.boosted-foot { margin: 6px 0 0; color: var(--muted); font-size: 11px; text-align: center; opacity: .8; }

@media (max-width: 620px) {
	.boosted-grid { grid-template-columns: 1fr; }
	.boosted-card + .boosted-card { border-left: 0; border-top: 1px solid rgba(255, 183, 45, 0.18); }
	.boosted-card { padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) { .boosted-medal { transition: none; } .boosted-card:hover .boosted-medal { transform: none; } }

/* Boosted box: animated sprites without the medallion border, only a soft glow behind them */
.boosted-medal { width: 64px; height: 64px; border: 0; background: radial-gradient(circle at 50% 55%, rgba(var(--accent-rgb), 0.28), transparent 68%); box-shadow: none; overflow: visible; }
.boosted-medal img { width: 64px; height: 64px; }
.boosted-card:hover .boosted-medal { box-shadow: none; transform: scale(1.08); }

/* Boosted box: background at 40% transparency (60% opacity) */
.boosted-panel {
	background:
		radial-gradient(260px 120px at 25% 60%, rgba(255, 183, 45, 0.06), transparent 70%),
		radial-gradient(260px 120px at 75% 60%, rgba(239, 68, 68, 0.06), transparent 70%),
		linear-gradient(180deg, rgba(28, 30, 31, 0.6), rgba(17, 18, 19, 0.6));
}

/* Items page (plugins/list_of_items: catalog built from the client market data + server items.xml) */
.it-page { display: grid; gap: 16px; }
.it-search { display: flex; flex-wrap: wrap; gap: 8px; }
.it-search input[type="search"] { flex: 1 1 240px; min-width: 0; padding: 10px 12px; }
.it-search select { flex: 0 0 auto; padding: 10px 12px; }
.it-search .btn { padding: 10px 20px; }
.it-intro { margin: 0; color: var(--muted); font-size: 14px; }
.it-group { margin: 6px 0 0; font-size: 15px; color: var(--parchment, var(--gold)); }
.it-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.it-cat { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); background: #151617; color: var(--text); text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.it-cat:hover { border-color: rgba(255, 183, 45, 0.55); background: #1b1c1e; transform: translateY(-1px); color: var(--text); }
.it-cat-img { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-soft); background: #0f1011; }
.it-cat-img img, .it-img img { image-rendering: pixelated; }
.it-cat b { font-size: 14px; line-height: 1.2; }
.it-cat:hover b { color: var(--gold); }
.it-cat small { color: var(--muted); font-size: 12px; }

.it-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.it-crumbs span { color: var(--muted); }
.it-crumbs b { color: var(--parchment, var(--text)); }
.it-chip { padding: 1px 8px; border: 1px solid var(--line); background: #151617; color: var(--text) !important; font-size: 12px; }
.it-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.it-tabs a { padding: 4px 9px; border: 1px solid var(--line-soft); background: #151617; color: var(--muted); font-size: 12px; text-decoration: none; }
.it-tabs a:hover { color: var(--text); border-color: var(--line); }
.it-tabs a.active { border-color: var(--gold); background: rgba(255, 183, 45, 0.12); color: var(--gold); }
.it-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
.it-sort a { margin-left: 8px; color: var(--muted); }
.it-sort a.active { color: var(--gold); font-weight: 600; }
.it-empty { margin: 0; padding: 20px; border: 1px solid var(--line); background: #151617; color: var(--muted); text-align: center; }

.it-table-wrap { overflow-x: auto; }
.it-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: #151617; font-size: 13px; }
.it-table th { padding: 9px 10px; border-bottom: 1px solid #000; background: linear-gradient(180deg, #2f3338, #1e1f20); color: var(--parchment, var(--text)); font-weight: 600; text-align: left; white-space: nowrap; }
.it-table td { padding: 8px 10px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.it-table tbody tr:hover td { background: rgba(255, 183, 45, 0.04); }
.it-img { width: 48px; }
.it-img img { display: block; width: 32px; height: 32px; padding: 3px; box-sizing: content-box; border: 1px solid var(--line-soft); background: #0f1011; }
.it-name b { color: var(--text); font-size: 14px; }
.it-cls { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid rgba(255, 183, 45, 0.45); color: var(--gold); font-size: 10.5px; font-weight: 700; vertical-align: 1px; }
.it-catlabel { display: block; color: var(--gold); font-size: 11px; }
.it-desc { display: block; max-width: 340px; color: var(--muted); font-size: 11.5px; font-style: italic; line-height: 1.35; }
.it-lvl { color: var(--text); font-weight: 600; text-align: center; white-space: nowrap; }
.it-voc { white-space: nowrap; }
.voc { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 2px; border: 1px solid; font-size: 11px; font-weight: 700; cursor: default; }
.voc-knight { border-color: #b3261e; color: #ff8a80; background: rgba(179, 38, 30, 0.15); }
.voc-paladin { border-color: #c79a2b; color: #ffd166; background: rgba(199, 154, 43, 0.15); }
.voc-sorcerer { border-color: #3b6fd8; color: #8ab4ff; background: rgba(59, 111, 216, 0.15); }
.voc-druid { border-color: #2e9d57; color: #7ee2a1; background: rgba(46, 157, 87, 0.15); }
.voc-monk { border-color: #9b59d0; color: #d0a8f5; background: rgba(155, 89, 208, 0.15); }
.it-any, .it-none { color: var(--muted); font-size: 12px; }
.it-stats { min-width: 180px; }
.it-stats span { display: inline-block; margin: 1px 4px 1px 0; padding: 0 6px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.03); color: var(--text); font-size: 11.5px; line-height: 1.7; }
.it-stats span.it-none { border: 0; background: none; }
.it-weight { color: var(--muted); white-space: nowrap; text-align: right; }
.it-pages { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }

@media (max-width: 700px) {
	.it-table thead { display: none; }
	.it-table, .it-table tbody, .it-table tr, .it-table td { display: block; width: 100%; }
	.it-table tr { position: relative; padding: 10px 10px 10px 62px; border-top: 1px solid var(--line); }
	.it-table td { padding: 2px 0; border: 0; text-align: left; }
	.it-table td.it-img { position: absolute; left: 10px; top: 12px; width: auto; }
	.it-lvl, .it-voc, .it-weight { display: inline-block !important; width: auto !important; margin-right: 12px; font-size: 12px; }
	.it-lvl::before, .it-weight::before { content: attr(data-label) ': '; color: var(--muted); font-weight: 400; }
	.it-stats { min-width: 0; }
}
.it-search input[type="search"], .it-search select { width: auto; }
@media (max-width: 560px) { .it-search input[type="search"], .it-search select, .it-search .btn { flex: 1 1 100%; width: 100%; } }

/* Character page: equipment hidden by the owner (account > edit character) */
.inv-hidden { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 120px; margin: 0; padding: 16px; border: 1px dashed var(--line); background: #121314; color: var(--muted); font-size: 13px; text-align: center; }
.inv-hidden svg { flex: none; width: 18px; height: 18px; fill: var(--gold); opacity: .8; }

/* Character page: equipped items link to the items page */
a.inv-slot { transition: border-color .15s, box-shadow .15s; }
a.inv-slot:hover { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(255, 183, 45, 0.5) inset, 0 0 10px rgba(255, 183, 45, 0.25); }

/* Hero logo: realistic fire (canvas drawn by the script after the logo in index.php) */
.hero-logo { position: relative; }
.hero-logo .logo-fire { position: absolute; left: 0; width: 100%; pointer-events: none; mix-blend-mode: normal; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-logo .logo-fire { display: none; } }

/* Browser autofill: keep saved logins on the dark field instead of the browser's light fill. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 1000px #0f1011 inset !important;
	box-shadow: 0 0 0 1000px #0f1011 inset !important;
	-webkit-text-fill-color: var(--text) !important;
	caret-color: var(--text);
	transition: background-color 600000s 0s, color 600000s 0s;
}
input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #0f1011 inset, 0 0 0 3px rgba(255, 183, 45, 0.15) !important;
	box-shadow: 0 0 0 1000px #0f1011 inset, 0 0 0 3px rgba(255, 183, 45, 0.15) !important;
	-webkit-text-fill-color: var(--text) !important;
	caret-color: var(--text);
}
input:autofill {
	box-shadow: 0 0 0 1000px #0f1011 inset;
	-webkit-text-fill-color: var(--text);
}

/* character history: horizontal bars (one row per day, newest first) */
.hbars { display: grid; gap: 3px; padding: 12px 14px; max-height: 380px; overflow-y: auto; }
.hbar-row { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; font-size: 12px; }
.hbar-row:hover .hbar-track { background: #1c1e20; }
.hbar-day { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hbar-day small { font-size: 11px; color: #7d8187; }
.hbar-track { position: relative; height: 14px; background: #121314; border: 1px solid #202224; }
.hbar-track i { position: absolute; inset: 0 auto 0 0; display: block; }
.hbar-track i.exp { background: linear-gradient(90deg, #b8860b, var(--gold)); }
.hbar-track i.neg { background: linear-gradient(90deg, #8f2424, #d63b3b); }
.hbar-track i.online { background: linear-gradient(90deg, #24508f, #3b76d6); }
.hbar-val { min-width: 92px; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.hbar-val.neg { color: #e06060; }
@media (max-width: 560px) { .hbar-row { grid-template-columns: 66px 1fr auto; gap: 6px; } .hbar-val { min-width: 70px; font-size: 11px; } }

/* Loja de Itens CTA: crystal-blue twin of the coin CTA, in the sidebar between the server status and the coin CTA */
.items-cta { border-color: #000; background: radial-gradient(260px 90px at 30% 0%, rgba(92, 200, 255, 0.22), transparent 70%), linear-gradient(180deg, #0b1a24, #070f15); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(92, 200, 255, 0.18); animation-name: items-cta-glow; }
.items-cta::after { background: linear-gradient(100deg, transparent, rgba(207, 240, 255, 0.22), transparent); }
.items-cta:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 14px 36px rgba(92, 200, 255, 0.32); }
.items-cta .coin-cta-icon { image-rendering: pixelated; filter: drop-shadow(0 4px 10px rgba(92, 200, 255, 0.45)); animation: items-cta-bob 2.4s ease-in-out infinite; }
.items-cta .coin-cta-text b { background: linear-gradient(180deg, #e8f8ff, #5cc8ff 60%, #1f7fbf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.items-cta .coin-cta-arrow { color: #5cc8ff; }
.sidebar .items-cta .coin-cta-icon { width: 36px; height: 36px; }
@keyframes items-cta-glow { 50% { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 10px 38px rgba(92, 200, 255, 0.36); } }
@keyframes items-cta-bob { 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .items-cta .coin-cta-icon { animation: none; } }
@media (max-width: 980px) { .sidebar .items-cta + .coin-cta { margin: 0; } }

/* Full-width pages (no sidebar), e.g. Loja de Itens */
.layout.layout-full { grid-template-columns: minmax(0, 1fr); }

/* Boosted do dia (home): no border */
.panel.boosted-panel { border: 0; box-shadow: none; }

/* Status card: "online 24/7" line under the player count */
.srv-247 { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 16px 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: #7a808a; font-size: 12.5px; line-height: 1.3; text-align: center; }
.srv-247 svg { flex: none; width: 15px; height: 15px; fill: var(--green); }
.srv-247 b { color: inherit; font-weight: 400; }

/* Phones: the status card moves under "Boosted do dia" (home); the sidebar copy is hidden there */
.srv-mobile-slot { display: none; }
@media (max-width: 980px) {
	.srv-mobile-slot { display: block; margin-bottom: 16px; }
	.srv-mobile-slot .box { padding: 0 0 16px; }
	.srv-mobile-slot .box > * { margin-left: 16px; margin-right: 16px; }
	.srv-mobile-slot .box.srv-v2 > .srv-band { margin: 0 0 14px; }
	.layout:has(.srv-mobile-slot) .sidebar > .srv-box { display: none; }
}

/* Home welcome lead: darker text */
.gv-lead { color: #9b968c; }
.gv-lead b { color: #bdb6a6; }

/* Phones: radio player stretches between the logo and the menu button, showing the station name */
@media (max-width: 860px) {
	.topbar-actions { flex: 0 1 auto; min-width: 0; margin-left: auto; }
	.topbar-actions .status-group { flex: 0 1 auto; min-width: 0; }
	.status-group .radio-pill, .status-group .radio-pill.playing { flex: 0 1 auto; min-width: 0; gap: 8px; padding: 0 10px 0 5px; }
	.status-group .radio-label { display: block; flex: 0 1 auto; min-width: 0; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
	.status-group .radio-pill.playing .radio-eq { order: 3; margin-right: 0; }
	.status-group .visitors-pill { flex: none; }
}
@media (max-width: 359px) {
	.status-group .radio-label { display: none; }
}

/* News components (09/10/2026): cover image, feature cards, list columns, notice, script grid, comparison */
.gv-hero { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255, 183, 45, 0.45); box-shadow: 0 0 0 1px #000, 0 14px 34px rgba(0, 0, 0, 0.45); }
.gv-hero img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 338; object-fit: cover; }
.gv-hero figcaption { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 34px 18px 14px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88)); }
.gv-hero figcaption b { font: 700 20px/1.2 'Cinzel', Georgia, serif; color: var(--gold); text-shadow: 0 2px 6px #000; }
.gv-hero figcaption span { color: var(--text); font-size: 13px; }
.gv-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: #1a1204; font: 800 10.5px/1.6 'Roboto', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.gv-chip.green { background: #2d7a3a; color: #fff; }

.gv-block h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--gold); font: 700 12.5px 'Roboto', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.gv-block h4 + * { margin-top: 0; }
.gv-block > p + p { margin-top: 10px; }

.gv-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gv-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, #191a1c, #141516); }
.gv-card svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border: 1px solid rgba(255, 183, 45, 0.4); background: rgba(255, 183, 45, 0.08); fill: var(--gold); }
.gv-card b { color: var(--text); font-size: 14.5px; }
.gv-card span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.gv-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gv-cols > div { padding: 14px 14px 12px; border: 1px solid var(--line); border-top: 2px solid rgba(255, 183, 45, 0.55); background: #151617; }
.gv-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.gv-list li { position: relative; padding-left: 16px; color: var(--text); font-size: 13.5px; line-height: 1.5; }
.gv-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.gv-list li b { color: var(--gold); font-weight: 600; }

.gv-notice { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 16px 18px; border: 1px solid rgba(34, 197, 94, 0.45); border-left: 3px solid var(--green); background: linear-gradient(90deg, rgba(34, 197, 94, 0.10), rgba(34, 197, 94, 0.02)); }
.gv-notice svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(34, 197, 94, 0.16); fill: var(--green); }
.gv-notice b { color: #fff; font-size: 15px; }
.gv-notice p { color: var(--text); font-size: 14px; }
.gv-notice small { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.gv-block > .gv-notice + .gv-cards { margin-top: 12px; }

.gv-toggle[open] > summary h3 { margin-bottom: 16px; }
.gv-scripts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 18px; border: 1px solid #202224; background: #202224; }
.gv-scripts > div { padding: 10px 12px; background: #151617; }
.gv-scripts dt { color: var(--gold); font-size: 13.5px; font-weight: 600; }
.gv-scripts dd { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.gv-scripts:last-child { margin-bottom: 0; }

.gv-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gv-compare > div { padding: 16px; border: 1px solid var(--line); background: #151617; }
.gv-compare > div.main { border-color: rgba(255, 183, 45, 0.55); background: radial-gradient(300px 140px at 100% 0, rgba(255, 183, 45, 0.12), transparent 70%), #151617; }
.gv-compare h5 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--text); font: 700 15px 'Cinzel', Georgia, serif; }

@media (max-width: 860px) {
	.gv-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.gv-cards, .gv-scripts, .gv-compare { grid-template-columns: minmax(0, 1fr); }
	.gv-hero figcaption { padding: 24px 12px 10px; }
	.gv-hero figcaption b { font-size: 17px; }
}

/* 11/10/2026: lateral (login, online, coins, WhatsApp, Discord, Top 5, VIP) no lado ESQUERDO no computador.
   No celular/tablet (até 980px) continua embaixo do conteúdo. Para voltar à direita, apagar este bloco. */
@media (min-width: 981px) {
	.layout:not(.layout-full) { grid-template-columns: 280px minmax(0, 1fr); } /* 11/10: era 320px */
	.layout:not(.layout-full) > .sidebar { grid-column: 1; grid-row: 1; }
	.layout:not(.layout-full) > .content-column { grid-column: 2; grid-row: 1; }
}

/* 11/10/2026: música da rádio no cabeçalho (no lugar do contador de visitantes). Escondida no celular. */
.status-group .radio-song-pill { gap: 8px; min-width: 0; max-width: 300px; color: var(--muted); font-weight: 500; }
.radio-song-pill svg { flex: none; width: 15px; height: 15px; fill: var(--gold); }
.radio-song-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio-pill.playing + .radio-song-pill { color: var(--text); }
@media (max-width: 1100px) { .status-group .radio-song-pill { max-width: 190px; } }
@media (max-width: 860px) { .status-group .radio-song-pill { display: none; } }

/* 11/10/2026: botão "Comprar Grimoria Coins" da lateral sem destaque (mesmo padrão dos cartões WhatsApp/Discord):
   sem brilho pulsando, reflexo, moeda girando e borda dourada forte. Para voltar o destaque, apagar este bloco. */
.sidebar .coin-cta {
	border: 1px solid #000;
	background: radial-gradient(220px 90px at 20% 0%, rgba(255, 183, 45, 0.10), transparent 70%), #141310;
	box-shadow: none;
	animation: none;
}
.sidebar .coin-cta::after { display: none; }
.sidebar .coin-cta:hover { box-shadow: none; }
.sidebar .coin-cta-icon { filter: none; animation: none; }
.sidebar .coin-cta-text b { font: 700 14px/1.3 'Roboto', system-ui, sans-serif; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text); }
.sidebar .coin-cta-text small { color: var(--muted); }
.sidebar .coin-cta-arrow { color: var(--muted); }

/* 11/10/2026: logo da intro (modal de entrada) igual ao da página inicial (SVG em camadas, sem o fogo). */
.radio-gate-title { text-transform: none; letter-spacing: normal; }
.radio-gate-title .radio-gate-logo { display: block; width: min(100%, 320px); height: auto; margin: 0 auto; overflow: visible; }

/* 11/10/2026: texto "Seja bem-vindo ao Grimoria!" da home menor (só no quadro de boas-vindas; as notícias não mudam). Era 15px. */
.welcome-panel .gv-lead { padding: 12px 16px; font-size: 13.5px; line-height: 1.6; }

/* 11/10/2026: escolha de idioma (bandeiras no topo). Ativa = a do <html data-lang>. */
.lang-switch { display: flex; align-items: center; gap: 6px; flex: none; }
.lang-btn { display: grid; place-items: center; width: 34px; height: 26px; padding: 0; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); cursor: pointer; opacity: .55; filter: grayscale(.5); transition: opacity .15s, filter .15s, border-color .15s; }
.lang-btn svg { display: block; width: 24px; height: 17px; }
.lang-btn:hover { opacity: .9; filter: none; }
html[data-lang="pt"] .lang-btn[data-lang="pt"], html[data-lang="en"] .lang-btn[data-lang="en"] { opacity: 1; filter: none; border-color: var(--gold); box-shadow: 0 0 0 1px rgba(255, 183, 45, 0.25); }
@media (max-width: 860px) {
	.lang-switch { gap: 4px; }
	.lang-btn { width: 30px; height: 24px; }
	.lang-btn svg { width: 21px; height: 15px; }
}
/* 11/10/2026: bandeiras na ponta direita do cabeçalho (depois da rádio). */
.topbar-actions { display: flex; align-items: center; }
.topbar-actions .lang-switch { order: 10; }
/* 11/10/2026: só as bandeiras, sem borda/fundo/destaque de seleção. */
.lang-btn, .lang-btn:hover,
html[data-lang="pt"] .lang-btn[data-lang="pt"], html[data-lang="en"] .lang-btn[data-lang="en"] { width: auto; height: auto; border: 0; background: none; box-shadow: none; opacity: 1; filter: none; }
.lang-btn:hover { transform: translateY(-1px); }
.lang-switch { gap: 8px; }
/* 11/10/2026: destaque do "recém-lançado" na frase do topo da home. */
.hero-subtitle .hero-new { color: var(--gold); font-weight: 700; text-shadow: 0 0 14px rgba(255, 183, 45, 0.45); }
/* 11/10/2026: "recém-lançado" vermelho pulsante (substitui o dourado acima). */
.hero-subtitle .hero-new { color: #ff3b30; font-weight: 700; animation: hero-new-pulse 1.6s ease-in-out infinite; }
@keyframes hero-new-pulse {
	0%, 100% { color: #ff3b30; text-shadow: 0 0 4px rgba(255, 40, 30, 0.35); }
	50% { color: #ff6a5c; text-shadow: 0 0 14px rgba(255, 40, 30, 0.95), 0 0 26px rgba(255, 40, 30, 0.55); }
}
@media (prefers-reduced-motion: reduce) { .hero-subtitle .hero-new { animation: none; } }
/* 11/10/2026: "recém-lançado" verde pulsante (substitui o vermelho acima). */
.hero-subtitle .hero-new { color: #22c55e; animation-name: hero-new-pulse-green; }
@keyframes hero-new-pulse-green {
	0%, 100% { color: #22c55e; text-shadow: 0 0 4px rgba(34, 197, 94, 0.35); }
	50% { color: #5ef08f; text-shadow: 0 0 14px rgba(34, 197, 94, 0.95), 0 0 26px rgba(34, 197, 94, 0.55); }
}

/* 11/10/2026: Boosted do Dia mais baixo: menos espaço, sprite sem ocupar altura extra, selos ao lado do nome. */
.boosted-panel { margin-bottom: 12px; padding: 6px 14px 6px; }
.boosted-head { margin: 0 0 2px; font-size: 12px; }
.boosted-card { gap: 10px; padding: 2px 12px; }
.boosted-medal { width: 52px; height: 42px; flex: none; display: grid; place-items: center; }
.boosted-medal img { width: 64px; height: 64px; margin: -11px -6px; }
.boosted-info { flex: 1; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; }
.boosted-info small, .boosted-info b { grid-column: 1; }
.boosted-info .boosted-tags { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-wrap: nowrap; }
@media (max-width: 620px) {
	.boosted-card { padding: 4px 2px; }
	.boosted-info { grid-template-columns: minmax(0, 1fr); }
	.boosted-info .boosted-tags { grid-column: 1; grid-row: auto; margin-top: 2px; }
}

/* 11/10/2026: cabeçalho mais baixo — barra do menu 72→60px e banner da home ~380→~290px. */
.topbar-inner { min-height: 60px; }
.brand-mark { width: 48px; height: 48px; margin-block: -10px; }
.hero { padding: 20px 0 24px; }
.hero-logo { max-width: 600px; }
.hero-subtitle { margin: 6px auto 18px; }
@media (max-width: 860px) {
	.topbar-inner { min-height: 54px; padding-block: 6px; }
	.brand-mark { width: 40px; height: 40px; margin-block: -6px; }
	.hero { padding: 14px 0 20px; }
	.hero-logo { max-width: 380px; }
}
/* 11/10/2026: cabeçalho um pouco maior que o anterior (meio-termo entre o original e o fino). */
.topbar-inner { min-height: 66px; }
.brand-mark { width: 52px; height: 52px; margin-block: -11px; }
.hero { padding: 30px 0 32px; }
.hero-logo { max-width: 680px; }
.hero-subtitle { margin: 8px auto 22px; }
@media (max-width: 860px) {
	.topbar-inner { min-height: 56px; }
	.brand-mark { width: 42px; height: 42px; }
	.hero { padding: 18px 0 24px; }
	.hero-logo { max-width: 400px; }
}

/* 11/10/2026: avatar da Área do jogador com o sprite do personagem (ajustado por grimoriaFitAvatar). */
.lb-avatar.has-outfit { position: relative; width: 46px; height: 46px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(255, 183, 45, 0.28), rgba(10, 10, 12, 0.9) 75%); }
.lb-avatar.has-outfit img { position: absolute; left: -9px; top: -12px; width: 64px; height: 64px; max-width: none; image-rendering: pixelated; visibility: hidden; }

/* 11/10/2026: com a conta logada (botão "Minha Conta" no topo), a música da rádio fica mais curta. */
.topbar-actions.is-logged .radio-song-pill { max-width: 160px; }
@media (max-width: 1100px) { .topbar-actions.is-logged .radio-song-pill { max-width: 120px; } }
/* 11/10/2026: avatar logado sem o círculo, só o sprite, um pouco maior. */
.lb-avatar.has-outfit { width: 56px; height: 56px; margin-block: -6px; border: 0; border-radius: 0 !important; background: none; overflow: visible; }
.lb-avatar.has-outfit img { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8)); }

/* 11/10/2026: "Informações do servidor" recolhível na home (exp, skills, PvP e sistemas dentro de um só +). */
.gv-info-body > .gv-block:first-child { margin-top: 4px; }
.gv-info-body h3 small { color: var(--gold); font: 600 12px 'Roboto', sans-serif; letter-spacing: .04em; text-transform: none; }

/* 11/10/2026: bloco de boas-vindas inteiro recolhível: a frase "Seja bem-vindo..." fica visível com o + ao lado. */
.gv-welcome > summary { display: flex; align-items: center; gap: 14px; list-style: none; cursor: pointer; }
.gv-welcome > summary::-webkit-details-marker { display: none; }
.gv-welcome > summary .gv-lead { flex: 1; min-width: 0; }
.gv-welcome-body { display: grid; gap: 26px; margin-top: 22px; }
.gv-welcome-body h3 small { color: var(--gold); font: 600 12px 'Roboto', sans-serif; letter-spacing: .04em; text-transform: none; }

/* 11/10/2026: título da caixa "Últimas Notícias" (home) com faixas diagonais amarelo/preto, estilo fita de alerta.
   O texto fica sobre a parte escura da esquerda; as faixas preenchem o resto. */
.news-panel > .panel-title {
	position: relative;
	background:
		linear-gradient(90deg, #17181a 0, #17181a 210px, rgba(23, 24, 26, 0) 300px),
		repeating-linear-gradient(-45deg, #f5b301 0 14px, #121212 14px 28px);
	border-bottom: 2px solid #f5b301;
}
@media (max-width: 620px) {
	.news-panel > .panel-title { background: linear-gradient(90deg, #17181a 0, #17181a 190px, rgba(23, 24, 26, 0) 250px), repeating-linear-gradient(-45deg, #f5b301 0 12px, #121212 12px 24px); }
}
/* 11/10/2026: faixas do título "Últimas Notícias" suaves, no mesmo padrão da caixa ONLINE (só que em amarelo). */
.news-panel > .panel-title,
.news-panel > .panel-title:is(*) {
	background: repeating-linear-gradient(135deg, rgba(255, 183, 45, 0.16) 0 10px, rgba(255, 183, 45, 0.07) 10px 20px), #151617;
	border-bottom: 1px solid rgba(255, 183, 45, 0.35);
}

/* 12/10/2026: barra do titulo "Ultimas Noticias" mais fina (era 14px em cima/embaixo). */
.news-panel > .panel-title,
.news-panel > .panel-title:is(*) { padding-top: 7px; padding-bottom: 7px; line-height: 1.25; }

/* 12/10/2026: Lost Soul animado no cabeçalho, um pouco maior (52→68px; celular 42→52px). */
.brand picture { display: block; line-height: 0; }
.brand-mark { width: 68px; height: 68px; margin-block: -16px; }
@media (max-width: 860px) {
	.brand-mark { width: 52px; height: 52px; margin-block: -10px; }
}
