/*!
 * MundoToon Navbar 1.4.4 — barra de navegación de MundoToon
 * Iconos basados en Lucide (ISC) y Feather (MIT): ver licenses/iconos.txt
 *
 * Tramos:  ≥1024 escritorio · <1024 menú lateral con las secciones a la vista en la barra
 * Todo en px a propósito: el tema usa html{font-size:10px} y rem daría tamaños erróneos.
 */

/* =====================================================================
   Tokens: a juego con la cabecera de la web — su gris carbón y el tono del
   campo del buscador. El color lo ponen los iconos
   ===================================================================== */
.mtn-root {
	--mtn-h: 62px;
	--mtn-radius: 10px;

	--mtn-bg-1: #2a2b2d;
	--mtn-bg-2: #222324;
	--mtn-field: #2b2c2e;
	--mtn-panel: #1e1f21;
	--mtn-panel-2: #27282b;
	--mtn-line: rgb(255 255 255 / .09);
	--mtn-line-2: rgb(255 255 255 / .14);
	--mtn-text: #eef0f3;
	--mtn-muted: #b1b5bc;
	--mtn-subtle: #94989f;
	--mtn-hover: rgb(255 255 255 / .07);
	--mtn-focus: #bcd7ff;
	--mtn-accent: #8fbcff;
	--mtn-current: rgb(255 255 255 / .1);
	/* La misma fuente del sistema que usa la web: 0 KB extra */
	--mtn-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--mtn-ease: cubic-bezier(.2, .8, .2, 1);

	display: block;
	margin: 8px 0;
	font-family: var(--mtn-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--mtn-text);
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
}

.mtn-root *,
.mtn-root *::before,
.mtn-root *::after {
	box-sizing: border-box;
}

/* Blindaje: el tema fuerza fuente, peso y tamaño en span, li, a, button… */
.mtn-root :is(span, li, a, button, input, label, b) {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	text-transform: none;
}
.mtn-root :is(ul, li) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	list-style: none;
}
.mtn-root li::before,
.mtn-root li::after {
	content: none;
}

.mtn-root .mtn-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	pointer-events: none;
}

.mtn-root .mtn-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Iconos de línea (heredan el color del texto) */
.mtn-root .mtn-ico {
	display: block;
	flex: none;
	width: 20px;
	height: 20px;
	max-width: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	overflow: visible;
	pointer-events: none;
}

/* Foco visible para teclado en todo el componente */
.mtn-root a:focus-visible,
.mtn-root button:focus-visible {
	outline: 2px solid var(--mtn-focus);
	outline-offset: 2px;
}
.mtn-root a:focus:not(:focus-visible),
.mtn-root button:focus:not(:focus-visible) {
	outline: none;
}

/* Saltar al contenido (accesibilidad) */
.mtn-root .mtn-skip {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 100001;
	padding: 11px 16px;
	border-radius: 10px;
	background: #fff;
	color: #10161f;
	font: 600 15px/1.2 var(--mtn-font);
	text-decoration: none;
	box-shadow: 0 10px 30px rgb(0 0 0 / .35);
	transform: translateY(-200%);
	transition: transform .2s var(--mtn-ease);
}
.mtn-root .mtn-skip:focus {
	transform: none;
	outline: 3px solid var(--mtn-accent);
	outline-offset: 2px;
}

/* Por si el botón hamburguesa del tema quedara suelto en la página */
body:has(.mtn-root) .mobile-menu-barra {
	display: none !important;
}

/* =====================================================================
   Barra
   ===================================================================== */
.mtn-root .mtn-bar {
	position: relative;
	z-index: 1000;
	/* El mismo borde y la misma esquina que la cabecera de la web */
	border: 1px solid #363b43;
	border-radius: var(--mtn-radius);
	background: linear-gradient(180deg, var(--mtn-bg-1), var(--mtn-bg-2));
	box-shadow:
		0 12px 28px -18px rgb(0 0 0 / .75),
		0 2px 6px -2px rgb(0 0 0 / .35),
		inset 0 1px 0 rgb(255 255 255 / .04);
}

.mtn-root .mtn-bar__inner {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: var(--mtn-h);
	padding: 0 10px;
}

/* ----- Marca ----- */
.mtn-root .mtn-brand {
	display: block;
	flex: none;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.mtn-root .mtn-brand__link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	height: 46px;
	padding: 0 8px 0 2px;
	border-radius: 11px;
	color: #fff;
	text-decoration: none;
}

