/* =====================================================================
   MU KNIGHT — Tema principal (LaMO WEB)
   Medieval / dark fantasy, inspirado no MU Online 2012–2015, modernizado.
   Paleta oficial: Claude/02_PALETA_MU_KNIGHT.md
   Substitui o antigo redblack.css (backup em Claude/backup_template).
   ===================================================================== */

:root {
	/* Paleta */
	--mk-bg:      #0D0D0F;  /* Preto profundo   — fundo */
	--mk-panel:   #24191D;  /* Grafite vinho    — menus, painéis, cards */
	--mk-wine:    #8B1625;  /* Vermelho vinho   — botões, ativos */
	--mk-ruby:    #D92336;  /* Vermelho rubi    — hover, alertas, brilho */
	--mk-gold:    #D4A45A;  /* Dourado metálico — ícones, títulos, bordas */
	--mk-silver:  #C4C7CC;  /* Prata            — texto secundário */
	--mk-ivory:   #F5F0EB;  /* Branco marfim    — texto e títulos */

	/* Derivadas */
	--mk-panel-2:    #1a1215;
	--mk-panel-3:    #2e2025;
	--mk-line:       rgba(212, 164, 90, .22);
	--mk-line-soft:  rgba(212, 164, 90, .10);
	--mk-line-ruby:  rgba(217, 35, 54, .35);
	--mk-gold-hi:    #f0cf8f;
	--mk-gold-lo:    #9c7535;
	--mk-muted:      rgba(196, 199, 204, .72);
	--mk-shadow:     0 18px 40px rgba(0, 0, 0, .55);
	--mk-glow-ruby:  0 0 24px rgba(217, 35, 54, .35);
	--mk-radius:     10px;
	--mk-radius-sm:  6px;

	--mk-font-title: "Cinzel", "Trajan Pro", Georgia, serif;
	--mk-font-body:  "Inter", "Segoe UI", Roboto, Arial, sans-serif;

	--mk-container: 1200px;
	--mk-header-h:  68px;
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }

body.mk-body {
	margin: 0;
	background-color: var(--mk-bg);
	background-image:
		radial-gradient(1100px 600px at 50% -200px, rgba(139, 22, 37, .28), transparent 70%),
		radial-gradient(800px 500px at 100% 40%, rgba(139, 22, 37, .08), transparent 70%),
		radial-gradient(800px 500px at 0% 70%, rgba(212, 164, 90, .04), transparent 70%);
	background-attachment: fixed;
	color: var(--mk-ivory);
	font-family: var(--mk-font-body);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a { color: var(--mk-gold); text-decoration: none; transition: color .15s ease; }
a:hover, a:focus { color: var(--mk-gold-hi); text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--mk-font-title);
	color: var(--mk-ivory);
	letter-spacing: .02em;
}

::selection { background: var(--mk-wine); color: var(--mk-ivory); }

:focus-visible {
	outline: 2px solid var(--mk-gold);
	outline-offset: 2px;
}

img { max-width: 100%; }

.mk-ico { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }

.mk-container {
	width: 100%;
	max-width: var(--mk-container);
	margin: 0 auto;
	padding: 0 20px;
}

.mk-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 9999;
	background: var(--mk-wine); color: var(--mk-ivory); padding: 8px 14px; border-radius: var(--mk-radius-sm);
}
.mk-skip:focus { left: 12px; color: var(--mk-ivory); }

/* scrollbar */
* { scrollbar-color: var(--mk-wine) var(--mk-bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--mk-bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--mk-wine), #5a0e18); border-radius: 10px; border: 2px solid var(--mk-bg); }

/* PJAX */
body.we-loading { cursor: progress; }
body.we-loading #weContent, body.we-loading #mkHomeBand { opacity: .55; pointer-events: none; transition: opacity .15s ease; }

/* ---------------------------------------------------------------------
   Botões
   --------------------------------------------------------------------- */
.mk-btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: var(--mk-radius-sm);
	font-family: var(--mk-font-title);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none !important;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
	white-space: nowrap;
}
.mk-btn:active { transform: translateY(1px); }
.mk-btn-sm { padding: 8px 14px; font-size: 12px; }
.mk-btn-lg { padding: 14px 28px; font-size: 14px; }
.mk-btn-block { display: flex; width: 100%; }

.mk-btn-primary {
	color: var(--mk-ivory) !important;
	background: linear-gradient(180deg, #a81c2e 0%, var(--mk-wine) 55%, #6a1019 100%);
	border-color: rgba(212, 164, 90, .45);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 18px rgba(139, 22, 37, .35);
}
.mk-btn-primary:hover, .mk-btn-primary:focus {
	background: linear-gradient(180deg, #e8394b 0%, var(--mk-ruby) 55%, #a0182a 100%);
	border-color: var(--mk-gold);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), var(--mk-glow-ruby);
}

.mk-btn-gold {
	color: #1b1208 !important;
	background: linear-gradient(180deg, var(--mk-gold-hi) 0%, var(--mk-gold) 50%, var(--mk-gold-lo) 100%);
	border-color: #f3dcae;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px rgba(212, 164, 90, .25);
}
.mk-btn-gold:hover, .mk-btn-gold:focus {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 26px rgba(212, 164, 90, .45);
	filter: brightness(1.06);
}

.mk-btn-ghost {
	color: var(--mk-ivory) !important;
	background: rgba(36, 25, 29, .55);
	border-color: var(--mk-line);
}
.mk-btn-ghost:hover, .mk-btn-ghost:focus {
	border-color: var(--mk-gold);
	color: var(--mk-gold-hi) !important;
	background: rgba(36, 25, 29, .9);
}

/* ---------------------------------------------------------------------
   Topbar
   --------------------------------------------------------------------- */
.mk-topbar {
	background: #08080a;
	border-bottom: 1px solid var(--mk-line-soft);
	font-size: 12.5px;
	color: var(--mk-muted);
}
.mk-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.mk-topbar-left, .mk-topbar-right { display: flex; align-items: center; gap: 12px; }
.mk-topbar-sep { width: 1px; height: 14px; background: var(--mk-line); }
.mk-topbar a { color: var(--mk-silver); }
.mk-topbar a:hover { color: var(--mk-gold); }
.mk-topbar-admin { color: var(--mk-gold) !important; font-weight: 600; }

.mk-status { display: inline-flex; align-items: center; gap: 7px; }
.mk-status i { width: 8px; height: 8px; border-radius: 50%; background: #6b6b6b; display: inline-block; }
.mk-status.is-on i { background: #3ecf6e; box-shadow: 0 0 0 0 rgba(62, 207, 110, .6); animation: mk-pulse 2s infinite; }
@keyframes mk-pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 207, 110, .55); } 70% { box-shadow: 0 0 0 8px rgba(62, 207, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 207, 110, 0); } }

