/* ============================================
   Sistema de Guias - MU MAGMA
   ============================================ */

/* ---------- Drops Generales ---------- */
.table-data.dg-table th,
.table-data.dg-table td {
	text-align: left !important;
	vertical-align: middle;
	padding: 8px 12px;
}

.dg-icon {
	height: 26px;
	width: auto;
	max-width: 34px;
	object-fit: contain;
	vertical-align: middle;
	margin-right: 9px;
}

.dg-name {
	color: #ffe7c2;
	font-size: 12px;
	font-weight: 700;
	vertical-align: middle;
}

.dg-map {
	color: #ffcf6b;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
}

.dg-map i {
	margin-right: 4px;
	font-size: 10px;
	opacity: .8;
}

.dg-any {
	color: #8c8580;
	font-size: 11.5px;
	font-style: italic;
}

.dg-lvl {
	color: #b0aea3;
	font-size: 11.5px;
	white-space: nowrap;
}

/* ---------- Box of Kundun (cajas plegables) ---------- */
.bk-box {
	background: rgba(0, 0, 0, .25);
	border: 1px solid rgba(255, 155, 0, .15);
	border-radius: 6px;
	margin-bottom: 8px;
	overflow: hidden;
}

.bk-box.open {
	border-color: rgba(255, 155, 0, .35);
}

.bk-box-header {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px 14px;
	background: transparent;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	transition: background .18s;
}

.bk-box-header:hover {
	background: rgba(255, 155, 0, .06);
}

.bk-box-icon {
	height: 26px;
	width: auto;
	flex: 0 0 auto;
}

.bk-box-title {
	flex: 1;
	color: #ffe7c2;
	font-size: 13px;
	font-weight: 800;
}

.bk-box.open .bk-box-title {
	color: #ffb505;
}

.bk-box-count {
	color: #7c7671;
	font-size: 11px;
	white-space: nowrap;
}

.bk-box-chevron {
	color: #7c7671;
	font-size: 11px;
	transition: transform .25s, color .18s;
}

.bk-box.open .bk-box-chevron {
	transform: rotate(180deg);
	color: #ffb505;
}

.bk-box-body {
	display: none;
	padding: 2px 14px 14px;
	border-top: 1px solid rgba(255, 155, 0, .12);
}

.bk-box-desc {
	margin: 12px 0 4px !important;
}

.bk-sub {
	margin: 14px 0 8px;
	color: #ffcf6b;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.bk-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 8px;
	margin-bottom: 6px;
}

.bk-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 10px 6px 9px;
	background: rgba(0, 0, 0, .25);
	border: 1px solid rgba(255, 155, 0, .13);
	border-radius: 6px;
	transition: border-color .18s, background .18s;
}

.bk-item:hover {
	border-color: rgba(255, 155, 0, .4);
	background: rgba(255, 155, 0, .05);
}

.bk-item-img {
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 7px;
}

.bk-item-img img {
	max-height: 52px;
	max-width: 74px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 6px rgba(255, 155, 0, .2));
}

.bk-item-name {
	color: #ffe7c2;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.3;
}

.bk-item-sub {
	color: #7c7671;
	font-size: 9.5px;
	margin-top: 3px;
}

/* ---------- Comandos ---------- */

/* Codigo inline dentro de parrafos */
.cmd-code {
	font-family: Consolas, Monaco, 'Courier New', monospace;
	font-size: 12px;
	color: #ffe7c2;
	background: rgba(0, 0, 0, .35);
	border-radius: 3px;
	padding: 1px 6px;
}

/* Tabla de comandos: celdas con aire para textos largos
   (se fuerza la alineacion porque el template centra las columnas) */
.table-data.cmd-table th,
.table-data.cmd-table td {
	text-align: left !important;
	vertical-align: top;
	padding: 9px 12px;
}

.cmd-table .cmd-name {
	font-family: Consolas, Monaco, 'Courier New', monospace;
	font-size: 12.5px;
	font-weight: 700;
	color: #ffe7c2;
	white-space: nowrap;
}

.cmd-table .cmd-desc {
	color: #b0aea3;
	font-size: 12px;
	line-height: 1.55;
}

.cmd-table .cmd-desc strong {
	color: #ffe7c2;
}

.cmd-table .cmd-ej {
	font-family: Consolas, Monaco, 'Courier New', monospace;
	font-size: 11.5px;
	color: #8c8580;
	line-height: 1.7;
}

.cmd-table .cmd-none {
	color: #5f5b55;
}

.cmd-link {
	font-size: 11px;
	white-space: nowrap;
}

/* ---------- Monster Kill (listado de misiones) ---------- */
.mk-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 8px;
	margin: 10px 0 6px;
}

.mk-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	background: rgba(0, 0, 0, .25);
	border: 1px solid rgba(255, 155, 0, .13);
	border-radius: 6px;
	transition: border-color .18s, background .18s;
}

.mk-row:hover {
	border-color: rgba(255, 155, 0, .4);
	background: rgba(255, 155, 0, .05);
}

