/* Componentes comunes de mukorea (escrito a mano): cabecera de página, ventanas con barra de título como las del juego,
   casilleros tipo inventario y botón principal de piedra roja. Los usan la tienda, el panel de cuenta, Descargas e Información. */
.mk-content {
	--ui-gold: #e2c48e;
	--ui-gold-hi: #ffd88a;
	--ui-orange: #e08a2c;
	--ui-line: #574128;
	--ui-line-hi: #b26c1f;
	--ui-text: #d8cdb9;
	--ui-muted: #9c8768;
}
.mk-num { font-variant-numeric: tabular-nums; }

/* ---------- Cabecera de página ---------- */
.mk-page-head {
	display: flex; justify-content: space-between; align-items: center; gap: 14px;
	min-height: 72px; padding: 12px 16px; margin-bottom: 14px; box-sizing: border-box;
	border: 1px solid #000; outline: 1px solid #4a3822; outline-offset: -2px;
	background: linear-gradient(90deg, #0a0705e6 0%, #0a0705b3 50%, #0a070580 100%), url(../img/content_bg.jpg) center / cover;
	box-shadow: inset 0 0 24px #000;
}
.mk-content .mk-page-head h1 {
	margin: 0 0 6px; line-height: 0; /* el título es una imagen (mkTitle) */
}
.mk-page-head p { margin: 0; color: var(--ui-muted); font-size: 11px; }

/* ---------- Ventanas ---------- */
.mk-win { margin: 14px 0 0; padding: 0; min-width: 0; border: 1px solid #000; outline: 1px solid #4a3822; outline-offset: -2px; background: #16110cee; }
.mk-win-title {
	display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box;
	margin: 0; padding: 6px 10px; float: left;
	border-bottom: 1px solid #000; box-shadow: 0 1px 0 #4a3822;
	background: linear-gradient(#3b2a17, #1d140b);
	font: bold 12px/18px Arial, sans-serif; color: var(--ui-gold-hi);
}
.mk-content :is(h2, h3).mk-win-title { font: bold 12px/18px Arial, sans-serif; font-style: normal; color: var(--ui-gold-hi); }
.mk-win-title small { margin-left: auto; color: var(--ui-muted); font-weight: normal; font-size: 10px; }
.mk-win-title .mk-title-img, .mk-page-head .mk-title-img, .mk-ucp-sub .page-title .mk-title-img { display: block; }
.mk-title-text { font: bold 12px/18px Arial, sans-serif; color: #e08a2c; }
/* Número de paso: imagen pixel art como los t_02/t_3 originales (mkStep) */
.mk-step { display: block; flex: 0 0 22px; width: 22px; height: 22px; image-rendering: pixelated; }
.mk-win-body { clear: both; padding: 12px; color: var(--ui-text); font-size: 11px; }
.mk-win-body > :first-child { margin-top: 0; }
.mk-win-body > :last-child { margin-bottom: 0; }

/* ---------- Casilleros tipo inventario ---------- */
.mk-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-slot {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	min-height: 44px; padding: 10px 8px 0; margin: 0; overflow: hidden;
	border: 1px solid #000; outline: 1px solid #3b2d1c; outline-offset: -2px;
	background:
		linear-gradient(#ffffff06 1px, transparent 1px) 0 0 / 100% 12px,
		linear-gradient(90deg, #ffffff06 1px, transparent 1px) 0 0 / 12px 100%,
		radial-gradient(ellipse at 50% 30%, #2b2015 0%, #120d08 75%);
	color: var(--ui-text); cursor: url(../img/cur2.cur), pointer; font-weight: normal;
	transition: outline-color .15s, background-color .15s;
}
.mk-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.mk-slot:hover { outline-color: #8a6331; }
.mk-slot:focus-within, a.mk-slot:focus-visible { outline: 1px solid var(--ui-orange); }
.mk-slot:has(input:checked), .mk-slot.mk-slot-on {
	outline: 2px solid #d6a04c; outline-offset: -3px;
	background:
		linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 100% 12px,
		linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 12px 100%,
		radial-gradient(ellipse at 50% 30%, #5a3b17 0%, #1c1209 80%);
	box-shadow: inset 0 0 18px #d6a04c40;
}
/* Esquina dorada en el casillero elegido */
.mk-slot::before {
	content: ""; position: absolute; top: 0; left: 0; width: 0; height: 0;
	border-style: solid; border-width: 16px 16px 0 0; border-color: transparent;
}
.mk-slot:has(input:checked)::before, .mk-slot.mk-slot-on::before { border-color: #d6a04c transparent transparent transparent; }

/* ---------- Botón principal: el mismo bordó plano de la barra de navegación (.mk-btn), en grande ---------- */
.mk-content .mk-cta, .mk-cta, .mk-content .mk-shop-cta, .mk-shop-cta {
	display: inline-flex; justify-content: center; align-items: center; min-width: 150px; height: 36px; padding: 0 20px; box-sizing: border-box;
	border: 1px solid #7a4a22; border-radius: 0; outline: 0;
	background: linear-gradient(#4a1712, #2a0806); box-shadow: inset 0 1px 0 #6e2a1c, 0 1px 0 #000;
	font: bold 13px/1 Georgia, 'Times New Roman', serif; letter-spacing: 1px; text-transform: uppercase;
	color: #e9a65c; text-shadow: 1px 1px 0 #2a1204; cursor: url(../img/cur2.cur), pointer;
	transition: color .15s, border-color .15s;
}
.mk-cta:hover, .mk-shop-cta:hover { background: linear-gradient(#5e1e16, #360b07); border-color: #b0773a; color: #fff1cf; }
.mk-cta:active, .mk-shop-cta:active { background: #2a0806; }
.mk-cta:focus-visible, .mk-shop-cta:focus-visible { outline: 2px solid var(--ui-orange); outline-offset: 2px; }
.mk-cta:disabled, .mk-shop-cta:disabled { opacity: .45; cursor: not-allowed; }
.mk-content .mk-cta-small { min-width: 0; height: 30px; padding: 0 12px; font-size: 11px; }

/* ---------- Pasos numerados: viñeta con los números pixel art de img/pasos ---------- */
.mk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.mk-steps li { position: relative; min-height: 22px; padding: 0 0 0 32px; color: var(--ui-muted); }
.mk-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: no-repeat 0 0 / 22px 22px; image-rendering: pixelated; }
.mk-steps li:nth-child(1)::before { background-image: url(../img/pasos/1@2x.png); }
.mk-steps li:nth-child(2)::before { background-image: url(../img/pasos/2@2x.png); }
.mk-steps li:nth-child(3)::before { background-image: url(../img/pasos/3@2x.png); }
.mk-steps li:nth-child(4)::before { background-image: url(../img/pasos/4@2x.png); }
.mk-steps strong { display: block; margin: 3px 0 3px; color: var(--ui-text); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
	.mk-slot, .mk-cta, .mk-shop-cta { transition: none; }
}

/* ---------- Panel de usuario (modules/usercp.php del template) ---------- */
.mk-ucp-account { display: flex; margin: 0; border: 1px solid #3b2d1c; background: #0d0a07d9; }
.mk-ucp-account > div { min-width: 96px; padding: 6px 10px; border-left: 1px solid #3b2d1c; }
.mk-ucp-account > div:first-child { border-left: 0; }
.mk-ucp-account dt { color: var(--ui-muted); font-size: 11px; }
.mk-ucp-account dd { margin: 2px 0 0; color: #fff; font-weight: bold; font-size: 12px; }
.mk-ucp-account small { display: block; color: var(--ui-muted); font-weight: normal; font-size: 10px; }
.mk-ucp-vip-active { color: #7cff4e; }
.mk-ucp-vip-expired { color: #ff7a5c; }
.mk-ucp-vip-free { color: var(--ui-gold); }

.mk-content .mk-ucp-action { padding: 12px 8px; text-decoration: none; }
.mk-ucp-action strong { margin-top: 6px; color: #fff; font-size: 12px; }
.mk-ucp-action small { margin-top: 2px; color: var(--ui-muted); font-size: 10px; }
.mk-ucp-action:hover strong { color: var(--ui-gold-hi); }
.mk-ucp-icon { position: relative; display: block; width: 40px; height: 40px; filter: drop-shadow(0 3px 4px #000); } /* sombra como los íconos de Donaciones */
/* Hover de las acciones: el mismo casillero encendido de Donaciones (borde y esquina dorados, fondo cálido) */
.mk-content .mk-ucp-action:hover, .mk-content .mk-ucp-action:focus-visible {
	outline: 2px solid #d6a04c; outline-offset: -3px;
	background:
		linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 100% 12px,
		linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 12px 100%,
		radial-gradient(ellipse at 50% 30%, #5a3b17 0%, #1c1209 80%);
	box-shadow: inset 0 0 18px #d6a04c40;
}
.mk-ucp-action:hover::before, .mk-ucp-action:focus-visible::before { border-color: #d6a04c transparent transparent transparent; }
.mk-ucp-icon img { position: absolute; left: 0; top: 0; image-rendering: auto; }
.mk-ucp-icon-hover { opacity: 0; transition: opacity .15s; }
.mk-ucp-action:hover .mk-ucp-icon-hover, .mk-ucp-action:focus-visible .mk-ucp-icon-hover { opacity: 1; }

.mk-ucp-chars td { vertical-align: middle; padding: 4px 6px; }
.mk-ucp-chars th { padding: 5px 6px; }
.mk-ucp-chars td.mk-ucp-portrait { width: 52px; padding: 3px; }
.mk-ucp-portrait img { display: block; width: 48px; height: 48px; border: 1px solid #000; outline: 1px solid #5e4526; }
.mk-ucp-name strong { display: block; color: #fff; font-size: 12px; }
.mk-ucp-name small, .mk-ucp-chars small { color: var(--ui-muted); font-size: 10px; }
.mk-ucp-status { font-weight: bold; }
.mk-ucp-online { color: #7cff4e; }
.mk-ucp-offline { color: #8f7a5c; }
.mk-ucp-sell { text-align: right; }
.mk-ucp-empty { color: var(--ui-muted); }
@media (prefers-reduced-motion: reduce) { .mk-ucp-icon-hover { transition: none; } }

/* ---------- Descargas (modules/downloads.php del template) ---------- */
.mk-dl-main { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid #000; outline: 1px solid #5e4526; outline-offset: -2px; background: radial-gradient(ellipse at 20% 30%, #2b2015 0%, #0f0b07 80%); }
.mk-dl-main-info > strong { display: block; color: #fff; font: bold 14px/1.3 Arial, sans-serif; }
.mk-dl-main-info > span { display: block; margin-top: 2px; color: var(--ui-muted); }
.mk-dl-main-info dl { display: flex; gap: 18px; margin: 8px 0 0; }
.mk-dl-main-info dt { color: var(--ui-muted); font-size: 11px; }
.mk-dl-main-info dd { margin: 2px 0 0; color: var(--ui-gold-hi); font-weight: bold; font-size: 12px; }
.mk-dl-main-action { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mk-dl-main-action small { color: var(--ui-muted); font-size: 10px; }
.mk-content .mk-dl-sub { margin: 12px 0 6px; font: bold 11px/1.4 Arial, sans-serif; color: var(--ui-gold); }
.mk-dl-table td { vertical-align: middle; padding: 6px 8px; }
.mk-dl-table td strong { display: block; color: #fff; }
.mk-dl-table td small { display: block; color: var(--ui-muted); font-size: 10px; }
.mk-dl-size { width: 80px; text-align: center; }
.mk-dl-action { width: 120px; text-align: right; }
.mk-dl-empty, .mk-dl-nolink { color: var(--ui-muted); }
.mk-dl-req td, .mk-dl-faq td { padding: 5px 8px; }
.mk-dl-req td:first-child, .mk-dl-faq td:first-child { width: 170px; font-weight: bold; }
.mk-dl-warning { margin: 0; padding: 7px 10px 7px 30px; border: 1px solid #6a5220; background: #1d160d url(../img/main_ico_notice.gif) 10px 10px no-repeat; color: var(--ui-text); font-size: 11px; }
.mk-dl-warning strong { color: var(--ui-orange); }
.mk-dl-drivers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.mk-dl-drivers span { margin-right: 4px; color: var(--ui-muted); }
.mk-dl-drivers a { padding: 3px 10px; border: 1px solid #5e4526; background: #0d0a07; color: var(--ui-gold); font-weight: bold; }
.mk-dl-drivers a:hover { border-color: var(--ui-line-hi); color: #ff9900; }

/* ---------- Mi cuenta ---------- */
.mk-ucp-info td { padding: 6px 8px; vertical-align: middle; }
.mk-ucp-info td:first-child { width: 160px; font-weight: bold; }
.mk-ucp-info td strong { color: #fff; }
.mk-ucp-edit { width: 90px; text-align: right; }
.mk-ucp-badge { display: inline-block; padding: 1px 8px; border: 1px solid; font-weight: bold; font-size: 10px;  }
.mk-ucp-badge-ok { border-color: #3f6d2a; background: #14210d; color: #8fe36a; }
.mk-ucp-badge-bad { border-color: #7a2a1a; background: #2a0f08; color: #ff7a5c; }
.mk-win-title small a { color: var(--ui-gold); font-weight: bold; }
.mk-win-title small a:hover { color: #ff9900; }

/* ---------- Subpáginas del panel con el módulo de WebEngine (index.php las envuelve en .mk-ucp-sub) ---------- */
.mk-ucp-sub .page-title {
	margin: -12px -12px 12px; padding: 6px 10px; border-bottom: 1px solid #000; box-shadow: 0 1px 0 #4a3822;
	background: linear-gradient(#3b2a17, #1d140b);
}
.mk-ucp-sub .page-title span { font: bold 12px/18px Arial, sans-serif; color: #e08a2c; }
.mk-ucp-sub .general-table-ui, .mk-ucp-sub .table { width: 100%; margin: 0 0 12px; border: 1px solid #b26c1f; border-collapse: collapse; background: none; }
.mk-ucp-sub .general-table-ui tr:first-child td, .mk-ucp-sub .table th { padding: 5px 6px; background: #1a1611; color: #e2c48e; font-weight: bold; text-align: center; border: 0; }
.mk-ucp-sub .general-table-ui td, .mk-ucp-sub .table td { padding: 4px 6px; border: 0; border-top: 1px solid #2b2117; background: #241c14; color: var(--ui-text); text-align: center; vertical-align: middle; }
.mk-ucp-sub .general-table-ui tr:nth-child(odd):not(:first-child) td { background: #1a1611; }
.mk-ucp-sub .general-table-ui td:nth-child(2) { color: #fff; font-weight: bold; text-align: left; }
.mk-ucp-sub .general-table-ui img { display: block; width: 44px; height: 44px; margin: 0 auto; object-fit: cover; border: 1px solid #000; outline: 1px solid #5e4526; }
.mk-ucp-sub .general-table-ui form { margin: 0; }
.mk-content .mk-ucp-sub .btn, .mk-content .mk-ucp-sub button[type="submit"], .mk-content .mk-ucp-sub input[type="submit"] { /* mismo estilo que .mk-btn */
	display: inline-flex; justify-content: center; align-items: center; min-width: 96px; height: 26px; padding: 0 14px; box-sizing: border-box;
	border: 1px solid #7a4a22; border-radius: 0; background: linear-gradient(#4a1712, #2a0806); box-shadow: inset 0 1px 0 #6e2a1c, 0 1px 0 #000; outline: 0;
	font: bold 11px/1 Georgia, 'Times New Roman', serif; letter-spacing: .5px; text-transform: none; color: #e9a65c; text-shadow: 1px 1px 0 #2a1204;
}
.mk-content .mk-ucp-sub .btn:hover, .mk-content .mk-ucp-sub button[type="submit"]:hover, .mk-content .mk-ucp-sub input[type="submit"]:hover { background: linear-gradient(#5e1e16, #360b07); border-color: #b0773a; color: #fff1cf; filter: none; }
.mk-ucp-sub .module-requirements { margin: 0; padding: 8px 12px 8px 30px; border: 1px solid #6a5220; background: #1d160d url(../img/main_ico_notice.gif) 12px 13px no-repeat; text-align: left !important; }
.mk-ucp-sub .module-requirements p { margin: 2px 0; color: var(--ui-text); }
.mk-ucp-sub .module-requirements::before { content: "Requisitos"; display: block; margin-bottom: 4px; color: var(--ui-gold-hi); font-weight: bold;  font-size: 10px;  }
/* Formularios (cambiar clave / correo, comprar Zen, agregar stats) */
.mk-ucp-sub .form-horizontal { max-width: 460px; margin: 0 auto; }
.mk-ucp-sub .form-horizontal .control-label { color: var(--ui-gold); font-weight: bold; }
.mk-ucp-sub .form-control { height: 28px; padding: 3px 8px; border: 1px solid #5e4526; border-radius: 0; background: #0a0705; color: #fff; box-shadow: inset 0 1px 3px #000; }
.mk-ucp-sub .form-control:focus { border-color: var(--ui-orange); box-shadow: 0 0 0 1px var(--ui-orange); outline: none; }
.mk-ucp-sub .panel { border: 1px solid #3b2d1c; border-radius: 0; background: #120d08; box-shadow: none; }
.mk-ucp-sub [class*="col-xs-offset"], .mk-ucp-sub .col-xs-8 { float: none; width: auto; margin-left: 0; }
.mk-ucp-back { margin: 8px 0 0; font-size: 11px; }
.mk-ucp-back a { color: var(--ui-gold); }


/* ---------- Botón secundario: bordó y dorado, como la barra de navegación ---------- */
.mk-content a.mk-btn, .mk-content button.mk-btn, .mk-btn {
	display: inline-flex; justify-content: center; align-items: center; min-width: 80px; height: 26px; padding: 0 14px; box-sizing: border-box;
	border: 1px solid #7a4a22; background: linear-gradient(#4a1712, #2a0806); box-shadow: inset 0 1px 0 #6e2a1c, 0 1px 0 #000;
	font: bold 11px/1 Georgia, 'Times New Roman', serif; letter-spacing: .5px; color: #e9a65c; text-shadow: 1px 1px 0 #2a1204; text-decoration: none;
	cursor: url(../img/cur2.cur), pointer; transition: color .15s, border-color .15s;
}
.mk-btn:hover { background: linear-gradient(#5e1e16, #360b07); border-color: #b0773a; color: #fff1cf; }
.mk-btn:focus-visible { outline: 1px solid var(--ui-orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mk-btn { transition: none; } }

/* Alineación de celdas: el título de cada columna usa la misma clase que sus datos */
.mk-content .mk-table .mk-left { text-align: left; }
.mk-content .mk-table .mk-center { text-align: center; }
.mk-content .mk-table .mk-right { text-align: right; }
.mk-ucp-chars { table-layout: fixed; }
.mk-ucp-chars .mk-col-portrait { width: 56px; }
.mk-ucp-chars .mk-col-num { width: 64px; }
.mk-ucp-chars .mk-col-map { width: 150px; }
.mk-ucp-chars .mk-col-state { width: 110px; }
.mk-ucp-chars .mk-col-act { width: 92px; }
.mk-ucp-chars td small { display: block; margin-top: 1px; }
.mk-ucp-chars th { color: #e2c48e; }
.mk-ucp-chars th.mk-left { padding-left: 8px; }
/* El JS del sitio marca el primer .page-title como fuente del encabezado y lo oculta; dentro de la ventana se muestra como barra */
.mk-ucp-sub .page-title.mk-title-source { display: block; }
.mk-ucp-sub .page-title { font-style: normal; }
.mk-ucp-chars th[colspan] { padding-left: 64px; }
.mk-content .mk-ucp-sub .general-table-ui tr:first-child td:nth-child(2) { text-align: left; }
/* Comprar Zen (módulo de WebEngine): etiquetas arriba de cada lista y botón a la derecha */
.mk-ucp-sub .panel-general .panel-body { padding: 12px; }
.mk-ucp-sub .panel-general .row { display: grid; grid-template-columns: 1fr 1fr 130px; gap: 10px; align-items: center; margin: 0 0 6px; }
.mk-ucp-sub .panel-general .row::before, .mk-ucp-sub .panel-general .row::after { display: none; }
.mk-ucp-sub .panel-general .row > [class*="col-"] { float: none; width: auto; padding: 0; text-align: left; }
.mk-ucp-sub .panel-general .row:first-child > [class*="col-"] { color: var(--ui-gold); font-weight: bold; font-size: 10px;   }
.mk-ucp-sub .panel-general .row > [class*="col-"]:last-child:has(button) { text-align: right; }
.mk-ucp-sub .form-horizontal:has(.panel-general) { max-width: none; }
.mk-ucp-sub .general-table-ui:has(.rv-empty) tr:first-child { display: none; }
.mk-content .mk-ucp-sub .general-table-ui td:first-child { width: 56px; }
.mk-ucp-sub .panel-addstats .character-name { color: #fff; font: bold 13px/1.3 Arial, sans-serif; }

/* ---------- Información (modules/info.php del template) ---------- */
.mk-info-tabs { display: flex; align-items: flex-end; margin: 0; border-bottom: 1px solid var(--ui-line-hi); }
.mk-info-tabs a {
	display: inline-block; width: 94px; height: 21px; margin-right: 2px; text-align: center; /* 7 pestañas en 684 px */
	background: url(../img/main_tab_server_01_off.png) no-repeat; background-size: 94px 21px;
	font: 12px/21px Arial, sans-serif; color: var(--ui-gold);
}
.mk-info-tabs a.mk-tab-on { background-image: url(../img/main_tab_server_01_on.gif); color: #fff; }
.mk-info-tabs a:hover { color: #ff9900; }
.mk-info-tabs a.mk-tab-on:hover { color: #fff; }
.mk-info-tabs a:focus-visible { outline: 1px solid var(--ui-orange); outline-offset: -2px; }
.mk-info-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.mk-info-facts td { padding: 6px 8px; vertical-align: middle; }
.mk-info-facts td:first-child { width: 150px; font-weight: bold; }
/* Beneficios por tipo de cuenta: moneda de cada membresía en la cabecera, filas alternadas y la columna Oro destacada */
.mk-content .mk-info-rates { table-layout: fixed; border: 0; border-collapse: separate; border-spacing: 0; margin: 0; } /* sin el borde naranja de .mk-table: el marco es la ventana */
.mk-info-rates col:first-child { width: 31%; }
.mk-content .mk-info-rates td, .mk-content .mk-info-rates th { padding: 7px 8px; border-bottom: 1px solid #2a2016; vertical-align: middle; }
.mk-info-rates tbody tr:nth-child(odd) td { background: #18120c; }
.mk-info-rates tbody tr:nth-child(even) td { background: #110c08; }
.mk-info-rates tbody tr:hover td { background: #241a10; }
.mk-info-rates td:first-child { font-weight: bold; color: var(--ui-gold); }
.mk-info-rates td:not(:first-child) { font-weight: bold; }
.mk-info-rates td.mk-info-col-free { color: #c8bca8; }
.mk-info-rates td.mk-info-col-plata { color: #e8eef6; }
.mk-info-rates td.mk-info-col-oro { color: var(--ui-gold-hi); }
/* Columna Oro: solo fondo cálido (sin bordes propios, que se veían dobles) */
.mk-info-rates tbody tr td.mk-info-col-oro { background-image: linear-gradient(#d6a04c14, #d6a04c14); }
.mk-content .mk-info-rates th.mk-info-tier { padding: 10px 6px 8px; border-bottom: 1px solid #5e4526; background: radial-gradient(ellipse at 50% 20%, #2b2015 0%, #120d08 80%); text-transform: none; }
.mk-info-tier img { display: block; margin: 0 auto 4px; filter: drop-shadow(0 3px 4px #000); }
.mk-info-tier strong { display: block; font-size: 13px; color: #fff; }
.mk-info-tier small { display: block; min-height: 14px; margin-top: 2px; color: var(--ui-muted); font-size: 10px; font-weight: normal; }
.mk-info-tier-plata strong { color: #e8eef6; }
.mk-content .mk-info-rates th.mk-info-tier-oro { background: radial-gradient(ellipse at 50% 20%, #5a3b17 0%, #1c1209 80%); }
/* Esquina: mismo fondo que la cabecera, con el rótulo de la columna de beneficios abajo */
.mk-content .mk-info-rates th.mk-info-corner { padding: 8px; border-bottom: 1px solid #5e4526; background: radial-gradient(ellipse at 50% 20%, #2b2015 0%, #120d08 80%); color: var(--ui-gold); font-size: 11px; text-align: left; vertical-align: bottom; }
.mk-info-tier-oro strong { color: var(--ui-gold-hi); }
.mk-content .mk-info-rates tfoot td { padding: 9px 6px; border-bottom: 0; background: #0d0906; color: var(--ui-muted); font-size: 10px; font-weight: normal; }
.mk-content .mk-info-rates tfoot td.mk-info-col-oro { background: #1c1209; }
.mk-content .mk-info-rates td.mk-info-pending { color: var(--ui-muted); font-weight: normal; font-style: italic; }
.mk-info-note { margin: 10px 0 0; color: var(--ui-muted); }
.mk-info-muted { color: var(--ui-muted); }
.mk-info-classes { table-layout: fixed; }
.mk-info-classes .mk-col-portrait { width: 60px; }
.mk-info-classes .mk-col-evo { width: 165px; }
.mk-info-classes .mk-col-attr { width: 120px; }
.mk-info-classes .mk-col-req { width: 140px; }
.mk-info-classes th[colspan] { padding-left: 68px; }
.mk-info-classes td { padding: 5px 8px; vertical-align: middle; }
.mk-info-classes td.mk-info-portrait { padding: 4px; }
.mk-info-portrait img { display: block; width: 52px; height: 52px; border: 1px solid #000; outline: 1px solid #5e4526; }
.mk-info-classname strong { display: block; color: #fff; font: bold 12px/1.4 Arial, sans-serif; }
.mk-info-classname small { color: var(--ui-muted); font-size: 10px; }
.mk-info-events { table-layout: fixed; }
.mk-info-events .mk-col-event { width: 150px; }
.mk-info-events .mk-col-next { width: 150px; }
.mk-info-events td { padding: 6px 8px; vertical-align: middle; }
.mk-info-evname { color: #fff; font-weight: bold; }
.mk-info-evtimes { color: var(--ui-text); line-height: 1.6; }
.mk-info-evnext { color: var(--ui-gold-hi); font-weight: bold; }
.mk-info-commands { table-layout: fixed; }
.mk-info-commands .mk-col-cmd { width: 150px; }
.mk-info-commands .mk-col-cost { width: 190px; }
.mk-info-commands td { padding: 6px 8px; vertical-align: middle; }
.mk-info-commands code { padding: 1px 5px; border: 1px solid #3b2d1c; background: #0a0705; color: var(--ui-gold-hi); font: bold 11px Consolas, 'Courier New', monospace; }
.mk-info-steps a { display: inline-block; margin-top: 4px; color: var(--ui-gold); font-weight: bold; }
/* Preguntas frecuentes: ícono ? y botón +/− originales del template (question_mark.gif, main_btn_open.gif, main_btn_close.png) */
.mk-content .mk-info-faq { padding: 10px; }
.mk-info-faq details { margin: 0 0 4px; border: 1px solid #3b2d1c; background: #1a1611; }
.mk-info-faq details:nth-child(even) { background: #211a13; }
.mk-info-faq summary { display: flex; align-items: center; gap: 9px; padding: 7px 10px; list-style: none; color: #e2c48e; font-weight: bold; cursor: url(../img/cur2.cur), pointer; }
.mk-info-faq summary::-webkit-details-marker { display: none; }
.mk-info-faq summary::before { content: ""; flex: 0 0 12px; width: 12px; height: 12px; background: url(../img/question_mark.gif) no-repeat; }
.mk-info-faq summary::after { content: ""; flex: 0 0 11px; width: 11px; height: 11px; margin-left: auto; background: url(../img/main_btn_open.gif) no-repeat; }
.mk-info-faq summary:hover { color: #ff9900; }
.mk-info-faq summary:hover::after { background-image: url(../img/main_btn_open_on.png); }
.mk-info-faq summary:focus-visible { outline: 1px solid var(--ui-orange); outline-offset: -2px; }
.mk-info-faq details[open] { border-color: #5e4526; }
.mk-info-faq details[open] summary { color: var(--ui-gold-hi); border-bottom: 1px dotted #3b2d1c; }
.mk-info-faq details[open] summary::after { background-image: url(../img/main_btn_close_on.png); }
.mk-info-faq details p { margin: 0; padding: 8px 12px 10px 31px; background: #120d08; color: var(--ui-text); line-height: 1.6; }
.mk-info-faq details p a { color: var(--ui-gold); font-weight: bold; }
/* Con JS se ve una pestaña por vez; sin JS, todas */
.mk-info-js .mk-info-panel[hidden] { display: none; }

/* ---------- Saldo y membresía (mkAccountBadges) ---------- */
.mk-acc { display: flex; margin: 0; border: 1px solid #3b2d1c; background: #0d0a07e6; }
.mk-acc-item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; min-width: 110px; padding: 6px 12px 6px 10px; border-left: 1px solid #3b2d1c; }
.mk-acc-item:first-child { border-left: 0; }
.mk-acc-item:not(:has(.mk-acc-icon)) { display: block; min-width: 90px; }
.mk-acc-icon { grid-row: 1 / 3; display: block; width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 2px 3px #000); }
/* La moneda VIP trae el resplandor dentro del PNG (ocupa ~80 %): se agranda para que la moneda mida como la WC y la GP */
.mk-acc-icon-vip { width: 36px; height: 36px; margin: -3px; } /* FREE no trae resplandor: mide como la WC y la GP */
.mk-acc dt { color: var(--ui-muted); font-size: 11px; line-height: 1.3; }
.mk-acc dd { margin: 0; color: #fff; font-weight: bold; font-size: 13px; line-height: 1.3; }
.mk-acc dd small { display: block; color: var(--ui-muted); font-weight: normal; font-size: 10px; }
.mk-acc-free .mk-acc-icon { filter: grayscale(1) brightness(.7) drop-shadow(0 2px 3px #000); }
.mk-acc-vip-active { color: #7cff4e; }
.mk-acc-vip-expired { color: #ff7a5c; }
.mk-acc-vip-free { color: var(--ui-gold); }
.mk-shop-head .mk-acc { display: inline-flex; margin-top: 10px; }

/* ---------- Referidos (usercp/referrals) ---------- */
.mk-ref-share { display: flex; gap: 12px; align-items: stretch; }
.mk-ref-code { flex: 0 0 150px; padding: 8px; border: 1px solid #7a4a22; background: #1a0f08; text-align: center; }
.mk-ref-code span, .mk-ref-link span { display: block; margin: 0 0 4px; color: var(--ui-muted); font-size: 11px; }
.mk-ref-code strong { display: block; color: var(--ui-gold-hi); font: bold 18px/24px 'Courier New', monospace; }
.mk-ref-link { flex: 1; display: flex; flex-direction: column; margin: 0; }
.mk-content .mk-ref-link input { flex: 1; width: 100%; box-sizing: border-box; padding: 6px 8px; border: 1px solid #4a3420; background: #0d0806; color: #f3dfb4; font: 12px/18px 'Courier New', monospace; }
.mk-ref-rules { margin: 10px 0 0; color: var(--ui-muted); font-size: 11px; }
.mk-ref-lvl { color: var(--ui-muted); font-size: 11px; }
.mk-ref-badge-ready { border-color: #a8701c; background: #2a1a06; color: #ffc560; }
.mk-ref-badge-wait { border-color: #4a3a2a; background: #15100b; color: #a8957a; }
.mk-ref-claim { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px solid #3a2616; }
.mk-ref-claim p { margin: 0; color: var(--ui-muted); }
.mk-ref-claim strong { color: var(--ui-gold-hi); }
.mk-content .mk-ref-claim .mk-btn[disabled] { opacity: .45; cursor: default; filter: grayscale(.6); }

/* ---------- Registro (modules/register.php del template) ---------- */
.mk-reg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; } /* el centro mide ~440 px: una sola columna */
.mk-reg .mk-win { margin: 0; }
.mk-content .mk-reg-field { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; color: var(--ui-gold); font-size: 11px; font-weight: bold; }
.mk-reg-field em { color: var(--ui-muted); font-style: normal; font-weight: normal; }
.mk-content .mk-reg-field input { height: 28px; padding: 3px 8px; border: 1px solid #4a3420; border-radius: 0; background: #0a0705; color: #f3dfb4; font: bold 12px Arial, sans-serif; }
.mk-content .mk-reg-field input:focus { border-color: var(--ui-orange); outline: 0; box-shadow: 0 0 0 1px #e08a2c55; }
.mk-reg-field small, .mk-reg-check > small { color: var(--ui-muted); font-size: 10px; font-weight: normal; }
.mk-reg-pair { display: block; }
.mk-content .mk-reg-check { margin: 4px 0 12px; padding: 10px; border: 1px solid #000; outline: 1px solid #3b2d1c; outline-offset: -2px; background: #120d08; }
.mk-content .mk-reg-check legend { float: left; width: 100%; margin: 0 0 8px; padding: 0 0 5px; border: 0; border-bottom: 1px dotted #3b2d1c; color: var(--ui-gold-hi); font-size: 11px; font-weight: bold; } /* float: el título queda adentro del recuadro y no cortando el borde */
.mk-reg-check-row { clear: left; }
.mk-reg-check-row { display: flex; align-items: flex-end; gap: 12px; margin: 0 0 8px; }
.mk-reg-sample { margin: 0; text-align: center; }
.mk-reg-sample img, .mk-reg-board { display: block; border: 1px solid #000; outline: 1px solid #5e4526; image-rendering: auto; }
.mk-reg-sample img { outline-color: #d6a04c; }
.mk-reg-sample figcaption { margin-top: 3px; color: var(--ui-muted); font-size: 10px; }
.mk-content .mk-reg-answer { margin-bottom: 4px; }
.mk-content .mk-reg-answer input { width: 60px; text-align: center; font-size: 14px; }
.mk-reg-check a, .mk-reg-submit a, .mk-reg-note a, .mk-reg-steps a { color: var(--ui-gold); font-weight: bold; }
.mk-reg-submit { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mk-reg-submit p { margin: 0; color: var(--ui-muted); font-size: 10px; }
.mk-reg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.mk-reg-steps li { display: flex; align-items: flex-start; gap: 6px; margin: 0; }
.mk-reg-steps .mk-step { flex: 0 0 22px; }
.mk-reg-steps strong { display: block; color: #fff; font-size: 11px; }
.mk-reg-steps span { color: var(--ui-muted); font-size: 10px; }
.mk-reg-note { margin: 10px 0 0; padding-top: 8px; border-top: 1px dotted #3b2d1c; text-align: center; color: var(--ui-muted); font-size: 11px; }
.mk-reg-done { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mk-reg-done p { flex: 1 0 100%; margin: 0 0 4px; color: #fff; font-weight: bold; }

/* ---------- Perfil del jugador (modules/profile/player.php del template) ---------- */
.mk-profile .mk-win + .mk-win { margin-top: 12px; }
.mk-profile-card .mk-win-body { padding: 0; background: radial-gradient(ellipse at 15% 30%, #3a2610 0%, #120d08 70%); }
.mk-profile-id { display: flex; align-items: center; gap: 14px; padding: 12px; }
.mk-profile-art { flex: 0 0 104px; width: 104px; height: 104px; object-fit: cover; border: 1px solid #000; outline: 1px solid #d6a04c; box-shadow: 0 3px 8px #000; }
.mk-profile-name { min-width: 0; }
.mk-content .mk-profile-name h1 { margin: 0; color: #fff; font: bold 20px/1.2 Arial, sans-serif; font-style: normal; overflow-wrap: anywhere; }
.mk-profile-class { margin: 2px 0 8px; color: var(--ui-gold-hi); font-weight: bold; }
.mk-profile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.mk-profile-guild { color: var(--ui-muted); }
.mk-profile-guild a { color: var(--ui-gold); font-weight: bold; }
.mk-ucp-badge-off { border-color: #5a4a3a; background: #1a1410; color: #b09a80; }
.mk-profile-key { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); border-top: 1px solid #3b2d1c; background: #0d0906; }
.mk-profile-key > div { padding: 8px 4px; text-align: center; }
.mk-profile-key > div + div { border-left: 1px solid #2a2016; }
.mk-profile-key strong { display: block; color: var(--ui-gold-hi); font: bold 16px/1.2 Arial, sans-serif; }
.mk-profile-key small { color: var(--ui-muted); font-size: 10px; }
.mk-profile-stats { table-layout: fixed; border: 0; }
.mk-content .mk-profile-stats td { padding: 6px 8px; vertical-align: middle; }
.mk-profile-stats td:first-child { width: 30%; color: var(--ui-gold); font-weight: bold; }
.mk-profile-stats td:last-child { width: 22%; color: #fff; font-weight: bold; }
.mk-profile-bar span { display: block; height: 6px; border: 1px solid #000; background: #0b0805; }
.mk-profile-bar i { display: block; height: 100%; background: linear-gradient(90deg, #7a4a22, #e08a2c); }
.mk-profile-pk td { border-top: 1px dotted #3b2d1c; }
/* Perfil de guild (modules/profile/guild.php del template): usa la ficha del perfil del jugador */
.mk-guild-mark { flex: 0 0 96px; line-height: 0; }
.mk-guild-mark img { display: block; width: 96px; height: 96px; border: 1px solid #000; outline: 1px solid #d6a04c; box-shadow: 0 3px 8px #000; image-rendering: pixelated; }
.mk-guild-members { table-layout: fixed; }
.mk-content .mk-guild-members td { padding: 4px 6px; vertical-align: middle; }
.mk-guild-portrait img { display: block; width: 36px; height: 36px; border: 1px solid #000; outline: 1px solid #5e4526; }
.mk-guild-name strong, .mk-guild-name strong a { display: block; color: #fff; font-size: 12px; }
.mk-guild-name small { color: var(--ui-muted); font-size: 10px; }
.mk-content .mk-guild-members tr.mk-guild-master td { background: #2a1b0c; }
.mk-guild-master .mk-guild-name strong, .mk-guild-master .mk-guild-name strong a { color: var(--ui-gold-hi); }

/* ---------- Portada: últimos personajes en venta (inc/market-latest.php) ---------- */
.mk-home-market { margin-top: 12px; }
.mk-home-market .mk-win-title small a { color: var(--ui-gold); font-weight: bold; }
/* Tarjetas verticales: retrato grande de la clase (img/avatars), nombre, datos y precio */
.mk-mkt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-mkt-card { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 8px 6px 9px; border: 1px solid #000; outline: 1px solid #4a3620; outline-offset: -2px;
	background: linear-gradient(#1c140c, #0e0a06); box-shadow: inset 0 0 14px #000; text-align: center; text-decoration: none; }
.mk-mkt-card:hover, .mk-mkt-card:focus-visible { outline-color: #8a6331; background: linear-gradient(#2a1d10, #120c07); }
.mk-mkt-card > img { display: block; width: 80px; height: 80px; margin-bottom: 6px; border: 1px solid #000; outline: 1px solid #8a6331; outline-offset: -2px; box-shadow: 0 3px 6px #000; }
.mk-mkt-card strong { max-width: 100%; overflow: hidden; color: #fff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.mk-mkt-card:hover strong { color: var(--ui-gold-hi); }
.mk-mkt-card small { max-width: 100%; overflow: hidden; color: var(--ui-muted); font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.mk-mkt-price { margin-top: 5px; color: var(--ui-muted); font-size: 11px; white-space: nowrap; }
.mk-mkt-price img { vertical-align: middle; margin-right: 3px; filter: drop-shadow(0 1px 2px #000); }
.mk-mkt-price b { color: var(--ui-gold-hi); font-size: 12px; }
.mk-mkt-free > img { opacity: .35; filter: grayscale(1); }
.mk-mkt-free strong { color: var(--ui-muted); }
.mk-mkt-free small { color: #e0a64f; }

/* ---------- Juego limpio / sin pay-to-win (mkFairPlay) ---------- */
.mk-fair { margin-top: 12px; }
.mk-fair .mk-win-title small { color: #8fe36a; font-weight: bold; }
.mk-fair-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.mk-fair-list li { position: relative; padding: 8px 10px 8px 30px; border: 1px solid #000; outline: 1px solid #3b2d1c; outline-offset: -2px; background: #120d08; }
/* tilde verde dibujada con bordes (sin imagen): marca cada compromiso */
.mk-fair-list li::before { content: ""; position: absolute; left: 11px; top: 10px; width: 5px; height: 10px; border: solid #8fe36a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mk-fair-list strong { display: block; margin-bottom: 2px; color: #fff; font-size: 12px; }
.mk-fair-list span { color: var(--ui-muted); font-size: 11px; line-height: 1.5; }
.mk-fair-lead { margin: 0; color: var(--ui-text); line-height: 1.6; }
.mk-fair-lead strong { color: #8fe36a; }
.mk-fair-more { margin: 6px 0 0; text-align: right; }
.mk-fair-more a { color: var(--ui-gold); font-weight: bold; }
/* Etiqueta de noticia (inc/news-article.php): plaquita en imagen antes del título */
.mk-content .panel-news .panel-title { display: flex; align-items: center; gap: 8px; }
.mk-news-tag { display: inline-block; flex: 0 0 auto; height: 16px; width: auto; }

/* ---------- Guías (modules/guias.php, modules/guias/*.php, inc/guias.php) ---------- */
.mk-item { display: inline-block; image-rendering: auto; filter: drop-shadow(0 2px 3px #000); vertical-align: middle; }
.mk-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.mk-content .mk-guide-card { padding: 12px 8px; text-decoration: none; }
.mk-guide-card-ico { display: flex; align-items: center; justify-content: center; height: 44px; }
.mk-guide-card strong { margin-top: 6px; color: #fff; font-size: 12px; }
.mk-guide-card small { margin-top: 3px; color: var(--ui-muted); font-size: 10px; line-height: 1.45; }
.mk-guide-card:hover strong { color: var(--ui-gold-hi); }
.mk-guide-card em { margin-top: 6px; color: #8f7a5c; font-size: 10px; font-style: italic; }
.mk-guide-soon { opacity: .55; cursor: default; }
.mk-guide-back { margin: 0 0 8px; font-size: 11px; }
.mk-guide-back a { color: var(--ui-gold); font-weight: bold; }
.mk-guide-head { display: flex; align-items: center; gap: 12px; }
.mk-guide-ico { flex: 0 0 52px; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid #000; outline: 1px solid #5e4526; background: #0b0806 url(../img/market/warehouse_block.gif) 0 0 / 26px 26px; }
.mk-guide .mk-win { margin-top: 12px; }
.mk-guide p { line-height: 1.65; }
.mk-guide p:last-child { margin-bottom: 0; }
.mk-guide h3 { margin: 14px 0 6px; color: var(--ui-gold-hi); font: bold 12px/1.4 Arial, sans-serif; }
.mk-guide h3:first-child { margin-top: 0; }
.mk-guide ul.mk-guide-list { margin: 6px 0 0; padding-left: 18px; }
.mk-guide ul.mk-guide-list li { margin: 3px 0; line-height: 1.55; }
.mk-guide .mk-table td, .mk-guide .mk-table th { padding: 5px 7px; vertical-align: middle; }
.mk-guide .mk-table td.mk-guide-item { width: 44px; text-align: center; }
.mk-guide-tip { margin: 10px 0 0; padding: 8px 10px 8px 30px; border: 1px solid #6a5220; background: #1d160d url(../img/main_ico_notice.gif) 10px 10px no-repeat; color: var(--ui-text); }
.mk-guide-tip strong { color: var(--ui-gold-hi); }
.mk-guide-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.mk-guide-pager > a:not(.mk-btn) { color: var(--ui-gold); font-weight: bold; }
.mk-guide-source { margin: 12px 0 0; color: #8f7a5c; font-size: 10px; font-style: italic; text-align: center; }

/* ---------- Rankings (inc/rankings-view.php) ---------- */
.mk-rank-types { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.mk-content .mk-rank-types .mk-btn { min-width: 0; padding: 0 12px; }
.mk-content .mk-rank-types .mk-btn-on { border-color: #d6a04c; background: linear-gradient(#7a2a1a, #3e0d08); color: #fff1cf; box-shadow: inset 0 0 8px #d6a04c55; }
.mk-rank-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.mk-content .mk-rank-class { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 78px; padding: 6px 2px 4px; border: 1px solid #000; outline: 1px solid #3b2d1c; outline-offset: -2px; background: #120d08; color: var(--ui-muted); font: bold 10px/1.2 Arial, sans-serif; cursor: url(../img/cur2.cur), pointer; }
.mk-rank-class img { display: block; width: 40px; height: 40px; border: 1px solid #000; filter: grayscale(.6) brightness(.8); }
.mk-rank-class:hover img { filter: none; }
.mk-content .mk-rank-class.mk-rank-class-on { outline: 2px solid #d6a04c; outline-offset: -3px; background: radial-gradient(ellipse at 50% 30%, #5a3b17 0%, #1c1209 80%); color: #fff; }
.mk-rank-class.mk-rank-class-on img { filter: none; }
.mk-rankings .mk-win { margin-top: 12px; }
.mk-rank-table { table-layout: auto; }
.mk-content .mk-rank-table td { padding: 4px 8px; }
.mk-rank-table th:first-child, .mk-rank-table td:first-child { width: 30px; text-align: center; }
.mk-rank-name { display: flex; align-items: center; gap: 8px; }
.mk-rank-portrait, .mk-rank-name > img { flex: 0 0 auto; display: block; border: 1px solid #000; outline: 1px solid #5e4526; }
.mk-rank-name > span { min-width: 0; }
.mk-rank-name strong, .mk-rank-name strong a { display: block; color: #fff; font-size: 12px; }
.mk-top-1 .mk-rank-name strong a { color: #ffd88a; }
.mk-rank-name small { display: flex; align-items: center; gap: 4px; color: var(--ui-muted); font-size: 10px; }
.mk-rank-flag { width: 16px; height: 11px; }
.mk-rank-state img { display: inline-block; vertical-align: middle; }
.mk-rank-table td.mk-num { color: #fff; font-weight: bold; }

/* ---------- Slider de novedades de la portada (mkFeatured / mkSlides) ---------- */
/* Las diapositivas se apilan en la misma celda: el alto es el de la más alta y el cambio es un fundido. */
.mk-slider { position: relative; display: grid; margin: 0 0 12px; border: 1px solid #000; outline: 1px solid #8a6331; outline-offset: -2px; background: #0a0705; box-shadow: inset 0 0 24px #000; }
.mk-featured { grid-area: 1 / 1; display: flex; align-items: center; gap: 14px; padding: 14px 16px 30px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s;
	background: linear-gradient(90deg, #0a0705f0 0%, #0a0705c0 55%, #0a070566 100%), url(../img/shop/head-vip@2x.jpg) right center / cover; box-shadow: inset 0 0 24px #000; }
.mk-featured.mk-slide-on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.mk-slide-wc { background-image: linear-gradient(90deg, #0a0705f0 0%, #0a0705c0 55%, #0a070566 100%), url(../img/shop/head-wc@2x.jpg); }
.mk-slide-market { background-image: linear-gradient(90deg, #0a0705f0 0%, #0a0705c0 55%, #0a070566 100%), url(../img/shop/head-market@2x.jpg); }
/* Fondos propios del slider (pedido S01): la ilustración ocupa la derecha y la izquierda queda oscura para el texto */
.mk-slide-welcome { background-image: linear-gradient(90deg, #0a0705e0 0%, #0a0705a0 50%, #0a070522 100%), url(../img/slider/bienvenida@2x.jpg); }
.mk-slide-vote { background-image: linear-gradient(90deg, #0a0705e0 0%, #0a0705a0 50%, #0a070522 100%), url(../img/slider/votacion@2x.jpg); }
.mk-featured-coin { flex: 0 0 72px; filter: drop-shadow(0 3px 6px #000); }
.mk-featured-portrait { border: 1px solid #000; outline: 1px solid #8a6331; outline-offset: -2px; filter: none; box-shadow: 0 3px 6px #000; }
.mk-featured-text { min-width: 0; }
.mk-featured-kicker { display: block; color: #8fe36a; font-size: 11px; font-weight: bold; }
.mk-content .mk-featured h2 { margin: 3px 0 6px; line-height: 0; }
.mk-featured p { margin: 0 0 10px; color: var(--ui-text); line-height: 1.55; }
.mk-featured p strong { color: var(--ui-gold-hi); }
/* Números abajo a la derecha, como los banners rotativos de 2009 */
.mk-slider-nav { position: absolute; right: 8px; bottom: 7px; display: flex; gap: 3px; z-index: 1; }
.mk-slider-dot { width: 17px; height: 15px; padding: 0; border: 1px solid #000; background: #1c140c; color: #bea479; font: bold 10px/13px Tahoma, Verdana, sans-serif; cursor: pointer; box-shadow: inset 0 0 0 1px #4a3620; }
.mk-slider-dot:hover, .mk-slider-dot:focus-visible { color: #fff; box-shadow: inset 0 0 0 1px #8a6331; outline: none; }
.mk-slider-dot-on { background: #e08a2c; color: #1a0e04; box-shadow: inset 0 0 0 1px #ffc07a; }
@media (prefers-reduced-motion: reduce) { .mk-featured, .mk-featured.mk-slide-on { transition: none; } }
/* Avisos arriba del formulario de registro: regalo de bienvenida y correo real */
.mk-reg-notes { margin: 0 0 12px; padding: 0; list-style: none; }
.mk-reg-notes li { display: flex; align-items: center; gap: 8px; min-height: 28px; margin: 0 0 4px; padding: 5px 8px; border: 1px solid #000; outline: 1px solid #3b2d1c; outline-offset: -2px; background: #120c07; color: var(--ui-text); font-size: 11px; line-height: 1.45; }
.mk-reg-notes img { flex: 0 0 28px; filter: drop-shadow(0 1px 2px #000); }
.mk-reg-notes-gift { outline-color: #4d6b2a !important; } .mk-reg-notes-gift strong { color: #8fe36a; }
.mk-reg-notes-mail strong { color: var(--ui-gold-hi); }
.mk-reg-field small.mk-reg-warn { display: block; color: #e0704a; }

/* ---------- Votar (modules/usercp/vote.php) ---------- */
.mk-vote-sites td small { display: block; color: var(--ui-muted); font-size: 10px; }
.mk-vote-reward { white-space: nowrap; color: var(--ui-text); }
.mk-vote-reward img { vertical-align: middle; margin-right: 4px; }
.mk-vote-reward strong { color: var(--ui-gold-hi); }
.mk-vote-sites form { margin: 0; }
.mk-vote-wait { color: var(--ui-muted); font-size: 11px; white-space: nowrap; }
.mk-vote-steps { margin-top: 14px; }
.mk-vote-top { margin: 10px 0 0; color: var(--ui-muted); }
.mk-vote-top a { color: #e0a64f; font-weight: bold; }

/* Comandos del juego dentro de las guías (/lock, /unlock) */
.mk-guide code { padding: 0 4px; border: 1px solid #4a3620; background: #0a0705; color: #ffc07a; font: bold 11px/1.5 Consolas, "Courier New", monospace; white-space: nowrap; border-radius: 0; }

/* ---------- Lista de drops (modules/drops.php, datos en data/drops.json) ---------- */
.mk-drop-filters { display: grid; gap: 10px; }
.mk-drop-filters form { margin: 0; }
.mk-drop-filters label { display: block; margin: 0 0 4px; color: var(--ui-gold-hi); font-weight: bold; font-size: 11px; }
.mk-drop-filters span { display: flex; gap: 6px; }
.mk-content .mk-drop-filters select, .mk-content .mk-drop-filters input { flex: 1 1 auto; min-width: 0; height: 26px; padding: 2px 6px; border: 1px solid #4a3420; border-radius: 0; background: #0a0705; color: #f3dfb4; font: bold 11px Tahoma, Verdana, sans-serif; }
.mk-content .mk-drop-filters select:focus, .mk-content .mk-drop-filters input:focus { border-color: var(--ui-orange); outline: 0; }
.mk-content .mk-drop-filters .mk-btn { flex: 0 0 auto; min-width: 0; padding: 0 12px; }
.mk-drop-head { margin: 0 0 8px; }
.mk-content .mk-drop-head h3 { margin: 0 0 4px; color: #ffd88a; font-size: 13px; }
.mk-drop-head ul { margin: 0; padding: 0 0 0 14px; color: var(--ui-muted); font-size: 11px; }
.mk-drop-intro { margin: 0 0 8px; color: var(--ui-text); }
.mk-drop-table td { vertical-align: middle; }
.mk-drop-table td strong { color: #fff; font-weight: normal; }
.mk-drop-table td small { color: var(--ui-muted); }
.mk-drop-table th:nth-child(n+3) { width: 42px; }
.mk-drop-icon { width: 34px; text-align: center; }
.mk-drop-icon img { display: block; max-width: 32px; max-height: 40px; margin: 0 auto; image-rendering: auto; }
.mk-drop-noimg { display: block; width: 20px; height: 20px; margin: 0 auto; border: 1px dotted #4a3620; }
.mk-drop-yes { color: #6fd34a; font-weight: bold; font-family: 'Segoe UI Symbol', 'DejaVu Sans', sans-serif; }
.mk-drop-x { color: #d9452f; font-weight: bold; font-family: 'Segoe UI Symbol', 'DejaVu Sans', sans-serif; }
.mk-drop-no { color: #5e4a33; }
.mk-drop-updated { text-align: right; font-size: 10px; }

/* Información: tablas de Chaos Machine y bonus de party (data/mezclas.json) */
.mk-info-rates td.mk-center { width: 82px; color: #fff; }
.mk-info-rates tr.mk-info-rates-group th { padding: 4px 6px; background: #241a10; color: var(--ui-gold-hi); font-size: 11px; }