.mk-clock b { color: var(--mk-ivory); font-weight: 600; font-variant-numeric: tabular-nums; }
.mk-lang { display: flex; gap: 2px; }
.mk-lang a { padding: 2px 7px; border-radius: 4px; font-weight: 600; letter-spacing: .04em; }
.mk-lang a:hover { background: rgba(212, 164, 90, .1); }

/* ---------------------------------------------------------------------
   Header / Navegação
   --------------------------------------------------------------------- */
.mk-header {
	position: sticky; top: 0; z-index: 900;
	background: rgba(13, 13, 15, .82);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--mk-line-soft);
	transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mk-header.is-scrolled {
	background: rgba(13, 13, 15, .96);
	border-bottom-color: var(--mk-line);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.mk-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--mk-gold) 30%, var(--mk-ruby) 50%, var(--mk-gold) 70%, transparent);
	opacity: .55;
}
.mk-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--mk-header-h); }

.mk-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--mk-ivory); flex-shrink: 0; }
.mk-brand img { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(217, 35, 54, .35)); transition: transform .3s ease; }
.mk-brand:hover img { transform: rotate(-8deg) scale(1.05); }
.mk-brand-text {
	font-family: var(--mk-font-title); font-weight: 900; font-size: 18px; letter-spacing: .12em; text-transform: uppercase;
	background: linear-gradient(180deg, var(--mk-ivory) 20%, var(--mk-gold) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.mk-brand:hover .mk-brand-text { color: transparent; }

.mk-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 16px; }
.mk-nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mk-nav-list li.menu a {
	position: relative; display: block;
	padding: 10px 14px;
	font-family: var(--mk-font-title); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--mk-silver);
}
.mk-nav-list li.menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: linear-gradient(90deg, transparent, var(--mk-gold), transparent);
	transform: scaleX(0); transition: transform .25s ease;
}
.mk-nav-list li.menu a:hover { color: var(--mk-ivory); }
.mk-nav-list li.menu a:hover::after { transform: scaleX(1); }
.mk-nav-list li.menu.is-active a { color: var(--mk-gold-hi); text-shadow: 0 0 14px rgba(212, 164, 90, .4); }
.mk-nav-list li.menu.is-active a::after { transform: scaleX(1); background: linear-gradient(90deg, transparent, var(--mk-ruby), transparent); }

.mk-nav-cta { display: flex; gap: 8px; }
.mk-nav-toggle { display: none; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.mk-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 72px;
	text-align: center;
	isolation: isolate;
}
.mk-hero-bg {
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(ellipse 60% 70% at 50% 45%, rgba(217, 35, 54, .32), transparent 70%),
		radial-gradient(ellipse 90% 60% at 50% 110%, rgba(139, 22, 37, .55), transparent 70%),
		repeating-linear-gradient(45deg, rgba(212, 164, 90, .025) 0 2px, transparent 2px 22px),
		repeating-linear-gradient(-45deg, rgba(212, 164, 90, .025) 0 2px, transparent 2px 22px),
		linear-gradient(180deg, #120c0e 0%, #0d0d0f 100%);
}
/* Imagem opcional: coloque templates/default/img/hero.jpg e descomente
.mk-hero-bg { background-image: linear-gradient(180deg, rgba(13,13,15,.35), rgba(13,13,15,.95)), url(../img/hero.jpg); background-size: cover; background-position: center; }
*/
.mk-hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .75) 100%);
}

/* Brasas subindo */
.mk-hero-embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mk-hero-embers::before, .mk-hero-embers::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 140%;
	background-image:
		radial-gradient(2px 2px at 10% 90%, rgba(255, 140, 90, .9), transparent),
		radial-gradient(1.5px 1.5px at 22% 70%, rgba(217, 35, 54, .9), transparent),
		radial-gradient(2px 2px at 35% 95%, rgba(240, 207, 143, .8), transparent),
		radial-gradient(1.5px 1.5px at 48% 80%, rgba(255, 120, 80, .9), transparent),
		radial-gradient(2px 2px at 61% 92%, rgba(217, 35, 54, .8), transparent),
		radial-gradient(1.5px 1.5px at 74% 75%, rgba(240, 207, 143, .8), transparent),
		radial-gradient(2px 2px at 86% 88%, rgba(255, 140, 90, .9), transparent),
		radial-gradient(1.5px 1.5px at 95% 70%, rgba(217, 35, 54, .8), transparent);
	animation: mk-embers 14s linear infinite;
	opacity: .8;
}
.mk-hero-embers::after { animation-duration: 22s; animation-delay: -8s; transform: scaleX(-1); opacity: .5; }
@keyframes mk-embers {
	0%   { transform: translateY(0); opacity: 0; }
	10%  { opacity: .85; }
	100% { transform: translateY(-55%); opacity: 0; }
}

.mk-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.mk-hero-logo {
	width: 560px; max-width: 86vw; height: auto;
	filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .7)) drop-shadow(0 0 40px rgba(217, 35, 54, .25));
	animation: mk-float 7s ease-in-out infinite;
}
@keyframes mk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.mk-hero-tagline {
	margin: 10px 0 26px;
	font-family: var(--mk-font-title);
	font-size: 15px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--mk-gold);
	text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}

.mk-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 34px; }