.mk-row-thumb {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(255, 155, 0, .25);
	background: #0d0a06;
	box-shadow: inset 0 0 12px rgba(0, 0, 0, .8);
}

.mk-row-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.mk-row:hover .mk-row-thumb {
	border-color: rgba(255, 155, 0, .6);
}

.mk-row:hover .mk-row-img {
	transform: scale(1.15);
}

.mk-row-main {
	flex: 1;
	min-width: 0;
}

.mk-row-name {
	color: #ffe7c2;
	font-weight: 700;
	font-size: 12.5px;
	line-height: 1.25;
	white-space: normal;
	word-break: break-word;
}

.mk-row-count {
	color: #b0aea3;
	font-size: 11.5px;
	margin-top: 2px;
}

.mk-row-count b {
	color: #ffb505;
}

.mk-row-reward {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	justify-content: flex-end;
	text-align: right;
}

.mk-row-reward img {
	height: 26px;
	width: auto;
	object-fit: contain;
	flex: 0 0 auto;
}

.mk-row-reward-name {
	color: #ffe7c2;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

.mk-row-zen {
	color: #ffb505;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.mk-row-zen i {
	margin-right: 4px;
	color: #ffcf6b;
}

/* Badge Repetible / Unica (inline, al lado del titulo de seccion) */
.mk-tag {
	display: inline-block;
	font-size: 9.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 2px 8px;
	border-radius: 20px;
	vertical-align: middle;
	margin-left: 6px;
}

.mk-tag.rep {
	color: #6bff9e;
	background: rgba(0, 255, 120, .1);
	border: 1px solid rgba(0, 255, 120, .3);
}

.mk-tag.uni {
	color: #ffcf6b;
	background: rgba(255, 181, 5, .12);
	border: 1px solid rgba(255, 181, 5, .35);
}

.guias-wrapper {
	display: flex;
	gap: 18px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	align-items: flex-start;
	padding: 15px 0;
	/* altura minima para que el fondo de la web no salte al abrir/cerrar secciones */
	min-height: 780px;
}

/* Iconos de imagen del template (estilo register) */
.guias-icon-img {
	width: 17px;
	height: 17px;
	object-fit: contain;
	flex: 0 0 17px;
	filter: drop-shadow(0 0 4px rgba(255, 155, 0, .45));
}

/* ---------- Sidebar ---------- */

.guias-sidebar {
	flex: 0 0 260px;
	background: linear-gradient(180deg, rgba(24, 19, 11, .92), rgba(14, 11, 6, .95));
	border: 1px solid rgba(255, 155, 0, .15);
	border-radius: 6px;
	padding: 14px 0 18px;
	box-shadow: 0 4px 14px -4px #000;
}

.guias-welcome {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 16px 14px;
	color: #ffe7c2;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .8px;
	border-bottom: 1px solid rgba(255, 155, 0, .12);
	margin-bottom: 10px;
}

.guias-welcome i {
	color: #ffb505;
	font-size: 13px;
}

.guias-seccion {
	margin-bottom: 14px;
}

.guias-seccion-titulo {
	padding: 6px 16px;
	color: #ffb505;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.2px;
}

.guias-lista {
	margin: 0;
	padding: 0;
	list-style: none;
}

.guias-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px;
	color: #b0aea3;
	font-size: 12px;
	text-decoration: none;
	border-left: 2px solid transparent;
	transition: all .15s;
}

.guias-link i {
	width: 16px;
	text-align: center;
	font-size: 12px;
	color: #ffb505;
	text-shadow: 0 0 6px rgba(255, 155, 0, .55);
	transition: color .15s;
}

.guias-link:hover {
	color: #ffe7c2;
	background: rgba(255, 155, 0, .06);
	text-decoration: none;
}

.guias-link:hover i,
.guias-link:hover .guias-icon-img {
	color: #ffb505;
	filter: drop-shadow(0 0 6px rgba(255, 155, 0, .8));
}

.guias-link.active {
	color: #ffb505;
	font-weight: 700;
	border-left-color: #ffb505;
	background: linear-gradient(90deg, rgba(255, 155, 0, .12), transparent);
}

.guias-link.active i {
	color: #ffb505;
}

/* ---------- Grupos desplegables ---------- */

.guias-grupo-header {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 7px 16px;
	background: transparent;
	border: none;
	border-left: 2px solid transparent;
	cursor: pointer;
	text-align: left;
	color: #b0aea3;
	font-size: 12px;
	font-family: inherit;
	transition: all .15s;
}

.guias-grupo-header i:first-child {
	width: 16px;
	text-align: center;
	font-size: 12px;
	color: #ffb505;
	text-shadow: 0 0 6px rgba(255, 155, 0, .55);
}

.guias-grupo-header span {
	flex: 1;
}

.guias-grupo-header:hover {
	color: #ffe7c2;
	background: rgba(255, 155, 0, .06);
}

.guias-grupo-header:hover i:first-child {
	color: #ffb505;
}

.guias-grupo-header.active {
	color: #ffb505;
	font-weight: 700;
}

.guias-grupo-header.active i:first-child {
	color: #ffb505;
}