/* El logo tiene trazos negros (antena, patas): sobre una ficha clara se ve entero */
.mtn-root .mtn-tile {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(180deg, #fff, #e3ebf4);
	box-shadow:
		0 4px 12px -5px rgb(0 0 0 / .65),
		inset 0 0 0 1px rgb(255 255 255 / .7);
	color: #1c2532;
	transition: transform .25s var(--mtn-ease);
}
.mtn-root .mtn-tile__img {
	display: block;
	width: 30px;
	height: 30px;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	object-fit: contain;
}
.mtn-root .mtn-tile .mtn-ico {
	width: 22px;
	height: 22px;
}
.mtn-root .mtn-brand__link:hover .mtn-tile {
	transform: rotate(-5deg) scale(1.05);
}

.mtn-root .mtn-brand__name {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.1;
	white-space: nowrap;
	color: #fff;
}
.mtn-root .mtn-brand__name b {
	font-weight: 800;
	color: var(--mtn-accent);
	background: linear-gradient(135deg, #7db4ff, #2563eb);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* =====================================================================
   Menú principal (escritorio)
   ===================================================================== */
.mtn-root .mtn-nav {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-width: 0;
}
.mtn-root .mtn-drawer-head {
	display: none;
}
.mtn-root .mtn-menu {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.mtn-root .mtn-item {
	position: relative;
	flex: none;
}
/* Con una fuente del sistema más ancha de lo normal, solo cede la etiqueta larga (puntos suspensivos) */
.mtn-root .mtn-menu > .mtn-item:has(> .mtn-link .mtn-x) {
	flex: 0 1 auto;
	min-width: 0;
}
.mtn-root .mtn-link__text {
	min-width: 0;
	overflow: hidden;
	line-height: 1.4;
	text-overflow: ellipsis;
}

.mtn-root .mtn-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 clamp(10px, 1.15vw, 18px);
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: none;
	color: var(--mtn-text);
	font: 500 clamp(14.5px, 1.05vw, 16px)/1 var(--mtn-font);
	letter-spacing: -.005em;
	text-align: left;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s, color .15s;
	-webkit-appearance: none;
	appearance: none;
}
.mtn-root .mtn-link:hover,
.mtn-root .mtn-link:focus-visible {
	background: var(--mtn-hover);
	color: #fff;
}
/* Cada icono con su color */
.mtn-root .mtn-link > .mtn-ico:first-child {
	width: 18px;
	height: 18px;
	color: rgb(var(--mtn-tone));
}

/* Página actual / sección actual: recuadro relleno en dorado, como el activo de descargasfullpc
   (desde la 1.0.8; antes, fondo gris y rayita de color debajo) */
.mtn-root .mtn-item.is-current > .mtn-link,
.mtn-root .mtn-item.is-active > .mtn-link {
	position: relative;
	background: rgb(224 182 58 / .16);
	box-shadow: inset 0 0 0 1px rgb(224 182 58 / .45);
	color: #fff;
}

/* Parte prescindible de las etiquetas («Animadas»): en la franja del móvil se oculta solo a la vista */
.mtn-root .mtn-x {
	font: inherit;
	white-space: pre;
}

/* Flecha del desplegable */
.mtn-root .mtn-link .mtn-caret {
	width: 16px;
	height: 16px;
	margin-left: -3px;
	color: var(--mtn-subtle);
	transition: transform .22s var(--mtn-ease), color .15s;
}
.mtn-root .has-sub.is-open > .mtn-link {
	background: var(--mtn-hover);
	color: #fff;
}
.mtn-root .has-sub.is-open > .mtn-link .mtn-caret {
	color: #fff;
	transform: rotate(180deg);
}

/* ----- Grupo destacado: Series · Películas · Especial ----- */
.mtn-root .mtn-group {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 2px;
	border: 1px solid var(--mtn-line);
	border-radius: 12px;
	background: var(--mtn-field);
}
/* Separadores finos entre las secciones (no junto a la actual) */
.mtn-root .mtn-group > .mtn-item + .mtn-item::before,
.mtn-root .mtn-tab + .mtn-tab::before {
	content: "";
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: -3px;
	width: 1px;
	background: var(--mtn-line);
}
.mtn-root .mtn-group > .mtn-item.is-current::before,
.mtn-root .mtn-group > .mtn-item.is-active::before,
.mtn-root .mtn-group > .mtn-item.is-current + .mtn-item::before,
.mtn-root .mtn-group > .mtn-item.is-active + .mtn-item::before,
.mtn-root .mtn-tab.is-current::before,
.mtn-root .mtn-tab.is-active::before,
.mtn-root .mtn-tab.is-current + .mtn-tab::before,
.mtn-root .mtn-tab.is-active + .mtn-tab::before {
	content: none;
}
.mtn-root .mtn-plat,
.mtn-root .mtn-tab {
	border-radius: 9px;
	font-weight: 600;
	transition: background-color .15s, color .15s, box-shadow .15s;
}
.mtn-root .mtn-plat {
	height: 38px;
	padding: 0 clamp(10px, 1.05vw, 16px);
}
.mtn-root .mtn-plat > .mtn-ico:first-child {
	transition: transform .2s var(--mtn-ease);
}
.mtn-root .mtn-plat:hover,
.mtn-root .mtn-plat:focus-visible {
	background: var(--mtn-hover);
	color: #fff;
}
.mtn-root .mtn-plat:hover > .mtn-ico:first-child {
	transform: scale(1.1);
}
/* La sección en la que estás (gana al hover) */
.mtn-root .mtn-item.is-current > .mtn-plat,
.mtn-root .mtn-item.is-active > .mtn-plat {
	background: rgb(224 182 58 / .16);
	box-shadow: inset 0 0 0 1px rgb(224 182 58 / .45);
}
/* En el grupo (Series · Películas · Especial) la parte «Animadas» va solo para Google y lectores de
   pantalla: ocupa menos y el enlace sigue diciendo «Series Animadas» (desde la 1.0.8) */
.mtn-root .mtn-group .mtn-x {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

/* ----- Desplegable ----- */
.mtn-root .mtn-sub {
	--mtn-sub-w: 264px;
	--mtn-cols: 1;
	position: absolute;
	top: calc(100% + 16px);
	/* Centrado bajo su botón; el JS lo ajusta para que nunca se salga de la pantalla */
	left: var(--mtn-sub-x, 50%);
	margin-left: var(--mtn-sub-shift, calc(var(--mtn-sub-w) / -2));
	z-index: 5;
	width: var(--mtn-sub-w);
	max-width: calc(100vw - 24px);
	padding: 8px;
	border: 1px solid var(--mtn-line-2);
	border-radius: 14px;
	background: linear-gradient(180deg, var(--mtn-panel-2), var(--mtn-panel));
	box-shadow:
		0 28px 56px -18px rgb(0 0 0 / .75),
		0 6px 16px -6px rgb(0 0 0 / .45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px) scale(.985);
	transform-origin: top center;
	transition: opacity .16s ease, transform .22s var(--mtn-ease), visibility 0s linear .22s;
}
/* Puente invisible para no perder el hover al bajar el ratón */
.mtn-root .mtn-sub::before {
	content: "";
	position: absolute;
	top: -19px;
	left: 0;
	right: 0;
	height: 19px;
}
.mtn-root .has-sub.is-open > .mtn-sub {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.mtn-root .mtn-sub--cols-2 { --mtn-sub-w: 480px; --mtn-cols: 2; }
.mtn-root .mtn-sub--cols-3 { --mtn-sub-w: 680px; --mtn-cols: 3; }

.mtn-root .mtn-sub__grid {
	display: grid;
	grid-template-columns: repeat(var(--mtn-cols), minmax(0, 1fr));
	gap: 2px;
}
.mtn-root .mtn-cat {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 8px 9px;
	border-radius: 10px;
	color: var(--mtn-text);
	text-decoration: none;
	transition: background-color .15s;
}
.mtn-root .mtn-cat:hover,
.mtn-root .mtn-cat:focus-visible {
	background: rgb(255 255 255 / .06);
	color: #fff;
}
.mtn-root .mtn-cat.is-current,
.mtn-root .mtn-cat.is-active {
	background: var(--mtn-current);
}
.mtn-root .mtn-cat__ico {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: rgb(var(--mtn-tone));
	background: rgb(var(--mtn-tone) / .13);
	box-shadow: inset 0 0 0 1px rgb(var(--mtn-tone) / .24);
	transition: transform .22s var(--mtn-ease), background-color .15s;
}
.mtn-root .mtn-cat:hover .mtn-cat__ico {
	background: rgb(var(--mtn-tone) / .2);
	transform: scale(1.06);
}
.mtn-root .mtn-cat__ico .mtn-ico {
	width: 18px;
	height: 18px;
}
.mtn-root .mtn-cat__txt {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.mtn-root .mtn-cat__name {
	overflow: hidden;
	color: #f2f5f9;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.mtn-root .mtn-cat__meta {
	overflow: hidden;
	color: var(--mtn-muted);
	font-size: 12.5px;
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.mtn-root .mtn-sub__foot {
	display: flex;
	justify-content: flex-end;
	margin-top: 6px;
	padding: 8px 4px 0;
	border-top: 1px solid var(--mtn-line);
}
.mtn-root .mtn-sub__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 9px;
	color: var(--mtn-accent);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.mtn-root .mtn-sub__all:hover {
	background: rgb(96 165 250 / .14);
	color: #bcd7ff;
}
.mtn-root .mtn-sub__all .mtn-ico {
	width: 16px;
	height: 16px;
}

/* Colores de los iconos: los que ya tenían en la barra de siempre, en mate */
.mtn-root { --mtn-tone: 74 148 207; }
.mtn-root [data-tone="yellow"] { --mtn-tone: 224 182 58; }
.mtn-root [data-tone="blue"]   { --mtn-tone: 74 148 207; }
.mtn-root [data-tone="rose"]   { --mtn-tone: 232 96 94; }
.mtn-root [data-tone="orange"] { --mtn-tone: 232 154 51; }
.mtn-root [data-tone="green"]  { --mtn-tone: 79 174 92; }
.mtn-root [data-tone="coral"]  { --mtn-tone: 216 106 78; }
.mtn-root [data-tone="cyan"]   { --mtn-tone: 92 168 188; }
.mtn-root [data-tone="violet"] { --mtn-tone: 148 124 205; }
.mtn-root [data-tone="pink"]   { --mtn-tone: 205 110 150; }
.mtn-root [data-tone="silver"] { --mtn-tone: 190 198 208; }
/* Los de la sección «Géneros» del plugin «Categorías» (los géneros del panel «Categorías» llevan los suyos) */
.mtn-root [data-tone="gold"]    { --mtn-tone: 245 184 46; }
.mtn-root [data-tone="fuchsia"] { --mtn-tone: 200 100 205; }
.mtn-root [data-tone="indigo"]  { --mtn-tone: 110 125 220; }
.mtn-root [data-tone="lime"]    { --mtn-tone: 150 190 70; }
.mtn-root [data-tone="teal"]    { --mtn-tone: 60 175 155; }

/* =====================================================================
   Acciones: buscador y botones
   ===================================================================== */
.mtn-root .mtn-actions {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}
.mtn-root .mtn-iconbtn {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--mtn-line);
	border-radius: 10px;
	background: var(--mtn-field);
	box-shadow: none;
	color: var(--mtn-text);
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
	-webkit-appearance: none;
	appearance: none;
}
.mtn-root .mtn-iconbtn:hover {
	border-color: var(--mtn-line-2);
	background: var(--mtn-hover);
	color: #fff;
}
.mtn-root .mtn-iconbtn[aria-expanded="true"] {
	background: #3a3c40;
	color: #fff;
}
.mtn-root .mtn-menu-toggle,
.mtn-root .mtn-strip {
	display: none;
}

/* ----- Buscador (panel bajo la barra) ----- */
.mtn-root .mtn-search {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 4px;
	width: min(460px, calc(100vw - 24px));
	height: 56px;
	margin: 0;
	padding: 0 8px 0 16px;
	border: 1px solid var(--mtn-line-2);
	border-radius: 14px;
	background: var(--mtn-panel);
	box-shadow: 0 26px 50px -18px rgb(0 0 0 / .75);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .16s ease, transform .22s var(--mtn-ease), visibility 0s linear .22s, border-color .15s;
}
.mtn-root.is-search-open .mtn-search {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.mtn-root .mtn-search:focus-within {
	border-color: rgb(96 165 250 / .6);
}
.mtn-root .mtn-search__ico {
	width: 19px;
	height: 19px;
	color: var(--mtn-muted);
}
.mtn-root .mtn-search .mtn-search__input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 8px 0 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
	font: 400 16px/1.2 var(--mtn-font);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.mtn-root .mtn-search .mtn-search__input::placeholder {
	color: var(--mtn-subtle);
	opacity: 1;
}
.mtn-root .mtn-search .mtn-search__input::-webkit-search-decoration,
.mtn-root .mtn-search .mtn-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}
.mtn-root .mtn-search__submit {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #3b82f6, #1d4ed8);
	box-shadow: 0 6px 14px -8px rgb(0 0 0 / .8);
	color: #fff;
	cursor: pointer;
	transition: filter .15s;
}
.mtn-root .mtn-search__submit:hover {
	filter: brightness(1.1);
}
.mtn-root .mtn-search__submit .mtn-ico {
	width: 18px;
	height: 18px;
}

/* Fondo oscuro del menú lateral (solo móvil) */
.mtn-root .mtn-backdrop {
	display: none;
}

/* Sin JavaScript: el desplegable se abre con hover o foco */
.mtn-root:not(.is-ready) .has-sub:hover > .mtn-sub,
.mtn-root:not(.is-ready) .has-sub:focus-within > .mtn-sub {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

/* Bloqueo de scroll con el menú lateral abierto */
html.mtn-lock,
html.mtn-lock body {
	overflow: hidden !important;
}
html.mtn-lock body {
	padding-right: var(--mtn-sbw, 0px) !important;
}

/* =====================================================================
   Escritorio: cada elemento en su bloque (como el campo del buscador)
   ===================================================================== */
@media (min-width: 1024px) {
	.mtn-root .mtn-menu {
		gap: 10px;
	}
	.mtn-root .mtn-menu > .mtn-item > .mtn-link {
		border: 1px solid var(--mtn-line);
		border-radius: 12px;
		background: var(--mtn-field);
		font-weight: 600;
	}
	.mtn-root .mtn-menu > .mtn-item > .mtn-link:hover,
	.mtn-root .mtn-menu > .mtn-item > .mtn-link:focus-visible,
	.mtn-root .mtn-menu > .has-sub.is-open > .mtn-link {
		border-color: var(--mtn-line-2);
		background: #343639;
	}
	.mtn-root .mtn-menu > .mtn-item.is-current > .mtn-link,
	.mtn-root .mtn-menu > .mtn-item.is-active > .mtn-link {
		border-color: rgb(224 182 58 / .5);
		background: rgb(224 182 58 / .16);
		box-shadow: none;
	}

	/* Con la cabecera de la web (logo y buscador) la barra no los repite y todo queda en el centro */
	.mtn-root.has-header .mtn-bar__inner {
		justify-content: center;
	}
	.mtn-root.has-header .mtn-nav {
		flex: 0 1 auto;
	}
	.mtn-root.has-header .mtn-actions {
		display: none;
	}

	/* Si no cabe todo (lo mide el JS; donde cabe no cambia nada): primero menos relleno en los
	   botones, lo justo; si aun así no cabe, la parte prescindible («Animadas») solo a la vista fuera */
	.mtn-root.is-snug .mtn-menu .mtn-link {
		padding-right: max(10px, calc(clamp(10px, 1.15vw, 18px) - var(--mtn-cut)));
		padding-left: max(10px, calc(clamp(10px, 1.15vw, 18px) - var(--mtn-cut)));
	}
	.mtn-root.is-snug .mtn-menu .mtn-plat {
		padding-right: max(10px, calc(clamp(10px, 1.05vw, 16px) - var(--mtn-cut)));
		padding-left: max(10px, calc(clamp(10px, 1.05vw, 16px) - var(--mtn-cut)));
	}
	.mtn-root.is-tight .mtn-menu .mtn-x {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
	}
}

/* =====================================================================
   Escritorio: anchos (el tema limita la barra a 1100–1400 px)
   ===================================================================== */
/* Sin esa cabecera, <1280: la marca se queda en su icono; el nombre sigue ahí para lectores de pantalla */
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.mtn-root .mtn-brand__name {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.mtn-root .mtn-brand__link {
		padding-right: 2px;
	}
}
/* Hasta 1115 px el contenedor toca los bordes: el mismo margen lateral que el panel «Tendencias» */
@media (max-width: 1115.98px) {
	.mtn-root {
		margin: 8px 10px;
	}
}
@media (max-width: 599.98px) {
	.mtn-root {
		margin: 8px;
	}
}

/* =====================================================================
   < 1024 px: tablet y móvil — menú lateral
   ===================================================================== */
@media (max-width: 1023.98px) {
	.mtn-root {
		--mtn-h: 58px;
	}
	.mtn-root .mtn-bar__inner {
		gap: 8px;
		padding: 0 8px;
	}
	.mtn-root .mtn-brand__link {
		gap: 9px;
		height: 44px;
		padding: 0 4px 0 0;
	}
	.mtn-root .mtn-brand__name {
		font-size: 19px;
	}
	.mtn-root .mtn-actions {
		gap: 6px;
	}
	.mtn-root .mtn-iconbtn {
		width: 44px;
		height: 44px;
	}
	.mtn-root .mtn-menu-toggle {
		display: inline-grid;
	}

	/* Secciones a un toque, junto a la marca (tablet) */
	.mtn-root .mtn-strip {
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		gap: 5px;
		min-width: 0;
		padding: 2px;
		border: 1px solid var(--mtn-line);
		border-radius: 12px;
		background: var(--mtn-field);
		/* Mide su propio ancho libre: ver @container mtn-strip más abajo */
		container: mtn-strip / inline-size;
	}
	.mtn-root .mtn-tab {
		position: relative;
		display: flex;
		flex: 1 1 0;
		align-items: center;
		justify-content: center;
		gap: 7px;
		min-width: 0;
		height: 38px;
		padding: 0 4px;
		color: var(--mtn-text);
		font-size: 14px;
		line-height: 1;
		text-decoration: none;
		white-space: nowrap;
	}
	.mtn-root .mtn-tab .mtn-ico {
		width: 17px;
		height: 17px;
		color: rgb(var(--mtn-tone));
	}
	.mtn-root .mtn-tab:hover,
	.mtn-root .mtn-tab:focus-visible {
		background: var(--mtn-hover);
		color: #fff;
	}
	.mtn-root .mtn-tab.is-current,
	.mtn-root .mtn-tab.is-active {
		background: var(--mtn-current);
		color: #fff;
	}
	.mtn-root .mtn-tab.is-current::after,
	.mtn-root .mtn-tab.is-active::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 50%;
		width: 26px;
		height: 3px;
		margin-left: -13px;
		border-radius: 3px 3px 0 0;
		background: rgb(var(--mtn-tone));
	}
	.mtn-root .mtn-tab .mtn-x {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
	}

	/* Buscador: ocupa todo el ancho bajo la barra */
	.mtn-root .mtn-search {
		left: 0;
		right: 0;
		width: auto;
		height: 58px;
	}

	/* Panel lateral.
	   Cerrado se queda con 0 px de ancho (max-width y borde a 0) para que no quede nada
	   fuera de la pantalla, a la derecha. Al abrir recupera el ancho al momento y se desliza
	   igual que siempre; al cerrar, lo pierde cuando ya ha salido (a los .32 s). */
	.mtn-root .mtn-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 3;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: min(380px, 88vw);
		max-width: 0;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		border-left: 0 solid var(--mtn-line-2);
		background: var(--mtn-panel);
		box-shadow: -30px 0 60px -20px rgb(0 0 0 / .65);
		transform: translateX(104%);
		visibility: hidden;
		transition: transform .32s var(--mtn-ease), visibility 0s linear .32s, max-width 0s linear .32s, border-left-width 0s linear .32s;
	}
	.mtn-root.is-drawer-open .mtn-nav {
		max-width: 380px;
		border-left-width: 1px;
		transform: none;
		visibility: visible;
		transition-delay: 0s;
	}
	.mtn-root .mtn-drawer-head {
		position: sticky;
		top: 0;
		z-index: 1;
		display: flex;
		flex: none;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: calc(10px + env(safe-area-inset-top, 0px)) 10px 10px 14px;
		border-bottom: 1px solid var(--mtn-line);
		background: var(--mtn-panel);
	}
	.mtn-root .mtn-drawer-title {
		display: inline-flex;
		align-items: center;
		gap: 11px;
		color: #fff;
		font-size: 17px;
		font-weight: 700;
	}

	.mtn-root .mtn-menu,
	.mtn-root .mtn-group {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}
	.mtn-root .mtn-menu {
		padding: 10px;
	}
	/* En el panel, las secciones destacadas son elementos normales de la lista */
	.mtn-root .mtn-group {
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
	}
	.mtn-root .mtn-group > .mtn-item + .mtn-item::before {
		content: none;
	}
	.mtn-root .mtn-link,
	.mtn-root .mtn-plat {
		width: 100%;
		height: 54px;
		gap: 14px;
		padding: 0 10px 0 8px;
		border-radius: 12px;
		font-size: 16.5px;
		font-weight: 500;
	}
	.mtn-root .mtn-link .mtn-link__text {
		flex: 1 1 auto;
	}
	.mtn-root .mtn-link > .mtn-ico:first-child,
	.mtn-root .mtn-plat > .mtn-ico:first-child {
		width: 38px;
		height: 38px;
		padding: 9px;
		border-radius: 10px;
		background: rgb(var(--mtn-tone) / .12);
		box-shadow: inset 0 0 0 1px rgb(var(--mtn-tone) / .22);
	}
	.mtn-root .mtn-plat:hover > .mtn-ico:first-child {
		transform: none;
	}
	.mtn-root .mtn-link .mtn-caret {
		width: 20px;
		height: 20px;
		margin-left: auto;
	}

	/* Submenú como acordeón */
	.mtn-root .mtn-sub {
		position: static;
		display: grid;
		grid-template-rows: 0fr;
		left: auto;
		width: auto;
		max-width: none;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		opacity: 1;
		visibility: hidden;
		transform: none;
		transition: grid-template-rows .3s var(--mtn-ease), visibility 0s linear .3s;
	}
	.mtn-root .mtn-sub::before {
		content: none;
	}
	.mtn-root .has-sub.is-open > .mtn-sub {
		grid-template-rows: 1fr;
		visibility: visible;
		transition-delay: 0s;
	}
	.mtn-root .mtn-sub__inner {
		min-height: 0;
		overflow: hidden;
	}
	.mtn-root .mtn-sub .mtn-sub__grid {
		grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
		gap: 6px;
		padding: 6px 2px 10px;
	}
	.mtn-root .mtn-cat {
		flex-direction: column;
		align-items: center;
		gap: 9px;
		height: 100%;
		padding: 12px 6px;
		border-radius: 12px;
		background: rgb(255 255 255 / .035);
		box-shadow: inset 0 0 0 1px var(--mtn-line);
		text-align: center;
	}
	.mtn-root .mtn-cat__txt {
		width: 100%;
	}
	.mtn-root .mtn-cat__name {
		font-size: 13.5px;
		white-space: normal;
	}
	.mtn-root .mtn-sub__foot {
		justify-content: stretch;
		margin: 0;
		padding: 0 2px 10px;
		border: 0;
	}
	.mtn-root .mtn-sub__all {
		justify-content: center;
		width: 100%;
		height: 46px;
		background: rgb(96 165 250 / .14);
	}

	/* Fondo */
	.mtn-root .mtn-backdrop {
		position: fixed;
		inset: 0;
		z-index: 2;
		display: block;
		background: rgb(8 8 9 / .64);
		-webkit-backdrop-filter: blur(3px);
		backdrop-filter: blur(3px);
		opacity: 0;
		visibility: hidden;
		/* Cerrado no recibe toques, ni siquiera durante el fundido de salida */
		pointer-events: none;
		transition: opacity .3s ease, visibility 0s linear .3s;
	}
	.mtn-root.is-drawer-open .mtn-backdrop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0s;
	}
	.mtn-root.is-drawer-open .mtn-bar {
		z-index: 10000;
	}
}

/* Si no cabe todo en el ancho libre: solo el texto y, en pantallas diminutas, solo el icono
   (el nombre sigue ahí para lectores de pantalla) */
@container mtn-strip (max-width: 205.98px) {
	.mtn-root .mtn-tab .mtn-ico {
		display: none;
	}
}
@container mtn-strip (max-width: 153.98px) {
	.mtn-root .mtn-tab .mtn-ico {
		display: block;
	}
	.mtn-root .mtn-tab__txt {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* =====================================================================
   < 640 px: teléfono
   ===================================================================== */
/* Sin cabecera en la web, dos filas: marca y botones / secciones a todo el ancho */
@media (max-width: 719.98px) {
	.mtn-root.has-strip:not(.has-header) {
		--mtn-h: 56px;
	}
	.mtn-root.has-strip:not(.has-header) .mtn-bar__inner {
		flex-wrap: wrap;
		padding-bottom: 8px;
	}
	.mtn-root.has-strip:not(.has-header) .mtn-brand,
	.mtn-root.has-strip:not(.has-header) .mtn-actions {
		height: var(--mtn-h);
	}
	.mtn-root .mtn-brand {
		display: flex;
		align-items: center;
	}
	.mtn-root:not(.has-header) .mtn-strip {
		order: 3;
		flex: 1 0 100%;
	}
	.mtn-root:not(.has-header) .mtn-tab {
		height: 40px;
	}
}
@media (max-width: 639.98px) {
	.mtn-root .mtn-bar__inner {
		gap: 0 6px;
	}
	/* Con cabecera, una sola fila: las secciones ocupan el ancho libre y el ☰ queda a la derecha */
	.mtn-root.has-header .mtn-tab {
		flex: 1 1 auto;
		gap: 6px;
		padding: 0 4px;
		letter-spacing: -.01em;
	}
	.mtn-root.has-header .mtn-tab .mtn-ico {
		width: 16px;
		height: 16px;
		stroke-width: 2;
	}
}
/* Teléfonos muy estrechos: algo más compacto para que quepan icono y texto */
@media (max-width: 359.98px) {
	.mtn-root .mtn-brand__link {
		gap: 7px;
	}
	.mtn-root .mtn-brand__name {
		font-size: 17px;
	}
	.mtn-root .mtn-actions {
		gap: 5px;
	}
	.mtn-root .mtn-iconbtn {
		width: 42px;
	}
	.mtn-root.has-header .mtn-tab {
		gap: 5px;
		padding: 0 2px;
		font-size: 13px;
	}
	.mtn-root.has-header .mtn-tab .mtn-ico {
		width: 15px;
		height: 15px;
	}
	.mtn-root:not(.has-header) .mtn-tab {
		gap: 5px;
		font-size: 13px;
	}
}

/* =====================================================================
   Cabecera de la web (logo y buscador, en caja): el mismo ancho que la barra
   y el contenido. Tenía un tope fijo de 1100 px; el del tema es 1100–1400.
   ===================================================================== */
.brapido-cabecera.brapido-cabecera--caja {
	--mtn-cab-side: 0px;
	width: calc(min(100%, clamp(1100px, 80vw, 1400px)) - 2 * var(--mtn-cab-side));
	max-width: none;
}
@media (max-width: 1115.98px) {
	.brapido-cabecera.brapido-cabecera--caja {
		--mtn-cab-side: 10px;
	}
}
@media (max-width: 599.98px) {
	.brapido-cabecera.brapido-cabecera--caja {
		--mtn-cab-side: 8px;
	}
}

/* =====================================================================
   Migas de pan de las entradas: Inicio / Sección / Título
   Línea fina del negro de la cabecera, a todo el ancho de la columna de la entrada
   (la barra lateral empieza a su misma altura). Sin colores: solo el dorado del
   logo al pasar por un enlace.
   ===================================================================== */
.mtn-crumbs {
	--mtn-crumbs-text: #a9adb4;
	--mtn-crumbs-strong: #f3f4f6;
	--mtn-crumbs-hover: #f5b82e;
	--mtn-crumbs-sep: #6d7178;

	position: relative;
	display: block;
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 8px;
	padding: 6px 14px;
	border: 0;
	border-radius: 5px; /* Como la portada y las tarjetas de la entrada */
	background: #1c1c1d;
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .05);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	color: var(--mtn-crumbs-text);
	text-align: left;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.mtn-crumbs *,
.mtn-crumbs *::before,
.mtn-crumbs *::after {
	box-sizing: border-box;
}
/* Blindaje frente a los estilos generales del tema (span, li, a, listas) */
.mtn-crumbs :is(ol, li, a, span) {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
}
/* En línea, como un párrafo: si el título no cabe, sigue en la línea siguiente */
.mtn-crumbs .mtn-crumbs__list {
	display: block;
	list-style: none;
}
.mtn-crumbs .mtn-crumbs__item {
	display: inline;
	list-style: none;
}
.mtn-crumbs .mtn-crumbs__item::before,
.mtn-crumbs .mtn-crumbs__item::after {
	content: none;
}
/* Cada paso y su «/» van juntos; solo el título puede partirse en varias líneas */
.mtn-crumbs .mtn-crumbs__item:not(.is-current) {
	white-space: nowrap;
}
.mtn-crumbs .mtn-crumbs__sep {
	margin: 0 .55em;
	color: var(--mtn-crumbs-sep);
	font-weight: 400;
}
.mtn-crumbs .mtn-crumbs__link {
	display: inline;
	/* Zona de toque de 32 px de alto sin mover nada: el relleno vertical
	   de un enlace en línea no cambia la altura de la línea */
	padding: 7px 0;
	border-radius: 4px;
	color: var(--mtn-crumbs-text);
	text-decoration: none;
	transition: color .15s ease;
}
.mtn-crumbs .mtn-crumbs__link:hover {
	color: var(--mtn-crumbs-hover);
	text-decoration: underline;
	text-decoration-color: rgb(245 184 46 / .45);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.mtn-crumbs .mtn-crumbs__link:focus-visible {
	outline: 2px solid #bcd7ff;
	outline-offset: 1px;
}
.mtn-crumbs .mtn-crumbs__current {
	display: inline;
	color: var(--mtn-crumbs-strong);
	font-weight: 600;
}
/* Icono centrado con la altura de las mayúsculas, medido desde la línea base
   (fuentes del sistema: mayúsculas ≈ 0,71 em → centro a 0,355 em; icono de 0,9 em) */
.mtn-crumbs .mtn-crumbs__ico {
	display: inline-block;
	width: .9em;
	height: .9em;
	max-width: none;
	margin: 0 .4em 0 0;
	vertical-align: -.095em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	overflow: visible;
}
/* Ajuste de cada dibujo a su centro (medido a 4 aumentos) */
.mtn-crumbs .mtn-crumbs__ico--home {
	vertical-align: -.077em;
}
.mtn-crumbs .mtn-crumbs__ico--star,
.mtn-crumbs .mtn-crumbs__ico--clapperboard {
	vertical-align: -.12em;
}

/* La tarjeta de la barra lateral sube hasta la altura de la franja (el tema le da 10 px arriba) */
@media (min-width: 768px) {
	body:has(.mtn-crumbs.is-in-content) #sidebar-single-post > .widget:first-child .koyomi-tg-widget__card {
		margin-top: 0;
	}
}
/* Con el panel «Tendencias» encima, el mismo hueco (8 px) arriba que abajo */
body:has(.dfp-grid-wrap):has(.mtn-crumbs.is-in-content) .plantilla-3 {
	margin-top: -9px !important;
}
/* Tabletas: el tema encoge <body> a su contenido (place-self) y en las entradas la página se salía
   a lo ancho (hasta 221 px), con el ☰ de la barra fuera de la pantalla */
@media (max-width: 1023.98px) {
	body:has(.mtn-crumbs.is-in-content) {
		width: 100%;
	}
	body:has(.mtn-crumbs.is-in-content) .plantilla-3 main {
		min-width: 0;
	}
}
/* La entrada, con los mismos lados que la barra: el tema la deja pegada al borde de la pantalla
   en tabletas y a 10 px en el móvil (la barra y «Tendencias» van a 8) */
@media (max-width: 1115.98px) {
	body:has(.mtn-crumbs.is-in-content) .plantilla-3 {
		padding-right: 10px;
		padding-left: 10px;
	}
}
@media (min-width: 1024px) and (max-width: 1115.98px) {
	body:has(.mtn-crumbs.is-in-content) .dfp-grid-shell > .dfp-grid-wrap {
		--dfp-side: 10px;
	}
}
@media (max-width: 599.98px) {
	body:has(.mtn-crumbs.is-in-content) .plantilla-3 {
		padding-right: 8px;
		padding-left: 8px;
	}
}
@media (max-width: 767.98px) {
	.mtn-crumbs {
		padding: 6px 12px;
		font-size: 13px;
		line-height: 19px;
	}
}
@media (forced-colors: active) {
	.mtn-crumbs {
		border: 1px solid CanvasText;
	}
	.mtn-crumbs .mtn-crumbs__current {
		color: CanvasText;
	}
}

/* =====================================================================
   Preferencias del usuario
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
	.mtn-root *,
	.mtn-root *::before,
	.mtn-root *::after {
		animation: none !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
}

@media (forced-colors: active) {
	.mtn-root .mtn-bar,
	.mtn-root .mtn-sub,
	.mtn-root .mtn-nav,
	.mtn-root .mtn-search,
	.mtn-root .mtn-iconbtn,
	.mtn-root .mtn-group,
	.mtn-root .mtn-strip {
		border: 1px solid CanvasText;
	}
	.mtn-root .mtn-brand__name b {
		background: none;
		-webkit-text-fill-color: currentColor;
	}
}

@media print {
	.mtn-root {
		display: none !important;
	}
}