.mk-hero-stats {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%; max-width: 860px;
	margin: 0; padding: 0; list-style: none;
	background: linear-gradient(180deg, rgba(36, 25, 29, .88), rgba(20, 14, 16, .92));
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	box-shadow: var(--mk-shadow), inset 0 1px 0 rgba(212, 164, 90, .12);
	position: relative;
}
.mk-hero-stats::before, .mk-hero-stats::after {
	content: ""; position: absolute; top: 50%; width: 10px; height: 10px;
	background: var(--mk-gold); transform: translateY(-50%) rotate(45deg);
	box-shadow: 0 0 10px rgba(212, 164, 90, .6);
}
.mk-hero-stats::before { left: -6px; }
.mk-hero-stats::after { right: -6px; }
.mk-hero-stats li { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; position: relative; }
.mk-hero-stats li + li::before {
	content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px;
	background: linear-gradient(180deg, transparent, var(--mk-line), transparent);
}
.mk-hero-stats span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-muted); }
.mk-hero-stats strong { font-family: var(--mk-font-title); font-size: 20px; color: var(--mk-ivory); }
.mk-hero-stats strong small { font-size: 12px; color: var(--mk-muted); font-family: var(--mk-font-body); }
.mk-meter { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.mk-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--mk-wine), var(--mk-ruby), var(--mk-gold)); box-shadow: 0 0 10px rgba(217, 35, 54, .6); }

.mk-hero-edge {
	position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
	background: linear-gradient(180deg, transparent, var(--mk-bg));
}

/* ---------------------------------------------------------------------
   Faixa de destaques (home): slider + Hall dos Campeões
   --------------------------------------------------------------------- */
.mk-homeband:empty { display: none; }
.mk-homeband > .mk-container { padding-top: 8px; }

/* Slider */
.we-banner.mk-slider {
	position: relative;
	height: 340px;
	margin-bottom: 36px;
	border-radius: var(--mk-radius);
	overflow: hidden;
	border: 1px solid var(--mk-line);
	box-shadow: var(--mk-shadow);
	background: var(--mk-panel-2);
}
.mk-slider .we-banner-slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.04);
	transition: opacity .8s ease, transform 6s ease;
}
.mk-slider .we-banner-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.mk-slider .we-banner-slide::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(13, 13, 15, .92) 0%, rgba(13, 13, 15, .55) 45%, transparent 75%);
}
.mk-slider .we-banner-overlay {
	position: absolute; left: 0; top: 0; bottom: 0; max-width: 560px;
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	padding: 32px 40px;
	background: none;
}
.mk-slider .we-banner-title { margin: 0 0 8px; font-size: 32px; font-weight: 900; text-shadow: 0 3px 14px rgba(0, 0, 0, .7); }
.mk-slider .we-banner-subtitle { margin: 0 0 18px; font-size: 16px; text-shadow: 0 2px 8px rgba(0, 0, 0, .7); }
.mk-slider .we-banner-more { position: static; }
.mk-slider .we-banner-dots { position: absolute; z-index: 2; right: 20px; bottom: 16px; display: flex; gap: 8px; }
.mk-slider .we-banner-dot {
	width: 12px; height: 12px; padding: 0; border: 1px solid var(--mk-gold);
	background: rgba(13, 13, 15, .6); transform: rotate(45deg); cursor: pointer; transition: background .2s ease;
}
.mk-slider .we-banner-dot.is-active, .mk-slider .we-banner-dot:hover { background: var(--mk-ruby); box-shadow: var(--mk-glow-ruby); }

/* Cabeçalho de seção com ornamentos */
.mk-section-head { text-align: center; margin-bottom: 22px; }
.mk-section-kicker {
	display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mk-ruby); font-weight: 700;
}
.mk-section-title {
	display: inline-flex; align-items: center; gap: 16px;
	margin: 4px 0 0; font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em;
	background: linear-gradient(180deg, var(--mk-ivory) 30%, var(--mk-gold) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.mk-section-title::before, .mk-section-title::after {
	content: ""; width: 70px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--mk-gold));
}
.mk-section-title::after { transform: scaleX(-1); }

/* Hall dos Campeões */
.mk-hall { margin-bottom: 40px; }
.mk-hall-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mk-hall-card {
	position: relative;
	display: flex; flex-direction: column;
	padding: 18px 18px 16px;
	min-height: 210px;
	background:
		radial-gradient(120% 80% at 50% 0%, rgba(139, 22, 37, .28), transparent 60%),
		linear-gradient(180deg, var(--mk-panel) 0%, var(--mk-panel-2) 100%);
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	box-shadow: var(--mk-shadow);
	overflow: hidden;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.mk-hall-card::before {
	content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--mk-gold), transparent);
}
.mk-hall-card:hover { transform: translateY(-4px); border-color: rgba(212, 164, 90, .55); box-shadow: var(--mk-shadow), 0 0 30px rgba(217, 35, 54, .18); }
.mk-hall-card.is-soon { opacity: .82; }
.mk-hall-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mk-hall-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; color: var(--mk-gold);
	border: 1px solid var(--mk-line); border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 22, 37, .45), rgba(13, 13, 15, .6));
	box-shadow: inset 0 0 12px rgba(0, 0, 0, .6);
}
.mk-hall-card.is-live .mk-hall-icon { box-shadow: inset 0 0 12px rgba(0, 0, 0, .6), 0 0 18px rgba(212, 164, 90, .3); }
.mk-hall-tag {
	font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-silver);
	padding: 3px 8px; border: 1px solid var(--mk-line-soft); border-radius: 20px;
}
.mk-hall-title { margin: 0 0 12px; font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--mk-ivory); }
.mk-hall-winner { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mk-hall-logo img, .mk-hall-logo canvas, .mk-hall-logo table { border-radius: 4px; border: 1px solid var(--mk-line); }
.mk-hall-label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-muted); }
.mk-hall-name { display: block; font-family: var(--mk-font-title); font-size: 19px; color: var(--mk-gold-hi); text-shadow: 0 0 14px rgba(212, 164, 90, .35); }
.mk-hall-name a { color: inherit; }
.mk-hall-empty .mk-hall-name { color: var(--mk-silver); text-shadow: none; font-style: italic; }
.mk-hall-meta { margin: 0 0 10px; font-size: 13px; color: var(--mk-muted); }
.mk-hall-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-ruby); }
.mk-hall-link:hover { color: var(--mk-gold-hi); }

/* ---------------------------------------------------------------------
   Layout conteúdo + lateral
   --------------------------------------------------------------------- */
.mk-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	align-items: start;
	padding-top: 8px;
	padding-bottom: 56px;
}

/* Painel base */
.mk-panel, .we-card {
	position: relative;
	background: linear-gradient(180deg, rgba(36, 25, 29, .96) 0%, rgba(26, 18, 21, .97) 100%);
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	box-shadow: var(--mk-shadow), inset 0 1px 0 rgba(212, 164, 90, .08);
	margin-bottom: 20px;
}
/* cantos ornamentais */
.mk-panel::before, .mk-panel::after {
	content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
	border-color: var(--mk-gold); border-style: solid; opacity: .75;
}
.mk-panel::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: var(--mk-radius); }
.mk-panel::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: var(--mk-radius); }