.guias-chevron {
	font-size: 9px;
	color: #7c7671;
	transition: transform .25s;
}

.guias-grupo.open .guias-chevron {
	transform: rotate(180deg);
	color: #ffb505;
}

.guias-grupo-paginas {
	display: none;
	margin: 0;
	padding: 2px 0 4px;
	list-style: none;
}

.guias-grupo.open .guias-grupo-paginas {
	display: block;
}

.guias-sublink {
	display: block;
	padding: 6px 16px 6px 42px;
	color: #b0aea3;
	font-size: 12px;
	text-decoration: none;
	border-left: 2px solid transparent;
	transition: all .15s;
}

.guias-sublink:hover {
	color: #ffe7c2;
	background: rgba(255, 155, 0, .06);
	text-decoration: none;
}

.guias-sublink.active {
	color: #ffb505;
	font-weight: 700;
	border-left-color: #ffb505;
	background: linear-gradient(90deg, rgba(255, 155, 0, .12), transparent);
}

/* ---------- Contenido ---------- */

.guias-content {
	flex: 1;
	min-width: 0;
	background: linear-gradient(180deg, rgba(30, 24, 14, .6), rgba(18, 14, 8, .7));
	border: 1px solid rgba(255, 155, 0, .12);
	border-radius: 6px;
	padding: 18px 22px 22px;
	box-shadow: 0 4px 14px -4px #000;
}

.guias-page-title {
	color: #ffb505;
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 4px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 155, 0, .15);
}

.guias-content p {
	color: #b0aea3;
	font-size: 12.5px;
	line-height: 1.7;
	margin: 12px 0;
}

.guias-content p strong {
	color: #ffe7c2;
}

.guias-section-title {
	color: #ffe7c2;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 20px 0 8px;
	padding-left: 10px;
	border-left: 3px solid #ffb505;
}

.guias-note {
	background: rgba(255, 155, 0, .07);
	border: 1px solid rgba(255, 155, 0, .2);
	border-left: 3px solid #ffb505;
	border-radius: 4px;
	padding: 10px 14px;
	color: #b0aea3;
	font-size: 12px;
	line-height: 1.6;
	margin: 14px 0;
}

.guias-note strong {
	color: #ffb505;
}

/* Enlaces dentro de las guias (el template pinta los <a> de gris) */
.guias-content a {
	color: #ffb505;
	font-weight: 700;
	text-decoration: none;
	border-bottom: none;
	transition: color .15s;
}

.guias-content a:hover {
	color: #ffd280;
	text-decoration: none;
}

/* el tema base le agrega a los links dentro de .table-data una linea animada
   por ::after que se desliza al hacer hover; la sacamos aca para que los
   links de las guias no se subrayen al pasar el mouse */
.guias-content .table-data a::after {
	content: none;
}

/* Las tablas nunca desbordan el contenedor */
.guias-content table {
	max-width: 100%;
}

/* ---------- Guias con imagenes (combos, banners, capturas) ---------- */

.guias-banner {
	display: block;
	width: 100%;
	max-width: 100%;
	border-radius: 6px;
	border: 1px solid rgba(255, 155, 0, .2);
	margin: 4px 0 10px;
}

.guias-banner-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin: 14px 0;
}

.guias-banner-block .guias-banner {
	margin-bottom: 8px;
}

.guias-banner-block span {
	display: block;
	width: 100%;
	color: #b0aea3;
	font-size: 12px;
	text-align: center;
}

.guias-combo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	padding: 16px 10px;
	background: rgba(0, 0, 0, .25);
	border: 1px solid rgba(255, 155, 0, .15);
	border-radius: 6px;
	margin: 12px 0;
}

.guias-combo-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 110px;
	text-align: center;
}

.guias-combo-item img {
	width: auto;
	height: auto;
	max-height: 52px;
	max-width: 80px;
	object-fit: contain;
	border-radius: 4px;
	filter: drop-shadow(0 0 6px rgba(255, 155, 0, .25));
}

.guide-body .guias-combo-item img.guias-item-native {
	width: 32px;
	height: 32px;
	min-height: 0;
	max-height: none;
	image-rendering: auto;
}

.guide-body .evolution-stage-title {
	margin: 24px 0 12px;
	padding: 10px 13px;
	color: #d94317;
	background: #fff4ef;
	border-left: 4px solid #f04a1d;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 800;
}

.guias-combo-item span {
	color: #ffe7c2;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

.guias-combo-op {
	color: #ffb505;
	font-size: 26px;
	font-weight: 800;
	text-shadow: 0 0 8px rgba(255, 155, 0, .6);
}

.guias-img-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 14px 0;
}

.guias-img-block img {
	width: 230px;
	height: 360px;
	max-width: 100%;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid rgba(255, 155, 0, .15);
}

.guias-img-block span {
	color: #b0aea3;
	font-size: 12px;
}

.guias-center {
	text-align: center;
}

.guias-items-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 12px 10px;
	background: rgba(0, 0, 0, .25);
	border: 1px solid rgba(255, 155, 0, .15);
	border-radius: 6px;
	margin: 10px 0 18px;
}