.we-card-title, .mk-panel-title {
	display: flex; align-items: center; gap: 9px;
	padding: 13px 16px;
	font-family: var(--mk-font-title); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--mk-gold);
	border-bottom: 1px solid var(--mk-line-soft);
	background: linear-gradient(90deg, rgba(139, 22, 37, .28), transparent 70%);
	border-radius: var(--mk-radius) var(--mk-radius) 0 0;
}
.we-card-body { padding: 16px; }
.mk-panel-content > .we-card-body { padding: 26px 28px 30px; min-height: 360px; }

/* Lateral recolhível (ui.js) */
.we-sidebar .we-card[data-collapsible="1"] .we-card-toggle { cursor: pointer; user-select: none; }
.we-sidebar .we-card[data-collapsible="1"] .we-card-toggle::after {
	content: ""; margin-left: auto; width: 8px; height: 8px;
	border-right: 2px solid var(--mk-gold); border-bottom: 2px solid var(--mk-gold);
	transform: rotate(-45deg); transition: transform .2s ease;
}
.we-sidebar .we-card[data-collapsible="1"].is-open .we-card-toggle::after { transform: rotate(45deg); }
.we-sidebar .we-card[data-collapsible="1"] .we-card-body { display: none; }
.we-sidebar .we-card[data-collapsible="1"].is-open .we-card-body { display: block; }
.we-sidebar .we-card[data-collapsible="1"]:not(.is-open) .we-card-title { border-bottom-color: transparent; border-radius: var(--mk-radius); }

/* Formulário da lateral */
.mk-form { display: flex; flex-direction: column; gap: 12px; }
.mk-field { display: flex; flex-direction: column; gap: 5px; margin: 0; font-weight: 500; }
.mk-field span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-muted); }
.mk-input, .we-input {
	width: 100%; padding: 10px 12px;
	background: rgba(13, 13, 15, .75);
	border: 1px solid rgba(196, 199, 204, .14);
	border-radius: var(--mk-radius-sm);
	color: var(--mk-ivory);
	font-size: 14px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.mk-input::placeholder { color: rgba(196, 199, 204, .4); }
.mk-input:focus, .we-input:focus { outline: none; border-color: var(--mk-gold); box-shadow: 0 0 0 3px rgba(212, 164, 90, .15); }
.mk-form-links { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.mk-form-links a { color: var(--mk-silver); }
.mk-form-links a:hover { color: var(--mk-gold); }

/* UserCP */
.mk-usercp ul { list-style: none; margin: 0 0 12px; padding: 0; }
.mk-usercp li.list_menu {
	display: flex; align-items: center; gap: 10px;
	padding: 7px 8px; border-radius: var(--mk-radius-sm);
	transition: background .15s ease;
}
.mk-usercp li.list_menu + li.list_menu { border-top: 1px solid rgba(212, 164, 90, .06); }
.mk-usercp li.list_menu:hover { background: rgba(139, 22, 37, .25); }
.mk-usercp li.list_menu img { width: 22px; height: 22px; object-fit: contain; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .6)); }
.mk-usercp li.list_menu a { color: var(--mk-ivory); font-size: 14px; flex: 1; }
.mk-usercp li.list_menu:hover a { color: var(--mk-gold-hi); }

/* Lista de informações */
.mk-info-list { list-style: none; margin: 0; padding: 0; }
.mk-info-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(212, 164, 90, .12); font-size: 14px; }
.mk-info-list li:last-child { border-bottom: 0; }
.mk-info-list span { color: var(--mk-muted); }
.mk-info-list strong { color: var(--mk-ivory); font-weight: 600; }

/* Social */
.mk-social { display: grid; gap: 8px; }
.mk-social-btn {
	display: flex; align-items: center; justify-content: center;
	padding: 9px 12px; border-radius: var(--mk-radius-sm);
	border: 1px solid var(--mk-line);
	font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--mk-ivory) !important;
	background: rgba(13, 13, 15, .5);
	transition: all .15s ease;
}
.mk-social-btn.is-discord:hover   { background: #5865F2; border-color: #5865F2; }
.mk-social-btn.is-instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); border-color: #dc2743; }
.mk-social-btn.is-facebook:hover  { background: #1877F2; border-color: #1877F2; }
.mk-fb { margin-top: 12px; overflow: hidden; border-radius: var(--mk-radius-sm); }

/* Ranking lateral (inc/modules/sidebar.ranking.php) */
.we-ranking-sidebar .we-ranking-sidebar-body { border-radius: 0 0 var(--mk-radius) var(--mk-radius); }
.we-ranking-sidebar-item { font-size: 13px; color: var(--mk-ivory); text-shadow: 0 1px 3px #000; white-space: nowrap; }

/* ---------------------------------------------------------------------
   Conteúdo dos módulos (compatibilidade Bootstrap 3 / LaMO WEB)
   --------------------------------------------------------------------- */
#weContentBody { color: var(--mk-ivory); }
#weContentBody p { color: rgba(245, 240, 235, .88); }
#weContentBody hr { border-color: var(--mk-line-soft); }
#weContentBody small, #weContentBody .text-muted, #weContentBody .help-block { color: var(--mk-muted); }
#weContentBody .text-success { color: #4ed98a; }
#weContentBody .text-danger { color: var(--mk-ruby); }
#weContentBody .text-warning { color: var(--mk-gold); }
#weContentBody .text-primary, #weContentBody .text-info { color: var(--mk-gold-hi); }
#weContentBody .alt, #weContentBody span.alt { color: var(--mk-gold); }

/* Título de página */
.page-title {
	position: relative;
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 22px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--mk-line-soft);
}
.page-title::after {
	content: ""; position: absolute; left: 0; bottom: -1px; width: 110px; height: 2px;
	background: linear-gradient(90deg, var(--mk-ruby), var(--mk-gold), transparent);
}
.page-title span {
	font-family: var(--mk-font-title); font-weight: 900; font-size: 22px; letter-spacing: .08em; text-transform: uppercase;
	background: linear-gradient(180deg, var(--mk-ivory) 30%, var(--mk-gold) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-title::before {
	content: ""; width: 10px; height: 10px; flex-shrink: 0;
	background: var(--mk-ruby); transform: rotate(45deg);
	box-shadow: 0 0 12px rgba(217, 35, 54, .7);
}

/* Painéis bootstrap */
#weContentBody .panel {
	background: rgba(13, 13, 15, .45);
	border: 1px solid var(--mk-line-soft);
	border-radius: var(--mk-radius);
	box-shadow: none;
	color: var(--mk-ivory);
}
#weContentBody .panel > .panel-heading,
#weContentBody .panel-default > .panel-heading {
	background: linear-gradient(90deg, rgba(139, 22, 37, .35), rgba(36, 25, 29, .4));
	border-bottom: 1px solid var(--mk-line-soft);
	color: var(--mk-gold);
	border-radius: var(--mk-radius) var(--mk-radius) 0 0;
	font-family: var(--mk-font-title); letter-spacing: .05em;
}
#weContentBody .panel-title { font-family: var(--mk-font-title); color: var(--mk-gold); }
#weContentBody .panel-footer { background: rgba(13, 13, 15, .4); border-top: 1px solid var(--mk-line-soft); color: var(--mk-muted); border-radius: 0 0 var(--mk-radius) var(--mk-radius); }
#weContentBody .panel-primary { border-color: var(--mk-line-ruby); }
#weContentBody .panel-primary > .panel-heading { background: linear-gradient(90deg, var(--mk-wine), rgba(139, 22, 37, .4)); color: var(--mk-ivory); border-color: var(--mk-line-ruby); }

/* Notícias */
#weContentBody .panel-news {
	background: linear-gradient(180deg, rgba(13, 13, 15, .55), rgba(13, 13, 15, .3));
	border: 1px solid var(--mk-line-soft);
	border-left: 3px solid var(--mk-wine);
	margin-bottom: 18px;
	transition: border-color .2s ease, transform .2s ease;
}
#weContentBody .panel-news:hover { border-left-color: var(--mk-ruby); }
#weContentBody .panel-news > .panel-heading { background: transparent; border-bottom: 1px solid var(--mk-line-soft); padding: 14px 18px; }
#weContentBody .panel-news .panel-title { font-size: 18px; font-weight: 700; }
#weContentBody .panel-news .panel-title a { color: var(--mk-ivory); }
#weContentBody .panel-news .panel-title a:hover { color: var(--mk-gold-hi); }
#weContentBody .panel-news .panel-body { padding: 16px 18px; color: rgba(245, 240, 235, .86); }
#weContentBody .panel-news > .panel-footer { background: transparent; font-size: 12.5px; padding: 10px 18px; }
#weContentBody .panel-news > .panel-footer::after { content: ""; display: table; clear: both; }
#weContentBody .news-readmore {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-ruby);
}
#weContentBody .news-readmore:hover { color: var(--mk-gold-hi); }
.nopadding { padding: 0 !important; }

/* Tabelas */
#weContentBody .table, .rankings-table, .general-table-ui, .myaccount-table {
	width: 100%;
	background: transparent;
	color: var(--mk-ivory);
	border-collapse: separate; border-spacing: 0;
	margin-bottom: 20px;
}
#weContentBody .table > thead > tr > th,
.rankings-table thead th,
.general-table-ui tr:first-child td {
	background: linear-gradient(180deg, rgba(139, 22, 37, .55), rgba(90, 14, 24, .55));
	color: var(--mk-gold-hi);
	font-family: var(--mk-font-title); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	border: 0 !important;
	border-bottom: 1px solid var(--mk-line) !important;
	padding: 11px 12px;
	vertical-align: middle;
}
#weContentBody .table > thead > tr > th:first-child, .rankings-table thead th:first-child { border-top-left-radius: var(--mk-radius-sm); }
#weContentBody .table > thead > tr > th:last-child, .rankings-table thead th:last-child { border-top-right-radius: var(--mk-radius-sm); }
#weContentBody .table > tbody > tr > td, #weContentBody .table > tbody > tr > th,
#weContentBody .table > tfoot > tr > td,
.rankings-table td, .general-table-ui tr td, .myaccount-table tr td {
	border: 0 !important;
	border-bottom: 1px solid rgba(212, 164, 90, .07) !important;
	padding: 10px 12px;
	vertical-align: middle;
	background: transparent;
}
#weContentBody .table-striped > tbody > tr:nth-of-type(odd), .rankings-table tbody tr.rankings-row-odd, .general-table-ui tr:nth-child(2n+2) td { background: rgba(255, 255, 255, .018); }
#weContentBody .table-striped > tbody > tr:nth-of-type(even), .rankings-table tbody tr.rankings-row-even { background: transparent; }
#weContentBody .table-hover > tbody > tr:hover, .rankings-table tbody tr:hover { background: rgba(139, 22, 37, .2); }
#weContentBody .table-bordered { border: 1px solid var(--mk-line-soft); border-radius: var(--mk-radius-sm); }
.myaccount-table tr td:first-child { color: var(--mk-muted); width: 40%; }