.guias-items-strip img {
	height: 42px;
	width: 42px;
	object-fit: contain;
	background: rgba(255, 155, 0, .06);
	border: 1px solid rgba(255, 155, 0, .2);
	border-radius: 4px;
	padding: 4px;
}

/* Listas de texto dentro de guias */
.guias-lista-txt {
	margin: 10px 0;
	padding-left: 22px;
	color: #b0aea3;
	font-size: 12.5px;
	line-height: 1.7;
	list-style-type: disc;
}

.guias-lista-txt li {
	/* el template define li{display:flex} global: lo revertimos aca */
	display: list-item;
	margin-bottom: 6px;
}

.guias-lista-txt li::marker {
	color: #ffb505;
}

/* Icono de item chico dentro de tablas */
.guias-item-icon {
	height: 22px;
	width: 22px;
	object-fit: contain;
	vertical-align: middle;
	margin-right: 6px;
}

/* Colores de jewels (estilo guia) */
.jewel-chaos { color: #ffb505; font-weight: 700; }
.jewel-bless { color: #6bc1ff; font-weight: 700; }
.jewel-soul { color: #ff5050; font-weight: 700; }
.jewel-life { color: #ff9b00; font-weight: 700; }
.jewel-luck { color: #6bc1ff; font-weight: 700; }
.jewel-adicional { color: #ffe76b; font-weight: 700; }
.jewel-level { color: #b06bff; font-weight: 700; }
.jewel-skill { color: #6bff00; font-weight: 700; }

/* ---------- Reglamento ---------- */

/* Iconos de las normas, un color por tema */
.reg-row.c-gold > i {
	color: #ffb505;
	background: rgba(255, 181, 5, .1);
	border: 1px solid rgba(255, 181, 5, .32);
}

.reg-row.c-blue > i {
	color: #6bc1ff;
	background: rgba(107, 193, 255, .1);
	border: 1px solid rgba(107, 193, 255, .32);
}

.reg-row.c-red > i {
	color: #ff5050;
	background: rgba(255, 80, 80, .1);
	border: 1px solid rgba(255, 80, 80, .32);
}

.reg-row.c-purple > i {
	color: #b06bff;
	background: rgba(176, 107, 255, .1);
	border: 1px solid rgba(176, 107, 255, .32);
}

/* Sancion dentro de una fila de norma */
.reg-sancion {
	margin-top: 7px;
	font-size: 11.5px;
	line-height: 1.5;
	color: #8c8580;
}

.reg-sancion-label {
	display: inline-block;
	margin-right: 8px;
	padding: 1px 7px;
	border: 1px solid rgba(255, 80, 80, .38);
	border-radius: 3px;
	background: rgba(255, 48, 48, .1);
	color: #ff6b6b;
	font-size: 9.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .8px;
	vertical-align: 1px;
}

/* Bloque de filas informativas */
.reg-block {
	background: rgba(0, 0, 0, .25);
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 6px;
	padding: 2px 14px;
	margin: 10px 0 4px;
}

.reg-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	color: #b0aea3;
	font-size: 12.5px;
	line-height: 1.55;
	border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.reg-row:last-child {
	border-bottom: none;
}

.reg-row > i {
	flex: 0 0 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 10px;
	margin-top: 1px;
}

.reg-row.ok > i {
	color: #6bff00;
	background: rgba(107, 255, 0, .08);
	border: 1px solid rgba(107, 255, 0, .3);
}

.reg-row.no > i {
	color: #ff5050;
	background: rgba(255, 48, 48, .08);
	border: 1px solid rgba(255, 48, 48, .3);
}

.reg-row.warn > i {
	color: #ffb505;
	background: rgba(255, 181, 5, .1);
	border: 1px solid rgba(255, 181, 5, .35);
}

.reg-row b {
	color: #ffe7c2;
}

.reg-row > div {
	padding-top: 3px;
}

/* Soporte en dos columnas */
.reg-soporte {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 6px;
	align-items: start;
}

.reg-soporte-col {
	background: rgba(0, 0, 0, .3);
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 6px;
	overflow: hidden;
}

.reg-soporte-col .reg-row {
	padding: 9px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.reg-soporte-col .reg-row:last-child {
	border-bottom: none;
}

.reg-soporte-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 10px 12px;
	margin: 0;
}

.reg-soporte-title.ok {
	color: #6bff00;
	background: rgba(107, 255, 0, .06);
	border-bottom: 1px solid rgba(107, 255, 0, .25);
}

.reg-soporte-title.no {
	color: #ff5050;
	background: rgba(255, 48, 48, .08);
	border-bottom: 1px solid rgba(255, 48, 48, .25);
}

/* ---------- Terminos de Servicio (pagina /tos) ---------- */

.tos-wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 10px 0;
}

.tos-item {
	display: flex;
	gap: 14px;
	padding: 16px;
	background: rgba(0, 0, 0, .25);
	border: 1px solid rgba(255, 155, 0, .15);
	border-radius: 6px;
	transition: border-color .2s;
}

.tos-item:hover {
	border-color: rgba(255, 155, 0, .4);
}

.tos-num {
	flex: 0 0 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 155, 0, .12);
	border: 1px solid rgba(255, 155, 0, .3);
	border-radius: 50%;
	color: #ffb505;
	font-size: 14px;
	font-weight: 800;
}

.tos-body {
	flex: 1;
	min-width: 0;
}

.tos-body h3 {
	margin: 4px 0 8px;
	color: #ffe7c2;
	font-size: 14px;
	font-weight: 800;
}

.tos-body p {
	margin: 0 0 8px;
	color: #b0aea3;
	font-size: 12.5px;
	line-height: 1.65;
}

.tos-body p:last-child {
	margin-bottom: 0;
}

.tos-body a {
	color: #ffb505;
}

.tos-body strong {
	color: #ffe7c2;
}

/* ---------- Responsive ---------- */

/* mismo breakpoint que el resto del template */
@media (max-width: 1000px) {
	.guias-wrapper {
		flex-direction: column;
		min-height: 0;
		padding: 10px 0;
		gap: 14px;
	}

	.guias-sidebar {
		flex: 1 1 auto;
		width: 100%;
		box-sizing: border-box;
	}

	.guias-content {
		width: 100%;
		box-sizing: border-box;
		padding: 14px;
	}
}

@media (max-width: 768px) {
	.guias-wrapper {
		padding: 5px 0;
	}

	.reg-soporte {
		grid-template-columns: 1fr;
	}

	.guias-content {
		padding: 12px 10px;
	}

	.guias-page-title {
		font-size: 16px;
	}

	/* tablas anchas: scroll interno en vez de desbordar la pagina */
	.guias-content .table-data {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* Lista numerada (pasos) */
ol.guias-lista-txt {
	list-style-type: decimal;
}

/* Capturas lado a lado (comparaciones) */
.guias-shots {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	gap: 18px;
	margin: 14px 0;
}

.guias-shots figure {
	margin: 0;
	text-align: center;
}

.guias-shots img {
	display: block;
	width: 230px;
	height: 360px;
	max-width: 100%;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid rgba(255, 155, 0, .2);
}

.guias-shots figcaption {
	color: #b0aea3;
	font-size: 12px;
	margin-top: 7px;
}

/* Captura de pantalla (tamanio natural, centrada, sin recortar) */
.guias-screenshot {
	display: block;
	max-width: 100%;
	width: auto;
	margin: 8px auto 4px;
	border-radius: 6px;
	border: 1px solid rgba(255, 155, 0, .2);
}

.guias-screenshot-cap {
	text-align: center;
	color: #b0aea3;
	font-size: 12px;
	margin: 0 0 14px;
}

/* Tecla estilo keycap para F8 / F12 / B, etc. */
.guias-key {
	display: inline-block;
	min-width: 20px;
	padding: 1px 7px;
	margin: 0 1px;
	font-family: Consolas, Monaco, 'Courier New', monospace;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.5;
	color: #ffe7c2;
	background: #221c10;
	border: 1px solid rgba(255, 155, 0, .4);
	border-bottom-width: 2px;
	border-radius: 4px;
	text-align: center;
}

/* Tablas de costo: montos alineados a la izquierda */
.guias-cost td {
	text-align: left;
}

.guias-cost td:nth-child(2) {
	white-space: nowrap;
	color: #ffe7c2;
	font-weight: 600;
}

/* ---------- Calculadora interactiva (Resets) ---------- */
.guias-calc {
	background: linear-gradient(180deg, rgba(24, 19, 11, .6), rgba(14, 11, 6, .75));
	border: 1px solid rgba(255, 155, 0, .22);
	border-radius: 8px;
	padding: 18px 16px;
	margin: 14px 0;
	box-shadow: 0 4px 16px -6px #000;
}

.guias-calc-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	color: #b0aea3;
	font-size: 12px;
	margin-bottom: 4px;
}

.guias-calc-top .guias-calc-n {
	color: #ffb505;
	font-size: 16px;
	font-weight: 800;
	text-shadow: 0 0 8px rgba(255, 155, 0, .5);
}

.guias-calc-slider {
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	border-radius: 6px;
	background: rgba(255, 155, 0, .18);
	outline: none;
	margin: 10px 0 4px;
	cursor: pointer;
}

.guias-calc-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ffb505;
	border: 2px solid #1a140b;
	box-shadow: 0 0 8px rgba(255, 155, 0, .7);
	cursor: pointer;
}

.guias-calc-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ffb505;
	border: 2px solid #1a140b;
	box-shadow: 0 0 8px rgba(255, 155, 0, .7);
	cursor: pointer;
}

.guias-calc-ends {
	display: flex;
	justify-content: space-between;
	color: #7c7671;
	font-size: 10px;
	margin-bottom: 14px;
}

.guias-calc-results {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.guias-calc-card {
	text-align: center;
	padding: 14px 10px;
	background: rgba(0, 0, 0, .3);
	border: 1px solid rgba(255, 155, 0, .15);
	border-radius: 6px;
}

.guias-calc-card.vip {
	border-color: rgba(255, 207, 107, .4);
	background: rgba(255, 181, 5, .06);
}

.guias-calc-tag {
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #7c7671;
	margin-bottom: 6px;
}

.guias-calc-card.vip .guias-calc-tag {
	color: #ffcf6b;
}

.guias-calc-cost {
	font-size: 18px;
	font-weight: 800;
	color: #ffe7c2;
	line-height: 1.25;
}

.guias-calc-card.vip .guias-calc-cost {
	color: #ffb505;
}

.guias-calc-cost small {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #7c7671;
	margin-top: 3px;
}

.guias-calc-cycle {
	text-align: center;
	margin-top: 12px;
	color: #b0aea3;
	font-size: 11.5px;
}

.guias-calc-cycle b {
	color: #ffb505;
}

@media (max-width: 520px) {
	.guias-calc-results {
		grid-template-columns: 1fr;
	}
}


/* ============================================================
   GUIA: HORARIOS DE INVASIONES
   ============================================================ */

/* --- cronologia de las proximas 12 horas --- */
.hor-crono {
	margin: 0 0 6px;
}

.hor-crono-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 5px;
	padding: 8px 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .02) 0%, rgba(0, 0, 0, .28) 100%);
	border: 1px solid rgba(255, 231, 194, .07);
	border-left: 3px solid rgba(255, 231, 194, .12);
	border-radius: 3px;
	transition: background .16s, border-color .16s;
}

.hor-crono-row:hover {
	background: rgba(255, 155, 0, .06);
}

.hor-crono-row.is-origin { border-left-color: rgba(255, 181, 5, .6); }
.hor-crono-row.is-mini   { border-left-color: rgba(90, 150, 230, .55); }
.hor-crono-row.is-boss   { border-left-color: rgba(210, 90, 70, .65); }

.hor-crono-hora {
	flex: 0 0 auto;
	min-width: 48px;
	color: #ffd166;
	font-size: 15px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.hor-crono-thumb {
	flex: 0 0 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: rgba(0, 0, 0, .34);
	border: 1px solid rgba(255, 231, 194, .08);
	border-radius: 2px;
	overflow: hidden;
}

.hor-crono-thumb img {
	max-width: 30px;
	max-height: 30px;
	width: auto;
	height: auto;
}

.hor-crono-info {
	flex: 1 1 auto;
	min-width: 0;
}

.hor-crono-name {
	display: block;
	color: #cfc7b8;
	font-size: 13.5px;
	line-height: 1.3;
}

.hor-crono-tag {
	display: block;
	margin-top: 1px;
	font-size: 9px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.hor-crono-row.is-origin .hor-crono-tag { color: rgba(255, 181, 5, .7); }
.hor-crono-row.is-mini   .hor-crono-tag { color: rgba(90, 150, 230, .75); }
.hor-crono-row.is-boss   .hor-crono-tag { color: rgba(210, 90, 70, .8); }
.hor-crono-row.is-otro   .hor-crono-tag { color: #6f6a60; }

.hor-crono-falta {
	flex: 0 0 auto;
	min-width: 66px;
	color: #8c8580;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

/* mismos estados de color que el widget de la barra lateral */
.hor-crono-falta.is-cerca     { color: #ffd166; }
.hor-crono-falta.is-muycerca  { color: #e8a04f; font-weight: 600; }
.hor-crono-falta.is-inminente { color: #e2554a; font-weight: 700; animation: inv-latido 1s ease-in-out infinite; }
.hor-crono-falta.is-ahora     { color: #4ade80; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }

/* corte de dia */
.hor-corte {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px 0 9px;
	color: #7e7b74;
	font-size: 10px;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.hor-corte::before,
.hor-corte::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 181, 5, .18), transparent);
}

/* --- tarjetas por invasion --- */
.hor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 10px;
	margin: 0 0 6px;
}

.hor-card {
	padding: 12px 14px 13px;
	background:
		radial-gradient(120% 90% at 50% 0%, rgba(255, 155, 0, .04) 0%, transparent 62%),
		linear-gradient(180deg, rgba(20, 16, 11, .9) 0%, rgba(9, 7, 5, .94) 100%);
	border: 1px solid rgba(255, 231, 194, .08);
	border-top: 2px solid rgba(255, 231, 194, .14);
	border-radius: 3px;
}

.hor-card.is-origin { border-top-color: rgba(255, 181, 5, .6); }
.hor-card.is-mini   { border-top-color: rgba(90, 150, 230, .55); }
.hor-card.is-boss   { border-top-color: rgba(210, 90, 70, .65); }

.hor-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hor-card-thumb {
	flex: 0 0 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: rgba(0, 0, 0, .34);
	border: 1px solid rgba(255, 231, 194, .08);
	border-radius: 2px;
	overflow: hidden;
}

.hor-card-thumb img {
	max-width: 34px;
	max-height: 34px;
	width: auto;
	height: auto;
}

.hor-card-info {
	flex: 1 1 auto;
	min-width: 0;
}

.hor-card-name {
	display: block;
	color: #e6e0d2;
	font-size: 14px;
	line-height: 1.25;
}

.hor-card-tag {
	display: block;
	margin-top: 2px;
	font-size: 9px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.hor-card.is-origin .hor-card-tag { color: rgba(255, 181, 5, .7); }
.hor-card.is-mini   .hor-card-tag { color: rgba(90, 150, 230, .75); }
.hor-card.is-boss   .hor-card-tag { color: rgba(210, 90, 70, .8); }
.hor-card.is-otro   .hor-card-tag { color: #6f6a60; }

.hor-card-count {
	flex: 0 0 auto;
	color: #ffd166;
	font-size: 15px;
	font-weight: 600;
	text-align: right;
	line-height: 1.1;
}

.hor-card-count span {
	display: block;
	color: #6f6a60;
	font-size: 8.5px;
	font-weight: 400;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.hor-card-maps {
	margin: 10px 0 0;
	padding: 6px 9px;
	background: rgba(0, 0, 0, .26);
	border-left: 2px solid rgba(255, 181, 5, .3);
	border-radius: 0 2px 2px 0;
	color: #8c8580;
	font-size: 11.5px;
}

.hor-card-maps i {
	margin-right: 5px;
	font-size: 10px;
	color: rgba(255, 181, 5, .5);
}

/* --- horarios como fichas --- */
.hor-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 11px 0 0;
}

.hor-chip {
	padding: 4px 9px;
	background: rgba(0, 0, 0, .3);
	border: 1px solid rgba(255, 231, 194, .1);
	border-radius: 2px;
	color: #b0aea3;
	font-size: 11.5px;
	font-variant-numeric: tabular-nums;
}

/* el proximo del dia */
.hor-chip.is-next {
	background: rgba(255, 155, 0, .13);
	border-color: rgba(255, 181, 5, .5);
	color: #ffd166;
	font-weight: 600;
}

/* los que ya pasaron hoy */
.hor-chip.is-past {
	opacity: .4;
}

/* --- enlace del widget lateral a esta guia --- */
.inv-all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 0 8px 8px;
	padding: 8px;
	background: rgba(0, 0, 0, .3);
	border: 1px solid rgba(255, 181, 5, .18);
	border-radius: 2px;
	color: #c8a24f;
	font-size: 10px;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .16s, border-color .16s, color .16s;
}

.inv-all:hover,
.inv-all:focus {
	background: rgba(255, 155, 0, .1);
	border-color: rgba(255, 181, 5, .45);
	color: #ffd166;
	text-decoration: none;
}

.inv-all i {
	font-size: 9px;
}

@media (max-width: 767px) {

	.hor-grid {
		grid-template-columns: 1fr;
	}

	.hor-crono-row {
		gap: 9px;
		padding: 7px 9px;
	}

	.hor-crono-hora {
		min-width: 42px;
		font-size: 13.5px;
	}

	.hor-crono-falta {
		min-width: 56px;
		font-size: 11px;
	}
}


/* ============================================================
   GUIA: HOJA DE RUTA (roadmap / timeline vertical)
   ============================================================ */

/* --- leyenda de estados --- */
.rm-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 14px 0 18px;
	padding: 10px 14px;
	background: rgba(0, 0, 0, .25);
	border: 1px solid rgba(255, 155, 0, .12);
	border-radius: 6px;
}

.rm-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #b0aea3;
}

.rm-legend-item i {
	font-size: 10px;
}

.rm-legend-item.done    { color: #6bff9e; }
.rm-legend-item.active  { color: #ffb505; }
.rm-legend-item.upcoming{ color: #8c8580; }

/* --- contenedor del timeline --- */
.rm-timeline {
	position: relative;
	margin: 16px 0 6px;
}

.rm-item {
	position: relative;
	display: flex;
	gap: 16px;
}

/* --- riel izquierdo con nodo y linea --- */
.rm-rail {
	position: relative;
	flex: 0 0 44px;
	display: flex;
	justify-content: center;
}

/* linea que conecta hacia el siguiente nodo */
.rm-rail::before {
	content: "";
	position: absolute;
	top: 8px;
	bottom: -14px;
	left: 50%;
	width: 2px;
	margin-left: -1px;
	background: rgba(255, 155, 0, .18);
}

.rm-item:last-child .rm-rail::before {
	display: none;
}

/* la linea de los tramos ya completados va en dorado pleno */
.rm-item.is-done .rm-rail::before {
	background: linear-gradient(180deg, rgba(255, 181, 5, .55), rgba(255, 181, 5, .3));
}

/* --- nodo (circulo con icono) --- */
.rm-node {
	position: relative;
	z-index: 1;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	background: rgba(14, 11, 6, .95);
	border: 2px solid rgba(255, 155, 0, .2);
	color: #7c7671;
	box-shadow: 0 3px 10px -3px #000;
	transition: border-color .18s, color .18s, box-shadow .18s;
}

.rm-item.is-done .rm-node {
	color: #6bff9e;
	border-color: rgba(107, 255, 158, .5);
	background: rgba(6, 20, 12, .95);
}

.rm-item.is-active .rm-node {
	color: #ffb505;
	border-color: #ffb505;
	background: rgba(255, 181, 5, .1);
	box-shadow: 0 0 0 4px rgba(255, 181, 5, .12), 0 0 14px rgba(255, 155, 0, .5);
	animation: rm-pulse 1.8s ease-in-out infinite;
}

.rm-item.is-upcoming .rm-node {
	color: #8c8580;
	border-color: rgba(255, 155, 0, .18);
}

@keyframes rm-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(255, 181, 5, .12), 0 0 14px rgba(255, 155, 0, .35); }
	50%      { box-shadow: 0 0 0 6px rgba(255, 181, 5, .18), 0 0 20px rgba(255, 155, 0, .7); }
}

/* --- cuerpo de la fase --- */
.rm-body {
	flex: 1;
	min-width: 0;
	padding-bottom: 24px;
}

.rm-item:last-child .rm-body {
	padding-bottom: 4px;
}

.rm-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 3px;
}

.rm-date {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 800;
	color: #9a5a00;
	font-variant-numeric: tabular-nums;
}

.rm-date i {
	font-size: 10px;
	opacity: .8;
}

/* pill de estado */
.rm-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 9.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 2px 9px;
	border-radius: 20px;
}

.rm-status i {
	font-size: 9px;
}

.rm-status.is-done {
	color: #6bff9e;
	background: rgba(0, 255, 120, .1);
	border: 1px solid rgba(0, 255, 120, .3);
}

.rm-status.is-active {
	color: #ffb505;
	background: rgba(255, 181, 5, .12);
	border: 1px solid rgba(255, 181, 5, .4);
}

.rm-status.is-upcoming {
	color: #605b57;
	background: #f2f0ee;
	border: 1px solid #d8d3ce;
}

.rm-status.is-tentativa {
	color: #b06bff;
	background: rgba(176, 107, 255, .1);
	border: 1px solid rgba(176, 107, 255, .3);
}

.rm-title {
	color: #262a30;
	font-size: 15px;
	font-weight: 800;
	margin: 7px 0 2px;
}

.rm-item.is-active .rm-title {
	color: #ffb505;
}

.rm-item.is-upcoming .rm-title {
	color: #34383e;
}

.rm-desc {
	color: #555a61;
	font-size: 12.5px;
	line-height: 1.65;
	margin: 4px 0 8px !important;
}

.rm-desc strong {
	color: #292d33;
}

.rm-points {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.rm-points li {
	position: relative;
	display: block;
	padding: 3px 0 3px 20px;
	color: #b0aea3;
	font-size: 12px;
	line-height: 1.55;
}

.rm-points li::before {
	content: "\f054"; /* fa chevron-right */
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
	font-weight: 900;
	position: absolute;
	left: 2px;
	top: 4px;
	font-size: 9px;
	color: #ffb505;
	opacity: .7;
}

.rm-points li strong {
	color: #ffe7c2;
}

/* las fases futuras se ven un poco mas apagadas */
.rm-item.is-upcoming .rm-desc,
.rm-item.is-upcoming .rm-points li {
	opacity: 1;
}

/* --- responsive --- */
@media (max-width: 600px) {
	.rm-rail {
		flex: 0 0 38px;
	}

	.rm-node {
		width: 38px;
		height: 38px;
		font-size: 14px;
	}

	.rm-title {
		font-size: 14px;
	}
}


/* ---------- Hoja de Ruta: hitos "Planeado" (sin fecha) + separador ---------- */
.rm-legend-item.planeado { color: #b06bff; }

.rm-status.is-planeado {
	color: #b06bff;
	background: rgba(176, 107, 255, .1);
	border: 1px solid rgba(176, 107, 255, .3);
}

.rm-item.is-planeado .rm-node {
	color: #b48aff;
	border-color: rgba(176, 107, 255, .35);
	background: rgba(176, 107, 255, .06);
}

.rm-item.is-planeado .rm-rail::before {
	background: rgba(176, 107, 255, .18);
}

.rm-item.is-planeado .rm-title { color: #34383e; }

.rm-item.is-planeado .rm-desc,
.rm-item.is-planeado .rm-points li { opacity: 1; }

.guide-body .rm-launch-note {
	background: #f4fbf6;
	border-color: #cce8d3;
	border-left-color: #2f8f52;
}

.guide-body .rm-launch-note strong {
	color: #267443;
}

.rm-table-scroll {
	margin-bottom: 8px;
}

.guide-body .rm-path-table {
	min-width: 620px;
}

.guide-body .rm-path-table th:first-child,
.guide-body .rm-path-table td:first-child {
	width: 28%;
	font-weight: 750;
}

/* linea separadora entre el tramo con fecha y el plan a futuro */
.rm-sep {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 10px 0 20px;
	padding: 9px 14px;
	text-align: center;
	background: rgba(176, 107, 255, .06);
	border: 1px dashed rgba(176, 107, 255, .3);
	border-radius: 6px;
	color: #c9a6ff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.4;
}

.rm-sep i { color: #b06bff; }