.rankings-table-place, .rankings-table .rankings-th-place {
	width: 46px; text-align: center; font-family: var(--mk-font-title); font-weight: 900; color: var(--mk-silver);
}
.rankings-table tbody tr:nth-child(1) .rankings-table-place { color: #f0cf8f; text-shadow: 0 0 10px rgba(240, 207, 143, .6); }
.rankings-table tbody tr:nth-child(2) .rankings-table-place { color: #d9dde3; }
.rankings-table tbody tr:nth-child(3) .rankings-table-place { color: #d08a52; }
.rankings-update-time { color: var(--mk-muted); font-size: 12px; text-align: right; margin-top: -8px; margin-bottom: 14px; }
.ranking-guild-logo { border-radius: 3px; }

/* Menus de ranking e abas */
.rankings_menu, .rankings_division_tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.rankings_menu a, .rankings_division_tabs a, .rankings_menu span {
	display: inline-block; padding: 7px 14px;
	border: 1px solid var(--mk-line-soft); border-radius: 20px;
	background: rgba(13, 13, 15, .5);
	color: var(--mk-silver); font-size: 12.5px; font-weight: 600; letter-spacing: .05em;
	transition: all .15s ease;
}
.rankings_menu a:hover, .rankings_division_tabs a:hover { border-color: var(--mk-gold); color: var(--mk-ivory); }
.rankings_menu a.active, .rankings_division_tabs a.active {
	background: linear-gradient(180deg, #a81c2e, var(--mk-wine)); border-color: var(--mk-gold); color: var(--mk-ivory);
	box-shadow: 0 0 14px rgba(139, 22, 37, .45);
}
.rankings-class-filter { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; }
.rankings-class-filter-selection { cursor: pointer; border-radius: var(--mk-radius-sm); padding: 4px; border: 1px solid transparent; transition: all .15s ease; text-align: center; font-size: 11px; color: var(--mk-silver); }
.rankings-class-filter-selection:hover { border-color: var(--mk-line); background: rgba(139, 22, 37, .2); }
.rankings-class-filter-grayscale { filter: grayscale(1); opacity: .55; }
.rankings-class-image { border-radius: 50%; border: 1px solid var(--mk-line); }

/* Rankings na home (inc/modules/index.ranking.php) */
.we-ranking-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 30px; }
.we-ranking-home-block {
	background: rgba(13, 13, 15, .45);
	border: 1px solid var(--mk-line-soft);
	border-radius: var(--mk-radius);
	padding: 14px;
}
.we-ranking-home-block .page-title { margin-bottom: 12px; }
.we-ranking-home-block .page-title span { font-size: 15px; }
.we-ranking-home-block .rankings-table { margin-bottom: 0; font-size: 13px; }
.we-ranking-home-block .rankings-table thead th, .we-ranking-home-block .rankings-table td { padding: 7px 8px; }

/* Formulários */
#weContentBody .form-control, #weContentBody select, #weContentBody textarea, #weContentBody input[type="text"],
#weContentBody input[type="password"], #weContentBody input[type="email"], #weContentBody input[type="number"] {
	background: rgba(13, 13, 15, .75);
	border: 1px solid rgba(196, 199, 204, .16);
	border-radius: var(--mk-radius-sm);
	color: var(--mk-ivory);
	box-shadow: none;
	height: auto;
	min-height: 38px;
	padding: 8px 12px;
}
#weContentBody input[type="checkbox"], #weContentBody input[type="radio"] { min-height: 0; height: auto; accent-color: var(--mk-wine); }
#weContentBody .form-control:focus, #weContentBody select:focus, #weContentBody textarea:focus, #weContentBody input:focus {
	border-color: var(--mk-gold); outline: none; box-shadow: 0 0 0 3px rgba(212, 164, 90, .15);
}
#weContentBody .form-control[disabled], #weContentBody .form-control[readonly] { background: rgba(36, 25, 29, .6); color: var(--mk-muted); }
#weContentBody select option { background: var(--mk-panel); color: var(--mk-ivory); }
#weContentBody label, #weContentBody .control-label { color: var(--mk-silver); font-weight: 600; font-size: 13px; }
#weContentBody .input-group-addon { background: var(--mk-panel); border-color: rgba(196, 199, 204, .16); color: var(--mk-gold); }

/* Botões bootstrap → padrão MU Knight */
#weContentBody .btn, .btn-castlewidget {
	border-radius: var(--mk-radius-sm);
	font-family: var(--mk-font-title); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px;
	padding: 8px 16px;
	transition: all .15s ease;
}
#weContentBody .btn-xs { padding: 4px 9px; font-size: 10.5px; }
#weContentBody .btn-sm { padding: 6px 12px; font-size: 11px; }
#weContentBody .btn-lg { padding: 12px 24px; font-size: 14px; }
#weContentBody .btn-primary, #weContentBody .btn-danger, .btn-castlewidget, .btn-primary {
	color: var(--mk-ivory);
	background: linear-gradient(180deg, #a81c2e 0%, var(--mk-wine) 55%, #6a1019 100%);
	border: 1px solid rgba(212, 164, 90, .45);
}
#weContentBody .btn-primary:hover, #weContentBody .btn-primary:focus, #weContentBody .btn-danger:hover,
.btn-castlewidget:hover, .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
	color: var(--mk-ivory);
	background: linear-gradient(180deg, #e8394b 0%, var(--mk-ruby) 55%, #a0182a 100%);
	border-color: var(--mk-gold);
	box-shadow: var(--mk-glow-ruby);
}
#weContentBody .btn-success, #weContentBody .btn-warning {
	color: #1b1208;
	background: linear-gradient(180deg, var(--mk-gold-hi), var(--mk-gold) 55%, var(--mk-gold-lo));
	border: 1px solid #f3dcae;
}
#weContentBody .btn-success:hover, #weContentBody .btn-warning:hover { color: #1b1208; filter: brightness(1.08); box-shadow: 0 0 18px rgba(212, 164, 90, .4); }
#weContentBody .btn-default, #weContentBody .btn-info {
	color: var(--mk-ivory);
	background: rgba(36, 25, 29, .8);
	border: 1px solid var(--mk-line);
}
#weContentBody .btn-default:hover, #weContentBody .btn-info:hover { color: var(--mk-gold-hi); border-color: var(--mk-gold); background: rgba(36, 25, 29, 1); }
#weContentBody .btn[disabled], #weContentBody .btn.disabled { opacity: .45; box-shadow: none; }

/* Alertas */
#weContentBody .alert {
	border-radius: var(--mk-radius-sm);
	border: 1px solid; border-left-width: 4px;
	background: rgba(13, 13, 15, .6);
	color: var(--mk-ivory);
	padding: 12px 16px;
}
#weContentBody .alert-danger  { border-color: rgba(217, 35, 54, .5); border-left-color: var(--mk-ruby); background: rgba(139, 22, 37, .22); }
#weContentBody .alert-success { border-color: rgba(78, 217, 138, .35); border-left-color: #4ed98a; background: rgba(78, 217, 138, .08); }
#weContentBody .alert-warning { border-color: rgba(212, 164, 90, .4); border-left-color: var(--mk-gold); background: rgba(212, 164, 90, .08); }
#weContentBody .alert-info    { border-color: rgba(196, 199, 204, .25); border-left-color: var(--mk-silver); background: rgba(196, 199, 204, .06); }
#weContentBody .alert a { color: var(--mk-gold-hi); font-weight: 600; }

/* Well, list-group, labels, badges, paginação, abas */
#weContentBody .well { background: rgba(13, 13, 15, .5); border: 1px solid var(--mk-line-soft); border-radius: var(--mk-radius-sm); box-shadow: none; color: var(--mk-ivory); }
#weContentBody .list-group-item { background: rgba(13, 13, 15, .45); border-color: var(--mk-line-soft); color: var(--mk-ivory); }
#weContentBody a.list-group-item:hover, #weContentBody .list-group-item:hover { background: rgba(139, 22, 37, .22); color: var(--mk-gold-hi); }
#weContentBody .list-group-item.active { background: var(--mk-wine); border-color: var(--mk-gold); }
#weContentBody .label-default { background: var(--mk-panel-3); }
#weContentBody .label-primary, #weContentBody .label-danger { background: var(--mk-wine); }
#weContentBody .label-success { background: #2e8a57; }
#weContentBody .label-warning { background: var(--mk-gold-lo); }
#weContentBody .badge { background: var(--mk-wine); color: var(--mk-ivory); }
#weContentBody .pagination > li > a, #weContentBody .pagination > li > span { background: rgba(13, 13, 15, .6); border-color: var(--mk-line-soft); color: var(--mk-silver); }
#weContentBody .pagination > li > a:hover { background: rgba(139, 22, 37, .3); color: var(--mk-ivory); }
#weContentBody .pagination > .active > a, #weContentBody .pagination > .active > span { background: var(--mk-wine); border-color: var(--mk-gold); color: var(--mk-ivory); }
#weContentBody .nav-tabs { border-bottom-color: var(--mk-line-soft); }
#weContentBody .nav-tabs > li > a { color: var(--mk-silver); border-radius: var(--mk-radius-sm) var(--mk-radius-sm) 0 0; }
#weContentBody .nav-tabs > li > a:hover { background: rgba(139, 22, 37, .2); border-color: transparent; color: var(--mk-ivory); }
#weContentBody .nav-tabs > li.active > a, #weContentBody .nav-tabs > li.active > a:hover, #weContentBody .nav-tabs > li.active > a:focus {
	background: rgba(36, 25, 29, .95); color: var(--mk-gold); border-color: var(--mk-line-soft) var(--mk-line-soft) transparent;
}
#weContentBody .nav-pills > li.active > a { background: var(--mk-wine); }
#weContentBody .progress { background: rgba(255, 255, 255, .06); border-radius: 10px; box-shadow: none; }
#weContentBody .progress-bar { background: linear-gradient(90deg, var(--mk-wine), var(--mk-ruby)); }
#weContentBody .thumbnail { background: rgba(13, 13, 15, .5); border-color: var(--mk-line-soft); }
#weContentBody .modal-content { background: var(--mk-panel); border: 1px solid var(--mk-line); color: var(--mk-ivory); }
#weContentBody .modal-header, #weContentBody .modal-footer { border-color: var(--mk-line-soft); }
#weContentBody .close { color: var(--mk-ivory); text-shadow: none; opacity: .7; }

/* Blocos de módulos específicos */
.module-requirements { color: var(--mk-muted); font-size: 13px; border-left: 3px solid var(--mk-gold); padding: 8px 12px; background: rgba(212, 164, 90, .06); border-radius: 0 var(--mk-radius-sm) var(--mk-radius-sm) 0; margin: 14px 0; }
.myaccount-character-block { text-align: center; padding: 10px; border: 1px solid var(--mk-line-soft); border-radius: var(--mk-radius); background: rgba(13, 13, 15, .4); margin-bottom: 14px; transition: border-color .15s ease; }
.myaccount-character-block:hover { border-color: var(--mk-gold); }
.myaccount-character-block img { border-radius: 50%; border: 2px solid var(--mk-line); }
.myaccount-character-name a { color: var(--mk-ivory); font-family: var(--mk-font-title); font-weight: 700; }
.myaccount-character-block-level, .myaccount-character-block-location { color: var(--mk-muted); font-size: 12px; }
.tos_list li { margin-bottom: 10px; }
.tos_list li p { color: rgba(245, 240, 235, .82); }
.online-status-indicator { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.castle-owner-widget { background: rgba(13, 13, 15, .45); border: 1px solid var(--mk-line-soft); border-radius: var(--mk-radius); }
#weContentBody .we-guide-public-body { color: rgba(245, 240, 235, .88); }
#weContentBody .we-guide-public-body h4 { color: var(--mk-gold); }
#weContentBody .we-guide-public-body blockquote { border-left-color: var(--mk-wine); color: var(--mk-silver); }

/* ShopX — ajuste fino à paleta */
.shopx-product-card { background: linear-gradient(180deg, var(--mk-panel), var(--mk-panel-2)) !important; border-color: var(--mk-line) !important; }
.shopx-product-card:hover { border-color: rgba(212, 164, 90, .55) !important; }
.shopx-product-card .shopx-card-title { color: var(--mk-ivory); font-family: var(--mk-font-title); }

/* Itens (estilo tooltip do MU: excellent em verde, opções em azul) */
.shopx-item strong { display: block; font-size: 14px; }
.shopx-item-name { color: var(--mk-ivory); }
.shopx-item-exc { color: #3fe07a; text-shadow: 0 0 8px rgba(63, 224, 122, .25); }
.shopx-item-opts { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12px; color: #8fb6ff; }
.shopx-item-opts li { line-height: 1.5; }
.shopx-item-harmony { color: #f2d14b; }   /* add amarelo (Jewel of Harmony) */
.shopx-item-purple { color: #c58cff; }    /* add roxo (opção 380) */
.shopx-market-filters .form-control, .shopx-market-filters .btn { margin: 3px 2px; }
.shopx-market-filters .checkbox-inline { margin: 3px 8px 3px 4px; }

/* ---------------------------------------------------------------------
   Rodapé
   --------------------------------------------------------------------- */
.mk-footer {
	position: relative;
	margin-top: 20px;
	background:
		radial-gradient(800px 300px at 50% 0%, rgba(139, 22, 37, .2), transparent 70%),
		linear-gradient(180deg, #110c0e, #08080a);
	border-top: 1px solid var(--mk-line);
	color: var(--mk-muted);
	font-size: 14px;
}
.mk-footer-edge {
	position: absolute; left: 50%; top: -9px; width: 16px; height: 16px;
	transform: translateX(-50%) rotate(45deg);
	background: var(--mk-bg); border: 1px solid var(--mk-gold);
	box-shadow: 0 0 14px rgba(212, 164, 90, .4);
}
.mk-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-top: 44px; padding-bottom: 30px; }
.mk-footer-brand img { width: 220px; height: auto; margin-bottom: 12px; }
.mk-footer-brand p { max-width: 320px; }
.mk-footer h4 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-gold); margin: 6px 0 14px; }
.mk-footer ul { list-style: none; margin: 0; padding: 0; }
.mk-footer li { margin-bottom: 8px; }
.mk-footer a { color: var(--mk-silver); }
.mk-footer a:hover { color: var(--mk-gold-hi); }
.mk-footer-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	padding-top: 18px; padding-bottom: 26px;
	border-top: 1px solid var(--mk-line-soft);
	font-size: 12.5px;
}
.mk-footer-bottom p { margin: 0; }
.lamoweb-powered, .mk-footer .lamoweb-powered { opacity: .6; transition: opacity .15s ease; }
.lamoweb-powered:hover { opacity: 1; }

/* ---------------------------------------------------------------------
   Popup, cookies, toasts
   --------------------------------------------------------------------- */
.we-popup-overlay { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.we-popup-overlay.we-popup-visible { display: flex; }
.we-popup-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.we-popup-wrap { position: relative; max-width: min(92vw, 820px); border: 1px solid var(--mk-gold); border-radius: var(--mk-radius); overflow: hidden; box-shadow: 0 0 60px rgba(217, 35, 54, .35); animation: mk-pop .3s ease; }
@keyframes mk-pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.we-popup-img { display: block; max-width: 100%; max-height: 82vh; }
.we-popup-close {
	position: absolute; top: 8px; right: 8px; z-index: 2;
	width: 34px; height: 34px; border-radius: 50%;
	border: 1px solid var(--mk-gold); background: rgba(13, 13, 15, .85); color: var(--mk-ivory);
	font-size: 22px; line-height: 30px; cursor: pointer;
}
.we-popup-close:hover { background: var(--mk-ruby); }

.mk-cookie {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
	max-width: 760px; margin: 0 auto;
	background: rgba(36, 25, 29, .97);
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	box-shadow: var(--mk-shadow);
	padding: 14px 18px;
}
.mk-cookie.is-hidden { display: none; }
.mk-cookie .we-cookie-consent-inner { display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.mk-cookie .we-cookie-consent-text { font-size: 13.5px; color: var(--mk-silver); }

.mk-toasts { position: fixed; top: 84px; right: 16px; z-index: 1600; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.mk-toast {
	background: rgba(36, 25, 29, .97);
	border: 1px solid var(--mk-line-ruby); border-left: 4px solid var(--mk-ruby);
	border-radius: var(--mk-radius-sm);
	padding: 12px 16px;
	box-shadow: var(--mk-shadow);
	animation: mk-slide-in .35s ease;
	transition: opacity .5s ease, transform .5s ease;
}
.mk-toast.is-gold { border-color: var(--mk-line); border-left-color: var(--mk-gold); }
.mk-toast a { color: var(--mk-ivory); font-weight: 600; }
.mk-toast.is-leaving { opacity: 0; transform: translateX(20px); }
@keyframes mk-slide-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------
   Responsivo
   --------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.mk-hall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mk-nav-list li.menu a { padding: 10px 10px; font-size: 12px; }
}

@media (max-width: 979px) {
	.mk-nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		margin-left: auto; width: 44px; height: 44px;
		background: rgba(36, 25, 29, .8); color: var(--mk-gold);
		border: 1px solid var(--mk-line); border-radius: var(--mk-radius-sm); cursor: pointer;
	}
	.mk-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: rgba(13, 13, 15, .98);
		border-bottom: 1px solid var(--mk-line);
		box-shadow: 0 20px 40px rgba(0, 0, 0, .6);
		padding: 8px 20px 18px;
	}
	.mk-nav.is-open { display: flex; }
	.mk-nav-list { flex-direction: column; align-items: stretch; }
	.mk-nav-list li.menu a { padding: 13px 4px; border-bottom: 1px solid var(--mk-line-soft); font-size: 14px; }
	.mk-nav-list li.menu a::after { display: none; }
	.mk-nav-list li.menu.is-active a { color: var(--mk-gold-hi); padding-left: 12px; border-left: 2px solid var(--mk-ruby); }
	.mk-nav-cta { margin-top: 14px; }
	.mk-nav-cta .mk-btn { flex: 1; }

	.mk-layout { grid-template-columns: minmax(0, 1fr); }
	.mk-sidebar { order: -1; }
	.mk-panel-content > .we-card-body { padding: 20px 18px 24px; }

	.mk-hero { padding: 36px 0 52px; }
	.mk-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mk-hero-stats li:nth-child(3)::before { display: none; }
	.mk-hero-stats li:nth-child(n+3) { border-top: 1px solid var(--mk-line-soft); }

	.we-banner.mk-slider { height: 260px; }
	.mk-slider .we-banner-overlay { padding: 22px; }
	.mk-slider .we-banner-title { font-size: 24px; }

	.mk-footer-grid { grid-template-columns: 1fr 1fr; }
	.mk-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	body.mk-body { font-size: 14px; }
	.mk-topbar .mk-clock span, .mk-topbar .mk-clock .mk-ico { display: none; }
	.mk-topbar-inner { font-size: 12px; white-space: nowrap; }
	.mk-status { font-size: 0; gap: 0; }
	.mk-status i { margin-right: 2px; }
	.mk-topbar-left, .mk-topbar-right { gap: 8px; }
	.mk-lang a { padding: 2px 4px; }
	.mk-hall-card { min-height: 0; }
	.mk-brand-text { font-size: 15px; }
	.mk-hero-tagline { font-size: 12px; letter-spacing: .14em; }
	.mk-hero-actions .mk-btn { width: 100%; }
	.mk-hall-grid { grid-template-columns: minmax(0, 1fr); }
	.mk-section-title { font-size: 20px; }
	.mk-section-title::before, .mk-section-title::after { width: 30px; }
	.page-title span { font-size: 18px; }
	.mk-cookie .we-cookie-consent-inner { flex-direction: column; align-items: stretch; }
	.mk-footer-grid { grid-template-columns: 1fr; }
	.mk-footer-bottom { flex-direction: column; align-items: flex-start; }
	#weContentBody .table-responsive, #weContentBody table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
